Factorio Prototype DocsVersion 2.0.28

WorkingVisualisations :: struct - abstract

Children

Properties

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

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

Prototypes

Types

Defines