Prototype/Roboport

From Official Factorio Wiki
Revision as of 09:34, 13 August 2017 by Bilka (talk | contribs) (→‎Properties: corrected some values, added charging_energy)
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.

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.