Prototype/CombatRobot: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Set prototype parent)
(Converted to SMW format)
Line 1: Line 1:
{{Prototype parent|Prototype/FlyingRobot}}
{{Prototype parent|Prototype/FlyingRobot}}
A combat robot. Can attack enemies.


== Basics ==
{{Prototype TOC|combat-robot}}
Prototype type: '''combat-robot'''


A combat robot. Can attack enemies. Extends the [[Prototype/FlyingRobot]]
== Mandatory properties ==
== Mandatory properties ==
This prototype inherits all the properties from [[Prototype/FlyingRobot]].
This prototype inherits all the properties from [[Prototype/FlyingRobot]].


=== time_to_live ===
{{Prototype property|time_to_live|[[Types/uint32|uint32]]}}
'''Type''': [[Types/uint32]]


=== attack_parameters ===
{{Prototype property|attack_parameters|[[Types/AttackParameters|AttackParameters]]}}
'''Type''': [[Types/AttackParameters]]


=== idle ===
{{Prototype property|idle|[[Types/RotatedAnimation|RotatedAnimation]]}}
'''Type''': [[Types/RotatedAnimation]]


=== shadow_idle ===
{{Prototype property|shadow_idle|[[Types/RotatedAnimation|RotatedAnimation]]}}
'''Type''': [[Types/RotatedAnimation]]


=== in_motion ===
{{Prototype property|in_motion|[[Types/RotatedAnimation|RotatedAnimation]]}}
'''Type''': [[Types/RotatedAnimation]]


=== shadow_in_motion ===
{{Prototype property|shadow_in_motion|[[Types/RotatedAnimation|RotatedAnimation]]}}
'''Type''': [[Types/RotatedAnimation]]


== Optional properties ==
== Optional properties ==


=== range_from_player ===
{{Prototype property|range_from_player|[[Types/double|double]]|0|optional=true}}
'''Type''': [[Types/double]]


'''Default''': 0
{{Prototype property|friction|[[Types/double|double]]|0|optional=true}}


=== friction ===
{{Prototype property|destroy_action|[[Types/Trigger|Trigger]]|optional=true}}
'''Type''': [[Types/double]]


'''Default''': 0
{{Prototype property|follows_player|[[Types/bool|bool]]|false|optional=true}}


=== destroy_action ===
{{Prototype property|light|[[Types/LightDefinition|LightDefinition]]|optional=true}}
'''Type''': [[Types/Trigger]]
 
=== follows_player ===
'''Type''': [[Types/bool]]
 
'''Default''': false
 
=== light ===
'''Type''': [[Types/LightDefinition]]

Revision as of 21:16, 29 July 2019