yojimbos_law

a OCRS modifier script of dubious merit

Nov 24th, 2017
314
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.80 KB | None | 0 0
  1. cli_execute("acquire 420 chipotle wasabi cilantro aioli");
  2. /*
  3. base combat macro for this stupid script: https://pastebin.com/qJHSN8nN
  4. things left to do maybe eventually:
  5. 1 sandworm
  6. 80ish daily free runs that should happen in some UR zone or another
  7. 1 fax
  8. 2-4 goth fights?
  9. equipment checks, class checks, path checks, better tracking of deaths
  10. */
  11.  
  12. //this makes tentacles dead unless we've died recently, in which case it aborts.
  13. string gold_tentacle_marco = "if !haseffect 873; abort; endif; if !monstername \"*untouchable*\"; jiggle; endif; if monstername \"*stinky*\" || monstername \"*ice-cold*\" || (monstername \"*frozen*\" && !monstername \"*spooky*\"); jiggle; endif; while !(monstername \"*ticking*\" || monstername \"*electrified*\" || hppercentbelow 30); attack; endwhile; while !(monstername \"*annoying*\" || monstername \"*restless*\"); if !monstername \"*red-hot*\"; use blue raspberry troll doll,cinnamon troll doll; endif; use blue raspberry troll doll, grape troll doll; endwhile; while monstername \"*ticking*\" || monstername \"*electrified*\"; use chipotle wasabi cilantro aioli, chipotle wasabi cilantro aioli; endwhile";
  14.  
  15. cli_execute("familiar robortender");
  16.  
  17. if(!get_property("breakfastCompleted").to_boolean()){
  18. cli_execute("breakfast");
  19. }
  20.  
  21. if(!get_property("_kgbLeftDrawerUsed").to_boolean()){
  22. cli_execute("briefcase collect");
  23. }
  24.  
  25. if(get_property("_deckCardsDrawn").to_int() == 0){
  26. cli_execute("cheat x of swords");
  27. cli_execute("cheat x of cups");
  28. cli_execute("cheat year of plenty");
  29. }
  30.  
  31.  
  32. refresh_status();
  33.  
  34. cli_execute("acquire 69 mayodiol");
  35. cli_execute("acquire 69 mayonex");
  36. if(get_property("_thanksgettingFoodsEaten").to_int() == 0){
  37. for i from 9171 to 9174{
  38. cli_execute("acquire 11 "+to_item(i));
  39. if(!get_property("_timeSpinnerFoodAvailable").contains_text(i.to_string())){
  40. if(get_property("mayoInMouth") == ""){
  41. use(1, $item[mayodiol]);
  42. }
  43. eat(1, to_item(i));
  44. }
  45. }
  46. for i from 9175 to 9179{
  47. cli_execute("acquire 11 "+to_item(i));
  48. if(!get_property("_timeSpinnerFoodAvailable").contains_text(i.to_string())){
  49. if(get_property("mayoInMouth") == ""){
  50. use(1, $item[mayonex]);
  51. }
  52. eat(1, to_item(i));
  53. }
  54. }
  55. }
  56.  
  57. if(get_property("_infernoDiscoVisited") == "false"){
  58. cli_execute("outfit velvet");
  59. visit_url("place.php?whichplace=airport_hot&action=airport4_zone1");
  60. run_choice(7);
  61. cli_execute("outfit dice");
  62. }
  63.  
  64.  
  65. refresh_status();
  66.  
  67. int eggz1 = inebriety_limit() - my_inebriety();
  68. int eggz2 = fullness_limit() - my_fullness() - 1;
  69.  
  70. cli_execute("acquire 69 spooky surprise egg");
  71. while(eggz1 > 0){
  72. use(1, $item[mayodiol]);
  73. eat(1, $item[spooky surprise egg]);
  74. eggz1 = eggz1 - 1;
  75. }
  76. while(eggz2 > 0){
  77. use(1, $item[Mayonex] );
  78. eat(1, $item[spooky surprise egg]);
  79. eggz2 = eggz2 - 1;
  80. }
  81.  
  82. while(get_property("_genieWishesUsed").to_int() < 3 ){
  83. cli_execute("genie wish for more wishes");
  84. }
  85.  
  86. while(get_property("_pottedTeaTreeUsed") == "false"){
  87. if(item_amount($item[cuppa mediocri tea]) < item_amount($item[cuppa voraci tea])){
  88. cli_execute("teatree mediocri");
  89. }
  90. else{
  91. if(item_amount($item[cuppa voraci tea]) < item_amount($item[cuppa sobrie tea]))
  92. {
  93. cli_execute("teatree voraci");
  94. }
  95. else{
  96. cli_execute("teatree sobrie");
  97. }
  98. }
  99. }
  100.  
  101. if(get_property("_roboDrinks") == ""){
  102. //important ones: 2x lep, 1x fairy kind of, whatever thing heals, potato
  103. //unimportant one: candy because elohelecksdeerandom
  104. cli_execute("ocrsrobort");
  105. }
  106. if(get_property("_bittycar") != "soulcar" ){
  107. cli_execute("/use soulcar");
  108. }
  109. cli_execute("/aa zzz nouveau OCRS bullshit)");
  110. cli_execute("outfit dice");
  111. cli_execute("equip familiar killscreen");
  112. cli_execute("equip shirt stephen\'s labcoat");
  113. cli_execute("equip weapon staff of the woodfire");
  114. cli_execute("equip offhand HOA regulation book");
  115.  
  116. while(get_property("_snojoFreeFights").to_int() < 10){
  117. adv1(to_location(460),-1,"");
  118. while(in_multi_fight()){
  119. run_combat();
  120. }
  121. cli_execute("cast cannelloni cocoon");
  122. }
  123.  
  124. cli_execute("acquire 69 lynyrd snare");
  125. while(get_property("_lynyrdSnareUses").to_int() < 3){
  126. cli_execute("use lynyrd snare");
  127. cli_execute("cast cannelloni cocoon");
  128. }
  129.  
  130. cli_execute("acquire 69 seal-blubber candle");
  131. cli_execute("acquire 69 figurine of a wretched-looking seal");
  132. cli_execute("equip weapon gnawed-up dog bone");
  133. cli_execute("/aa ocrs seals");
  134. while(get_property("_sealsSummoned").to_int() < 10){
  135. cli_execute("use figurine of a wretched-looking seal");
  136. cli_execute("cast cannelloni cocoon");
  137. }
  138. cli_execute("equip weapon staff of the woodfire");
  139. cli_execute("/aa zzz nouveau OCRS bullshit)");
  140.  
  141. cli_execute("equip offhand half a purse");
  142.  
  143. if( get_property("_eldritchHorrorEvoked") == "false" ){
  144. //tentacle fight.
  145. use_skill(1, $skill[evoke eldritch horror]);
  146. while(in_multi_fight()){
  147. run_combat();
  148. }
  149. }
  150.  
  151. if( get_property("_eldritchTentacleFought") == "false" ){
  152. visit_url("place.php?whichplace=forestvillage&action=fv_scientist");
  153. if(available_choice_options().count() > 0){
  154. run_choice(2);
  155. while(in_multi_fight()){
  156. run_combat();
  157. }
  158. }
  159. }
  160.  
  161.  
  162. if(get_property("_salad_pills_used").to_int() < 20 ){
  163. cli_execute("/closet * daily affirmation: think win-lose");
  164. cli_execute("/uncloset * power pill");
  165. cli_execute("acquire 69 power pill");
  166. cli_execute("acquire 420 drum machine");
  167. }
  168. while(get_property("_salad_pills_used").to_int() < 20 ){
  169. set_property("salad_pills_un", slash_count($item[power pill]) );
  170. cli_execute("use drum machine");
  171. set_property("salad_pills_deux", slash_count($item[power pill]) );
  172. set_property("_salad_pills_used", get_property("_salad_pills_used").to_int() + get_property("salad_pills_un").to_int() - get_property("salad_pills_deux").to_int() );
  173. print("salad pills used: "+get_property("_salad_pills_used"));
  174. cli_execute("cast cannelloni cocoon");
  175. }
  176. if(get_property("_salad_pills_used").to_int() >= 20 && get_property("_hard_to_track_free_kills_used").to_int() < 4){
  177. cli_execute("/closet * power pill");
  178. }
  179. while(get_property("_hard_to_track_free_kills_used").to_int() < 3 ){
  180. set_property("spices_un", slash_count($item[spices]) );
  181. cli_execute("use drum machine");
  182. set_property("spices_deux", slash_count($item[spices]) );
  183. set_property("_hard_to_track_free_kills_used", get_property("_hard_to_track_free_kills_used").to_int() + ( get_property("spices_deux").to_int() - get_property("spices_un").to_int() + 2 ) / 3 );
  184. print("hard to track free kills used: "+get_property("_hard_to_track_free_kills_used"));
  185. cli_execute("cast cannelloni cocoon");
  186. }
  187. if(get_property("_hard_to_track_free_kills_used").to_int() == 3 ){
  188. cli_execute("/closet replica bat-oomerang");
  189. }
  190. while(get_property("_hard_to_track_free_kills_used").to_int() < 4 ){
  191. set_property("spices_un", slash_count($item[spices]) );
  192. cli_execute("use drum machine");
  193. set_property("spices_deux", slash_count($item[spices]) );
  194. set_property("_hard_to_track_free_kills_used", get_property("_hard_to_track_free_kills_used").to_int() + ( get_property("spices_deux").to_int() - get_property("spices_un").to_int() + 2 ) / 3 );
  195. print("hard to track free kills used: "+get_property("_hard_to_track_free_kills_used"));
  196. cli_execute("cast cannelloni cocoon");
  197. }
  198. if(slash_count($item[power pill]) == 0 ){
  199. cli_execute("/uncloset * power pill");
  200. }
  201. if(slash_count($item[replica bat-oomerang]) == 0 ){
  202. cli_execute("/uncloset replica bat-oomerang");
  203. }
  204.  
  205.  
  206. if(get_property("_glarkCableUses").to_int() == 0 ){
  207. cli_execute("acquire 69 glark cable");
  208. }
  209. while(get_property("_glarkCableUses").to_int() < 5){
  210. adv1(to_location(385),-1,"");
  211. while(in_multi_fight()){
  212. run_combat();
  213. }
  214. cli_execute("cast cannelloni cocoon");
  215. }
  216.  
  217.  
  218. if(get_property("_drunkPygmyBanishes").to_int() == 0){
  219. cli_execute("acquire 69 bowl of scorpions");
  220. }
  221. while(get_property("_drunkPygmyBanishes").to_int() < 11){
  222. adv1(to_location(344),-1,"");
  223. while(in_multi_fight()){
  224. run_combat();
  225. }
  226. cli_execute("cast cannelloni cocoon");
  227. }
  228. while(get_property("_timeSpinnerMinutesUsed").to_int() < 8){
  229. cli_execute("/use time-spinner");
  230. run_choice(1);
  231. //3 more pygmy drunks
  232. visit_url("choice.php?whichchoice=1196&monid=1431&option=1&pwd");
  233. while(in_multi_fight()){
  234. run_combat();
  235. }
  236. cli_execute("cast cannelloni cocoon");
  237. }
  238.  
  239.  
  240. //fuck literally everything about the following.
  241. if(get_property("_elf_free_fights").to_int() < 5){
  242. cli_execute("familiar machine elf");
  243. cli_execute("equip familiar killscreen");
  244. cli_execute("/aa none");
  245. }
  246. while(get_property("_elf_free_fights").to_int() < 5 ){
  247. print("elf fights used, hopefully= "+get_property("_elf_free_fights").to_int());
  248. print("multifightness is "+in_multi_fight());
  249. if(!in_multi_fight()){
  250. visit_url("adventure.php?snarfblat=458");
  251. }
  252. if(available_choice_options().count() > 0){
  253. run_choice(6);
  254. }
  255. else{
  256. print("multifightness is "+in_multi_fight());
  257. int good_variable_name = 0;
  258. string blarfingar = "";
  259. while( get_property("_elf_free_fights").to_int() < 5 && ( good_variable_name == 0 || in_multi_fight() ) ){
  260. try{
  261. print("multifightness is "+in_multi_fight());
  262. visit_url("main.php");
  263. }
  264. finally{
  265. print("multifightness is "+in_multi_fight());
  266. string blarfingar = visit_url("fight.php");
  267. print("multifightness is "+in_multi_fight());
  268. blarfingar = blarfingar.substring(blarfingar.index_of("id=\'monname\'"), blarfingar.index_of("id=\'monname\'") + 420).to_lower_case();
  269. print(blarfingar);
  270. //does monster have meat?
  271. if(contains_text(blarfingar, "solid gold")){
  272. print("we think monster has meat.");
  273. if(contains_text(blarfingar, "eldritch tentacle") || contains_text(blarfingar, "31dr17ch 73n74c13")){
  274. int did_I_become_death = slash_count($item[eldritch effluvium]);
  275. run_combat(gold_tentacle_marco);
  276. if(slash_count($item[eldritch effluvium]) > did_I_become_death + 1 ){
  277. set_property("_elf_free_fights", get_property("_elf_free_fights").to_int() + 1 );
  278. print("we think monster is dead.");
  279. print("multifightness is "+in_multi_fight());
  280. print("we think we've used "+get_property("_elf_free_fights")+" machine elf fights.");
  281. }
  282. else{
  283. print("we think we are kill.");
  284. print("multifightness is "+in_multi_fight());
  285. print("we think we've used "+get_property("_elf_free_fights")+" machine elf fights.");
  286. }
  287. }
  288. else{
  289. run_combat("jiggle;");
  290. //it did died.
  291. set_property("_elf_free_fights", get_property("_elf_free_fights").to_int() + 1 );
  292. print("we think monster is dead.");
  293. print("multifightness is "+in_multi_fight());
  294. print("we think we've used "+get_property("_elf_free_fights")+" machine elf fights.");
  295. }
  296. }
  297. else{
  298. print("we think monster is poor");
  299. run_combat("if !haseffect 873; abort; endif; while !(times 3 && (monstername \"*annoying*\" || monstername \"*restless*\") && monstername \"*ticking*\" ) && !hppercentbelow 30 ; use louder than bomb, louder than bomb; endwhile");
  300. print("multifightness is "+in_multi_fight());
  301. print("we think we've used "+get_property("_elf_free_fights")+" machine elf fights.");
  302. }
  303. good_variable_name++;
  304. }
  305. }
  306. while(get_property("_elf_free_fights").to_int() >= 5 && in_multi_fight()){
  307. try{
  308. print("multifightness is "+in_multi_fight());
  309. visit_url("main.php");
  310. }
  311. finally{
  312. print("multifightness is "+in_multi_fight());
  313. string blarfingar = visit_url("fight.php");
  314. blarfingar = blarfingar.substring(blarfingar.index_of("id=\'monname\'"), blarfingar.index_of("id=\'monname\'") + 420).to_lower_case();
  315. if(contains_text(blarfingar, "eldritch tentacle") || contains_text(blarfingar, "31dr17ch 73n74c13") ){
  316. run_combat(gold_tentacle_marco);
  317. }
  318. else{
  319. while(in_multi_fight()){
  320. run_combat("if !haseffect 873; abort; endif; while !(times 3 && (monstername \"*annoying*\" || monstername \"*restless*\") && monstername \"*ticking*\" ) && !hppercentbelow 30 ; use louder than bomb, louder than bomb; endwhile");
  321. }
  322. }
  323. }
  324. }
  325. }
  326. cli_execute("cast cannelloni cocoon");
  327. }
  328. cli_execute("/aa zzz nouveau OCRS bullshit)");
  329. cli_execute("familiar robortender");
  330. cli_execute("equip familiar killscreen");
  331.  
  332.  
  333. //only getting to test this once/day sucks butt.
  334. if(!get_property("_loveTunnelUsed").to_boolean()){
  335. visit_url("place.php?whichplace=town_wrong&action=townwrong_tunnel");
  336. run_choice(1);
  337. run_choice(1);
  338. run_combat();
  339. try{
  340. visit_url("main.php");
  341. }
  342. finally{
  343. run_choice(1);
  344. }
  345. run_combat();
  346. try{
  347. visit_url("main.php");
  348. }
  349. finally{
  350. run_choice(1);
  351. }
  352.  
  353. /*
  354. while( available_choice_options().count() > 0){
  355. run_choice(1);
  356. while(choice_follows_fight()){
  357. run_combat();
  358. }
  359. }
  360. */
  361. }
  362.  
  363. if(slash_count($item[spooky putty monster]) > 0 || slash_count($item[spooky putty monster]) > 0 ){
  364. set_property("rkelly","");
  365. }
  366.  
  367. while( get_property("_witchess_tracking_suuuucks").to_int() < 5){
  368. //hammer servers with slash_count() because fuck salad 'n' stuff.
  369. if(get_property("rkelly").to_int() == 0){
  370. while(slash_count($item[spooky putty monster]) > 0 & get_property("_spoopiesfought").to_int() < 4 ){
  371. cli_execute("use spooky putty monster");
  372. set_property("_spoopiesfought", get_property("_spoopiesfought").to_int() + 1 );
  373. }
  374. if(slash_count($item[spooky putty monster]) > 0 & get_property("_spoopiesfought").to_int() == 4 ){
  375. cli_execute("/aa zzz nouveau OCRS bullshit with 3 lines commented");
  376. cli_execute("use spooky putty monster");
  377. set_property("_spoopiesfought", get_property("_spoopiesfought").to_int() + 1 );
  378. cli_execute("/aa zzz nouveau OCRS bullshit)");
  379. }
  380. if(slash_count($item[spooky putty sheet]) > 0 & get_property("_spoopiesfought").to_int() == 5 ){
  381. put_closet(1, $item[spooky putty sheet]);
  382. set_property("rkelly",1);
  383. }
  384. }
  385. visit_url("campground.php?action=witchess");
  386. if(available_choice_options()[1] == "Examine the shrink ray"){
  387. //visit_url("choice.php?whichchoice=1181&option=1&pwd");
  388. run_choice(1);
  389. set_property("_witchess_tracking_suuuucks", get_property("_witchess_tracking_suuuucks").to_int() + 1);
  390. }
  391. if(available_choice_options()[1] == "" & available_choice_options()[2] == "Play Witchess"){
  392. set_property("_witchess_tracking_suuuucks" , 5);
  393. }
  394. visit_url("choice.php?whichchoice=1182&option=1&piece=1935&pwd="+my_hash(),false);
  395. while(in_multi_fight()){
  396. run_combat();
  397. }
  398. }
  399.  
  400.  
  401. //checking whether painting is fought.
  402. if( !get_property("_chateauMonsterFought").to_boolean() ){
  403. visit_url("place.php?whichplace=chateau&action=chateau_painting");
  404. //better safe than aborted, I guess:
  405. while(in_multi_fight()){
  406. run_combat();
  407. }
  408. }
  409.  
  410. if(get_property("_gingerbreadCityTurns").to_int() == 0){
  411. //just attempts to run away
  412. cli_execute("/aa zzzzzzz runaway");
  413. cli_execute("familiar stomping boots");
  414. cli_execute("equip familiar killscreen");
  415. set_property("choiceAdventure1203", 4);
  416. set_property("choiceAdventure1215", 1);
  417. set_property("choiceAdventure1204", 1);
  418. //set clock forward.
  419. adv1($location[Gingerbread Civic Center], -1, "" );
  420. //run away 3 times.
  421. for i from 7 to 9{
  422. adv1($location[Gingerbread Civic Center], -1, "" );
  423. }
  424. //grab candy
  425. adv1($location[Gingerbread Train Station], -1, "" );
  426. //run away 4 times
  427. for i from 11 to 14{
  428. adv1($location[Gingerbread Civic Center], -1, "" );
  429. }
  430. cli_execute("/aa zzz nouveau OCRS bullshit)");
  431. cli_execute("familiar robortender");
  432. cli_execute("equip familiar killscreen");
  433. //use 5 gingerbread cigarettes...
  434. for i from 15 to 19{
  435. adv1($location[Gingerbread Upscale Retail District], -1, "" );
  436. while(in_multi_fight()){
  437. run_combat();
  438. }
  439. }
  440. //...to get more gingerbread cigarettes
  441. adv1($location[Gingerbread Civic Center], -1, "" );
  442. }
  443.  
  444. cli_execute("equip offhand HOA regulation book");
  445.  
  446. cli_execute("acquire 69 bricko ooze");
  447. while(get_property("_brickoFights").to_int() < 10){
  448. if(get_property("rkelly").to_int() == 0){
  449. while(slash_count($item[spooky putty monster]) > 0 & get_property("_spoopiesfought").to_int() < 4 ){
  450. cli_execute("use spooky putty monster");
  451. set_property("_spoopiesfought", get_property("_spoopiesfought").to_int() + 1 );
  452. }
  453. if(slash_count($item[spooky putty monster]) > 0 & get_property("_spoopiesfought").to_int() == 4 ){
  454. cli_execute("/aa zzz nouveau OCRS bullshit with 3 lines commented");
  455. cli_execute("use spooky putty monster");
  456. set_property("_spoopiesfought", get_property("_spoopiesfought").to_int() + 1 );
  457. cli_execute("/aa zzz nouveau OCRS bullshit)");
  458. }
  459. if(slash_count($item[spooky putty sheet]) > 0 & get_property("_spoopiesfought").to_int() == 5 ){
  460. put_closet(1, $item[spooky putty sheet]);
  461. set_property("rkelly",1);
  462. }
  463. }
  464. cli_execute("use bricko ooze");
  465. cli_execute("cast cannelloni cocoon");
  466. }
  467.  
  468. if(get_property("rkelly").to_int() == 1){
  469. take_closet(1, $item[spooky putty sheet]);
  470. set_property("rkelly", 0 );
  471. }
  472.  
  473.  
  474.  
  475.  
  476.  
  477.  
  478.  
  479.  
  480.  
  481.  
  482.  
  483.  
  484.  
  485.  
  486. /*
  487. metric
  488. fuckton
  489. of
  490. whitespace
  491. */
Advertisement
Add Comment
Please, Sign In to add comment