Prototype/Decorative: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Created page with "== Basics == Extends Prototype. == Mandatory properties == This prototype inherits all the properties from Prototype. === pictures === '''Type''': Types/SpriteVari...")
 
(Added prototype type to page)
Line 1: Line 1:
== Basics ==
== Basics ==
Prototype type: '''optimized-decorative'''
Extends [[Prototype]].
Extends [[Prototype]].



Revision as of 16:28, 21 January 2019

Basics

Prototype type: optimized-decorative

Extends Prototype.

Mandatory properties

This prototype inherits all the properties from Prototype.

pictures

Type: Types/SpriteVariations

Must contain at least 1 picture.

Optional properties

collision_box

Type: Types/BoundingBox

Must contain the [0,0] point. Max radius of the collision box is 8.

render_layer

Type: Types/RenderLayer

Default: "decorative"

grows_through_rail_path

Type: Types/bool

Default: false

tile_layer

Type: Types/uint8

Default: 0

Mandatory if render_layer = "decals". This uint8 is converted to a Types/RenderLayer internally.

autoplace

Type: Types/AutoplaceSpecification

collision_mask

Type: Types/CollisionMask

Default: "doodad-layer"