Prototype/Decorative

From Official Factorio Wiki
Revision as of 10:42, 21 September 2023 by BilkaBot (talk | contribs) (Updated styling of prototype doc migration note)
Jump to navigation Jump to search

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.

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