boolean bcascTrapper() {
if (checkStage("trapper")) return true;
visit_url("trapper.php");
while (index_of(visit_url("trapper.php"), "reckon 3 chunks of") > 0) {
//avatar of Boris doesn't need the mining outfit he just adventures until he has the ore he needs
if (my_path() == "Avatar of Boris") {
bumAdv($location[Itznotyerzitz Mine], "", "", "", "Killing mountain men for ore", "", "");
visit_url("trapper.php");
}
else if ((my_path() != "Way of the Surprising Fist") && ((i_a("miner's helmet") == 0 || i_a("7-Foot Dwarven mattock") == 0 || i_a("miner's pants") == 0))) {
bumAdv($location[Itznotyerzitz Mine], "", "hebo", "1 miner's helmet, 1 7-Foot Dwarven mattock, 1 miner's pants", "Getting the Mining Outfit", "", "consultHeBo");
visit_url("trapper.php");
}
if (my_path() != "Way of the Surprising Fist" && my_path() != "Avatar of Boris") cli_execute("outfit mining gear");
if (my_path() != "Avatar of Boris" && !bcascMining()) {
print("BCC: The script has stopped mining for ore, probably because you ran out of unaccomapnied miner adventures. We'll try again tomorrow.", "purple");
return false;
}
}
while (contains_text(visit_url("trapper.php"), "6 chunks of goat cheese")) {
if (can_interact()) {
cli_execute("acquire 6 goat cheese");
} else {
if(my_path() == "Avatar of Boris") //set choice to Boris hated rocks
set_property("choiceAdventure162","3");
cli_execute("friars food");
bumAdv($location[Goatlet], "", "items", "6 goat cheese", "Getting Goat Cheese", "i");
}
visit_url("trapper.php");
visit_url("trapper.php");
}
if (index_of(visit_url("trapper.php"), "you'll need some kind of protection from the cold") > 0) {
if (have_skill($skill[Legendary Girth])) {
print("BCC: Visiting the trapper with your passive skill Legendary Girth to get the quest done.", "purple");
visit_url("trapper.php");
}
else if (have_skill($skill[Northern Exposure])) {
print("BCC: Visiting the trapper with your passive skill Northern Exposure to get the quest done.", "purple");
visit_url("trapper.php");
} else if (have_path_familiar($familiar[Exotic Parrot]) && have_skill($skill[Amphibian Sympathy])) {
print("BCC: Visiting the trapper with a parrot to get the quest done.", "purple");
cli_execute("familiar parrot");
visit_url("trapper.php");
//We do this just in case there's a 100% familiar here, so we set it back immediately.
setFamiliar("items");
} else {
//Try to use the maximizer on this. Don't care about bees here because we won't adventure.
cli_execute("maximize cold res");
if (contains_text(visit_url("trapper.php"), "you'll need some kind of protection from the cold")) {
print("BCC: You need some cold resistance for the trapper but you don't have it yet.", "purple");
}
}
}
if (index_of(visit_url("questlog.php?which=2"), "learned how to hunt Yetis") > 0) {
checkStage("trapper", true);
return true;
}
}