ItemEquip
Where an item is worn, and what it changes while it is.
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
abilities? |
readonly string[] |
The abilities it grants while worn, by the names registerAbility gives them: taking it off takes these off and no other. |
modifiers? |
Record<string, ItemModifier> |
By stat name: { speed: { percent: 0.1 } }. |
slot |
"body" | "head" | "hands" | "feet" | "ring1" | "ring2" | "neck" | "mainhand" | "offhand" | "ring" | EquipmentSlot |
Its slot, or "ring" for whichever ring slot is free. |