CONTENT CONTRACT · VERSION 1
StructureIgnite
Something that catches fire: a fire bowl, a web or dry tendrils. A player lights it with a lit torch in hand (interaction), a spell of its `damage_type` bursting at it, or a lit flame of another such structure within its `catch_mm`. Its placement's `variable` holds 1 while it burns (or once burnt away); each change raises `switch_changed`.
Signature
{ burn_ticks: (PositiveTicks)?, burns_away: (boolean)?, catch_mm: (PositiveDistance)?, damage_type: (DamageTypeId)?, sound: (AudioCueId)? }Fields
| Name | Type | Meaning |
|---|---|---|
burn_ticks | PositiveTicks | It goes out this long after being lit (the variable returns to 0); absent: it burns for good. Not with burns_away. Range: 1…2147483647; Unit: tick |
burns_away | boolean | True: lit, it burns away and is gone (a web); its placement stands only while its variable is 0. Absent: false, it shows its `open_prefab` while it burns. |
catch_mm | PositiveDistance | It catches fire from a burning structure (one with `ignite`) whose anchor is this near; absent: only torches and spells light it. Range: 1…2147483647; Unit: mm |
damage_type | DamageTypeId | A spell projectile of this damage type (a fire spell) lights it when it lands within the spell's burst (or 1.5 m). Absent: spells do not. Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: damage_type |
sound | AudioCueId | Sound played at it whenever it catches fire; absent: silent. Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: audio_cue |