unequipItem
unequipItem(
entity,slot):boolean
Takes off what slot wears into the bag’s first empty slot, and its
modifiers off the entity’s stats. Returns whether it took it off: not
from an empty slot, or into a bag with no empty slot. On her own character
in a room, those checks read what her page holds, and true says it
asked the room, which takes it off its own copy of her.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
entity |
Entity |
slot |
"body" | "head" | "hands" | "feet" | "ring1" | "ring2" | "neck" | "mainhand" | "offhand" | EquipmentSlot |
Returns
Section titled “Returns”boolean