For the convention hall, the slimeform potion will always be a 3-color potion. Using up vials just to identify 1-color potions or 2-potions is a waste when the goal is just the slimeform effect.
Maybe I'll try that SVN merge thing to avoid having to add it back in after each update.
I adore the SVN merge thing. I used to avoid modifying scripts because it would mean I'd have to do some work every single time it got updated. Now I fiddle with other people's scripts without hesitation since I won't be making trouble for myself.
Unless Bale goes and does a total code revamp everytime so the SVN-merge thing goes into "'ey there's a conflict here. Fix plz!"
(has happened the last 4 updates or so for topmenu)
[B][COLOR="#FF0000"]#[/COLOR][/B] if (to_item(get_property("dolphinItem")) != $item[none]) {
[B][COLOR="#FF0000"]#[/COLOR][/B] if ((has_goal(to_item(get_property("dolphinItem"))) > 0 && get_property("dolphinItem") != "sand dollar") || (count(get_goals()) == 0 &&
[B][COLOR="#FF0000"]#[/COLOR][/B] mall_price(to_item(get_property("dolphinItem"))) > 2*(min(mall_price($item[sand dollar]),mall_price($item[dolphin whistle])) + get_property("valueOfAdventure").to_int()))) {
[B][COLOR="#FF0000"]#[/COLOR][/B] vprint("Whistling for a "+get_property("dolphinItem")+"...","blue",2);
[B][COLOR="#FF0000"]#[/COLOR][/B] restore_hp(0); // recover here since recovery is not triggered normally
[B][COLOR="#FF0000"]#[/COLOR][/B] if (retrieve_item(1,$item[dolphin whistle])) use(1,$item[dolphin whistle]);
[B][COLOR="#FF0000"]#[/COLOR][/B] }
[B][COLOR="#FF0000"]#[/COLOR][/B] }
if ([COLOR="#FF0000"][B]false &&[/B][/COLOR] to_item(get_property("dolphinItem")) != $item[none]) {
if ((has_goal(to_item(get_property("dolphinItem"))) > 0 && get_property("dolphinItem") != "sand dollar") || (count(get_goals()) == 0 &&
mall_price(to_item(get_property("dolphinItem"))) > 2*(min(mall_price($item[sand dollar]),mall_price($item[dolphin whistle])) + get_property("valueOfAdventure").to_int()))) {
vprint("Whistling for a "+get_property("dolphinItem")+"...","blue",2);
restore_hp(0); // recover here since recovery is not triggered normally
if (retrieve_item(1,$item[dolphin whistle])) use(1,$item[dolphin whistle]);
}
}
[B][COLOR="#FF0000"]/*[/COLOR][/B]
if (to_item(get_property("dolphinItem")) != $item[none]) {
if ((has_goal(to_item(get_property("dolphinItem"))) > 0 && get_property("dolphinItem") != "sand dollar") || (count(get_goals()) == 0 &&
mall_price(to_item(get_property("dolphinItem"))) > 2*(min(mall_price($item[sand dollar]),mall_price($item[dolphin whistle])) + get_property("valueOfAdventure").to_int()))) {
vprint("Whistling for a "+get_property("dolphinItem")+"...","blue",2);
restore_hp(0); // recover here since recovery is not triggered normally
if (retrieve_item(1,$item[dolphin whistle])) use(1,$item[dolphin whistle]);
}
}
[B][COLOR="#FF0000"]*/[/COLOR][/B]
case $location[The Hallowed Halls]:
case $location[Shop Class]:
case $location[Chemistry Class]:
case $location[Art Class]:
if(have_effect($effect[Jamming with the Jocks]) > 0)
friendlyset(700, 1,"KOLHS: Sit with the Jocks");
else if(have_effect($effect[Nerd is the Word]) > 0)
friendlyset(700, 2,"KOLHS: Sit with the Nerds");
else if(have_effect($effect[Greaser Lightnin']) > 0)
friendlyset(700, 3,"KOLHS: Sit with the Greasers");
else
friendlyset(700, 0,"KOLHS: Nowhere to sit during luch");
return;
Function 'is_goal( stat )' undefined. This script may require a more recent version of KoLmafia and/or its supporting scripts. (BestBetweenBattle.ash, line 121)
Trigger: unconditional
Command: ashq if (get_property("_lastDropPref").to_int() == 5 && my_familiar() == $familiar[lastdropfamiliar]) use_familiar($familiar[familiariwanttogobackto])
@halfvoid: Add this to your mood:
Code:Trigger: unconditional Command: ashq if (get_property("_lastDropPref").to_int() == 5 && my_familiar() == $familiar[lastdropfamiliar]) use_familiar($familiar[familiariwanttogobackto])
You'd want to set _lastDropPref, lastdropfamiliar, and familiariwanttogobackto to whatever those values should actually be for you (and maybe the '5' as well), but that will do what you requested.