Advertisement
Ultimga

Untitled

Sep 14th, 2016
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.93 KB | None | 0 0
  1. clear
  2. seed
  3. show_splash
  4.  
  5. func set_title "Eternal Studios Engine | Initialization"
  6.  
  7. sound loop sounds\ghastly.wav
  8. write [Creating color variables...]
  9. break
  10. int blue
  11. int green
  12. int cyan
  13. int red
  14. int magenta
  15. int brown
  16. int light_gray
  17. int dark_gray
  18. int light_blue
  19. int light_green
  20. int light_cyan
  21. int light_red
  22. int light_magenta
  23. int yellow
  24. int white
  25.  
  26. write [Setting color variables...]
  27. break
  28. int blue = 1
  29. int green = 2
  30. int cyan = 3
  31. int red = 4
  32. int magenta = 5
  33. int brown = 6
  34. int light_gray = 7
  35. int dark_gray = 8
  36. int light_blue = 9
  37. int light_green = 10
  38. int light_cyan = 11
  39. int light_red = 12
  40. int light_magenta = 13
  41. int yellow = 14
  42. int white = 15
  43.  
  44. write [Creating player variables...]
  45. break
  46. int experience
  47. int level
  48. int damage
  49. int health
  50. int potions
  51. int x
  52. int y
  53. string name
  54. string class
  55.  
  56. write [Setting player variables...]
  57. break
  58. int experience = 0
  59. int level = 1
  60. int damage = 1
  61. int health = 10
  62. int potions = 5
  63. int x = 0
  64. int y = 0
  65. string name = "Unnamed Hero"
  66. string class = "Fighter"
  67.  
  68. write [Creating game variables...]
  69. break
  70. string location_description
  71. string location_name
  72. string opt_examine
  73.  
  74. write [Setting game variables...]
  75. string location_description = "You are in a dark, dry room and you can smell decay all around you. After a quick look around, you notice what appears to be tombs around you and a few bones scattered around."
  76. string location_name = "Mysterious Dark Room"
  77. string opt_examine = "Examine"
  78.  
  79. func set_title "Eternal Studios Engine | RPG Sample Game v1.0"
  80.  
  81. call draw.chs
  82.  
  83. string location_description = "Upon further examining you realize you are in the Surson Family Crypt. You also notice giagantic webs on the walls, and some recently killed goblins tangled in the webs."
  84. string location_name = "Surson Family Crypt"
  85.  
  86. call draw.chs
  87.  
  88. TextColor = yellow
  89. break
  90. write [Congrats! You completed the mini-adventure.]
  91. break
  92. write [Press "E" to exit the program.]
  93. GetInput from E
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement