Prototype/SimpleEntityWithForce: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
m (whitespace)
(Converted to SMW format)
Line 1: Line 1:
{{Prototype parent|Prototype/EntityWithHealth}}
{{Prototype parent|Prototype/EntityWithHealth}}
This entity will be a priority target for units/turrets, who will choose to attack it even if it does not block their path.  Use [[Prototype/SimpleEntityWithOwner]] for entities that are only attacked when they block enemies.


== Basics ==
{{Prototype TOC|simple-entity-with-force}}
Prototype type: '''simple-entity-with-force'''
 
Extends [[Prototype/EntityWithHealth]].
 
This entity will be a priority target for units/turrets, who will choose to attack it even if it does not block their path.  Use [[Prototype/SimpleEntityWithOwner]] for entities that are only attacked when they block enemies.


== 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"
 
=== force_visibility ===
'''Type''': [[Types/ForceCondition]]


'''Default''': "all"
{{Prototype property|force_visibility|[[Types/ForceCondition|ForceCondition]]|"all"|optional=true}}


=== random_animation_offset ===
{{Prototype property|random_animation_offset|[[Types/bool|bool]]|false|optional=true}}
'''Type''': [[Types/bool]]
 
'''Default''': false
 
=== pictures ===
'''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:15, 5 August 2019

Template:Prototype parent This entity will be a priority target for units/turrets, who will choose to attack it even if it does not block their path. Use Prototype/SimpleEntityWithOwner for entities that are only attacked when they block enemies.

Template:Prototype TOC

Optional properties

This prototype inherits all the properties from Prototype/EntityWithHealth.

Template:Prototype property

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.