Prototype/SimpleEntity: Difference between revisions
m (Protected "Prototype/SimpleEntity": Migrated prototype doc to separate website ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
(Updated styling of prototype doc migration note) |
||
Line 1: | Line 1: | ||
'''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 https://lua-api.factorio.com/latest/prototypes/SimpleEntityPrototype.html] | <div class="stub"><p>'''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 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 [https://forums.factorio.com/viewforum.php?f=233 on the forums]. | </p><p>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 [https://forums.factorio.com/viewforum.php?f=233 on the forums].</p></div> | ||
Revision as of 10:43, 21 September 2023
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.
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
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 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.