Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

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.

Parameter Type
entity Entity
slot "body" | "head" | "hands" | "feet" | "ring1" | "ring2" | "neck" | "mainhand" | "offhand" | EquipmentSlot

boolean