Prototype/Decorative: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Changed links going to the redirect Prototype to go to PrototypeBase.)
(Set prototype parent)
Line 1: Line 1:
{{Prototype parent|PrototypeBase}}
== Basics ==
== Basics ==
Prototype type: '''optimized-decorative'''
Prototype type: '''optimized-decorative'''

Revision as of 14:50, 24 July 2019

Prototype definitions » PrototypeBase » Prototype/Decorative


Basics

Prototype type: optimized-decorative

Extends PrototypeBase.

Mandatory properties

This prototype inherits all the properties from PrototypeBase.

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"