if (retrieve_item(n, to_item(cond))) return vprint("You have "+n+" "+cond+", no adventuring necessary.",5);
if (!in_hardcore() && storage_amount(to_item(cond)) > 0) take_storage(n-have_item(cond),to_item(cond));
boolean get_stew() {
if (item_amount($item[wet stunt nut stew]) > 0) return true;
vprint("Getting wet stunt nut stew...",2);
if (item_amount($item[wet stew]) + creatable_amount($item[wet stew]) == 0) {
visit_url("guild.php?place=paco");
obtain(1,"wet stew",$location[whitey's grove]);
}
obtain(1,"stunt nuts",$location[palindome]);
return create(1,$item[wet stunt nut stew]);
}
if (contains_text(questlog,"Fats, but then you lost it")) {
get_stew();
vprint("Meeting Mr. Alarm...",2);
cli_execute("conditions clear");
obtain(1,"choiceadv",$location[Cobb's Knob Laboratory]);
updatelog();
}
if (contains_text(questlog,"lion oil, a bird rib, and some stunt nuts")) {
if (contains_text(questlog,"Fats, but then you lost it")) {
if (item_amount($item[bitchin meatcar]) > 0 && item_amount($item[wet stunt nut stew]) < 1) get_stew();
vprint("Meeting Mr. Alarm...",2);
cli_execute("conditions clear");
obtain(1,"choiceadv",$location[Knob Laboratory]);
updatelog();
}
Any chance for a tweak to *not* buy black paint or the forged documents automatically when you're on a fist run?
Gracias!
woods.php?action=fightbmguyI'll post a path-friendly version of this once I get the URL to visit for fighting Wu.
if (my_path() != "Way of the Surprising Fist")
{
if (available_amount($item[forged identification documents]) == 0)
{
buy(1, $item[forged identification documents]);
}
if (available_amount($item[can of black paint]) == 0)
{
try_acquire(1, $item[can of black paint]);
}
}
else
{
buffer page = visit_url("woods.php?action=fightbmguy");
page = run_combat();
}
if (!black_market_available() && !contains_text(visit_url("woods.php"), "blackmarket.gif")) {
Argh, forgot about the fix to Mr. Alarm. I still don't exactly understand the problem, as it's worked fine for me every run in both HC and SC, but I'll review this thread and see what changes others have posted to get a clue.