Skip to content

Instantly share code, notes, and snippets.

@aschearer
Created April 7, 2009 22:06
Show Gist options
  • Save aschearer/91490 to your computer and use it in GitHub Desktop.
Save aschearer/91490 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 name="shoppingSpree">
<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="browseGoods" speaker="alex">
<prompt>I have plenty to choose from, what are you looking for?</prompt>
<option goto="browseWeapons">Sharp things</option>
<option goto="browseArmor">Hard things</option>
</dialogue>
</scene>
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment