Advertisement
matsamilla

Fisher Archer

Nov 20th, 2019
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.67 KB | None | 0 0
  1. @clearlist 'mobsound'
  2. @createlist 'mobsound'
  3. @clearlist 'attack'
  4. @createlist 'attack'
  5. @clearlist 'scan'
  6. @createlist 'scan'
  7. @clearlist 'skin'
  8. @createlist 'skin'
  9. @clearlist 'drive'
  10. @createlist 'drive'
  11. //********* SETUP ****************************************
  12. pushlist 'mobsound' 'no' // yes for mob sound, no for no sound.
  13. pushlist 'attack' 'yes' // yes to attack, no for no attack
  14. pushlist 'scan' 'yes' // yes to scan the horizons
  15. pushlist 'skin' 'yes' // Will skin & re-open nearby corpses
  16. pushlist 'drive' 'yes' // yes to drive boat
  17. //********************************************************
  18. if not timerexists 'Sound Timer'
  19. createtimer 'Sound Timer'
  20. settimer 'Sound Timer' 15000
  21. endif
  22. if not timerexists 'Bandage Timer'
  23. createtimer 'Bandage Timer'
  24. settimer 'Bandage Timer' 10250
  25. endif
  26. if not findalias 'Escape Book'
  27. headmsg 'Select Escape Book'
  28. promptalias 'Escape Book'
  29. endif
  30. // If we are poisoned or don't have full health
  31. while poisoned 'self'
  32. autotargetself
  33. cast 'Cure'
  34. pause 2000
  35. endwhile
  36. while diffhits > 30 and not dead
  37. autotargetself
  38. bigheal
  39. pause 1500
  40. if not @findobject 'lefthand'
  41. equipitem 'bow' 2
  42. endif
  43. endwhile
  44. if not @listexists 'xaxis'
  45. @createlist 'xaxis'
  46. @pushlist 'xaxis' 3
  47. @pushlist 'xaxis' -3
  48. endif
  49. if not @listexists 'yaxis'
  50. @createlist 'yaxis'
  51. @pushlist 'yaxis' 3
  52. @pushlist 'yaxis' -3
  53. endif
  54. if not listexists 'fish'
  55. createlist 'fish'
  56. @pushlist 'fish' '0x9ce'
  57. @pushlist 'fish'' 0x9cf'
  58. @pushlist 'fish' '0x9cc'
  59. @pushlist 'fish' '0x9cd'
  60. endif
  61. if dead
  62. stop
  63. endif
  64. if not @findobject 'bow'
  65. promptalias 'bow'
  66. endif
  67. if not @findobject 'pole'
  68. if @findtype '0xdbf' 'any' 'backpack' 'any' '3'
  69. setalias 'pole' 'found'
  70. pause 600
  71. else
  72. msg 'No Poles'
  73. playsound 'error.wav'
  74. pause 10000
  75. endif
  76. endif
  77. for 0 to 'xaxis'
  78. for 0 to 'yaxis'
  79. while not @injournal 'biting' 'system'
  80. // If we are poisoned or don't have full health
  81. while poisoned 'self'
  82. autotargetself
  83. cast 'Cure'
  84. pause 2000
  85. endwhile
  86. while diffhits > 30 and not dead
  87. autotargetself
  88. bigheal
  89. pause 1500
  90. if not @findobject 'lefthand'
  91. equipitem 'bow' 2
  92. endif
  93. endwhile
  94. // Skin serps
  95. if @inlist 'skin' 'Yes' or @inlist 'skin' 'yes'
  96. if @findtype 0x2006 'any' 'ground' 'any' 2
  97. usetype 0xf52
  98. waitfortarget 3500
  99. target! 'found'
  100. pause 600
  101. useobject 'found'
  102. ignoreobject 'found'
  103. unsetalias 'found'
  104. pause 600
  105. endif
  106. endif
  107. // Scan the Horizons
  108. if @inlist 'scan' 'Yes' or @inlist 'scan' 'yes'
  109. msg 'scan the horizons'
  110. endif
  111. if not @findobject 'lefthand'
  112. equipitem 'bow' 2
  113. endif
  114. // Reset pole
  115. if not @findobject 'pole'
  116. if @findtype '0xdbf' 'any' 'backpack' 'any' '3'
  117. setalias 'pole' 'found'
  118. pause 600
  119. else
  120. msg 'No Poles'
  121. playsound 'error.wav'
  122. pause 10000
  123. endif
  124. endif
  125. @canceltarget
  126. @useobject 'pole'
  127. waitfortarget 2000
  128. targettileoffset! 'xaxis[]' 'yaxis[]' 0
  129. pause 500
  130. if not @injournal 'biting' 'system'
  131. pause 7750
  132. endif
  133. //Cheer
  134. if @injournal 'pull a bottle' 'system'
  135. clearjournal
  136. headmsg 'GOT ONE'
  137. if @inlist 'mobsound' 'Yes' or @inlist 'mobsound' 'yes'
  138. playsound 'cheer.wav'
  139. endif
  140. endif
  141. if @injournal 'mess' 'system'
  142. clearjournal
  143. @usetype! 0xdd6
  144. pause 1000
  145. @usetype! 0xdd6
  146. pause 1000
  147. endif
  148. if @injournal 'closer' 'system'
  149. clearjournal
  150. resync
  151. endif
  152. //fishing cleanup
  153. if weight >= maxweight
  154. for 0 to 'fish'
  155. while @findtype fish[] 'any' 'backpack'
  156. usetype! 0xf52
  157. waitfortarget 1000
  158. target! 'found'
  159. pause 600
  160. endwhile
  161. endfor
  162. // adds to fishsteak pile on floor
  163. if @findtype 0x97a 'any' 'ground' 'any' 2
  164. movetype 0x97a 'backpack' 'found'
  165. pause 600
  166. else
  167. //starts fishsteak pile on floor if doesnt exist
  168. movetypeoffset 0x97a 'backpack' 'ground'
  169. pause 600
  170. endif
  171. endif
  172. //end fishing cleanup
  173. if not @findobject 'lefthand'
  174. equipitem 'bow' 2
  175. endif
  176. //attack sea serp
  177. getenemy 'enemy' 'criminal' 'gray' 'closest'
  178. while @inrange 'enemy' 10
  179. if @inlist 'mobsound' 'Yes' or @inlist 'mobsound' 'yes'
  180. if timer 'Sound Timer' > 10000
  181. playsound 'bell.wav'
  182. settimer 'Sound Timer' 0
  183. endif
  184. endif
  185. // Attack!
  186. if @inlist 'attack' 'Yes' or @inlist 'attack' 'yes'
  187. attack! 'enemy'
  188. endifwhile poisoned 'self'
  189. autotargetself
  190. cast 'Cure'
  191. pause 2000
  192. endwhile
  193. while diffhits > 30 and not dead
  194. autotargetself
  195. bigheal
  196. pause 1500
  197. if not @findobject 'lefthand'
  198. equipitem 'bow' 2
  199. endif
  200. endwhile
  201. endwhile
  202. endwhile
  203. clearjournal
  204. endfor
  205. if @inlist 'drive' 'Yes' or @inlist 'drive' 'yes'
  206. msg '[e whistle'
  207. pause 350
  208. for 0 to '3'
  209. msg 'Back One'
  210. Pause 350
  211. endfor
  212. for 0 to '6'
  213. msg 'Forward One'
  214. Pause 350
  215. endfor
  216. for 0 to '3'
  217. msg 'Left One'
  218. Pause 350
  219. endfor
  220. for 0 to '6'
  221. msg 'Right One'
  222. Pause 350
  223. endfor
  224. msg 'Forward'
  225. pause 4500
  226. msg 'stop'
  227. playsound 'pssst.wav'
  228. endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement