Types/MiningDrillGraphicsSet

From Official Factorio Wiki
Revision as of 15:05, 25 March 2021 by Bilka (talk | contribs) (status colors used by)
Jump to navigation Jump to search

Used by Prototype/MiningDrill. This is a Types/table with the below properties.

Optional properties

animation

Type: Animation4Way

idle_animation

Type: Animation4Way

Idle animation must have the same frame count as animation.

always_draw_idle_animation

Type: bool

Default: false

Only loaded if idle_animation is present.

default_recipe_tint

Type: table of Color

Format:

default_recipe_tint = { primary = {r=1,g=1,b=1,a=1}, secondary = {r=1,g=1,b=1,a=1}, tertiary = {r=1,g=1,b=1,a=1}, quaternary = {r=1,g=1,b=1,a=1}}

Each key/value pair is optional and defaults to the above value.

working_visualisations

Type: WorkingVisualisation

shift_animation_waypoints

Type: table of table (array) of vector

Table with the following optional key/value pairs:

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

shift_animation_waypoint_stop_duration

Type: uint16

Default: 0

Only loaded if shift_animation_waypoints is present.

shift_animation_transition_duration

Type: uint16

Default: 0

Only loaded if shift_animation_waypoints is present.

status_colors

Type: table of Color

Table with the following optional key/value pairs:

  • idle - Color - Default: White
  • no_minable_resources - Color - Default: idle
  • full_output - Color - Default: idle
  • insufficient_input - Color - Default: idle
  • disabled - Color - Default: idle
  • no_power - Color - Default: No color
  • working - Color - Default: White
  • low_power - Color - Default: working

Used by Types/WorkingVisualisation#apply_tint.

drilling_vertical_movement_duration

Type: uint16

Default: 0

animation_progress

Type: float

Default: 1

max_animation_progress

Type: float

Default: 1000

min_animation_progress

Type: float

Default: 0

circuit_connector_layer

Type: RenderLayer or table of RenderLayer

Default: "object"

Renderlayer(s) for all directions of the circuit connectors. When this is loaded as a table, it is a table with the following optional key/value pairs:

circuit_connector_secondary_draw_order

Type: int8 or table of int8

Default: 100

Secondary draw order(s) for all directions of the circuit connectors. When this is loaded as a table, it is a table with the following optional key/value pairs: