Prototype/FlyingRobot: 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/EntityWithHealth}}
{{Prototype parent|Prototype/EntityWithHealth}}
Abstract base for construcion/logistics and combat robots.


== Basics ==
{{Prototype TOC|''abstract''}}
This type is abstract and cannot be created directly.
 
Abstract base for construcion/logistics and combat robots.
Extends the [[Prototype/EntityWithHealth]]


== Extensions ==
== Extensions ==
Line 15: Line 12:
== Mandatory properties ==
== Mandatory properties ==
Inherits all properties from [[Prototype/EntityWithHealth]].
Inherits all properties from [[Prototype/EntityWithHealth]].
=== speed ===
 
'''Type''': [[Types/double]]
{{Prototype property|speed|[[Types/double|double]]}}


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


=== max_energy ===
{{Prototype property|max_energy|[[Types/Energy|Energy]]|0|optional=true}}
'''Type''': [[Types/Energy]]
 
'''Default''': 0
 
How much energy can be stored in the batteries.
How much energy can be stored in the batteries.


=== energy_per_move ===
'''Type''': [[Types/Energy]]
'''Default''': 0


{{Prototype property|energy_per_move|[[Types/Energy|Energy]]|0|optional=true}}
How much does it cost to move 1 meter.
How much does it cost to move 1 meter.


=== energy_per_tick ===
{{Prototype property|energy_per_tick|[[Types/Energy|Energy]]|0|optional=true}}
'''Type''': [[Types/Energy]]
 
'''Default''': 0
 
=== min_to_charge ===
'''Type''': [[Types/float]]
 
'''Default''': 0.2


{{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.
The robot will always go to charge when it has less energy than this.


=== max_to_charge ===
{{Prototype property|max_to_charge|[[Types/float|float]]|0.95|optional=true}}
'''Type''': [[Types/float]]
 
'''Default''': 0.95
 
The robot will never go to charge when it has more energy than this.
The robot will never go to charge when it has more energy than this.


=== speed_multiplier_when_out_of_energy ===
{{Prototype property|speed_multiplier_when_out_of_energy|[[Types/float|float]]|0|optional=true}}
'''Type''': [[Types/float]]
 
'''Default''': 0
 
Some robots simply crash, some slowdown but keep going. 0 means crash.
Some robots simply crash, some slowdown but keep going. 0 means crash.

Revision as of 21:14, 29 July 2019

Template:Prototype parent Abstract base for construcion/logistics and combat robots.

Template:Prototype TOC

Extensions

Mandatory properties

Inherits all properties from Prototype/EntityWithHealth.

Template:Prototype property

Optional properties

Template:Prototype property How much energy can be stored in the batteries.


Template:Prototype property How much does it cost to move 1 meter.

Template:Prototype property

Template:Prototype property The robot will always go to charge when it has less energy than this.

Template:Prototype property The robot will never go to charge when it has more energy than this.

Template:Prototype property Some robots simply crash, some slowdown but keep going. 0 means crash.