Factorio.com|Forums|Wiki|Mod Portal|API Docs Prototype|Runtime|Auxiliary

# Factorio Prototype Docs Version 2.0.7

## WorkingVisualisations :: struct - abstract

Children CraftingMachineGraphicsSet MiningDrillGraphicsSet ThrusterGraphicsSet

## Properties

- default
- sorted

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

always_draw_idle_animation optional | :: bool | 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

### animation :: Animation4Way optional

### idle_animation :: Animation4Way optional

Idle animation must have the same frame count as animation.

### always_draw_idle_animation :: bool optional

Default: `false`

Only loaded if `idle_animation` is defined.

### default_recipe_tint :: GlobalRecipeTints optional

### recipe_not_set_tint :: GlobalRecipeTints optional

### states :: array[VisualState] optional

At least 2 visual states must be defined or no states at all. At most 32 states may be defined.

### working_visualisations :: array[WorkingVisualisation] optional

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

### shift_animation_waypoints :: ShiftAnimationWaypoints optional

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

### shift_animation_waypoint_stop_duration :: uint16 optional

Default: `0`

Only loaded if `shift_animation_waypoints` is defined.

### shift_animation_transition_duration :: uint16 optional

Default: `0`

Only loaded if `shift_animation_waypoints` is defined.

### status_colors :: StatusColors optional

Used by WorkingVisualisation::apply_tint.