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.
<text>You see a big treasure and stuff yourself
   with 50 gold coins.

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