Advertisement
myName_Is_Seesee

Slimetube Slow run

Feb 24th, 2020
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.12 KB | None | 0 0
  1. script "Seesee_Slimetube_SLOW.ash";
  2. /**************************************************************************************************
  3. This script farms the slimetube for chamois. It can gather about 900 chamois in about a 1000 turns.
  4. It also automatically levels up different familiars in order to get the 500 pound trophy.
  5. It also automatically collects Groose Grease each day.
  6. It's really made for my own private use, but it could work for others if they have the same gear.
  7. *******************************************************************************************************/
  8.  
  9. Int Which_Familiar = 1;
  10.  
  11. int my_starting_adv_count = my_adventures();
  12.  
  13. Familiar [int] New_Familiar;
  14.  
  15. New_Familiar[1] = $familiar[Xiblaxian Holo-Companion];
  16. New_Familiar[2] = $familiar[Reassembled Blackbird];
  17. New_Familiar[3] = $familiar[Reanimated Reanimator];
  18. New_Familiar[4] = $familiar[Gelatinous Cubeling];
  19. New_Familiar[5] = $familiar[Exotic Parrot];
  20. New_Familiar[6] = $familiar[Mosquito];
  21. New_Familiar[7] = $familiar[Leprechaun];
  22. New_Familiar[8] = $familiar[Blood-Faced Volleyball];
  23. New_Familiar[9] = $familiar[Stooper];
  24. New_Familiar[10] = $familiar[God Lobster];
  25. New_Familiar[11] = $familiar[Yule Hound];
  26. New_Familiar[12] = $familiar[Grouper Groupie];
  27. New_Familiar[13] = $familiar[Baby Gravy Fairy];
  28. New_Familiar[14] = $familiar[Untamed Turtle];
  29. New_Familiar[15] = $familiar[Sabre-Toothed Lime];
  30. New_Familiar[16] = $familiar[Barrrnacle];
  31. New_Familiar[17] = $familiar[Angry Goat];
  32. New_Familiar[18] = $familiar[Misshapen Animal Skeleton];
  33. New_Familiar[19] = $familiar[Star Starfish];
  34. New_Familiar[20] = $familiar[Levitating Potato];
  35. New_Familiar[21] = $familiar[Adorable Seal Larva];
  36. New_Familiar[22] = $familiar[Jumpsuited Hound Dog];
  37.  
  38. float[int] slime_percent;
  39.  
  40. slime_percent[1] = 5.334167;
  41. slime_percent[2] = 4.001677;
  42. slime_percent[3] = 2.9025;
  43. slime_percent[4] = 2.016667;
  44. slime_percent[5] = 1.325;
  45. slime_percent[6] = .805833;
  46. slime_percent[7] = .4391667;
  47. slime_percent[8] = .200833;
  48. slime_percent[9] = .066667;
  49. slime_percent[10] = 0;
  50. slime_percent[11] = 0;
  51.  
  52. void Get_hatter ()
  53. {
  54. cli_execute
  55. {
  56. hatter oil cap
  57. }
  58. }
  59.  
  60.  
  61. void Get_Friars ()
  62. {
  63. cli_execute
  64. {
  65. friars familiar
  66. }
  67. }
  68.  
  69. void Get_susie () #there is no Fortune Teller in Big Timers clan, so we have to jump over to Old CW's clan to get the buff and come back.
  70. {
  71. visit_url("showclan.php?recruiter=1&whichclan="+ 14909 +"&pwd&whichclan=" + 14909 + "&action=joinclan&apply=Apply+to+this+Clan&confirm=on");
  72.  
  73. cli_execute
  74. {
  75. fortune buff familiar
  76. }
  77.  
  78. visit_url("showclan.php?recruiter=1&whichclan="+ 35794 +"&pwd&whichclan=" + 35794 + "&action=joinclan&apply=Apply+to+this+Clan&confirm=on");
  79. }
  80.  
  81. void change_Fam()
  82. /**************************************************************************************************
  83. Overview:
  84. Automatically switches familiars in order to level up enough familiars to get
  85. the 500 pound trophy.
  86.  
  87. When is it called?
  88. It is only called after the Groose familiar has dropped its daily 5 grease.
  89.  
  90. Buffs Used:
  91. Susie buff from the Fortune Teller in "Old CW's Germ Free Clan"
  92. Hatter familiar +experience buff
  93. Brother Corsican's buff
  94. Pulled Blue Taffy (if you want)
  95. *******************************************************************************************************/
  96. {
  97. if ( familiar_weight( New_Familiar[Which_Familiar] ) < 19 ) #Checking current familiar to see if it is less than 20 pounds, if it is then use it.
  98. {
  99. use_familiar(New_Familiar[Which_Familiar]);
  100. Which_Familiar = min(Which_Familiar+1,22); #using min() so when all familiars are lvl.20, we stay with our final familiar.
  101. }
  102. else
  103. {
  104. Which_Familiar = min(Which_Familiar+1,22); #getting ready to use next familiar in list.
  105. change_Fam(); #if our current familiar is more than 19 pounds, then go get another familiar and check it.
  106. }
  107.  
  108. if (get_property("_madTeaParty")==false) #We can only get these buffs once a day, so don't bother trying if we already got one of them.
  109. { #this code is probably out of place here, but...I'll change it later.
  110. Get_susie();
  111. Get_Friars();
  112. Get_hatter();
  113. use( min(item_amount($item[pulled blue taffy]),30), $item[pulled blue taffy] ); #Gives 300 turns of +10XP buff, but if you have less it's ok.
  114. }
  115. }
  116.  
  117. int Expected_slime_damage()
  118. /******* This routine determines the amount of damage expected from your coating of Slime, and the slime monsters attack *********/
  119. {
  120. int damage = my_maxhp() * slime_percent[ have_effect( $effect[Coated in Slime] ) ];
  121. return ceil( damage - ( damage * ( elemental_resistance( $element[slime] ) / 100 ) ) ) + expected_damage();
  122. }
  123.  
  124. Void VerifyUsed_Chamois ()
  125. /******* This routine helps to guard against internet problems and "time out" errors to MAKE SURE you used a Chamois *********/
  126. {
  127. while ( have_effect( $effect[Coated in Slime] ) > 0 )
  128. {
  129. cli_execute
  130. {
  131. /chamois
  132. }
  133. }
  134. }
  135.  
  136. void VerifyUsed_HealScroll ()
  137. /******* This routine helps to guard against internet problems and "time out" errors to MAKE SURE you used a Heal Scroll *********/
  138. {
  139. while (my_hp() < my_maxhp())
  140. {
  141. use( 1, $item[scroll of drastic healing] );
  142. }
  143. }
  144.  
  145. void Get_Ready_to_Start()
  146. /***************************************************************************************************************************
  147. This routine makes some necessary arrangements to get your character ready to begin fighting in the Slimetube.
  148.  
  149. 1. Makes sure you're fighting in the right clan basement!
  150. 2. Makes sure your familiar is the Groose to begin collecting grease.
  151. 3. Puts on the correct outfit.
  152. 4. Double checks your ML by turning off the "radio" and shrugging Ur-kels if active.
  153. 5. Makes sure you have enough Healing scrolls on hand.
  154. 6. Makes sure your Health is at maximum before starting
  155. 7. Makes sure you have enough Healing scrolls on hand.
  156. 8. Checks if you want to continue with less than 30 Pulled Blue Taffy.
  157. *****************************************************************************************************************************/
  158. {
  159. if (get_clan_name() != "Big Timers" )
  160. {
  161. abort("Hey silly...you're in the wrong clan!");
  162. }
  163.  
  164. cli_execute
  165. {
  166. outfit low level slime farming
  167. mcd 0
  168. shrug Ur-kel's
  169. familiar Groose
  170. ccs default
  171. }
  172.  
  173. if ( my_hp() < my_maxhp() )
  174. {
  175. VerifyUsed_HealScroll ();
  176. }
  177.  
  178. if ( item_amount($item[scroll of drastic healing]) < (my_adventures()/8)+20 )
  179. {
  180. abort("You're running out of Heal scrolls.");
  181. }
  182.  
  183. if ( item_amount($item[pulled blue taffy]) < 30 ) #check on the Taffy situation and whether you're happy with it.
  184. {
  185. if (user_confirm( "You don't have 30 Pulled Blue Taffy. Do you want to STOP?" ) )
  186. {
  187. abort();
  188. }
  189. else
  190. {
  191. Print("Ok...continuing with less than 30 Blue Taffy");
  192. }
  193. }
  194. }
  195.  
  196. void main()
  197. {
  198. Get_Ready_to_Start();
  199.  
  200. while ( my_adventures() > 8 ) #...I'm expecting 8 turns before we need to chamois and end the iteration
  201. {
  202.  
  203. if (my_familiar() == $familiar[Bloovian Groose] && # just in case Mafia looses track of "_grooseDrops"!
  204. my_adventures() < my_starting_adv_count-29 ) # if we adventured for 30 turns and didn't get 5 "_grooseDrops", something is wrong!
  205. {
  206. change_fam();
  207. }
  208.  
  209. if (familiar_weight(my_familiar()) >= 20 &&
  210. get_property("_grooseDrops" ).to_int() > 4 ) #when we finally get 5 "_grooseDrops" AND our Groose is already lvl.20, then change familiars
  211. {
  212. change_fam();
  213. }
  214.  
  215. print( ((my_adventures()/8)+1) + " iterations left.", "blue"); #notification of how many more "for loops" we have remaining
  216. while (Expected_slime_damage() < my_hp())
  217. {
  218. adventure(1, $location[The Slime Tube]);
  219. }
  220.  
  221. VerifyUsed_HealScroll ();
  222.  
  223. while (Expected_slime_damage() < my_hp()) #squeezing out a few more advs. before using a Chamois...using heal scrolls instead
  224. {
  225. adventure(1, $location[The Slime Tube]);
  226. VerifyUsed_HealScroll ();
  227. }
  228.  
  229. VerifyUsed_Chamois ();
  230.  
  231. }
  232. Print("All done.");
  233. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement