How do I add stats like health, money or affection?
Add a variable. On the canvas, click + Variable in the Add row at the bottom of the card. The AI reads every variable each turn and changes it as the story goes.
- Give it a name and pick a type.
- Set where it starts, and its lowest and highest value. The engine keeps a number in range, so health never shows -30.
- Write the Behavior Rules in plain words: what the number is and when it changes. For example: "Drops when the player takes physical damage. A punch is -5 to -10, a knife wound -15 to -25. Recovers slowly when resting."
- Click Show on the player screen to put it in front of the player.
| Type | Use it for |
|---|---|
| Number | Health 100, affection 20, coins |
| Text | Current location, mood, time of day |
| Switch | Has the key or not |
| List / table | Inventory, relationships, a quest log |
You never write formats like [health: -15]. The engine teaches the AI that part and hides it from the player.
Two to four sentences of Behavior Rules is enough. Leave the box empty and the AI mostly ignores the variable.
Each variable costs a line of the AI's attention every turn, so add only the ones the story uses. For a number the AI should never change, such as attack worked out from level, fill in Formula (worked out automatically) instead.
