mwg API
    Preparing search index...

    Interface EquipmentOptions<Slot, Item>

    interface EquipmentOptions<Slot extends string, Item extends EquippableItem> {
        locked?: (slot: Slot, item: Item) => boolean;
    }

    Type Parameters

    Index
    locked?: (slot: Slot, item: Item) => boolean

    Whether whatever is currently in slot refuses to come off - a cursed ring, a quest-bound relic. A locked slot also refuses a swap, since swapping starts by removing what is there.