Prototype/Roboport: Difference between revisions
Duoduoyaomy (talk | contribs) No edit summary |
|||
Line 5: | Line 5: | ||
This prototype inherits all the properties from [[Prototype/EntityWithHealth]]. | This prototype inherits all the properties from [[Prototype/EntityWithHealth]]. | ||
=== | === energy_source === | ||
Type: [[Types/EnergyPower]] | Type: [[Types/EnergyPower]] | ||
Revision as of 18:30, 26 July 2017
Basics
A roboport. Based on Prototype/EntityWithHealth.
Properties
This prototype inherits all the properties from Prototype/EntityWithHealth.
energy_source
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.