Prototype/Decorative

From Official Factorio Wiki
Revision as of 12:56, 23 April 2021 by Bilka (talk | contribs) (Note 255 instance limit)
Jump to navigation Jump to search

Template:Prototype parent Simple decorative purpose objects on the map, they have no health and some of them are removed when the player builds over. Usually used for grass patches, roots, small plants etc. Only 255 instances of this prototype may be defined.

Template:Prototype TOC

Mandatory properties

This prototype inherits all the properties from PrototypeBase.

Template:Prototype property Must contain at least 1 picture.

Optional properties

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

Template:Prototype property

Template:Prototype property

Template:Prototype property Mandatory if render_layer = "decals". This int16 is converted to a RenderLayer internally.

Template:Prototype property Loaded only if render_layer = "decals".

Template:Prototype property

Template:Prototype property Called by DestroyDecorativesTriggerEffectItem.

Template:Prototype property

Template:Prototype property