Prototype/SimpleEntityWithForce

From Official Factorio Wiki
Revision as of 16:55, 4 August 2019 by Bilka (talk | contribs) (whitespace)
Jump to navigation Jump to search

Prototype definitions » PrototypeBase » Prototype/Entity » Prototype/EntityWithHealth » Prototype/EntityWithOwner » Prototype/SimpleEntityWithOwner » Prototype/SimpleEntityWithForce


Basics

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

This prototype inherits all the properties from Prototype/EntityWithHealth.

render_layer

Type: Types/RenderLayer

Default: "object"

force_visibility

Type: Types/ForceCondition

Default: "all"

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.