Types/TileTransitions: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Migrated prototype doc to separate website)
(Removed old prototype docs)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''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]
<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]


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><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>
 
 
 
== Basics ==
Used for tile graphics.
 
== Mandatory properties ==
 
=== side ===
'''Type''': [[Types/TileTransitionSprite]]
 
This or side_mask needs to be specified if <code>empty_transitions</code> is not true.
 
=== side_mask ===
'''Type''': [[Types/TileTransitionSprite]]
 
This or side needs to be specified if <code>empty_transitions</code> is not true.
 
=== inner_corner ===
'''Type''': [[Types/TileTransitionSprite]]
 
This or inner_corner_mask needs to be specified if <code>empty_transitions</code> is not true.
 
=== inner_corner_mask ===
'''Type''': [[Types/TileTransitionSprite]]
 
This or inner_corner needs to be specified if <code>empty_transitions</code> is not true.
 
=== outer_corner ===
'''Type''': [[Types/TileTransitionSprite]]
 
This or outer_corner_mask needs to be specified if <code>empty_transitions</code> is not true.
 
=== outer_corner_mask ===
'''Type''': [[Types/TileTransitionSprite]]
 
This or outer_corner needs to be specified if <code>empty_transitions</code> is not true.
 
== Optional properties ==
 
=== empty_transitions ===
'''Type''': [[Types/bool]]
 
'''Default''': false
 
=== side_background ===
'''Type''': [[Types/TileTransitionSprite]]
 
=== side_background_mask ===
'''Type''': [[Types/TileTransitionSprite]]
 
=== side_effect_map ===
'''Type''': [[Types/TileTransitionSprite]]
 
=== side_weights ===
'''Type''': [[Types/table]] of [[Types/float]]
 
=== inner_corner_background ===
'''Type''': [[Types/TileTransitionSprite]]
 
=== inner_corner_background_mask ===
'''Type''': [[Types/TileTransitionSprite]]
 
=== inner_corner_effect_map ===
'''Type''': [[Types/TileTransitionSprite]]
 
=== inner_corner_weights ===
'''Type''': [[Types/table]] of [[Types/float]]
 
=== outer_corner_background ===
'''Type''': [[Types/TileTransitionSprite]]
 
=== outer_corner_background_mask ===
'''Type''': [[Types/TileTransitionSprite]]
 
=== outer_corner_effect_map ===
'''Type''': [[Types/TileTransitionSprite]]
 
=== outer_corner_weights ===
'''Type''': [[Types/table]] of [[Types/float]]
 
=== u_transition ===
'''Type''': [[Types/TileTransitionSprite]]
 
=== u_transition_mask ===
'''Type''': [[Types/TileTransitionSprite]]
 
=== u_transition_background ===
'''Type''': [[Types/TileTransitionSprite]]
 
=== u_transition_background_mask ===
'''Type''': [[Types/TileTransitionSprite]]
 
=== u_transition_effect_map ===
'''Type''': [[Types/TileTransitionSprite]]
 
=== u_transition_weights ===
'''Type''': [[Types/table]] of [[Types/float]]
 
=== o_transition ===
'''Type''': [[Types/TileSprite]]
 
=== o_transition_mask ===
'''Type''': [[Types/TileSprite]]
 
=== o_transition_background ===
'''Type''': [[Types/TileSprite]]
 
=== o_transition_background_mask ===
'''Type''': [[Types/TileSprite]]
 
=== o_transition_effect_map ===
'''Type''': [[Types/TileSprite]]
 
=== 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.