Improved Automatic Templates for ChoiceScript

After I posted Debugging ChoiceScript, Dani Church sent me a better version of Automatic Character Templates. Here’s her solution.

Copy the following line into debug_generate_template.txt:

*script for (var stat in stats) {if (stat == “scene” || stat == “sceneName”) continue; println(“*set “+stat+” “+((typeof stats[stat] == “boolean”) ? stats[stat] … Keep reading