auto-map

QML - Create Your Own Adventure

Name Topic Used in Type
include Station station element
Using this command, you can include one station in other ones.
Imagine you want to add a friend to the player, one that reacts differently in different rooms, but always has certain "features" (can be talked to, and so on). Instead of adding code to all the stations this person appears in, simply add a single station which defines the "scope" of this one. Uses of include can be:

You can use as many include commands as you want.
Sample:
<include check="[player met dog]">
   <in station="house"/>
   <in station="woods*"/>
   <in station="castle*"/>
</include>
<text><break type="strong"/>The dog is by your side.
</text>

<choice station="petDog">Pet the dog</choice>

Attributes: process