EverambleGAME API / 1

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

NameTypeMeaning
core_rgb{ColorChannel}Hot core and spark sRGB color.
Items: 3…3
ember_rgb{ColorChannel}Coal sRGB color.
Items: 3…3
enabled_whenVariableConditionWorld variable that switches this fire on; absent: always burning.
flame_rgb{ColorChannel}Outer flame sRGB color.
Items: 3…3
light_candelaPositiveCountPoint light intensity in candela before flicker.
Range: 1…2147483647; Unit: count
light_radius_mmPositiveDistanceWarm point light radius.
Range: 1…2147483647; Unit: mm
night_onlybooleanBurns only in the dark, like a lantern: flames from dusk to dawn, light growing with the darkness; absent: day and night (hearths, campfires).
size_permilleObjectScaleSize relative to a campfire.
Range: 100…10000; Unit: permille