Types/TileTransitions: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(0.18.12: apply_effect_color_to_overlay, masked_background_layer_offset, masked_overlay_layer_offset, overlay_layer_offset, overlay_layer_group, effect_mask)
(Removed old prototype docs)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== Basics ==
<div class="stub"><p>'''The prototype docs have moved to a new website with an improved format.''' This documentation page can now be found here: [https://lua-api.factorio.com/latest/types/TileTransitions.html https://lua-api.factorio.com/latest/types/TileTransitions.html]
Used for tile graphics.


== Mandatory properties ==
</p><p>This wiki page is no longer updated and '''will be removed at some point in the future''', so please update your browser bookmarks or other links that sent you here. If you'd like to contribute to the new docs, you can leave your feedback [https://forums.factorio.com/viewforum.php?f=233 on the forums].</p></div>
 
=== side ===
'''Type''': [[Types/RotatedAnimation]]
 
This or side_mask needs to be specified if <code>empty_transitions</code> is not false.
 
=== side_mask ===
'''Type''': [[Types/RotatedAnimation]]
 
This or side needs to be specified if <code>empty_transitions</code> is not false.
 
=== inner_corner ===
'''Type''': [[Types/RotatedAnimation]]
 
This or inner_corner_mask needs to be specified if <code>empty_transitions</code> is not false.
 
=== inner_corner_mask ===
'''Type''': [[Types/RotatedAnimation]]
 
This or inner_corner needs to be specified if <code>empty_transitions</code> is not false.
 
=== outer_corner ===
'''Type''': [[Types/RotatedAnimation]]
 
This or outer_corner_mask needs to be specified if <code>empty_transitions</code> is not false.
 
=== outer_corner_mask ===
'''Type''': [[Types/RotatedAnimation]]
 
This or outer_corner needs to be specified if <code>empty_transitions</code> is not false.
 
== Optional properties ==
 
=== empty_transitions ===
'''Type''': [[Types/bool]]
 
'''Default''': false
 
=== side_background ===
'''Type''': [[Types/RotatedAnimation]]
 
=== side_weights ===
'''Type''': [[Types/table]] of [[Types/float]]
 
=== inner_corner_background ===
'''Type''': [[Types/RotatedAnimation]]
 
=== inner_corner_weights ===
'''Type''': [[Types/table]] of [[Types/float]]
 
=== outer_corner_background ===
'''Type''': [[Types/RotatedAnimation]]
 
=== outer_corner_weights ===
'''Type''': [[Types/table]] of [[Types/float]]
 
=== u_transition ===
'''Type''': [[Types/RotatedAnimation]]
 
=== u_transition_mask ===
'''Type''': [[Types/RotatedAnimation]]
 
=== u_transition_background ===
'''Type''': [[Types/RotatedAnimation]]
 
=== u_transition_weights ===
'''Type''': [[Types/table]] of [[Types/float]]
 
=== o_transition ===
'''Type''': [[Types/Animation]]
 
=== o_transition_mask ===
'''Type''': [[Types/Animation]]
 
=== o_transition_background ===
'''Type''': [[Types/Animation]]
 
=== water_patch ===
'''Type''': [[Types/Sprite]]
 
=== effect_mask ===
'''Type''': [[Types/Animation]]
 
=== layer ===
'''Type''': [[Types/uint8]]
 
=== overlay_layer_group ===
'''Type''': [[Types/string]]
 
One of "zero", "water", "water-overlay", "ground" and "top".
 
=== background_layer_group ===
'''Type''': [[Types/string]]
 
One of "zero", "water", "water-overlay", "ground" and "top".
 
=== overlay_layer_offset ===
'''Type''': [[Types/int8]]
 
=== masked_overlay_layer_offset ===
'''Type''': [[Types/int8]]
 
'''Default''': 0
 
=== background_layer_offset ===
'''Type''': [[Types/int8]]
 
'''Default''': 0
 
=== masked_background_layer_offset ===
'''Type''': [[Types/int8]]
 
=== apply_effect_color_to_overlay ===
'''Type''': [[Types/bool]]
 
'''Default''': false
 
=== offset_background_layer_by_tile_layer ===
'''Type''': [[Types/bool]]
 
'''Default''': false

Latest revision as of 14:32, 25 October 2024

The prototype docs have moved to a new website with an improved format. This documentation page can now be found here: https://lua-api.factorio.com/latest/types/TileTransitions.html

This wiki page is no longer updated and will be removed at some point in the future, so please update your browser bookmarks or other links that sent you here. If you'd like to contribute to the new docs, you can leave your feedback on the forums.