get questM12Pirate
Oh. Yeah... guess it's hard to get insults with a War going on.
Thanks.
get questM12Pirate
snooty: Oooh. Wonder if you may have set your autoBuyPriceLimit down below 5k. Check that....[snip]...
Maybe a comma ended up turning your 20k into 20 or something else similarly confusing.> ash get_property("autoBuyPriceLimit").to_int()
Returned: 10000
edit this later with the results.
This needs touchup and some fixing, since it's not very smart but it's better than nothing. I'm not at the mental code level right now to consider what I did and why. I think the goal was adding 'goals' to autoOlfact if we have a set goal and goals isn't in the aO preference yet.Ooooh, which restores default goals? Or, is that something you added yourself? I just got BBB and Bale's new life yesterday, not really familiar with them yet, ascension for me isn't for another three weeks or so.
boolean auto_olfact() {
if (!have_skill($skill[transcendent olfaction])) return false;
if (get_property("savedOlfact").length() > get_property("autoOlfact").length()) set_property("autoOlfact", get_property("savedOlfact"));
string olfact = get_property("autoOlfact");
if (count(get_goals()) > 0) {
if (olfact == "")
set_property("autoOlfact", "goals");
else if (!olfact.contains_text("goals"))
set_property("autoOlfact", olfact + ", goals");
return true;
}
return false;
}
void save_olfact() {
string olfact = get_property("autoOlfact");
if (olfact != "" && olfact != "goals" && olfact.length() > get_property("savedOlfact").length()) set_property("savedOlfact", olfact);
}
Also, "clingy" monsters`Like ED THE UNDYING?
void fight_clingy() {
if (last_monster().random_modifiers["clingy"]) run_combat();
}