CONTENT CONTRACT · VERSION 1
PrefabFire
An animated voxel fire, coals, sparks and warm flickering light at a prefab socket.
Signature
{ core_rgb: {ColorChannel}, ember_rgb: {ColorChannel}, enabled_when: (VariableCondition)?, flame_rgb: {ColorChannel}, light_candela: PositiveCount, light_radius_mm: PositiveDistance, night_only: (boolean)?, size_permille: ObjectScale }Fields
| Name | Type | Meaning |
|---|---|---|
core_rgb | {ColorChannel} | Hot core and spark sRGB color. Items: 3…3 |
ember_rgb | {ColorChannel} | Coal sRGB color. Items: 3…3 |
enabled_when | VariableCondition | World variable that switches this fire on; absent: always burning. |
flame_rgb | {ColorChannel} | Outer flame sRGB color. Items: 3…3 |
light_candela | PositiveCount | Point light intensity in candela before flicker. Range: 1…2147483647; Unit: count |
light_radius_mm | PositiveDistance | Warm point light radius. Range: 1…2147483647; Unit: mm |
night_only | boolean | Burns only in the dark, like a lantern: flames from dusk to dawn, light growing with the darkness; absent: day and night (hearths, campfires). |
size_permille | ObjectScale | Size relative to a campfire. Range: 100…10000; Unit: permille |