Used by crafting machines to display different graphics when the machine is running.
struct
RenderLayertruebooleantruebooleantruebooleantrueWhether the animations are always played at the same speed, not adjusted to the machine speed.
booleantruebooleantruebooleantruebooleantrueint8trueUsed to determine render order for sprites with the same render_layer in the same position. Sprites with a higher secondary_draw_order are drawn on top.
LightDefinitiontrue"flicker" | "uranium-glow" | "none"true"primary" | "secondary" | "tertiary" | "quaternary" | "none"trueUsed by CraftingMachinePrototype. Has precedence over apply_tint.
"resource-color" | "input-fluid-base-color" | "input-fluid-flow-color" | "status" | "none" | "visual-state-color"trueUsed by CraftingMachinePrototype ("status" and "visual-state-color" only) and MiningDrillPrototype.
For "status" on CraftingMachine and MiningDrill, the colors are specified via WorkingVisualisations::status_colors. For "resource-color", the colors are specified via ResourceEntityPrototype::mining_visualisation_tint.
AnimationtrueAnimationtrueAnimationtrueAnimationtrueVectortrueVectortrueVectortrueVectortrueint8trueint8trueint8trueint8trueFogMaskShapeDefinitiontrueIf defined, animation in this visualisation layer will be used only as mask for fog effect and will not render in world.
FogMaskShapeDefinitiontrueIf defined, animation in this visualisation layer will be used only as mask for fog effect and will not render in world.
FogMaskShapeDefinitiontrueIf defined, animation in this visualisation layer will be used only as mask for fog effect and will not render in world.
FogMaskShapeDefinitiontrueIf defined, animation in this visualisation layer will be used only as mask for fog effect and will not render in world.
FogMaskShapeDefinitiontrueLoaded only if at least one of north_fog_mask, east_fog_mask, south_fog_mask, west_fog_mask is not specified.
If defined, animation in this visualisation layer will be used only as mask for fog effect and will not render in world.
AnimationtrueArray<string>trueOnly loaded if WorkingVisualisations::states is defined in the WorkingVisualisations that loads this.
booleantrueOnly loaded if WorkingVisualisations::states is defined in the WorkingVisualisations that loads this.
booleantruestringtruebooleantruebooleantruebooleantrueuint16trueOnly loaded, and mandatory if mining_drill_scorch_mark is true. Cannot be larger than scorch_mark_lifetime.
uint16trueOnly loaded, and mandatory if mining_drill_scorch_mark is true.
uint8trueOnly loaded, and mandatory if mining_drill_scorch_mark is true.