In the latest version of ChoiceScript, available on Github, the *create command has changed; this could break your existing game.
IF YOU HAVE A WORKING MYGAME.JS FILE: You should be able to just delete all of your *create lines (they’re redundant with mygame.js) and be fully compatible with the latest version of ChoiceScript.
OTHERWISE: You’ll need to make sure your first scene file is called “startup.txt” and that all of your *create commands appear at the very beginning of that file.
Furthermore, whereas before you’d just use the command “*create leadership” to define a leadership variable, now *create requires you to specify a starting value for each variable you create, e.g. “*create leadership 50”.
In addition to changing *create, the new version of ChoiceScript introduces two new commands: *title and *scene_list. The *title command changes the on-screen title of the game, like this:
*title Choice of the Dragon
The *scene_list command allows you to declare the list of scenes in order, which you used to have to change in mygame.js
The *title, *scene_list, and *create commands may only be used at the very beginning of startup.txt. Here’s the example we provide with ChoiceScript: https://github.com/dfabulich/choicescript/blob/master/web/mygame/scenes/startup.txt
Please feel free to post to the ChoiceScript help forum if you have questions about these changes.