Types/TileTransitions: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
m (Bilka moved page Types/Transitions to Types/TileTransitions without leaving a redirect: Internal name changed)
(→‎Mandatory properties: empty_transitions was listed inverted)
 
Line 7: Line 7:
'''Type''': [[Types/TileTransitionSprite]]
'''Type''': [[Types/TileTransitionSprite]]


This or side_mask needs to be specified if <code>empty_transitions</code> is not false.
This or side_mask needs to be specified if <code>empty_transitions</code> is not true.


=== side_mask ===
=== side_mask ===
'''Type''': [[Types/TileTransitionSprite]]
'''Type''': [[Types/TileTransitionSprite]]


This or side needs to be specified if <code>empty_transitions</code> is not false.
This or side needs to be specified if <code>empty_transitions</code> is not true.


=== inner_corner ===
=== inner_corner ===
'''Type''': [[Types/TileTransitionSprite]]
'''Type''': [[Types/TileTransitionSprite]]


This or inner_corner_mask needs to be specified if <code>empty_transitions</code> is not false.
This or inner_corner_mask needs to be specified if <code>empty_transitions</code> is not true.


=== inner_corner_mask ===
=== inner_corner_mask ===
'''Type''': [[Types/TileTransitionSprite]]
'''Type''': [[Types/TileTransitionSprite]]


This or inner_corner needs to be specified if <code>empty_transitions</code> is not false.
This or inner_corner needs to be specified if <code>empty_transitions</code> is not true.


=== outer_corner ===
=== outer_corner ===
'''Type''': [[Types/TileTransitionSprite]]
'''Type''': [[Types/TileTransitionSprite]]


This or outer_corner_mask needs to be specified if <code>empty_transitions</code> is not false.
This or outer_corner_mask needs to be specified if <code>empty_transitions</code> is not true.


=== outer_corner_mask ===
=== outer_corner_mask ===
'''Type''': [[Types/TileTransitionSprite]]
'''Type''': [[Types/TileTransitionSprite]]


This or outer_corner needs to be specified if <code>empty_transitions</code> is not false.
This or outer_corner needs to be specified if <code>empty_transitions</code> is not true.


== Optional properties ==
== Optional properties ==

Latest revision as of 04:55, 29 May 2020

Basics

Used for tile graphics.

Mandatory properties

side

Type: Types/TileTransitionSprite

This or side_mask needs to be specified if empty_transitions is not true.

side_mask

Type: Types/TileTransitionSprite

This or side needs to be specified if empty_transitions is not true.

inner_corner

Type: Types/TileTransitionSprite

This or inner_corner_mask needs to be specified if empty_transitions is not true.

inner_corner_mask

Type: Types/TileTransitionSprite

This or inner_corner needs to be specified if empty_transitions is not true.

outer_corner

Type: Types/TileTransitionSprite

This or outer_corner_mask needs to be specified if empty_transitions is not true.

outer_corner_mask

Type: Types/TileTransitionSprite

This or outer_corner needs to be specified if empty_transitions 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