It just seems really odd to use cli_execute("use * evil eye"); instead of use(item_amount($item[evil eye]), $item[evil eye]);
I seem to recall the return value of use() being unpredictable (this may no longer be the case, I have no idea).
So I just discovered the circumstances under which BBS would pulverize wool hats and goatskin umbrellas. There is a part of me that does not like that and would rather delegate the decision and action to OCD, but my question now is Why? Is there some feature/benefit/game mechanic that makes/made this A Good Thing? Thanks.
I just found something else this script should do! If your next adventure is at Sonofa Beach and you have pulverize, then if there is a goatskin umbrella or a wool hat in your inventory, smash it promptly!
The adventures that give these items show up more frequently when you do not have them in inventory. By smashing them, you have a much higher output of yummy elemental wads. I'd prefer the wads to Zerg Rush.
However if you don't have pulverize, then keeping the hat and umbrella will increase your chance of getting yummy limes which are a decent booby prize.
Source
boolean use_fam(familiar f) {
use_familiar(f);
if (to_boolean(vars["bbb_famitems"]) && get_property("familiarScript") == "") switch (my_familiar()) {
case $familiar[artistic goth kid]:
case $familiar[astral badger]: // these equipments speed rewards from fams
case $familiar[knob goblin organ grinder]: if (!have_equipped(familiar_equipment(my_familiar())) && available_amount(familiar_equipment(my_familiar())) > 0 &&
retrieve_item(1,familiar_equipment(my_familiar()))) equip(familiar_equipment(my_familiar())); break;
// TODO: snow suit drops?
}
cli_execute("checkpoint clear");
return (my_familiar() == f);
}
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","Sit with the Jocks");
else if (have_effect($effect[Nerd is the Word]) > 0) friendlyset(700,"2","Sit with the Nerds");
else if (have_effect($effect[Greaser Lightnin']) > 0) friendlyset(700,"3","Sit with the Greasers");
return;
Choiceadv handling works better as a mood script anyway, since it will always fire in relay play as well.
Ghost hunting! Will hunt ghosts whenever you have paranormal activity detected. Requires CCS to handle ghosts, though the next SS/BB update will add Shooting/Trapping ghosts. Toggled by the bbb_huntghosts setting (default true).
void bustGhost() {
item acc3;
familiar fam;
location ghostLocation = to_location(get_property("ghostLocation"));
if(my_inebriety() <= inebriety_limit() && to_boolean(get_property("kingLiberated")) && ghostLocation != $location[none]) { # && my_location() != ghostLocation) {
switch(ghostLocation) {
case $location[Inside the Palindome]:
acc3 = equipped_item($slot[acc3]);
equip($slot[acc3], $item[Talisman o' Namsilat]);
break;
case $location[The Skeleton Store]:
if(get_property("questM23Meatsmith") == "unstarted") {
visit_url("shop.php?whichshop=meatsmith&action=talk");
run_choice(1);
}
break;
case $location[The Overgrown Lot]:
if(get_property("questM24Doc") == "unstarted") {
visit_url("shop.php?whichshop=doc&action=talk");
run_choice(1);
}
break;
case $location[Madness Bakery]:
if(get_property("questM25Armorer") == "unstarted") {
visit_url("shop.php?whichshop=armory&action=talk");
run_choice(1);
}
break;
}
item back;
if(!have_equipped($item[protonic accelerator pack])) {
back = equipped_item($slot[back]);
equip($item[protonic accelerator pack]);
}
if(my_familiar().combat) {
fam = my_familiar();
use_familiar($familiar[none]);
}
(!adv1(ghostLocation, -1, "while hasskill Shoot Ghost; skill Shoot Ghost; if hasskill Trap Ghost; skill Trap Ghost; endif; endwhile;")); // Trap error condition in case I'm adventuring with goals
if(acc3 != $item[none])
equip($slot[acc3], acc3);
if(fam != $familiar[none])
use_familiar(fam);
if(back != $item[none])
equip(back);
}
}
Multiple matches for "spookyraven library key"; using "[7302]Spookyraven library key". (BestBetweenBattle.ash, line 293) Clarify by using one of:
$item[[1764]Spookyraven library key]
$item[[7302]Spookyraven library key]