Factorio.com|Forums|Wiki|Mod Portal|API Docs

# Factorio Prototype Docs Version 2.0.77

# CraftingMachineGraphicsSet - Prototype Docs

## CraftingMachineGraphicsSet :: struct

Inherits from WorkingVisualisations

## Properties

- default
- sorted

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 | :: boolean |
water_reflection optional | :: WaterReflectionDefinition | Only loaded if this graphics set is used in a property called `graphics_set`, refer to EntityPrototype::water_reflection.
Only loaded if this graphics set is used in a property called `graphics_set`, refer to EntityPrototype::water_reflection.

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 | :: boolean | 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 | Used by WorkingVisualisation::apply_tint.
Used by WorkingVisualisation::apply_tint.

animation_progress optional | :: float |
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.
frozen_patch optional | :: Sprite4Way |
reset_animation_when_frozen optional | :: boolean |
water_reflection optional | :: WaterReflectionDefinition | Only loaded if this graphics set is used in a property called `graphics_set`, refer to EntityPrototype::water_reflection.
Only loaded if this graphics set is used in a property called `graphics_set`, refer to EntityPrototype::water_reflection.

Inherited from WorkingVisualisations

always_draw_idle_animation optional | :: boolean | Only loaded if `idle_animation` is defined.
Only loaded if `idle_animation` is defined.
animation optional | :: Animation4Way |
default_recipe_tint optional | :: GlobalRecipeTints |
idle_animation optional | :: Animation4Way | Idle animation must have the same frame count as animation.
Idle animation must have the same frame count as animation.
recipe_not_set_tint optional | :: GlobalRecipeTints |
shift_animation_transition_duration optional | :: uint16 | Only loaded if `shift_animation_waypoints` is defined.
Only loaded if `shift_animation_waypoints` is defined.
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_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.
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. [...]
status_colors optional | :: StatusColors | Used by WorkingVisualisation::apply_tint.
Used by WorkingVisualisation::apply_tint.
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.

## 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 :: boolean optional

Default: `false`

### water_reflection :: WaterReflectionDefinition optional

Only loaded if this graphics set is used in a property called `graphics_set`, refer to EntityPrototype::water_reflection.

Type used in

- AgriculturalTowerPrototype::graphics_set
- CraftingMachinePrototype::graphics_set
- CraftingMachinePrototype::graphics_set_flipped