Factorio Prototype DocsVersion 2.0.26

TileTransitions :: struct

Used for TilePrototype graphics.

Use layout with spritesheet to define all the tile layers inside the layout property. The *_enabled, *_layout and *_spritesheet properties can be used to override specific layers of a reused layout.

Children

Properties

layout optional :: TileTransitionSpritesheetLayout
spritesheet optional :: FileName

Default spritesheet for all TileSpriteLayouts.

Default spritesheet for all TileSpriteLayouts.

overlay_enabled optional :: bool
mask_enabled optional :: bool
background_enabled optional :: bool
background_mask_enabled optional :: bool
effect_map_enabled optional :: bool
lightmap_enabled optional :: bool
auxiliary_effect_mask_enabled optional :: bool
overlay_layout optional :: TileTransitionVariantLayout

Overrides the overlay definition inside layout.

Overrides the overlay definition inside layout.

mask_layout optional :: TileTransitionVariantLayout

Overrides the mask definition inside layout.

Overrides the mask definition inside layout.

background_layout optional :: TileTransitionVariantLayout

Overrides the background definition inside layout.

Overrides the background definition inside layout.

background_mask_layout optional :: TileTransitionVariantLayout

Overrides the background_mask definition inside layout.

Overrides the background_mask definition inside layout.

effect_map_layout optional :: TileTransitionVariantLayout

Overrides the effect_map definition inside layout.

Overrides the effect_map definition inside layout.

lightmap_layout optional :: TileTransitionVariantLayout

Overrides the lightmap definition inside layout.

Overrides the lightmap definition inside layout.

auxiliary_effect_mask_layout optional :: TileTransitionVariantLayout

Overrides the auxiliary_effect_mask definition inside layout.

Overrides the auxiliary_effect_mask definition inside layout.

mask_spritesheet optional :: FileName

Only loaded if layout or mask_layout is defined. [...]

Only loaded if layout or mask_layout is defined. [...]

background_spritesheet optional :: FileName

Only loaded if layout or background_layout is defined. [...]

Only loaded if layout or background_layout is defined. [...]

background_mask_spritesheet optional :: FileName

Only loaded if layout or background_mask_layout is defined. [...]

Only loaded if layout or background_mask_layout is defined. [...]

effect_map_spritesheet optional :: FileName

Only loaded if layout or effect_map_layout is defined. [...]

Only loaded if layout or effect_map_layout is defined. [...]

lightmap_spritesheet optional :: FileName

Only loaded if layout or lightmap_layout is defined. [...]

Only loaded if layout or lightmap_layout is defined. [...]

auxiliary_effect_mask_spritesheet optional :: FileName

Only loaded if layout or auxiliary_effect_mask_layout is defined. [...]

Only loaded if layout or auxiliary_effect_mask_layout is defined. [...]

water_patch optional :: Sprite
overlay_layer_group optional :: TileRenderLayer
background_layer_group optional :: TileRenderLayer
waving_effect_time_scale optional :: float
overlay_layer_offset optional :: int8
masked_overlay_layer_offset optional :: int8
background_layer_offset optional :: int8
masked_background_layer_offset optional :: int8
draw_background_layer_under_tiles optional :: bool
apply_effect_color_to_overlay optional :: bool
apply_waving_effect_on_masks optional :: bool
apply_waving_effect_on_background_mask optional :: bool
draw_simple_outer_corner_over_diagonal optional :: bool
offset_background_layer_by_tile_layer optional :: bool
inner_corner_weights optional :: array[float]
outer_corner_weights optional :: array[float]
side_weights optional :: array[float]
side_variations_in_group optional :: uint8
double_side_weights optional :: array[float]
double_side_variations_in_group optional :: uint8
u_transition_weights optional :: array[float]

Properties

layout :: TileTransitionSpritesheetLayout optional

spritesheet :: FileName optional

Default spritesheet for all TileSpriteLayouts.

overlay_enabled :: bool optional

Default: true

mask_enabled :: bool optional

Default: true

background_enabled :: bool optional

Default: true

background_mask_enabled :: bool optional

Default: true

effect_map_enabled :: bool optional

Default: true

lightmap_enabled :: bool optional

Default: true

auxiliary_effect_mask_enabled :: bool optional

Default: true

overlay_layout :: TileTransitionVariantLayout optional

Overrides the overlay definition inside layout.

mask_layout :: TileTransitionVariantLayout optional

Overrides the mask definition inside layout.

background_layout :: TileTransitionVariantLayout optional

Overrides the background definition inside layout.

background_mask_layout :: TileTransitionVariantLayout optional

Overrides the background_mask definition inside layout.

effect_map_layout :: TileTransitionVariantLayout optional

Overrides the effect_map definition inside layout.

lightmap_layout :: TileTransitionVariantLayout optional

Overrides the lightmap definition inside layout.

auxiliary_effect_mask_layout :: TileTransitionVariantLayout optional

Overrides the auxiliary_effect_mask definition inside layout.

mask_spritesheet :: FileName optional

Default: Value of spritesheet

Only loaded if layout or mask_layout is defined.

Default spritesheet for mask_layout and layout.mask.

background_spritesheet :: FileName optional

Default: Value of spritesheet

Only loaded if layout or background_layout is defined.

Default spritesheet for background_layout and layout.background.

background_mask_spritesheet :: FileName optional

Default: Value of spritesheet

Only loaded if layout or background_mask_layout is defined.

Default spritesheet for background_mask_layout and layout.background_mask.

effect_map_spritesheet :: FileName optional

Default: Value of spritesheet

Only loaded if layout or effect_map_layout is defined.

Default spritesheet for effect_map_layout and layout.effect_map.

lightmap_spritesheet :: FileName optional

Default: Value of spritesheet

Only loaded if layout or lightmap_layout is defined.

Default spritesheet for lightmap_layout and layout.lightmap.

auxiliary_effect_mask_spritesheet :: FileName optional

Default: Value of spritesheet

Only loaded if layout or auxiliary_effect_mask_layout is defined.

Default spritesheet for auxiliary_effect_mask_layout and layout.auxiliary_effect_mask.

water_patch :: Sprite optional

overlay_layer_group :: TileRenderLayer optional

background_layer_group :: TileRenderLayer optional

waving_effect_time_scale :: float optional

Default: 0.15

overlay_layer_offset :: int8 optional

masked_overlay_layer_offset :: int8 optional

Default: 0

background_layer_offset :: int8 optional

Default: 0

masked_background_layer_offset :: int8 optional

Default: Value of background_layer_offset

draw_background_layer_under_tiles :: bool optional

Default: false

apply_effect_color_to_overlay :: bool optional

Default: false

apply_waving_effect_on_masks :: bool optional

Default: false

apply_waving_effect_on_background_mask :: bool optional

Default: Value of apply_waving_effect_on_masks

draw_simple_outer_corner_over_diagonal :: bool optional

Default: true

offset_background_layer_by_tile_layer :: bool optional

Default: false

inner_corner_weights :: array[float] optional

outer_corner_weights :: array[float] optional

side_weights :: array[float] optional

side_variations_in_group :: uint8 optional

double_side_weights :: array[float] optional

double_side_variations_in_group :: uint8 optional

u_transition_weights :: array[float] optional

Prototypes

Types

Defines