Prototype/SimpleEntity

From Official Factorio Wiki
Revision as of 17:53, 16 August 2023 by BilkaBot (talk | contribs) (Migrated prototype doc to separate website)
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/SimpleEntityPrototype.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 An extremely basic entity with no special functionality. Used for minable rocks.

Template:Prototype TOC

Optional properties

This prototype inherits all the properties from Prototype/EntityWithHealth.

Template:Prototype property Whether this entity should be treated as a rock for the purpose of deconstruction and for Prototype/Car#immune_to_rock_impacts.

Template:Prototype property

Template:Prototype property Used to determine render order for entities with the same render_layer in the same position. Entities with a higher secondary_draw_order are drawn on top.

Template:Prototype property

Template:Prototype property Whether a random graphics variation is chosen when placing the entity/creating it via script/creating it via map generation. If this is false, the entity will use the first variation instead of a random one.

Template:Prototype property Simple entity must have one of picture, pictures or animations defined.

This property takes priority over the other two.

Template:Prototype property Simple entity must have one of picture, pictures or animations defined.

This property takes priority over animations.

Template:Prototype property Simple entity must have one of picture, pictures or animations defined.

The other two properties take priority over this one.