Prototype/FlyingRobot: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Converted to SMW format)
(Removed old prototype docs)
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Prototype parent|Prototype/EntityWithHealth}}
<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/FlyingRobotPrototype.html https://lua-api.factorio.com/latest/prototypes/FlyingRobotPrototype.html]
Abstract base for construcion/logistics and combat robots.


{{Prototype TOC|''abstract''}}
</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>
 
== Extensions ==
* [[Prototype/CombatRobot]] '''combat-robot'''
* [[Prototype/RobotWithLogisticInterface]] <abstract>
** [[Prototype/ConstructionRobot]] '''construction-robot'''
** [[Prototype/LogisticRobot]] '''logistic-robot'''
 
== Mandatory properties ==
Inherits all properties from [[Prototype/EntityWithHealth]].
 
{{Prototype property|speed|[[Types/double|double]]}}
 
== Optional properties ==
 
{{Prototype property|max_energy|[[Types/Energy|Energy]]|0|optional=true}}
How much energy can be stored in the batteries.
 
 
{{Prototype property|energy_per_move|[[Types/Energy|Energy]]|0|optional=true}}
How much does it cost to move 1 meter.
 
{{Prototype property|energy_per_tick|[[Types/Energy|Energy]]|0|optional=true}}
 
{{Prototype property|min_to_charge|[[Types/float|float]]|0.2|optional=true}}
The robot will always go to charge when it has less energy than this.
 
{{Prototype property|max_to_charge|[[Types/float|float]]|0.95|optional=true}}
The robot will never go to charge when it has more energy than this.
 
{{Prototype property|speed_multiplier_when_out_of_energy|[[Types/float|float]]|0|optional=true}}
Some robots simply crash, some slowdown but keep going. 0 means crash.

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/FlyingRobotPrototype.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.