How about adding the Elven medi-packs and Elven magi-packs?
I've been getting a metric butt-ton of those lately.
Not in HC they shouldn't, well I mean if you go and find them you are by definition in a suboptimal HC run anyway so...
Also, the books area nice restorers as well, but I guess none of this will be added until the items themselves gets their effects added to Mafia's database which they are not (they do not show up in my restoration section of the item manager at least).
You could do that with a mood:
Code:Trigger on: unconditional Command: ashq if ( get_property("nunsVisits").to_int() == 3 && equipped_item($slot[pants]) != $item[square sponge pants] ) equip( $item[square sponge pants] );
Trigger on: unconditional
Command: ashq if ( get_property("nunsVisits").to_int() == 3 && equipped_item($slot[pants]) != $item[square sponge pants] ) equip( $item[square sponge pants] ); cli_execute("checkpoint clear");
WHOA! That will not work. At the end of mood management it will switch back into the original pants. To fix it you'd need to do this:
Code:Trigger on: unconditional Command: ashq if ( get_property("nunsVisits").to_int() == 3 && equipped_item($slot[pants]) != $item[square sponge pants] ) equip( $item[square sponge pants] ); cli_execute("checkpoint clear");
Trigger on: unconditional
Command: ashq if ( get_property("nunsVisits").to_int() == 3 && equipped_item($slot[pants]) != $item[square sponge pants] ) {equip( $item[square sponge pants] ); cli_execute("checkpoint clear");}
When Mafia executes your mood, it does an internal checkpoint with your outfit, so it can switch back to the gear you were using for adventuring. The way to get past that was to add a CLI "checkpoint clear" command, which helpfully prints that message.
To avoid having the message every time mafia executes the mood, change the command to:
so that the "checkpoint clear" is only called when the equipment change occurs.Code:Trigger on: unconditional Command: ashq if ( get_property("nunsVisits").to_int() == 3 && equipped_item($slot[pants]) != $item[square sponge pants] ) {equip( $item[square sponge pants] ); cli_execute("checkpoint clear");}