Prototype/SimpleEntityWithOwner: Difference between revisions
(secondary draw order description) |
(1.1.51: Prototype/EntityWithOwner added, SimpleEntityWithForce inherits from SimpleEntityWithOwner) |
||
Line 1: | Line 1: | ||
{{Prototype parent|Prototype/ | {{Prototype parent|Prototype/EntityWithOwner}} | ||
Has a force, but unlike [[Prototype/SimpleEntityWithForce]] it is only attacked if the biters get stuck on it. | Has a force, but unlike [[Prototype/SimpleEntityWithForce]] it is only attacked if the biters get stuck on it (or if [[Prototype/EntityWithOwner#is_military_target]] set to true to make the two entity types equivalent). | ||
{{Prototype TOC|simple-entity-with-owner}} | {{Prototype TOC|simple-entity-with-owner}} | ||
== Extensions == | |||
<div class="factorio-list"> | |||
* [[Prototype/SimpleEntityWithForce]] '''simple-entity-with-force''' | |||
</div> | |||
== Optional properties == | == Optional properties == | ||
This prototype inherits all the properties from [[Prototype/ | This prototype inherits all the properties from [[Prototype/EntityWithOwner]]. | ||
{{Prototype property|render_layer|[[Types/RenderLayer|RenderLayer]]|"object"|optional=true}} | {{Prototype property|render_layer|[[Types/RenderLayer|RenderLayer]]|"object"|optional=true}} |
Revision as of 19:26, 21 January 2022
Template:Prototype parent Has a force, but unlike Prototype/SimpleEntityWithForce it is only attacked if the biters get stuck on it (or if Prototype/EntityWithOwner#is_military_target set to true to make the two entity types equivalent).
Extensions
- Prototype/SimpleEntityWithForce simple-entity-with-force
Optional properties
This prototype inherits all the properties from Prototype/EntityWithOwner.
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 Must have one of 'picture', 'pictures' or 'animations' defined.
Template:Prototype property Must have one of 'picture', 'pictures' or 'animations' defined.
Template:Prototype property Must have one of 'picture', 'pictures' or 'animations' defined.
Template:Prototype property If the entity is not visible to a player, the player cannot select it.