Bug - Won't Fix Mafia doesn't know that sphygmayomanometer from mayo clinic melts on rollover.

b bandit

Member
Sometimes I have mafia open until after rollover. If I do then it will mess up my login script because it thinks that I still have a sphygmayomanometer from the mayo clinic in my inventory (or maybe on my person) even though it has melted. I don't know if this is a common problem to all melting equipment, or if the sphygmayomanometer is not listed as a melting item, but it would be nice if mafia realized, when resetting all the variables at rollover that this piece of equipment had melted and therefore is no longer in my inventory.

This is the script I am using..

item sphygmayo = $item[sphygmayomanometer];
boolean HaveEquipment(item itm) {
if ( itm.item_amount() > 0 || itm.have_equipped() )
return true;
return false;
}
if (!HaveEquipment(sphygmayo))
cli_execute("buy 1 " + sphygmayo.to_string());
 
Mafia knows it melts at rollover, but I can't say more than that.
Code:
> ash boolean_modifier($item[sphygmayomanometer],    "Lasts Until Rollover")

Returned: true
 
Mafia is generally bad at handling stuff that happens when you stay logged in over rollover. Please log out and back in again, or minimally do "refresh all".
 
Marking this as "Won't fix" because there are simple solutions per Ryo above.
 
Back
Top