Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void cloverAdventure(location l)
- {
- if ($item[disassembled clover].available_amount() + $item[ten-leaf clover].available_amount() == 0)
- {
- abort("Unable to acquire clover to adventure in " + l + ".");
- return;
- }
- string clover_protect_previous = get_property("cloverProtectActive");
- set_property("cloverProtectActive", "false");
- if ($item[ten-leaf clover].item_amount() == 0)
- cli_execute("acquire ten-leaf clover");
- adv1(l, 0, "");
- set_property("cloverProtectActive", clover_protect_previous);
- }
- void main()
- {
- cloverAdventure($location[the smut orc logging camp]);
- }
Advertisement
Add Comment
Please, Sign In to add comment