Prototype/Roboport

From Official Factorio Wiki
Revision as of 16:36, 25 October 2017 by Bilka (talk | contribs) (→‎working_sound: inherited from entity)
Jump to navigation Jump to search

Basics

A roboport. Based on Prototype/EntityWithHealth.

Properties

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.

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.