State and consequences
State is the story's memory. Use it for facts the experience needs to remember, not every detail you could record.
Begin with meanings
Write a sentence for each value: “The reader promised to return the map.” That meaning suggests a boolean. “The guide trusts the reader by degrees” may call for a bounded numeric value. “The party carries these supplies” suggests items or a list.
Avoid storing the same truth in several independent facts. If two values must always agree, decide which one is authoritative and derive the other where possible.
Define the transitions
For each change, identify its trigger, old state, new state, and visible consequence. Consider whether it should happen once or on every visit.
| Event | State change | Reader-facing result |
|---|---|---|
| Promise to return a map | Promise becomes accepted | The owner lends the map |
| Leave without returning it | Promise becomes broken | A later greeting changes |
| Return it before leaving | Promise becomes fulfilled | The owner offers help |
This table is a planning example, not an automatic import format.
Watch combinations
Two independent booleans have four combinations; three have eight. Not every combination must be reachable, but you should know which ones are allowed and which your routes produce.
Use Story State to plan transitions and routes, Facts for actual definitions, and Actions for implemented updates. Story State's planned rules are not yet integrated into preview execution. Verify actual behavior in the player.