Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" ?>
- <!--Valid checks:
- HasQuest
- AttribLess
- AttribGreat
- DiscLess
- DiscGreat
- HasItem
- -->
- <!--The root node is the entry point to the dialog.
- It is quite complex, because it is like the trunk of the tree.
- -->
- <dialog>
- <node id="root">
- <!--First line matching check will be displayed -->
- <line check="HasQuest" value="defend-getgear" eval="no" replies="1">Hey! What side are you?</line>
- <line check="HasQuest" value="defend-getgear" eval="active" replies="1">What are you waiting for! Get the stuff and report to me!</line>
- <line check="HasQuest" value="defend-getgear" eval="complete" replies="1">Great, you got the stuff! Now you need some healing pots. Go with Bubbles, our alchemist. He is right there in front of me.</line>
- </node>
- <replies id="1">
- <!--If an option doesnt passes check, it is not displayed -->
- <option link="side1">Side? didnt knew I had to choose a side.</option>
- <option link="side2">Im with the winner side.</option>
- </replies>
- <node id="side1">
- <line replies="s1-rep">We are about to be attacked by demons. Are you with us or with them?</line>
- </node>
- <replies id="s1-rep">
- <option link="side1">Im with myself.</option>
- <option link="side1">As Im inside the castle, I suppose that means Im against them, dont you think?</option>
- </replies>
- <node id="side2">
- <line replies="s2-rep">Strong spirit... I am the winning side.</line>
- </node>
- <replies id="s2-rep">
- <option link="side-accept">Then we are in the same team.</option>
- </replies>
- </dialog>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement