QML - Create Your Own Adventure

States

States keep track of the game history. Everytime the player does something which should be memorized, you set a state which you can check in future stations.
Sample:
<text>You break up the treasure chest and put a shiny sceptre in your bag.
</text>

<state name="has sceptre">
[...]

Elements: state | number | string