Types/MiningDrillGraphicsSet: Difference between revisions
(→status_colors: not sure what this was doing here...) |
(status colors used by) |
||
Line 65: | Line 65: | ||
* working - [[Types/Color|Color]] - Default: White | * working - [[Types/Color|Color]] - Default: White | ||
* low_power - [[Types/Color|Color]] - Default: <code>working</code> | * low_power - [[Types/Color|Color]] - Default: <code>working</code> | ||
Used by [[Types/WorkingVisualisation#apply_tint]]. | |||
=== drilling_vertical_movement_duration === | === drilling_vertical_movement_duration === |
Latest revision as of 15:05, 25 March 2021
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
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
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:
- north - RenderLayer - Default: "object"
- east - RenderLayer - Default: "object"
- south - RenderLayer - Default: "object"
- west - RenderLayer - Default: "object"
circuit_connector_secondary_draw_order
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: