Prototype/SimpleEntityWithForce: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(→‎Basics: note on difference to simpleentity)
(→‎Optional properties: added 2 properties I missed)
Line 4: Line 4:
== Optional properties ==
== Optional properties ==
This prototype inherits all the properties from [[Prototype/EntityWithHealth]].
This prototype inherits all the properties from [[Prototype/EntityWithHealth]].
=== render_layer ===
'''Type''': [[Types/RenderLayer]]
'''Default''': "object"
=== random_animation_offset ===
'''Type''': [[Types/bool]]
'''Default''': false


=== pictures ===
=== pictures ===
'''Type''': [[Types/SpriteVariations]]
'''Type''': [[Types/SpriteVariations]]


Must have defined one of 'picture', 'pictures' or 'animations'
Must have one of 'picture', 'pictures' or 'animations' defined.


=== picture ===
=== picture ===
'''Type''': [[Types/Sprite]]
'''Type''': [[Types/Sprite]]


Must have defined one of 'picture', 'pictures' or 'animations'
Must have one of 'picture', 'pictures' or 'animations' defined.


=== animations ===
=== animations ===
'''Type''': [[Types/AnimationVariations]]
'''Type''': [[Types/AnimationVariations]]


Must have defined one of 'picture', 'pictures' or 'animations'
Must have one of 'picture', 'pictures' or 'animations' defined.

Revision as of 07:53, 21 September 2018

Basics

Extends Prototype/EntityWithHealth. Will be targeted by units/turrets.

Optional properties

This prototype inherits all the properties from Prototype/EntityWithHealth.

render_layer

Type: Types/RenderLayer

Default: "object"

random_animation_offset

Type: Types/bool

Default: false

pictures

Type: Types/SpriteVariations

Must have one of 'picture', 'pictures' or 'animations' defined.

picture

Type: Types/Sprite

Must have one of 'picture', 'pictures' or 'animations' defined.

animations

Type: Types/AnimationVariations

Must have one of 'picture', 'pictures' or 'animations' defined.