Prototype/Roboport: Difference between revisions
(Capitalization and spaces after '.' and ',') |
|||
Line 41: | Line 41: | ||
{{Prototype property|charge_approach_distance|[[Types/float|float]]}} | {{Prototype property|charge_approach_distance|[[Types/float|float]]}} | ||
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. | |||
{{Prototype property|logistics_radius|[[Types/float|float]]}} | {{Prototype property|logistics_radius|[[Types/float|float]]}} | ||
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) | (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}} | ||
Line 96: | Line 96: | ||
{{Prototype property|charging_threshold_distance|[[Types/float|float]]|1.0|optional=true}} | {{Prototype property|charging_threshold_distance|[[Types/float|float]]|1.0|optional=true}} | ||
Unused.(only used in [[Prototype/RoboportEquipment|personal roboport]]) | Unused. (only used in [[Prototype/RoboportEquipment|personal roboport]]) | ||
{{Prototype property|robot_vertical_acceleration|[[Types/float|float]]|0.01|optional=true}} | {{Prototype property|robot_vertical_acceleration|[[Types/float|float]]|0.01|optional=true}} | ||
Line 104: | Line 104: | ||
{{Prototype property|robot_limit|[[Types/ItemCountType|ItemCountType]]|max uint|optional=true}} | {{Prototype property|robot_limit|[[Types/ItemCountType|ItemCountType]]|max uint|optional=true}} | ||
Unused.(only used in [[Prototype/RoboportEquipment|personal roboport]]) | Unused. (only used in [[Prototype/RoboportEquipment|personal roboport]]) | ||
{{Prototype property|robots_shrink_when_entering_and_exiting|[[Types/bool|bool]]|false|optional=true}} | {{Prototype property|robots_shrink_when_entering_and_exiting|[[Types/bool|bool]]|false|optional=true}} |
Revision as of 09:50, 11 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 Unused. (only used in personal roboport)
Template:Prototype property The offset from the centre of the roboport at which robots will enter and exit.
Template:Prototype property Unused. (only used in personal roboport)
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
.