Feature - Implemented When equipping a hat on a hatrack familiar, do not check equip requirement.

slyz

Developer
This was reported by th3y here:

Code:
[COLOR="olive"]> remove familiar[/COLOR]

Taking off chef's hat...
Adjusting familiar weight by -6 pounds
Equipment changed.

[COLOR="olive"]> equip familiar leather mask[/COLOR]

Putting on leather mask...
Adjusting familiar weight by 14 pounds
Equipment changed.

[COLOR="olive"]> remove familiar[/COLOR]

Taking off leather mask...
Adjusting familiar weight by -14 pounds
Equipment changed.

[COLOR="olive"]> equip familiar spangly sombrero[/COLOR]

[COLOR="red"]You can't equip a spangly sombrero[/COLOR]

Mafia correctly equipped the spangly sombrero on the hatrack once he had enough base Moxie to wear it, but apparently the hatrack doesn't take into account stat requirements.

Perhaps simply changing line 112 of EquipCommand
Code:
else if ( !EquipmentManager.canEquip( itemId ) )
to
Code:
else if ( slot != EquipmentRequest.slotNumber( "familiar" ) && !EquipmentManager.canEquip( itemId ) )
would be enough?

This is untested, as I don't have a hatrack.
 

Veracity

Developer
Staff member
I did more than just switch things around: we now check for slot == familiar, rather than item type == familiar item. That will now give you a more informative message if you try to put a hat on a non-hatrack, for example.
 
Top