QML - Create Your Own Adventure

Name Topic Used in Type
check Branching choice attribute
Checks for a certain state (or number/ string) and only displays the choice if the expression is true (or false, if you set "is" to false).
Note that the game is over if not a single choice is displayed.
<text>You look around. Where do you want to go?

<choice station="roomNorth"
   check="[found hidden door]">Through the hidden door
<choice station="roomSouth">Through the wooden door</choice>