Prototype/SimpleEntityWithOwner: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Set prototype parent)
(Converted to SMW format)
Line 1: Line 1:
{{Prototype parent|Prototype/EntityWithHealth}}
{{Prototype parent|Prototype/EntityWithHealth}}
Has a force, but unlike [[Prototype/SimpleEntityWithForce]] it is only attacked if the biters get stuck on it.


== Basics ==
{{Prototype TOC|simple-entity-with-owner}}
Prototype type: '''simple-entity-with-owner'''
 
Extends [[Prototype/EntityWithHealth]]. Has a force, but unlike [[Prototype/SimpleEntityWithForce]] it is only attacked if the biters get stuck on it.


== Optional properties ==
== Optional properties ==
This prototype inherits all the properties from [[Prototype/EntityWithHealth]].
This prototype inherits all the properties from [[Prototype/EntityWithHealth]].


=== render_layer ===
{{Prototype property|render_layer|[[Types/RenderLayer|RenderLayer]]|"object"|optional=true}}
'''Type''': [[Types/RenderLayer]]
 
'''Default''': "object"
 
=== random_animation_offset ===
'''Type''': [[Types/bool]]
 
'''Default''': false


=== pictures ===
{{Prototype property|random_animation_offset|[[Types/bool|bool]]|false|optional=true}}
'''Type''': [[Types/SpriteVariations]]


{{Prototype property|pictures|[[Types/SpriteVariations|SpriteVariations]]|optional=true}}
Must have one of 'picture', 'pictures' or 'animations' defined.
Must have one of 'picture', 'pictures' or 'animations' defined.


=== picture ===
{{Prototype property|picture|[[Types/Sprite|Sprite]]|optional=true}}
'''Type''': [[Types/Sprite]]
 
Must have one of 'picture', 'pictures' or 'animations' defined.
Must have one of 'picture', 'pictures' or 'animations' defined.


=== animations ===
{{Prototype property|animations|[[Types/AnimationVariations|AnimationVariations]]|optional=true}}
'''Type''': [[Types/AnimationVariations]]
 
Must have one of 'picture', 'pictures' or 'animations' defined.
Must have one of 'picture', 'pictures' or 'animations' defined.

Revision as of 17:14, 5 August 2019

Template:Prototype parent Has a force, but unlike Prototype/SimpleEntityWithForce it is only attacked if the biters get stuck on it.

Template:Prototype TOC

Optional properties

This prototype inherits all the properties from Prototype/EntityWithHealth.

Template:Prototype property

Template:Prototype property

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.