Keyboard shortcuts

Press ← or → to navigate between chapters

Press ? to show this help

Press Esc to hide this help

data/elements/

An element: a kind of damage amount, such as fire or physical. A hit’s damage is split per element, a victim may resist each element with a stat, and hooks can add to or convert between elements. A damage type names its element. The engine declares manifold:generic.

Registrymanifold:element
Filesdata/elements/*.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 Element(..); the name before the parentheses is optional.

FieldTypeRequiredDefaultDescription
idstringyesThe element’s key, <mod-id>:<name>.
resist_statstring or Nonenono resistanceThe victim’s stat that resists this element (manifold:stat key): a fraction, capped by the formula.
tagslist of stringnononeTags hits of this element carry.
hit_cuestring or NonenononeThe cue a hit of this element plays when its damage type has none (manifold:cue key).

Example

No bundled file declares one yet. An entry the engine declares, which mods may patch:

Element(id: "manifold:generic")