QML - Create Your Own Adventure

Name Topic Used in Type
name States number attribute
The name of the number (how you will refer to the value later on).
For example: "gold coins", "silver", "arrows", "player agility", "Player Luck", and so on. Spaces are allowed.
Sample:
<text>You see a big treasure and stuff yourself
   with 50 gold coins.
</text>

<state name="treasureChestEmpty" />
<number name="gold" value="[gold] + 50" />
<choice station="back">Close treasure chest</choice>