Skip to content

Instantly share code, notes, and snippets.

@eddietree
Forked from aschearer/dialogue-tree.xml
Created April 7, 2009 22:15
Show Gist options
  • Save eddietree/91496 to your computer and use it in GitHub Desktop.
Save eddietree/91496 to your computer and use it in GitHub Desktop.
<script>
<actors>
<actor name="Alex" description="A programmer and ninja" id="alex" />
<actor name="Eddie" description="A wannabe indie, also a ninja" id="eddie" />
</actors>
<scene id='early'>
<dialogue id="enterStore" speaker="alex">
<prompt>Hello there young man, what can I do for you?</prompt>
<option goto="browseGoods">Enter the store</option>
<option goto="byebye">Return to the street</option>
<option goto="ohsnap">Brandish shurikan</option>
</dialogue>
<dialogue id="1" item_id="pineapple" speaker="eddie">
<prompt>Can I buy your delicious pineapple off of you?</prompt>
<option goto="yes">Yes</option>
<option goto="no">No/option>
</dialogue>
</scene>
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment