QML - Create Your Own Adventure

Name Topic Used in Type
number States station element
Numbers handle values such as: the player score, the player energy, the number of gold coins the player has, or any other item that appears multiple times.
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>

Attributes: name | value | min | max