Variables
In the Variables view you define global game state: flags, counters, text values.
Variable sets
- Variables are organized into sets (e.g. “Gameplay”, “Story”).
- Add, rename, delete sets; reorder by drag.
- Full name in export:
SetName.variable.
Variable fields
| Field | Meaning |
|---|---|
| Name | Identifier within the set |
| Description | Editor note |
| Type | boolean, integer, string |
| Default | Starting value in simulation / export |
Filters
At the top of the list:
- Free-text search
- Set dropdown
- Type dropdown
- Source dropdown: stored, inventory link, task link, clue link
Derived variables
Some cards automatically link to variables:
| Source | Example |
|---|---|
| Task card | Tasks.<taskId> |
| Clue card | Clues.<clueId> |
| Inventory link | Linked item state |
These are readable on Instruction cards but cannot be overwritten directly (the card is the source of truth).
Use on the flow chart
- Condition: branch on variable value
- Instruction: change value
- Simulated player: seed overrides for testing
Duplicate names
The app warns if two variables get conflicting qualified names.
