Prototype/SimpleEntityWithOwner: Difference between revisions
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. | |||
{{Prototype TOC|simple-entity-with-owner}} | |||
Prototype | |||
== Optional properties == | == Optional properties == | ||
This prototype inherits all the properties from [[Prototype/EntityWithHealth]]. | This prototype inherits all the properties from [[Prototype/EntityWithHealth]]. | ||
{{Prototype property|render_layer|[[Types/RenderLayer|RenderLayer]]|"object"|optional=true}} | |||
{{Prototype property|random_animation_offset|[[Types/bool|bool]]|false|optional=true}} | |||
{{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. | ||
{{Prototype property|picture|[[Types/Sprite|Sprite]]|optional=true}} | |||
Must have one of 'picture', 'pictures' or 'animations' defined. | Must have one of 'picture', 'pictures' or 'animations' defined. | ||
{{Prototype property|animations|[[Types/AnimationVariations|AnimationVariations]]|optional=true}} | |||
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
Prototype definitions » PrototypeBase » Prototype/Entity » Prototype/EntityWithHealth » Prototype/EntityWithOwner » Prototype/SimpleEntityWithOwner
Has a force, but unlike Prototype/SimpleEntityWithForce it is only attacked if the biters get stuck on it.
Optional properties
This prototype inherits all the properties from Prototype/EntityWithHealth.
render_layer
Type: RenderLayer
Default: "object"
random_animation_offset
Type: bool
Default: false
pictures
Type: SpriteVariations
Must have one of 'picture', 'pictures' or 'animations' defined.
picture
Type: Sprite
Must have one of 'picture', 'pictures' or 'animations' defined.
animations
Type: AnimationVariations
Must have one of 'picture', 'pictures' or 'animations' defined.