Skip to content

RepairBay

Changed in 0.1.0

The BuildingType a vehicle or aircraft heads for when it is ordered to be repaired.

Specification
Applies to
global rules
File
rules.ini
Section
[General]
Value
class
When omitted
none

The match is on the exact type: a repair order looks for the nearest building of this type belonging to the ordering house or an ally, reachable in the same movement zone for a ground unit, and willing to take the object in. A computer house’s damaged aircraft use the same search. No repair order names any other destination, so the player reaches a second depot type only by driving a vehicle onto it — though a computer vehicle’s automatic search covers every UnitRepair=yes building regardless of this setting.

Whether the building can actually repair anything is UnitRepair’s business. A type named here without that flag turns every arrival away, and a unit ordered to repair keeps searching for as long as its house owns one of them.

This setting does not decide whether a selected player-controlled aircraft can enter a clicked building. That direct action accepts any idle, empty UnitRepair=yes building or helipad. Repair orders and a computer house’s damaged-aircraft search still use the type named here.

See alsorepair

History

  1. Changed0.1.0In development

    Use repair capability for player aircraft actions