Types/TileTransitions: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(0.17)
(0.17)
Line 7: Line 7:
'''Type''': [[Types/RotatedAnimation]]
'''Type''': [[Types/RotatedAnimation]]


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


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


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


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


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


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


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


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


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


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


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


== Optional properties ==
== Optional properties ==
=== empty_transitions ===
'''Type''': [[Types/bool]]
'''Default''': false


=== side_background ===
=== side_background ===

Revision as of 19:28, 7 August 2019

Basics

Used for tile graphics.

Mandatory properties

side

Type: Types/RotatedAnimation

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

side_mask

Type: Types/RotatedAnimation

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

inner_corner

Type: Types/RotatedAnimation

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

inner_corner_mask

Type: Types/RotatedAnimation

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

outer_corner

Type: Types/RotatedAnimation

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

outer_corner_mask

Type: Types/RotatedAnimation

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

layer

Type: Types/uint8

background_layer_group

Type: Types/string

One of "zero", "water", "water-overlay", "ground" and "top".

background_layer_offset

Type: Types/int8

Default: 0

offset_background_layer_by_tile_layer

Type: Types/bool

Default: false