Prototype/Roboport: Difference between revisions
Line 88: | Line 88: | ||
{{Prototype property|charging_station_count|[[Types/uint32|uint32]]|0|optional=true}} | {{Prototype property|charging_station_count|[[Types/uint32|uint32]]|0|optional=true}} | ||
how many charging point this roboport has,if value is 0,roboport will try to use charging_offsets to know charging point instead. | |||
(in vanilla game,roboport charging point is defined by charging_offsets) | |||
{{Prototype property|charging_distance|[[Types/float|float]]|0.0|optional=true}} | {{Prototype property|charging_distance|[[Types/float|float]]|0.0|optional=true}} |
Revision as of 15:31, 9 October 2021
Template:Prototype parent A roboport.
Mandatory properties
This prototype inherits all the properties from Prototype/EntityWithHealth.
Template:Prototype property The roboport's energy source. Must be an electric or void energy source.
Template:Prototype property The amount of energy the roboport uses when idle.
Template:Prototype property The number of robot slots in the roboport.
Template:Prototype property The number of repair pack slots in the roboport.
Template:Prototype property The animation played when the roboport is idle.
Template:Prototype property The animation played at each charging point when a robot is charging there.
Template:Prototype property Presumably states the height of the charging stations and thus an additive offset for the charging_offsets.
Template:Prototype property the distance from the roboport at which robots will wait to charge. notablely,if robots are already in range,then it will simplely wait at spot.
Template:Prototype property Can't be negative.
Template:Prototype property Can't be negative.
Template:Prototype property The amount of energy that is given to a robot per tick.
Optional properties
Template:Prototype property The maximum circuit wire distance for this entity.
Template:Prototype property The light emitted when charging a robot.
Template:Prototype property how many charging point this roboport has,if value is 0,roboport will try to use charging_offsets to know charging point instead. (in vanilla game,roboport charging point is defined by charging_offsets)
Template:Prototype property The offset from the centre of the roboport at which robots will enter and exit.
Template:Prototype property Unused.
Template:Prototype property The offsets from the centre of the roboport at which robots will charge. Only used if charging_station_count is equal to zero.
Template:Prototype property
Must be >= logistics_radius
.