Types/WorkingVisualisation: Difference between revisions
 0.17.69  | 
				 0.18.31: hr mining drill  | 
				||
| Line 5: | Line 5: | ||
=== render_layer ===  | === render_layer ===  | ||
'''Type''': [[Types/RenderLayer]]  | '''Type''': [[Types/RenderLayer]]  | ||
'''Default''': "object"  | |||
=== fadeout ===  | |||
'''Type''': [[Types/bool]]  | |||
'''Default''': false  | |||
=== synced_fadeout ===  | |||
'''Type''': [[Types/bool]]  | |||
'''Default''': false  | |||
=== constant_speed ===  | |||
'''Type''': [[Types/bool]]  | |||
'''Default''': false  | |||
Whether the animations are always played at the same speed, not adjusted to the machine speed.  | |||
=== always_draw ===  | |||
'''Type''': [[Types/bool]]  | |||
'''Default''': false  | |||
=== animated_shift ===  | |||
'''Type''': [[Types/bool]]  | |||
'''Default''': false  | |||
=== align_to_waypoint ===  | |||
'''Type''': [[Types/bool]]  | |||
'''Default''': false  | |||
=== secondary_draw_order ===  | |||
'''Type''': [[Types/int8]]  | |||
=== draw_as_sprite ===  | |||
'''Type''': [[Types/bool]]  | |||
'''Default''': true  | |||
=== draw_as_light ===  | |||
'''Type''': [[Types/bool]]  | |||
'''Default''': false  | |||
=== light ===  | === light ===  | ||
| Line 17: | Line 64: | ||
'''Type''': [[Types/string]]  | '''Type''': [[Types/string]]  | ||
Either "primary", "secondary", "tertiary", "quaternary" or "none".  | Either "primary", "secondary", "tertiary", "quaternary" or "none". Used by [[Prototype/CraftingMachine]].  | ||
===   | === apply_tint ===  | ||
'''Type''': [[Types/  | '''Type''': [[Types/string]]  | ||
Either "resource-color", "input-fluid-base-color", "input-fluid-flow-color", "status" or "none". Used by [[Prototype/MiningDrill]].  | |||
=== north_animation ===  | === north_animation ===  | ||
Revision as of 11:23, 22 July 2020
Used by crafting machines to display different graphics when the machine is running.
Optional properties
render_layer
Type: Types/RenderLayer
Default: "object"
fadeout
Type: Types/bool
Default: false
synced_fadeout
Type: Types/bool
Default: false
constant_speed
Type: Types/bool
Default: false
Whether the animations are always played at the same speed, not adjusted to the machine speed.
always_draw
Type: Types/bool
Default: false
animated_shift
Type: Types/bool
Default: false
align_to_waypoint
Type: Types/bool
Default: false
secondary_draw_order
Type: Types/int8
draw_as_sprite
Type: Types/bool
Default: true
draw_as_light
Type: Types/bool
Default: false
light
Type: Types/LightDefinition
effect
Type: Types/string
Either "flicker", "uranium-glow" or "none".
apply_recipe_tint
Type: Types/string
Either "primary", "secondary", "tertiary", "quaternary" or "none". Used by Prototype/CraftingMachine.
apply_tint
Type: Types/string
Either "resource-color", "input-fluid-base-color", "input-fluid-flow-color", "status" or "none". Used by Prototype/MiningDrill.
north_animation
Type: Types/Animation
Either these animations for the directions are loaded, or animation and the positions for the directions are loaded.
west_animation
Type: Types/Animation
south_animation
Type: Types/Animation
east_animation
Type: Types/Animation
animation
Type: Types/Animation
Either this and the below positions are loaded, or the animation properties for each direction are loaded.
north_position
Type: Types/vector
west_position
Type: Types/vector
south_position
Type: Types/vector
east_position
Type: Types/vector