QML - Create Your Own Adventure

Name Topic Used in Type
max States number attribute
The highest value to which a number can be set (ie., by calculations). For example if the max-value is set to "20", and you add 30 to 0, you will end up with 20 instead of 30.
The default max-value is 10000.
Sample:
<text>You find a little leather bag.<break/>
   Might come in handy if you ever need to
   carry many gold coins.
</text>

<state name="has little leather bag"/>
<number value="[gold]" name="gold" min="0" max="100"/>
<choice station="back">Continue</choice>