Factorio.com|Forums|Wiki|Mod Portal|API Docs Prototype|Runtime|Auxiliary

# Factorio Prototype Docs Version 2.0.7

## TileEffectDefinition 'tile-effect' changed

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 new | :: `"water"` or `"space"` or `"puddle"` |
water new optional | :: WaterTileEffectParameters | Only loaded, and mandatory if `shader` is `"water"`.
Only loaded, and mandatory if `shader` is `"water"`.
space new optional | :: SpaceTileEffectParameters | Only loaded, and mandatory if `shader` is `"space"`.
Only loaded, and mandatory if `shader` is `"space"`.
puddle new 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 new | :: `"water"` or `"space"` or `"puddle"` |
type | :: `"tile-effect"` |
puddle new optional | :: PuddleTileEffectParameters | Only loaded, and mandatory if `shader` is `"puddle"`.
Only loaded, and mandatory if `shader` is `"puddle"`.
space new optional | :: SpaceTileEffectParameters | Only loaded, and mandatory if `shader` is `"space"`.
Only loaded, and mandatory if `shader` is `"space"`.
water new 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"`new

### water :: WaterTileEffectParameters optional new

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

### space :: SpaceTileEffectParameters optional new

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

### puddle :: PuddleTileEffectParameters optional new

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