Change the story with variables and conditions
You can record numbers such as courage or affection, and use them to change choices and the flow of the story.
Create variables
Section titled “Create variables”Choose “File” → “Project settings…” from the menu, and in “Variables” set each variable’s name and “Initial value”. Use “Add variable” to add more.

Change values
Section titled “Change values”- Place a “Variables” block from “Add block”, choose a variable, then choose “Set to value”, “Add”, or “Subtract”, and set the number.

- A choice block can also do this. Press “Add change” under the choice’s variable changes. This lets a choice, for example, raise a variable when picked.
Change the story by conditions
Section titled “Change the story by conditions”Show choices conditionally
Section titled “Show choices conditionally”Press “Add condition” under a choice’s “Show only when…”, and decide whether the choice appears depending on a variable’s value. With no conditions, it always appears. Combine several conditions with “All must be met” or “Any one is enough”.
Branch where the story goes
Section titled “Branch where the story goes”Place a “Conditional branch” block, press “Add condition”, and line up conditions with their destinations. They are checked from the top, and the story goes to the destination of the first one that matches. You can also set a destination for “When nothing matches”.
If you set the destination to an earlier group, you can also make a loop.
The sample work has an example of a block that adds to a variable. “Story” → “Check work…” also lists missing variables and destinations.