CONTENT CONTRACT · VERSION 1
ItemEquipment
Presence makes this item equippable; at least tool, light or armor is required.
Signature
{ armor: (ArmorStats)?, light: (LightId)?, model: (Name)?, natural: boolean, slot: EquipmentSlot, tool: (ToolId)? }Fields
| Name | Type | Meaning |
|---|---|---|
armor | ArmorStats | Optional armor values granted while the item is worn in its slot. |
light | LightId | Optional light emitted while the item is equipped. Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: light |
model | Name | Engine appearance model shown while equipped until equipment definitions replace it. Length: 1…96; Pattern: ^[a-z][a-z0-9_]{0,95}$ |
natural | boolean | Part of the body: never shown, dropped or picked up. |
slot | EquipmentSlot | Equipment slot the item occupies; the hand holds tools and lights, armor is worn in head, torso, legs, feet, gloves or offhand. |
tool | ToolId | Optional tool capability granted while the item is equipped. Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: tool |