Prototype/SimpleEntity: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
m (ordering)
(→‎Optional properties: added 2 properties I missed)
Line 6: Line 6:


=== count_as_rock_for_filtered_deconstruction ===
=== count_as_rock_for_filtered_deconstruction ===
'''Type''': [[Types/bool]]
'''Default''': false
=== render_layer ===
'''Type''': [[Types/RenderLayer]]
'''Default''': "object"
=== random_animation_offset ===
'''Type''': [[Types/bool]]
'''Type''': [[Types/bool]]


Line 13: Line 23:
'''Type''': [[Types/SpriteVariations]]
'''Type''': [[Types/SpriteVariations]]


Simple entity must have defined one of 'picture', 'pictures' or 'animations'
Simple entity must have one of 'picture', 'pictures' or 'animations' defined.


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


Simple entity must have defined one of 'picture', 'pictures' or 'animations'
Simple entity must have one of 'picture', 'pictures' or 'animations' defined.


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


Simple entity must have defined one of 'picture', 'pictures' or 'animations'
Simple entity must have one of 'picture', 'pictures' or 'animations' defined.

Revision as of 07:54, 21 September 2018

Basics

Extends Prototype/EntityWithHealth.

Optional properties

This prototype inherits all the properties from Prototype/EntityWithHealth.

count_as_rock_for_filtered_deconstruction

Type: Types/bool

Default: false

render_layer

Type: Types/RenderLayer

Default: "object"

random_animation_offset

Type: Types/bool

Default: false

pictures

Type: Types/SpriteVariations

Simple entity must have one of 'picture', 'pictures' or 'animations' defined.

picture

Type: Types/Sprite

Simple entity must have one of 'picture', 'pictures' or 'animations' defined.

animations

Type: Types/AnimationVariations

Simple entity must have one of 'picture', 'pictures' or 'animations' defined.