Advertisement
kakel_anders

UOS - Alchemytrainer

Feb 17th, 2022
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.04 KB | None | 0 0
  1. // Alchemytrainer //
  2. // Made by kakel_anders#1638 (Player UOG:Demise) //
  3. //
  4. // Uses poisonpots/Nightshade only, configured for Demise Freeshard //
  5. //
  6. // - Prerequisites - //
  7. //1. Character must have sufficient tinkering to make alchytools and tinkerkits
  8. //2. Have a "resourcebag" with nightshade, ingots and bottles
  9. //3. Have a container (Commoditybox) to put the deadly posion pots in.
  10. //4. Have a trashbarrel closeby
  11. //5. Start with atleast 1 tinkerkit in backpack
  12. clearlist 'reagents'
  13. unsetalias 'resourcebag'
  14. unsetalias 'commoditybox'
  15. unsetalias 'alchytrash'
  16. promptalias 'resourcebag'
  17. promptalias 'commoditybox'
  18. promptalias 'alchytrash'
  19. createlist 'reagents'
  20. pushlist 'reagents' 0xf8c // Sulfurous Ash
  21. pushlist 'reagents' 0xf86 // Mandrake Root
  22. pushlist 'reagents' 0xf84 // Garlic
  23. pushlist 'reagents' 0xf8d // Spidersilk
  24. pushlist 'reagents' 0xf88 // Nightshade
  25. pushlist 'reagents' 0xf7b // Bloodmoss
  26. pushlist 'reagents' 0xf85 // Ginseng
  27. pushlist 'reagents' 0xf7a // Blackpearl
  28. pushlist 'reagents' 0xf8a // Pigiron
  29. pushlist 'reagents' 0xf78 // Batwing
  30. pushlist 'reagents' 0xf8e // Nox Crystals
  31. pushlist 'reagents' 0xf8f // Gravedust
  32. pushlist 'reagents' 0xf7d // Daemon Blood
  33. // Skill < 56
  34. while skill 'alchemy' < 56
  35. // Fill up on ingots
  36. while counttype 0x1bf2 'any' 'backpack' < 50
  37. movetype 0x1bf2 'resourcebag' 'backpack' (0 0 0) 0 50
  38. endwhile
  39. // Make new tinkerkits
  40. if counttype 0x1eb8 'any' 'backpack' < 3
  41. for 5
  42. usetype 0x1eb8
  43. pause 1000
  44. replygump 0x38920abd 8
  45. pause 500
  46. replygump 0x38920abd 23
  47. endfor
  48. endif
  49. // Make new alchytools
  50. if counttype 0xe9b 'any' 'backpack' < 3
  51. for 5
  52. usetype 0x1eb8
  53. waitforgump 0x38920abd 15000
  54. replygump 0x38920abd 8
  55. waitforgump 0x38920abd 15000
  56. replygump 0x38920abd 9
  57. waitforgump 0x38920abd 15000
  58. endfor
  59. endif
  60. // Fill up on Bottles
  61. if counttype 0xf0e 'any' 'backpack' < 50
  62. movetype 0xf0e 'resourcebag' 'backpack' (0 0 0) 'any' 50
  63. endif
  64. // Fill up on Regs
  65. if counttype 0xf88 'any' 'backpack' < 50
  66. movetype 0xf88 'resourcebag' 'backpack' (0 0 0) 'any' 1000
  67. endif
  68. // Make Potion
  69. usetype 0xe9b
  70. waitforgump 0x38920abd 15000
  71. replygump 0x38920abd 36
  72. waitforgump 0x38920abd 15000
  73. replygump 0x38920abd 9
  74. waitforgump 0x38920abd 15000
  75. // Trash potion
  76. movetype 0xf0a 'backpack' 'alchytrash'
  77. pause 500
  78. endwhile
  79. //////////////////////////////////////////
  80. // Skill < 91
  81. while skill 'alchemy' < 91
  82. // Fill up on ingots
  83. while counttype 0x1bf2 'any' 'backpack' < 50
  84. movetype 0x1bf2 'resourcebag' 'backpack' (0 0 0) 0 50
  85. endwhile
  86. // Make new tinkerkits
  87. if counttype 0x1eb8 'any' 'backpack' < 3
  88. for 5
  89. usetype 0x1eb8
  90. pause 1000
  91. replygump 0x38920abd 8
  92. pause 500
  93. replygump 0x38920abd 23
  94. endfor
  95. endif
  96. // Make new alchytools
  97. if counttype 0xe9b 'any' 'backpack' < 3
  98. for 5
  99. usetype 0x1eb8
  100. waitforgump 0x38920abd 15000
  101. replygump 0x38920abd 8
  102. waitforgump 0x38920abd 15000
  103. replygump 0x38920abd 9
  104. waitforgump 0x38920abd 15000
  105. endfor
  106. endif
  107. // Fill up on Bottles
  108. if counttype 0xf0e 'any' 'backpack' < 50
  109. movetype 0xf0e 'resourcebag' 'backpack' (0 0 0) 'any' 50
  110. endif
  111. // Fill up on Regs
  112. if counttype 0xf88 'any' 'backpack' < 50
  113. movetype 0xf88 'resourcebag' 'backpack' (0 0 0) 'any' 1000
  114. endif
  115. // Make Potion
  116. usetype 0xe9b
  117. waitforgump 0x38920abd 15000
  118. replygump 0x38920abd 36
  119. waitforgump 0x38920abd 15000
  120. replygump 0x38920abd 16
  121. waitforgump 0x38920abd 15000
  122. // Trash potion
  123. movetype 0xf0a 'backpack' 'alchytrash'
  124. pause 500
  125. endwhile
  126. ////////////////////////////////////////////////
  127. //////////////////////////////////////////
  128. // Skill < 101
  129. while skill 'alchemy' < 101
  130. // Fill up on ingots
  131. // Fill up on ingots
  132. while counttype 0x1bf2 'any' 'backpack' < 50
  133. movetype 0x1bf2 'resourcebag' 'backpack' (0 0 0) 0 50
  134. endwhile
  135. // Make new tinkerkits
  136. if counttype 0x1eb8 'any' 'backpack' < 3
  137. for 5
  138. usetype 0x1eb8
  139. pause 1000
  140. replygump 0x38920abd 8
  141. pause 500
  142. replygump 0x38920abd 23
  143. endfor
  144. endif
  145. // Make new alchytools
  146. if counttype 0xe9b 'any' 'backpack' < 3
  147. for 5
  148. usetype 0x1eb8
  149. waitforgump 0x38920abd 15000
  150. replygump 0x38920abd 8
  151. waitforgump 0x38920abd 15000
  152. replygump 0x38920abd 9
  153. waitforgump 0x38920abd 15000
  154. endfor
  155. endif
  156. // Fill up on Bottles
  157. if counttype 0xf0e 'any' 'backpack' < 50
  158. movetype 0xf0e 'resourcebag' 'backpack' (0 0 0) 'any' 50
  159. endif
  160. // Fill up on Regs
  161. if counttype 0xf88 'any' 'backpack' < 50
  162. movetype 0xf88 'resourcebag' 'backpack' (0 0 0) 'any' 1000
  163. endif
  164. // Make Potion
  165. usetype 0xe9b
  166. waitforgump 0x38920abd 15000
  167. replygump 0x38920abd 36
  168. waitforgump 0x38920abd 15000
  169. replygump 0x38920abd 23
  170. waitforgump 0x38920abd 15000
  171. // Store potion
  172. movetype 0xf0a 'backpack' 'commoditybox'
  173. pause 500
  174. // STOP
  175. If skill 'alchemy' == 100
  176. stop
  177. endif
  178. endwhile
  179.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement