Loading…

Foreword

This is a collection of code used in Twine SugarCube projects to emulate the look of ChoiceScript games, but it has added features (such as rewind and save-to-disk) that come with the storyformat (SugarCube version 2.36.1).

Unfortunately it is not easy for an absolute beginner to use this code right out of the box, as it requires some basic understanding of SugarCube's default behavior, and this code is structured with the assumption that the Tweego Compiler will be used. You can still try to copy-and-paste code from this collection into the Twine editor, but that still assumes some familiarity with the original Twine editor and the twee notation (version 3). And if you "Save As..." the complete page to get a compiled HTML version, remember to change the IFID for each new project instead of just directly building on top of this imported HTML file in the Twine editor.

Note that this passage has the "noheader" tag (in the code), which removes the heading. You can change the tag name or remove this feature. But stat screen might not show any default values at this point when StoryInit passage has not been executed.

NEXT