Advertisement
SSBBHax

temp script

Mar 30th, 2018
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.35 KB | None | 0 0
  1. /* List of blocks for reference:
  2. ~ Clearing existing timers
  3. ~ Setting new timers
  4. ~ Foodstuffs
  5. ~ L O V Etc.
  6. ~ Familiar stuff
  7. ~ Assorted buffs (KGB, etc.)
  8. ~ Synthesis, kind of
  9. ~ S P L E E N
  10. ~ Fixed terminal
  11. ~ The horribleness that is macros with putty / black box and stuff.
  12. ~ Barf adventuring
  13. */
  14. print("Added a wait() command in case you remember something to do right after starting the script.");
  15.  
  16. wait(10);
  17.  
  18. cli_execute("/aa barf farming");
  19.  
  20. if(get_property("_digitize_timers_set") != "true") {
  21.  
  22. if (have_effect($effect[timer 1]) >= 1) {
  23. cli_execute("/shrug timer 1");
  24. }
  25.  
  26. if (have_effect($effect[timer 2]) >= 1) {
  27. cli_execute("/shrug timer 2");
  28. }
  29.  
  30. if (have_effect($effect[timer 3]) >= 1) {
  31. cli_execute("/shrug timer 3");
  32. }
  33.  
  34. if (have_effect($effect[timer 1]) == 0) {
  35. cli_execute("/timer 95");
  36. }
  37.  
  38. if (have_effect($effect[timer 2]) == 0) {
  39. cli_execute("/timer 190");
  40. }
  41.  
  42. if (have_effect($effect[timer 3]) == 0) {
  43. cli_execute("/shrug timer 330");
  44. }
  45.  
  46. set_property("_digitize_timers_set","true");
  47. }
  48.  
  49. // This script assumes you have the associated combat script saved as a macro. It will not work otherwise
  50. // This script assumes that you have the correct potion buffs turned on as a mood, bc it doesn't do them itself.
  51.  
  52. // First, we want to do eating and drinking, so we want to eat all of the thanksgiving food
  53. void acquire_to_price(int qty, item it, int price)
  54. {
  55. // Reimplement acquire to check item price before buying
  56. int missing_qt = qty - item_amount(it);
  57. if (missing_qt > 0)
  58. {
  59. buy(missing_qt, it, price);
  60. }
  61. }
  62. int count;
  63.  
  64. // Food setup
  65.  
  66. if(get_property("_food_setup_complete") != "true") {
  67.  
  68. // First, we need to make sure we acquire and consume the relevant food
  69. acquire_to_price(1, $item[candied sweet potatoes] , 10000);
  70. acquire_to_price(1, $item[green bean casserole] , 10000);
  71. acquire_to_price(1, $item[baked stuffing] , 10000);
  72. acquire_to_price(1, $item[cranberry cylinder] , 10000);
  73. acquire_to_price(1, $item[thanksgiving turkey] , 10000);
  74. acquire_to_price(1, $item[mince pie] , 10000);
  75. acquire_to_price(1, $item[mashed potatoes] , 10000);
  76. acquire_to_price(1, $item[warm gravy] , 10000);
  77. acquire_to_price(1, $item[bread roll] , 10000);
  78. cli_execute("acquire candied sweet potatoes");
  79. cli_execute("acquire green bean casserole");
  80. cli_execute("acquire baked stuffing");
  81. cli_execute("acquire cranberry cylinder");
  82. cli_execute("acquire thanksgiving turkey");
  83. cli_execute("acquire mince pie");
  84. cli_execute("acquire mashed potatoes");
  85. cli_execute("acquire warm gravy");
  86. cli_execute("acquire bread roll");
  87. // Prep for overeating
  88. cli_execute("equip pantsgiving");
  89. cli_execute("acquire 3 mayodiol");
  90. cli_execute("acquire 5 mayozapine");
  91.  
  92. cli_execute("use 2 milk of mag");
  93. cli_execute("use mayozapine");
  94. cli_execute("eat candied sweet potatoes");
  95. cli_execute("use mayozapine");
  96. cli_execute("eat green bean casserole");
  97. cli_execute("use mayozapine");
  98. cli_execute("eat baked stuffing");
  99. cli_execute("use mayozapine");
  100. cli_execute("eat cranberry cylinder");
  101. cli_execute("use mayozapine");
  102. cli_execute("eat thanksgiving turkey");
  103. cli_execute("use mayodiol");
  104. cli_execute("eat mince pie");
  105. cli_execute("use mayodiol");
  106. cli_execute("eat mashed potatoes");
  107. cli_execute("use mayodiol");
  108. cli_execute("eat warm gravy");
  109. cli_execute("use mayozapine");
  110. cli_execute("eat bread roll");
  111.  
  112. set_property("_food_setup_complete","true");
  113. }
  114.  
  115. // LOV Esetup
  116.  
  117. if(!get_property("_loveTunnelUsed").to_boolean()){
  118.  
  119. cli_execute("/cast * party favor");
  120. visit_url("place.php?whichplace=town_wrong&action=townwrong_tunnel");
  121. visit_url("choice.php?whichchoice=1222&option=1&pwd");
  122. visit_url("choice.php?whichchoice=1223&option=2&pwd");
  123. visit_url("choice.php?whichchoice=1224&option=3&pwd");
  124. visit_url("choice.php?whichchoice=1225&option=2&pwd");
  125. visit_url("choice.php?whichchoice=1226&option=2&pwd");
  126. visit_url("choice.php?whichchoice=1227&option=2&pwd");
  127. visit_url("choice.php?whichchoice=1228&option=1&pwd");
  128. cli_execute("/cast * party favor");
  129. }
  130.  
  131. // Clan fortune teller
  132. if(get_property("_clanFortuneBuffUsed") == "false") {
  133. cli_execute("fortune buff meat");
  134. }
  135.  
  136. while(get_property("_kgbClicksUsed").to_int() < 22) {
  137. cli_execute("briefcase b meat");
  138. }
  139.  
  140. while(get_property("_sourceTerminalEnhanceUses").to_int() < 3) {
  141. cli_execute("terminal enhance meat");
  142. }
  143.  
  144. cli_execute("terminal educate digitize");
  145. cli_execute("terminal educate extract");
  146.  
  147. // Use the Buy!Sell! Buff for the first time
  148. if(have_effect($effect[Buy! Sell! Buy! Sell!]) == 0){
  149. cli_execute("use Uncle Greenspan's Bathroom Finance Guide");
  150. }
  151.  
  152. cli_execute("use bittycar meatcar");
  153.  
  154. // Familiar setup
  155.  
  156. if(get_property("_familiar_setup_complete") != "true") {
  157.  
  158. cli_execute("familiar cornbeefadon");
  159. cli_execute("acquire box of familiar jacks");
  160. cli_execute("use box of familiar jacks"); // Acquires the amulet coin
  161.  
  162. cli_execute("familiar robortender");
  163. cli_execute("use moveable feast");
  164. cli_execute("equip amulet coin");
  165. cli_execute("acquire newark");
  166. cli_execute("acquire single entendre");
  167. cli_execute("acquire feliz navidad");
  168. cli_execute("acquire hell in a bucket");
  169. cli_execute("robo feliz navidad, newark, single entendre, hell in a bucket");
  170. cli_execute("mummery meat");
  171.  
  172. set_property("_familiar_setup_complete","true");
  173. }
  174.  
  175. cli_execute("familiar reanimator");
  176.  
  177. // Do the equipment
  178. cli_execute("equip crumpled felt fedora");
  179. cli_execute("equip buddy bjorn");
  180. cli_execute("bjornify golden monkey");
  181. cli_execute("equip haiku katana");
  182. cli_execute("equip half a Purse");
  183. cli_execute("equip pantsgiving");
  184. cli_execute("equip acc1 mafia pointer finger ring");
  185. cli_execute("equip acc2 cheap sunglasses");
  186. cli_execute("equip acc3 belt of Loathing");
  187.  
  188. // Sweet synthesis
  189. if(get_property("_spleen_synthesized").to_int() != 12) {
  190. repeat {
  191. cli_execute("synthesize swizzler, milk stud");
  192. set_property("_spleen_synthesized",get_property("_spleen_synthesized").to_int() + 1);
  193. }
  194. until(get_property("_spleen_synthesized").to_int() == 12);
  195. }
  196.  
  197. cli_execute("use 3 mojo filter");
  198. cli_execute("chew 6 handful of smithereen");
  199.  
  200. // Ensure that we have opened the box of raindoh
  201. cli_execute ("closet put * 4-d camera");
  202. cli_execute("acquire 1 4-d camera");
  203. /* AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  204. // Do the fax for embezzler
  205. if (get_property("_photocopyUsed")=="false" && can_faxbot($monster[Knob Goblin Embezzler])) {
  206. faxbot($monster[Knob Goblin Embezzler]);
  207. visit_url("clan_viplounge.php?preaction=receivefax&whichfloor=2", true);
  208. cli_execute("use photocopied");
  209. }
  210. // Set back to normal fam
  211. cli_execute("familiar robortender");
  212. cli_execute("equip amulet coin");
  213.  
  214. count = 0;
  215. while(count < 5)
  216. {
  217. cli_execute("use box full of monster");
  218. count += 1;
  219. }
  220. cli_execute("closet put black box");
  221. cli_execute("use shaking 4-d camera");
  222. // 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.
  223.  
  224. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA */
  225.  
  226. cli_execute("familiar robortender");
  227. cli_execute("equip amulet coin");
  228.  
  229. repeat {
  230. if (mp_cost($skill[summon party favor]) < my_mp())
  231. {
  232. cli_execute("cast summon party favor");
  233. }
  234. if (have_effect($effect[Buy! Sell! Buy! Sell!]) == 0)
  235. {
  236. // TODO we could do some dumb stuff with the black box to force the 200% to occur then
  237. cli_execute("use Uncle Greenspan's Bathroom Finance Guide");
  238. }
  239.  
  240. if (my_fullness() < fullness_limit())
  241. {
  242. cli_execute("acquire Mayozapine");
  243. cli_execute("use Mayozapine");
  244. cli_execute("acquire jumping horseradish");
  245. cli_execute("eat jumping horseradish");
  246. }
  247. if (my_fullness() == 17)
  248. {
  249. cli_execute("equip great wolf pants");
  250. }
  251. if (have_effect($effect[timer 1]) == 0)
  252. {
  253. cli_execute("/timer 999");
  254. }
  255. if (have_effect($effect[timer 2]) == 0)
  256. {
  257. cli_execute("/timer 999");
  258. }
  259. if (have_effect($effect[timer 3]) == 0)
  260. {
  261. cli_execute("/timer 999");
  262. }
  263. adventure(1, $location[Barf Mountain]);
  264. set_property("_this_is_terrible",get_property("_this_is_terrible").to_int() + 1);
  265. }
  266. until(get_property("_this_is_terrible").to_int() == 330 );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement