Advertisement
Guest User

Untitled

a guest
Jul 19th, 2019
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.84 KB | None | 0 0
  1. if "$righthand" != "Empty" then if "$lefthand" != "Empty" then echo . [ Start by Zukir with both hands empty ]
  2. if "$righthand" != "Empty" then if "$lefthand" != "Empty" then exit
  3.  
  4.  
  5.  
  6. var escort.array 2|3|4|5|7|8|9|20|21|22|23|24|25|26|27|28
  7.  
  8.  
  9. get.task:
  10. put ask zuk for task
  11. match decline.task You'll need to get your hands dirty and KILL the invaders to find them
  12. match decline.task Are you up to the task of SEARCHing the sewers to remove these threats
  13. match decline.task We could use some help thinning their numbers.
  14. match combo.task Each had a unique combination known only to select guardsmen and royals.
  15. match escort.task task you with finding these lost adventurers and leading them back to me for debriefing
  16. match search.task Will you SEARCH and recover these items, adventurer
  17. match aid.task won't have to search for your allies, they'll be on the front lines trying to complete their own
  18. match decline.task decline by typing DECLINE
  19. matchwait
  20. decline.task:
  21. put decline task
  22. waitfor paperwork from your last task has probably been finalized
  23. goto get.task
  24.  
  25. aid.task:
  26. put .aidtask
  27. waitfor TASK COMPLETE
  28. goto get.task
  29.  
  30.  
  31. combo.task:
  32. put accept task
  33. pause 0.5
  34. gosub move 47
  35.  
  36. search.combo:
  37. pause 0.5
  38. move climb ladder
  39. searching.combo:
  40. pause 0.1
  41. put search
  42. match crack.combo ...wait
  43. match bad.room You search around for a moment
  44. match bad.room you searched this area recently
  45. match crack.combo as you're about to give up, you flip over
  46. match crack.combo gleaming chest
  47. match searching.combo Roundtime
  48. matchwait
  49. bad.room:
  50. echo
  51. echo . [ You have too recently found something in this room. Please move around the area and search. When you find the chest, tap it. ]
  52. echo
  53. goto more.chests2
  54. crack.combo:
  55. pause 0.5
  56. gosub crack red
  57. gosub crack blue
  58. gosub crack green
  59. put pull latch
  60. pause 0.5
  61. put look in chest;exp
  62. matchre good.chest you see .* (cloak|necklace|ring|robe|chart|gown)
  63. matchre shit.chest EXP HELP
  64. matchwait
  65. good.chest:
  66. pause 0.1
  67. var item $1
  68. put get %item in chest;stow %item
  69. pause
  70. shit.chest:
  71. put task
  72. match more.chests Lord Zukir wants you to crack
  73. match chest.done successfully acquired enough for now
  74. matchwait
  75. more.chests:
  76. echo
  77. echo . [ You have one more chest to crack. I can not find my way in the sewers. Please check rooms and SEARCH for the chest. Once you find it, tap it. ]
  78. echo
  79. more.chests2:
  80. action echo [ This is a spot! Keep searching here! ] when You poke and prod, but fail to find anything of interest
  81. put #beep
  82. waitfor You tap a gleaming chest
  83. action remove You poke and prod, but fail to find anything of interest
  84. gosub crack red
  85. gosub crack blue
  86. gosub crack green
  87. put pull latch
  88. pause 0.5
  89. put look in chest;exp
  90. matchre good.chest2 you see .* (cloak|necklace|ring|robe|chart|gown)
  91. matchre shit.chest2 EXP HELP
  92. matchwait
  93. good.chest2:
  94. pause 0.1
  95. var item $1
  96. put get %item in chest;stow %item
  97. waitfor You put
  98. shit.chest2:
  99. echo
  100. echo . [ Now that your task is complete please lead back to the ladder and tap it. ]
  101. echo
  102. put #beep
  103. waitfor You tap a ladder
  104. goto shit.chest
  105.  
  106. chest.done:
  107. move climb ladder
  108. pause 0.5
  109. gosub move 1
  110. put ask zuk about task complete
  111. pause 0.5
  112. goto get.task
  113.  
  114. crack:
  115. var dial $1
  116. cracking:
  117. put turn %dial dial
  118. matchre cracking You turn the (\w+) dial to (\d+).$
  119. matchre cracking A faint tick can be heard from the mechanism.
  120. matchre cracked A faint click can be heard from the mechanism.
  121. matchwait
  122. cracked:
  123. put push %dial dial
  124. waitfor You push
  125. return
  126.  
  127.  
  128.  
  129. search.task:
  130. put accept task
  131. waitforre Ulf'Hara Keep Ruins, (.+)
  132. gosub move $1
  133. searching.task:
  134. pause 0.1
  135. put search
  136. match searching.task ...wait
  137. match return.search quickly snatch it up before a foe
  138. match searching.task Roundtime
  139. matchwait
  140. return.search:
  141. gosub move 1
  142. put give zuk
  143. pause 0.5
  144. goto get.task
  145.  
  146. escort:
  147. escort.task:
  148. put accept task
  149. pause 0.5
  150. setvariable room 1
  151. action instant setvariable there 1 when following you
  152. search.rooms:
  153. if %room = 6 then goto next.room
  154. if %room = 10 then var room 20
  155. gosub move %room
  156. put search
  157. match next.room Roundtime
  158. match next.room You're pretty sure you searched this area
  159. matchwait 2
  160. goto escorting
  161. next.room:
  162. pause 2
  163. math room add 1
  164. goto search.rooms
  165. escorting:
  166. var there 0
  167. math room subtract 1
  168. if %room = 6 then goto escorting
  169. if %room = 19 then var room 9
  170. gosub move %room
  171. if %there = 0 then waitfor following you
  172. if %room = 1 then goto complete
  173. goto escorting
  174. complete:
  175. waitfor ASK ZUKIR ABOUT TASK COMPLETE
  176. put ask zuk about task complete
  177. pause 0.5
  178. goto get.task
  179.  
  180. move.retry:
  181. math move.retry add 1
  182. if %move.retry > 3 then goto move.fail
  183. echo ***
  184. echo *** Retrying move to $1 $2 in %move.retry second(s).
  185. echo ***
  186. pause %move.retry
  187. goto move.goto
  188. move:
  189. var move.skip 0
  190. var move.retry 0
  191. var move.fail 0
  192. var move.room $0
  193. echo Moving to $0
  194. put #statusbar Moving to $0
  195. if $roomid = %move.room then return
  196. move.goto:
  197. matchre move.return ^YOU HAVE ARRIVED
  198. matchre move.skip ^SHOP CLOSED
  199. matchre move.retry ^MOVE FAILED
  200. matchre move.fail ^DESTINATION NOT FOUND
  201. matchre move.fail ^Destination not found
  202. put #goto %move.room
  203. matchwait
  204. move.fail:
  205. var move.fail 1
  206. goto move.return
  207. move.skip:
  208. var move.skip 1
  209. move.return:
  210. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement