Advertisement
SSBBHax

Untitled

Mar 25th, 2018
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.28 KB | None | 0 0
  1. wait(10);
  2. /*
  3. // This is a comment. Anything you type behind a // will not be executed
  4.  
  5. // This script assumes you have the associated combat script saved as a macro. It will not work otherwise
  6. // This script assumes that you have the correct potion buffs turned on as a mood, bc it doesn't do them itself.
  7.  
  8. // First, we want to do eating and drinking, so we want to eat all of the thanksgiving food
  9. void acquire_to_price(int qty, item it, int price)
  10. {
  11. // Reimplement acquire to check item price before buying
  12. int missing_qt = qty - item_amount(it);
  13. if (missing_qt > 0)
  14. {
  15. buy(missing_qt, it, price);
  16. }
  17. }
  18. int count;
  19.  
  20. // Food setup
  21.  
  22. // First, we need to make sure we acquire and consume the relevant food
  23. acquire_to_price(1, $item[candied sweet potatoes] , 10000);
  24. acquire_to_price(1, $item[green bean casserole] , 10000);
  25. acquire_to_price(1, $item[baked stuffing] , 10000);
  26. acquire_to_price(1, $item[cranberry cylinder] , 10000);
  27. acquire_to_price(1, $item[thanksgiving turkey] , 10000);
  28. acquire_to_price(1, $item[mince pie] , 10000);
  29. acquire_to_price(1, $item[mashed potatoes] , 10000);
  30. acquire_to_price(1, $item[warm gravy] , 10000);
  31. acquire_to_price(1, $item[bread roll] , 10000);
  32. cli_execute("acquire candied sweet potatoes");
  33. cli_execute("acquire green bean casserole");
  34. cli_execute("acquire baked stuffing");
  35. cli_execute("acquire cranberry cylinder");
  36. cli_execute("acquire thanksgiving turkey");
  37. cli_execute("acquire mince pie");
  38. cli_execute("acquire mashed potatoes");
  39. cli_execute("acquire warm gravy");
  40. cli_execute("acquire bread roll");
  41. // Prep for overeating
  42. cli_execute("equip pantsgiving");
  43. cli_execute("acquire 3 mayodiol");
  44. cli_execute("acquire 5 mayozapine");
  45.  
  46. cli_execute("use 2 milk of mag");
  47. cli_execute("use mayozapine");
  48. cli_execute("eat candied sweet potatoes");
  49. cli_execute("use mayozapine");
  50. cli_execute("eat green bean casserole");
  51. cli_execute("use mayozapine");
  52. cli_execute("eat baked stuffing");
  53. cli_execute("use mayozapine");
  54. cli_execute("eat cranberry cylinder");
  55. cli_execute("use mayozapine");
  56. cli_execute("eat thanksgiving turkey");
  57. cli_execute("use mayodiol");
  58. cli_execute("eat mince pie");
  59. cli_execute("use mayodiol");
  60. cli_execute("eat mashed potatoes");
  61. cli_execute("use mayodiol");
  62. cli_execute("eat warm gravy");
  63. cli_execute("use mayozapine");
  64. cli_execute("eat bread roll");
  65.  
  66. // Buff Setup
  67. // LOV Tunnel Bullshit. This is the place where I suspect something might go wrong.
  68. string LOV = visit_url("place.php?whichplace=town_wrong&action=townwrong_tunnel");
  69. LOV = visit_url("choice.php?pwd=&whichchoice=1222&option=1");
  70.  
  71. LOV = visit_url("choice.php?pwd=&whichchoice=1223&option=2");
  72. LOV = visit_url("choice.php?pwd=&whichchoice=1224&option=2");
  73.  
  74. LOV = visit_url("choice.php?pwd=&whichchoice=1225&option=2");
  75. LOV = visit_url("choice.php?pwd=&whichchoice=1226&option=2");
  76.  
  77. LOV = visit_url("choice.php?pwd=&whichchoice=1227&option=2");
  78. LOV = visit_url("choice.php?pwd=&whichchoice=1228&option=1");
  79.  
  80. // Clan fortune teller
  81. cli_execute("fortune buff meat");
  82.  
  83. count = 0;
  84. while (count < 3) {
  85. cli_execute("terminal enhance meat");
  86. count += 1;
  87.  
  88. count = 0;
  89. while (count < 3) {
  90. cli_execute("terminal enhance meat");
  91. count += 1;
  92. }
  93. cli_execute("terminal educate digitize");
  94. cli_execute("terminal educate extract");
  95.  
  96. // Use the Buy!Sell! Buff for the first time
  97. cli_execute("use Uncle Greenspan's Bathroom Finance Guide");
  98. */
  99. cli_execute("use bittycar meatcar");
  100.  
  101. // Familiar setup
  102. cli_execute("familiar cornbeefadon");
  103. cli_execute("acquire box of familiar jacks");
  104. cli_execute("use box of familiar jacks"); // Acquires the amulet coin
  105.  
  106. cli_execute("familiar robortender");
  107. cli_execute("use moveable feast");
  108. cli_execute("equip amulet coin");
  109. cli_execute("acquire newark");
  110. cli_execute("acquire single entendre");
  111. cli_execute("acquire feliz navidad");
  112. cli_execute("acquire hell in a bucket");
  113. cli_execute("robo feliz navidad, newark, single entendre, hell in a bucket");
  114.  
  115. cli_execute("familiar reanimator");
  116.  
  117. // Do the equipment
  118. cli_execute("equip crumpled felt fedora");
  119. cli_execute("equip buddy bjorn");
  120. cli_execute("bjornify golden monkey");
  121. cli_execute("equip haiku katana");
  122. cli_execute("equip half a Purse");
  123. cli_execute("equip pantsgiving");
  124. cli_execute("equip acc1 mafia pointer finger ring");
  125. cli_execute("equip acc2 cheap sunglasses");
  126. cli_execute("equip acc3 belt of Loathing");
  127.  
  128. // Sweet synthesize
  129. count = 0;
  130. while (count < 12) {
  131. cli_execute("synthesize greed");
  132. count += 1;
  133. }
  134. cli_execute("use 3 mojo filter");
  135. cli_execute("chew 6 handful of smith");
  136.  
  137. // Ensure that we have opened the box of raindoh
  138. cli_execute("acquire 4d camera");
  139.  
  140. cli_execute("/aa barf1");
  141.  
  142. // Do the fax for embezzler
  143. if (get_property("_photocopyUsed")=="false" && can_faxbot($monster[Knob Goblin Embezzler])) {
  144. faxbot($monster[Knob Goblin Embezzler]);
  145. visit_url("clan_viplounge.php?preaction=receivefax&whichfloor=2", true);
  146. cli_execute("use photocopied");
  147. }
  148.  
  149. cli_execute("/aa barf2");
  150. // Set back to normal fam
  151. cli_execute("familiar robortender");
  152. cli_execute("equip amulet coin");
  153.  
  154. count = 0;
  155. while(count < 5)
  156. {
  157. cli_execute("use box full of monster");
  158. count += 1;
  159. }
  160. cli_execute("/aa barf3");
  161. cli_execute("use shaking 4d camera");
  162. cli_execute("/aa barf4");
  163. // Now there are no free fights intended here, so we should have spent 5 box turns, 1 camera turn, 1 fax turn, for 7 turns with pantsgiving on so far.
  164.  
  165. while(true)
  166. {
  167. if (mp_cost($skill[summon party favor]) < my_mp())
  168. {
  169. cli_execute("cast summon party favor");
  170. }
  171. if (have_effect($effect[Buy! Sell! Buy! Sell!]) == 0)
  172. {
  173. // TODO we could do some dumb stuff with the black box to force the 200% to occur then
  174. cli_execute("use Uncle Greenspan's Bathroom Finance Guide");
  175. }
  176.  
  177. if (my_fullness() < fullness_limit())
  178. {
  179. cli_execute("acquire Mayozapine");
  180. cli_execute("use Mayozapine");
  181. cli_execute("acquire jumping horseradish");
  182. cli_execute("eat jumping horseradish");
  183. }
  184. if (my_fullness() == 17)
  185. {
  186. cli_execute("equip great wolf pants");
  187. cli_execute("/a barf5");
  188. }
  189. adventure(1, $location[Barf Mountain]);}
  190. }
  191. // This should eventually give an error when out of turns.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement