Factorio Prototype DocsVersion 1.1.107

WorkingVisualisation :: struct

Used by crafting machines to display different graphics when the machine is running.

Properties

render_layer optional :: RenderLayer
fadeout optional :: bool
synced_fadeout optional :: bool
constant_speed optional :: bool

Whether the animations are always played at the same speed, not adjusted to the machine speed.

Whether the animations are always played at the same speed, not adjusted to the machine speed.

always_draw optional :: bool
animated_shift optional :: bool
align_to_waypoint optional :: bool
secondary_draw_order optional :: int8

Used to determine render order for sprites with the same render_layer in the same position. [...]

Used to determine render order for sprites with the same render_layer in the same position. [...]

draw_as_sprite optional :: bool
draw_as_light optional :: bool
light optional :: LightDefinition
effect optional :: "flicker" or "uranium-glow" or "none"
apply_recipe_tint optional :: "primary" or "secondary" or "tertiary" or "quaternary" or "none"
apply_tint optional :: "resource-color" or "input-fluid-base-color" or "input-fluid-flow-color" or "status" or "none"

Used by CraftingMachinePrototype ("status" only) and MiningDrillPrototype. [...]

Used by CraftingMachinePrototype ("status" only) and MiningDrillPrototype. [...]

north_animation optional :: Animation

Only loaded if animation is not defined.

Only loaded if animation is not defined.

west_animation optional :: Animation

Only loaded if animation is not defined.

Only loaded if animation is not defined.

south_animation optional :: Animation

Only loaded if animation is not defined.

Only loaded if animation is not defined.

east_animation optional :: Animation

Only loaded if animation is not defined.

Only loaded if animation is not defined.

animation optional :: Animation
north_position optional :: Vector
west_position optional :: Vector
south_position optional :: Vector
east_position optional :: Vector

Properties

render_layer :: RenderLayer optional

Default: "object"

fadeout :: bool optional

Default: false

synced_fadeout :: bool optional

Default: false

constant_speed :: bool optional

Default: false

Whether the animations are always played at the same speed, not adjusted to the machine speed.

always_draw :: bool optional

Default: false

animated_shift :: bool optional

Default: false

align_to_waypoint :: bool optional

Default: false

secondary_draw_order :: int8 optional

Used 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.

draw_as_sprite :: bool optional

Default: true

draw_as_light :: bool optional

Default: false

light :: LightDefinition optional

effect :: "flicker" or "uranium-glow" or "none" optional

apply_recipe_tint :: "primary" or "secondary" or "tertiary" or "quaternary" or "none" optional

apply_tint :: "resource-color" or "input-fluid-base-color" or "input-fluid-flow-color" or "status" or "none" optional

Used by CraftingMachinePrototype ("status" only) and MiningDrillPrototype.

For "status" on CraftingMachine, the colors are specified via CraftingMachinePrototype::status_colors. For "status" on MiningDrill, the colors are specified via MiningDrillGraphicsSet::status_colors. For "resource-color", the colors are specified via ResourceEntityPrototype::mining_visualisation_tint.

north_animation :: Animation optional

Only loaded if animation is not defined.

west_animation :: Animation optional

Only loaded if animation is not defined.

south_animation :: Animation optional

Only loaded if animation is not defined.

east_animation :: Animation optional

Only loaded if animation is not defined.

animation :: Animation optional

north_position :: Vector optional

west_position :: Vector optional

south_position :: Vector optional

east_position :: Vector optional

Prototypes

Types