Function unequip

Empty a slot, or unequip all instances of a given equipped item

The slot or item in question

Whether we succeeded completely--false if we unequip some but not all instances of the item.

  • Unequip all instances of a given equipped item

    Parameters

    • item: Item

      The item in question

    Returns boolean

    Whether we succeeded completely--false if we unequip some but not all instances of the item.

  • Empty a given slot.

    Parameters

    • slot: Slot

      The slot in question

    Returns boolean

    Whether we successfully emptied the slot