Prototype/Decorative
The prototype docs have moved to a new website with an improved format. This documentation page can now be found here: https://lua-api.factorio.com/latest/prototypes/DecorativePrototype.html
This wiki page is no longer updated and will be removed at some point in the future, so please update your browser bookmarks or other links that sent you here. If you'd like to contribute to the new docs, you can leave your feedback on the forums.
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.
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
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 Called by DestroyDecorativesTriggerEffectItem.