Prototype/Roboport: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Created page. Need info on request_to_open_door_timeout and spawn_and_station_height.)
 
(Removed old prototype docs)
Tag: Replaced
 
(33 intermediate revisions by 9 users not shown)
Line 1: Line 1:
== Basics ==
<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/RoboportPrototype.html https://lua-api.factorio.com/latest/prototypes/RoboportPrototype.html]
A [[roboport]]. Based on [[Prototype/EntityWithHealth]].


== Properties ==
</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>
This prototype inherits all the properties from [[Prototype/EntityWithHealth]].
 
=== energy_usage ===
Type: [[Types/EnergyPower]]
 
The roboport's energy source. Normal roboports have a buffer_capacity of 48KJ and an input_flow_limit of 2KW.
 
=== recharge_minimum ===
Type: [[Types/EnergyAmount]]
 
Unknown.
 
=== energy_usage ===
Type: [[Types/EnergyPower]]
 
The amount of energy the roboport uses when idle.
 
=== radius ===
Type: [[Types/unsigned]]
 
The "radius" of the area the roboport covers. If this is 25, the roboport will cover a 50X50 area.
 
=== charge_approach_distance ===
Type: [[Types/double]]
 
Presumably, the distance from the roboport at which robots will wait to charge.
 
=== robot_slots_count ===
Type: [[Types/unsigned]]
 
The number of robot slots in the roboport.
 
 
=== material_slots_count ===
Type: [[Types/unsigned]]
 
The number of repair pack slots in the roboport.
 
=== stationing_offset ===
Type: [[Types/vector]]
 
The offset from the centre of the roboport at which robots will enter and exit.
 
=== charging_offsets ===
Type: List of [[Types/vector]]
 
The offsets from the centre of the roboport at which robots will charge.
 
=== base_animation ===
Type: [[Types/Animation]]
 
The animation played when the roboport is idle.
 
=== door_animation ===
Type: [[Types/Animation]]
 
The animation played when robots enter or leave the roboport. It plays forwards to open the door, and backwards to close the door.
 
=== recharging_animation ===
Type: [[Types/Animation]]
 
The animation played at each charging point when a robot is charging there.
 
=== recharging_light ===
Type: [[Types/Light]]
 
The light emitted when charging a robot.
 
=== request_to_open_door_timeout ===
Type: [[Types/double]]
 
Unknown.
 
=== spawn_and_station_height ===
Type: [[Types/double]]
 
Unknown.
 
=== radius_visualization_picture ===
Type: [[Types/Sprite]]
 
This sprite will be displayed on every tile in range of the roboport when the cursor is over the roboport, when placing a roboport and when placing a logistics chest.

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