Prototype/Roboport: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(added working_sound)
(Removed old prototype docs)
Tag: Replaced
 
(26 intermediate revisions by 7 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_source ===
Type: [[Types/EnergySource]]
 
The roboport's electric energy source. Normal roboports have a buffer_capacity of 100MJ and an input_flow_limit of 5MW.
 
=== recharge_minimum ===
Type: [[Types/EnergyAmount]]
 
Unknown.
 
=== energy_usage ===
Type: [[Types/EnergyPower]]
 
The amount of energy the roboport uses when idle.
 
=== charging_energy ===
Type: [[Types/EnergyPower]]
 
The amount of energy that is given to a robot per tick.
=== 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.
 
=== working_sound ===
Type: [[Types/WorkingSound]]
 
Sound to play while the roboport is in use.
 
=== request_to_open_door_timeout ===
Type: [[Types/double]]
 
Unknown.
 
=== spawn_and_station_height ===
Type: [[Types/double]]
 
Presumably states the height of the charging stations and thus an additive offset for the charging_offsets.
 
=== draw_logistic_radius_visualization ===
Type: [[Types/bool]]
 
Whether to display the radius_visualisation_picture for this roboport. Optional, default is true.
 
=== draw_construction_radius_visualization ===
Type: [[Types/bool]]
 
Whether to display the construction_radius_visualisation_picture for this roboport. Optional, default is true.

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.