Aenimus

Remove a drunkness at the flaming discotheque

Aug 11th, 2019
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.41 KB | None | 0 0
  1. // Volcano drunk removal
  2. if (!get_property("hotAirportAlways").to_boolean() && !get_property("_hotAirportToday").to_boolean()) abort("You do not have access to the Discotheque.");
  3.  
  4. if (my_inebriety() > 0 && !to_boolean(get_property("_infernoDiscoVisited"))) {
  5. cli_execute("outfit save backup");
  6. int velvet = 0;
  7. foreach it in $items[smooth velvet hat, smooth velvet shirt, smooth velvet pants] {
  8. if (it.item_amount() > 0) {
  9. equip(it);
  10. velvet = velvet +1;
  11. }
  12. }
  13. int slot_number = 1;
  14. slot accessory_slot;
  15. foreach it in $items[smooth velvet hanky, smooth velvet socks, smooth velvet pocket square] {
  16. if (it.item_amount() > 0) {
  17. if (slot_number == 1) accessory_slot = $slot[acc1];
  18. if (slot_number == 2) accessory_slot = $slot[acc2];
  19. if (slot_number == 3) accessory_slot = $slot[acc3];
  20. equip(accessory_slot, it);
  21. slot_number = slot_number +1;
  22. velvet = velvet +1;
  23. }
  24. }
  25. if (velvet < 4) abort("You probably need more smooth velvet gear.");
  26.  
  27. string temp = visit_url("place.php?whichplace=airport_hot&action=airport4_zone1");
  28. temp = visit_url("choice.php?pwd=&whichchoice=1090&option=5");
  29. print("Successfully removed one drunkenness.", "green");
  30. cli_execute("outfit backup");
  31. } else if(to_boolean(get_property("_infernoDiscoVisited"))) {
  32. print("You already visited the Discotheque today.", "red");
  33. } else {
  34. abort("Not enough drunkenness for the flaming discotheque.");
  35. }
Advertisement
Add Comment
Please, Sign In to add comment