Prototype/CombatRobot: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(0.17)
(Set prototype parent)
Line 1: Line 1:
{{Prototype parent|Prototype/FlyingRobot}}
== Basics ==
== Basics ==
Prototype type: '''combat-robot'''
Prototype type: '''combat-robot'''

Revision as of 15:47, 24 July 2019

Template:Prototype parent

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