Variables and Scenarios
This page gives you the practical state model you need for authoring and testing.
Variables
Variables define your authored defaults (baseline state).
- Store values like player mood, progression flags, or counters
- Use them in scripts and interpolation
- Keep them stable as your source of truth
Scenarios
Scenarios let you save and reload state overrides for testing.
- Scenarios are diffs, not full snapshots
- Load a scenario to set a known test state
- Use scenarios to reproduce branches quickly
Practical Flow
- Author defaults in Variables
- Load a Scenario (or start from defaults)
- Run scripts/dialogues to modify live state
- Save a new Scenario if you want to preserve that setup
Read next: