Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Looks like 57 pieces in all. 7,423 toddlers are training with 4 instructors in the boxing ring. It's impressive how efficient they are, what with that student-to-teacher ratio.
- //<font color=blue><b>[1,000,000 Meat]</b>
- if(get_property("_child_abuse") == ""){
- string kids_bop;
- string daycare_state = get_property("daycare_state");
- int children_to_buy = 3 - get_property("_children_bought").to_int();
- int kids_iteration;
- //get into choice 1334.
- kids_bop = visit_url("place.php?whichplace=town_wrong&action=townwrong_boxingdaycare");
- //fight poor internet connection with idempotence
- while(!(kids_bop.contains_text("a door to a spa to your left")) && kids_iteration < 10){
- wait(10);
- kids_bop = visit_url("place.php?whichplace=town_wrong&action=townwrong_boxingdaycare");
- kids_iteration++;
- }
- //grab daily thing.
- while(visit_url("choice.php?whichchoice=1334&option=1").length() < 69 && kids_iteration < 69){
- kids_iteration++;
- }
- //get into choice 1336.
- while(kids_bop.contains_text("a door to a spa to your left") && kids_iteration < 69 ){
- kids_bop = visit_url("choice.php?whichchoice=1334&option=3");
- kids_iteration++;
- //record daycare state after we reach choice 1336
- if(kids_bop.contains_text("Hire an instructor")){
- daycare_state = kids_bop.substring(kids_bop.index_of("Looks like"),kids_bop.index_of("instructors")+12);
- }
- }
- //scavenge for freeeee
- while(kids_bop.contains_text("[free]") && kids_bop.contains_text(daycare_state) && kids_iteration < 69 ){
- kids_bop = visit_url("choice.php?whichchoice=1336&option=2");
- kids_iteration++;
- //if we've scavenged successfully, update daycare state.
- if(kids_bop.contains_text(" adventure]") && !kids_bop.contains_text("[free]") && !kids_bop.contains_text(daycare_state)){
- daycare_state = kids_bop.substring(kids_bop.index_of("Looks like"),kids_bop.index_of("instructors")+12);
- }
- }
- //buy some children, but only if they cost at least 100 meat and at most 10000 meat.
- while( children_to_buy > 0 && kids_iteration < 69 && kids_bop.contains_text("00 Meat]") && !kids_bop.contains_text("00,000 Meat]")){
- kids_bop = visit_url("choice.php?whichchoice=1336&option=1");
- kids_iteration++;
- //if daycare state changes, decrement children_to_buy, increment _children_bought, and update daycare_state.
- if(!((kids_bop.contains_text(daycare_state)) && kids_bop.contains_text("00 Meat]") )){
- children_to_buy += -1;
- set_property("_children_bought", get_property("_children_bought").to_int()+1);
- daycare_state = kids_bop.substring(kids_bop.index_of("Looks like"),kids_bop.index_of("instructors")+12);
- }
- //if we're done, be done.
- if(children_to_buy == 0){
- set_property("_child_abuse", "beyond!");
- set_property("daycare_state", daycare_state);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment