Prototype/Tile

From Official Factorio Wiki
Revision as of 18:39, 6 August 2019 by Bilka (talk | contribs) (Converted to SMW format)
Jump to navigation Jump to search

Template:Prototype parent A tile. Only 255 instances of this prototype may be defined.

Template:Prototype TOC

Mandatory properties

Inherits all properties from PrototypeBase.

Template:Prototype property

Template:Prototype property Specifies transition drawing priority.

Template:Prototype property Graphics for this tile. This has extra properties besides the properties from Transitions:

  • main - table of Animation - Mandatory. Array of Animations with the following extra properties:
    • size - uint32 - Mandatory. - Only powers of 2 from 1 to 128 can be used. Square size of the tile arrangement this animation is used for. Used to calculate the width and height of the animation which cannot be set directly. (width or height) = size * 32 / scale.
    • probability - double - Optional. - Default: 1.0 - Probability of 1x1 (size = 1) version of tile must be 1.
    • weights - table of double - Optional. - Array of double.
  • material_background - Animation - Optional. Width and height are given by the game, setting them will not have an effect. Width and height are calculated from the expected size (32) and the scale. So, for HR tiles at a size of 64x64, the scale needs to be 0.5.

Template:Prototype property

Optional properties

Template:Prototype property

Template:Prototype property One of "zero", "water", "water-overlay", "ground" and "top".

Template:Prototype property

Template:Prototype property Name of a tile.

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property Array of tile names that are allowed next to this one.

Template:Prototype property

Template:Prototype property If you want the tile to not be minable, don't specify the minable property.

Template:Prototype property Name of a tile.

Template:Prototype property

Template:Prototype property Emissions per second. Use negative value if pollution is consumed/removed instead of produced. Preferred over using ageing.

Mandatory if ageing does not exist.

Template:Prototype property Emissions per tick. Does the same thing as pollution_absorption_per_second but will be removed at some point.

Template:Prototype property Extra transitions. Array of Transitions. Each Transitions needs the extra mandatory property to_tiles, which is a string which is the name of a tile.

Template:Prototype property Array of Transitions. Each Transitions needs the extra mandatory properties transition_group1 andtransition_group2 , which are of uint8.

Template:Prototype property