Keyboard shortcuts

Press ← or → to navigate between chapters

Press ? to show this help

Press Esc to hide this help

data/equipment_slots/

An equipment slot, such as the main hand or the head. The world’s slots fix the fields of the public manifold-gameplay:equipment component, one item kind per slot, which binding tables read to show a held item. An item in a slot grants its abilities, stat modifiers and damage hooks. The key is the whole entry.

Registrymanifold:equipment-slot
Filesdata/equipment_slots/*.ron, *.update.ron, *.final.ron
Sidesboth: the server and every client load it, and the handshake’s data hash covers it
Readsnothing
ContractGameplay framework, data stage

Entry

A record, written Slot(..); the name before the parentheses is optional.

FieldTypeRequiredDefaultDescription
idstringyesThe slot’s key, <mod-id>:<name> (flagship-game:main_hand).

Example

From game/flagship-game/data/equipment_slots/flagship.ron:

Slot(id: "flagship-game:head")