Factorio.com|Forums|Wiki|Mod Portal|API Docs

# Factorio Prototype Docs Version 2.0.77

# TileEffectDefinition - Prototype Docs

## TileEffectDefinition 'tile-effect'

Used to define the parameters for tile shaders.

Prototype limited to 32 total instances.

## Properties

- default
- sorted

type | :: `"tile-effect"` |
name | :: string | Name of the tile-effect.
Name of the tile-effect.
shader | :: `"water"` or `"space"` or `"puddle"` |
water optional | :: WaterTileEffectParameters | Only loaded, and mandatory if `shader` is `"water"`.
Only loaded, and mandatory if `shader` is `"water"`.
space optional | :: SpaceTileEffectParameters | Only loaded, and mandatory if `shader` is `"space"`.
Only loaded, and mandatory if `shader` is `"space"`.
puddle optional | :: PuddleTileEffectParameters | Only loaded, and mandatory if `shader` is `"puddle"`.
Only loaded, and mandatory if `shader` is `"puddle"`.

name | :: string | Name of the tile-effect.
Name of the tile-effect.
shader | :: `"water"` or `"space"` or `"puddle"` |
type | :: `"tile-effect"` |
puddle optional | :: PuddleTileEffectParameters | Only loaded, and mandatory if `shader` is `"puddle"`.
Only loaded, and mandatory if `shader` is `"puddle"`.
space optional | :: SpaceTileEffectParameters | Only loaded, and mandatory if `shader` is `"space"`.
Only loaded, and mandatory if `shader` is `"space"`.
water optional | :: WaterTileEffectParameters | Only loaded, and mandatory if `shader` is `"water"`.
Only loaded, and mandatory if `shader` is `"water"`.

## Properties

### type :: `"tile-effect"`

### name :: string

Name of the tile-effect.

### shader :: `"water"` or `"space"` or `"puddle"`

### water :: WaterTileEffectParameters optional

Only loaded, and mandatory if `shader` is `"water"`.

### space :: SpaceTileEffectParameters optional

Only loaded, and mandatory if `shader` is `"space"`.

### puddle :: PuddleTileEffectParameters optional

Only loaded, and mandatory if `shader` is `"puddle"`.