Prototype/CombatRobot: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Added prototype type to page)
(0.17)
Line 3: Line 3:


A combat robot. Can attack enemies. Extends the [[Prototype/FlyingRobot]]
A combat robot. Can attack enemies. Extends the [[Prototype/FlyingRobot]]
== Properties ==
== Mandatory properties ==
=== range_from_player ===
This prototype inherits all the properties from [[Prototype/FlyingRobot]].
'''Type''': [[Types/double]]
 
'''Default''': 0
 
=== friction ===
'''Type''': [[Types/double]]
 
'''Default''': 0


=== time_to_live ===
=== time_to_live ===
'''Type''': [[Types/uint32]]
'''Type''': [[Types/uint32]]
=== destroy_action ===
'''Type''': [[Types/Trigger]]


=== attack_parameters ===
=== attack_parameters ===
'''Type''': [[Types/AttackParameters]]
'''Type''': [[Types/AttackParameters]]
=== follows_player ===
'''Type''': [[Types/bool]]
'''Default''': false


=== idle ===
=== idle ===
Line 39: Line 23:
=== shadow_in_motion ===
=== shadow_in_motion ===
'''Type''': [[Types/RotatedAnimation]]
'''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 ===
=== light ===
'''Type''': [[Types/LightDefinition]]
'''Type''': [[Types/LightDefinition]]

Revision as of 14:02, 27 March 2019

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