Prototype/RoboportEquipment: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Set prototype parent)
(Removed old prototype docs)
 
(13 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Prototype parent|Prototype/Equipment}}
<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/RoboportEquipmentPrototype.html https://lua-api.factorio.com/latest/prototypes/RoboportEquipmentPrototype.html]


== Basics ==
</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>
Prototype type: '''roboport-equipment'''
 
Extends [[Prototype/Equipment]].
 
== Mandatory properties ==
This prototype inherits all the properties from [[Prototype/Equipment]]. requiresLogisticsRadius = false
 
=== recharging_animation ===
'''Type''': [[Types/Animation]]
 
The animation played at each charging point when a robot is charging there.
 
=== spawn_and_station_height ===
'''Type''': [[Types/float]]
 
Presumably states the height of the charging stations and thus an additive offset for the charging_offsets.
 
=== charge_approach_distance ===
'''Type''': [[Types/float]]
 
Presumably, the distance from the roboport at which robots will wait to charge.
 
=== construction_radius ===
'''Type''': [[Types/float]]
 
Can't be negative.
 
=== charging_energy ===
'''Type''': [[Types/Energy]]
 
== Optional properties ==
 
=== spawn_and_station_shadow_height_offset ===
'''Type''': [[Types/float]]
 
'''Default''': 0
 
=== draw_logistic_radius_visualization ===
'''Type''': [[Types/bool]]
 
'''Default''': true
 
=== draw_construction_radius_visualization ===
'''Type''': [[Types/bool]]
 
'''Default''': true
 
=== recharging_light ===
'''Type''': [[Types/LightDefinition]]
 
The light emitted when charging a robot.
 
=== charging_station_count ===
'''Type''': [[Types/uint32]]
 
'''Default''': 0
 
=== charging_distance ===
'''Type''': [[Types/float]]
 
'''Default''': 0.0
 
=== charging_station_shift ===
'''Type''': [[Types/vector]]
 
=== charging_threshold_distance ===
'''Type''': [[Types/float]]
 
'''Default''': 1.0
 
=== robot_vertical_acceleration ===
'''Type''': [[Types/float]]
 
'''Default''': 0.01
 
=== stationing_offset ===
'''Type''': [[Types/vector]]
 
The offset from the centre of the roboport at which robots will enter and exit.
 
=== robot_limit ===
'''Type''': [[Types/ItemCountType]]
 
'''Default''': max uint
 
How many robots can exist in the network (cumulative).
 
=== robots_shrink_when_entering_and_exiting ===
'''Type''': [[Types/bool]]
 
'''Default''': false
 
=== charging_offsets ===
'''Type''': [[Types/table]] of [[Types/vector]]
 
The offsets from the centre of the roboport at which robots will charge.

Latest revision as of 14:33, 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/RoboportEquipmentPrototype.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.