Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- boolean getFunFunds() {
- if ((get_property("_stenchAirportToday").to_boolean() || get_property("stenchAirportAlways").to_boolean()) && !(get_property("_dinseyGarbageDisposed").to_boolean())) {
- if(item_amount($item[bag of park garbage]) < 1) {
- print("It looks like you are all out of bags of park garbage. I blame someone else's script.", "red");
- boolean yes = user_confirm("Since turning in garbage for 3 FunFunds is worth roughly 30,000 meat, should we buy from the mall?");
- if (yes) {
- print("Okay, buying the cheapest available garbage", "blue");
- if (mall_price($item[bag of park garbage]) <= 1000) {
- cli_execute("buy 1 bag of park garbage @ 1000");
- }
- visit_url("place.php?whichplace=airport_stench&action=airport3_tunnels");
- visit_url("choice.php?whichchoice=1067&option=6&pwd");
- visit_url("choice.php?whichchoice=1067&option=7&pwd");
- print("Got FunFunds. You now have " + item_amount($item[funfund]) + " FunFunds total", "green");
- wait(1);
- return true;
- }
- if (!yes) {
- print("Skipping FunFund collecting for some reason. . .", "red");
- wait(2);
- return false;
- }
- }
- if(item_amount($item[bag of park garbage]) >= 1) {
- visit_url("place.php?whichplace=airport_stench&action=airport3_tunnels");
- visit_url("choice.php?whichchoice=1067&option=6&pwd");
- visit_url("choice.php?whichchoice=1067&option=7&pwd");
- print("Got FunFunds. You now have " + item_amount($item[funfund]) + " FunFunds total", "green");
- return true;
- }
- return true;
- }
- else {
- print("FunFunds already collected (or you can't access Dinseylandfill).", "maroon");
- return false;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement