Prototype/CombatRobot: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(destroy_action description)
(Removed old prototype docs)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Prototype parent|Prototype/FlyingRobot}}
<div class="stub"><p>'''The prototype docs have moved to a new website with an improved format.''' This documentation page can now be found here: [https://lua-api.factorio.com/latest/prototypes/CombatRobotPrototype.html https://lua-api.factorio.com/latest/prototypes/CombatRobotPrototype.html]
A combat robot. Can attack enemies.


{{Prototype TOC|combat-robot}}
</p><p>This wiki page is no longer updated and '''will be removed at some point in the future''', so please update your browser bookmarks or other links that sent you here. If you'd like to contribute to the new docs, you can leave your feedback [https://forums.factorio.com/viewforum.php?f=233 on the forums].</p></div>
 
== Mandatory properties ==
This prototype inherits all the properties from [[Prototype/FlyingRobot]].
 
{{Prototype property|time_to_live|[[Types/uint32|uint32]]}}
 
{{Prototype property|attack_parameters|[[Types/AttackParameters|AttackParameters]]}}
 
{{Prototype property|idle|[[Types/RotatedAnimation|RotatedAnimation]]}}
 
{{Prototype property|shadow_idle|[[Types/RotatedAnimation|RotatedAnimation]]}}
 
{{Prototype property|in_motion|[[Types/RotatedAnimation|RotatedAnimation]]}}
 
{{Prototype property|shadow_in_motion|[[Types/RotatedAnimation|RotatedAnimation]]}}
 
== Optional properties ==
 
{{Prototype property|range_from_player|[[Types/double|double]]|0|optional=true}}
 
{{Prototype property|friction|[[Types/double|double]]|0|optional=true}}
 
{{Prototype property|destroy_action|[[Types/Trigger|Trigger]]|optional=true}}
Applied when the combat robot expires (runs out of time_to_live).
 
{{Prototype property|follows_player|[[Types/bool|bool]]|false|optional=true}}
 
{{Prototype property|light|[[Types/LightDefinition|LightDefinition]]|optional=true}}

Latest revision as of 14:32, 25 October 2024

The prototype docs have moved to a new website with an improved format. This documentation page can now be found here: https://lua-api.factorio.com/latest/prototypes/CombatRobotPrototype.html

This wiki page is no longer updated and will be removed at some point in the future, so please update your browser bookmarks or other links that sent you here. If you'd like to contribute to the new docs, you can leave your feedback on the forums.