Feature Add +5 <item> goal when an item drop familiar is equipped

slyz

Developer
Since Veracity already merged this, I'll just post an updated version of the alias in post #3:
Code:
alias [B]famdrop [/B]=> ashq string d;string n;string f=my_familiar().to_string();switch(f){case "Li'l Xenomorph":d="transponder";n="transporter transponder";break;case "Baby Sandworm":d="agua";n="agua de vida";break;case "Green Pixie":d="absinthe";n="tiny bottle of absinthe";break;case "Llama Lama":d="gong";n="llama gong";break;case "Astral Badger":d="astral";n="astral mushroom";break;case "Rogue Program":d="token";n="game grid token";break;default: return false;}int num=5-get_property("_"+d+"Drops").to_int();if(num>0)cli_execute("goals add "+num+" "+n);
 
Last edited:
Top