ajandaj, what version of mafia are you using? If it's an older one, please update to the latest daily build and see if that solves your problem.
Expected ;, found if (autoBasement.ash, line 81)
any reason you're leaving the rogue program out of your version Winerbay?
else if ( get_familiar_drops && get_property( "_gongDrops" ).to_int() <= item_drop && have_familiar($familiar[llama lama]) )
Basement level 383: Sleaze & Stench Elemental Resistance Test
Maximizing...
84672 combinations checked, best score 115.83
Putting on battered old top-hat...
Equipment changed.
Wielding lawn dart...
Equipment changed.
Holding lawn dart...
Equipment changed.
Putting on sea salt scrubs...
Equipment changed.
Putting on sugar shorts...
Equipment changed.
Putting on V for Vivala mask...
Equipment changed.
Putting on slime-covered necklace...
Equipment changed.
Putting on slime-covered necklace...
Equipment changed.
Putting Head Trauma the Llama Lama back into terrarium...
Taking Stripper Codename: Lexus the Exotic Parrot out of terrarium...
Stealing little box of fireworks from Head Trauma the Llama Lama...
Putting on little box of fireworks...
Equipment changed.
Using 1 philter of phorce...
You acquire an effect: Phorcefullness (duration: 10 Adventures)
Finished using 1 philter of phorce.
Searching for "Ben-Gal™ Balm"...
Search complete.
Purchasing Ben-Gal™ Balm (1 @ 24)...
You acquire an item: Ben-Gal™ Balm
You spent 24 Meat
Purchases complete.
Using 1 Ben-Gal™ Balm...
You acquire an effect: Go Get 'Em, Tiger! (duration: 3 Adventures)
Finished using 1 Ben-Gal™ Balm.
Using 1 Ferrigno's Elixir of Power...
You acquire an effect: Incredibly Hulking (duration: 10 Adventures)
Finished using 1 Ferrigno's Elixir of Power.
Using 1 blood of the Wereseal...
You acquire an effect: Temporary Lycanthropy (duration: 10 Adventures)
Finished using 1 blood of the Wereseal.
Using 1 milky potion of ettin strength...
You acquire an effect: Strength of Ten Ettins (duration: 10 Adventures)
Finished using 1 milky potion of ettin strength.
Using 1 Mick's IcyVapoHotness Rub...
You acquire an effect: Extreme Muscle Relaxation (duration: 10 Adventures)
Finished using 1 Mick's IcyVapoHotness Rub.
Using 1 unstable DNA...
You acquire an effect: Yuletide Mutations (duration: 10 Adventures)
Finished using 1 unstable DNA.
Searching for "black facepaint"...
Search complete.
Purchasing black facepaint (1 @ 300)...
You acquire an item: black facepaint
You spent 300 Meat
Purchases complete.
Using 1 black facepaint...
You acquire an effect: Black Face (duration: 10 Adventures)
Finished using 1 black facepaint.
Using 1 fish-liver oil...
You acquire an effect: Fishy Fortification (duration: 5 Adventures)
Finished using 1 fish-liver oil.
Searching for "pirate brochure"...
Search complete.
Saving outfit: Backup
Outfit saved
Putting on outfit: Swashbuckling Getup
Equipment changed.
Purchasing pirate brochure (1 @ 300)...
You acquire an item: pirate brochure
You spent 300 Meat
Purchases complete.
Using 1 pirate brochure...
You acquire an effect: Muscularrr (duration: 10 Adventures)
Finished using 1 pirate brochure.
Putting on outfit: Backup
Equipment changed.
unable to pass elemental test, quitting
Did you download the latest version before running? (I've been poking at that logic rather much lately...)
Also, how many combats did you have?
Looking at the code I can't see a reason why it should favour the sandworm that much, unless it somehow has decided that when you have one of each skip the otehritem familiars and I've misunderstood what I've written...
if(to_familiar(vars["is_100_run"]) == $familiar[none])
{
int mushrooms = (have_familiar($familiar[astral badger]) == true ? to_int(get_property( "_astralDrops" )) : 5);
int absinths = (have_familiar($familiar[green pixie]) == true ? to_int(get_property( "_absintheDrops" )) : 5);
int gongs = (have_familiar($familiar[llama lama]) == true ? to_int(get_property( "_gongDrops" )) : 5);
int tokens = (have_familiar($familiar[rogue program]) == true ? to_int(get_property( "_tokenDrops" )) : 5);
int transponders = (have_familiar($familiar[li'l xenomorph]) == true ? to_int(get_property( "_transponderDrops" )) : 5);
int item_drop = min(5,min(mushrooms,min(absinths,min(gongs, min(tokens, transponders)))));
if (get_familiar_drops)
{
if ((mushrooms == 0 ? true : mushrooms < item_drop) && have_familiar($familiar[astral badger]))
{
use_familiar($familiar[astral badger]);
}
else if ((absinths == 0 ? true : absinths < item_drop) && have_familiar($familiar[green pixie]))
{
use_familiar($familiar[green pixie]);
}
else if ((gongs == 0 ? true : gongs < item_drop) && have_familiar($familiar[llama lama]))
{
use_familiar($familiar[llama lama]);
}
else if ((tokens == 0 ? true : tokens < item_drop) && have_familiar($familiar[rogue program]))
{
use_familiar($familiar[rogue program]);
}
else if ((transponders == 0 ? true : transponders < item_drop) && have_familiar($familiar[li'l xenomorph]))
{
use_familiar($familiar[li'l xenomorph]);
}
else if (have_familiar($familiar[baby sandworm]))
{
use_familiar($familiar[baby sandworm]);
}
else if (have_familiar($familiar[hovering sombrero]))
{
use_familiar($familiar[hovering sombrero]);
}
}
}
else
use_familiar(to_familiar(vars["is_100_run"]));
mushrooms < item_drop
mushrooms <= item_drop
if (mushrooms <= item_drop && mushrooms < 5)
if ((mushrooms == 0 ? true : mushrooms < item_drop) && have_familiar($familiar[astral badger]))