Guest User

Raw Code

a guest
Oct 16th, 2016
220
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.47 KB | None | 0 0
  1. <asl version="550">
  2. <include ref="GamebookCore.aslx" />
  3. <game name="In Deep Space">
  4. <gameid>51292bb3-fad3-42c9-b148-df3cbabe87fa</gameid>
  5. <version>1.0</version>
  6. <firstpublished>2016</firstpublished>
  7. </game>
  8. <object name="Page1">
  9. <inherit name="script" />
  10. <description><![CDATA[You blast off earth in the first self dependant space ship.<br/><br/>Hull:{player.hull }<br/>Food:{player.food}<br/>Fuel:{player.fuel}]]></description>
  11. <options type="stringdictionary">
  12. <item>
  13. <key>Page2</key>
  14. <value>This link goes to page 2</value>
  15. </item>
  16. <item>
  17. <key>Page3</key>
  18. <value>And this link goes to page 3</value>
  19. </item>
  20. </options>
  21. <script type="script">
  22. if (HasSeenPage(Page1)) {
  23. }
  24. else {
  25. Start
  26. }
  27. msg ("You blast off earth in your self dependant space ship, never to fully return.")
  28. msg ("")
  29. msg ("Hull: "+Hull)
  30. </script>
  31. <object name="player">
  32. <inherit name="defaultplayer" />
  33. </object>
  34. </object>
  35. <object name="Page2">
  36. <description>This is page 2. Type a description here, and then create links to other pages below.</description>
  37. </object>
  38. <object name="Page3">
  39. <description>This is page 3. Type a description here, and then create links to other pages below.</description>
  40. </object>
  41. <function name="Start">
  42. Hull = 10
  43. Food = 20
  44. Fuel = 10
  45. Crew = 5
  46. </function>
  47. </asl>
Advertisement
Add Comment
Please, Sign In to add comment