Factorio Prototype DocsVersion 2.0.24

CraftingMachineGraphicsSet :: struct

Inherits from WorkingVisualisations

Properties

frozen_patch optional :: Sprite4Way
circuit_connector_layer optional :: RenderLayer or CircuitConnectorLayer

Render layer(s) for all directions of the circuit connectors.

Render layer(s) for all directions of the circuit connectors.

circuit_connector_secondary_draw_order optional :: int8 or CircuitConnectorSecondaryDrawOrder

Secondary draw order(s) for all directions of the circuit connectors.

Secondary draw order(s) for all directions of the circuit connectors.

animation_progress optional :: float
reset_animation_when_frozen optional :: bool

Inherited from WorkingVisualisations
animation optional :: Animation4Way
idle_animation optional :: Animation4Way

Idle animation must have the same frame count as animation.

Idle animation must have the same frame count as animation.

always_draw_idle_animation optional :: bool

Only loaded if idle_animation is defined.

Only loaded if idle_animation is defined.

default_recipe_tint optional :: GlobalRecipeTints
recipe_not_set_tint optional :: GlobalRecipeTints
states optional :: array[VisualState]

At least 2 visual states must be defined or no states at all. [...]

At least 2 visual states must be defined or no states at all. [...]

working_visualisations optional :: array[WorkingVisualisation]

Used to display different animations when the machine is running, for example tinted based on the current recipe.

Used to display different animations when the machine is running, for example tinted based on the current recipe.

shift_animation_waypoints optional :: ShiftAnimationWaypoints

Only loaded if one of shift_animation_waypoint_stop_duration or shift_animation_transition_duration is not 0.

Only loaded if one of shift_animation_waypoint_stop_duration or shift_animation_transition_duration is not 0.

shift_animation_waypoint_stop_duration optional :: uint16

Only loaded if shift_animation_waypoints is defined.

Only loaded if shift_animation_waypoints is defined.

shift_animation_transition_duration optional :: uint16

Only loaded if shift_animation_waypoints is defined.

Only loaded if shift_animation_waypoints is defined.

status_colors optional :: StatusColors

Properties

frozen_patch :: Sprite4Way optional

circuit_connector_layer :: RenderLayer or CircuitConnectorLayer optional

Default: "object"

Render layer(s) for all directions of the circuit connectors.

circuit_connector_secondary_draw_order :: int8 or CircuitConnectorSecondaryDrawOrder optional

Default: 100

Secondary draw order(s) for all directions of the circuit connectors.

animation_progress :: float optional

Default: 0.5

reset_animation_when_frozen :: bool optional

Default: false

Prototypes

Types

Defines