Prototype/CombatRobot

From Official Factorio Wiki
Revision as of 15:47, 24 July 2019 by Bilka (talk | contribs) (Set prototype parent)
Jump to navigation Jump to search

Prototype definitions » PrototypeBase » Prototype/Entity » Prototype/EntityWithHealth » Prototype/EntityWithOwner » Prototype/FlyingRobot » Prototype/CombatRobot


Basics

Prototype type: combat-robot

A combat robot. Can attack enemies. Extends the Prototype/FlyingRobot

Mandatory properties

This prototype inherits all the properties from Prototype/FlyingRobot.

time_to_live

Type: Types/uint32

attack_parameters

Type: Types/AttackParameters

idle

Type: Types/RotatedAnimation

shadow_idle

Type: Types/RotatedAnimation

in_motion

Type: Types/RotatedAnimation

shadow_in_motion

Type: Types/RotatedAnimation

Optional properties

range_from_player

Type: Types/double

Default: 0

friction

Type: Types/double

Default: 0

destroy_action

Type: Types/Trigger

follows_player

Type: Types/bool

Default: false

light

Type: Types/LightDefinition