UnitRepair
Changed in 0.1.0
Makes the building take in one vehicle or aircraft at a time and repair it for credits.
Specification
- Applies to
- BuildingType
- File
rules.ini- Section
[<ObjectType ID>]- Value
- boolean
- When omitted
no
UnitRepair=yes makes a building a service depot. It takes in one vehicle or aircraft at a time and repairs it step by step, charging credits for each step. The repair cycle covers the steps and their cost.
The flag also has these effects:
- The player’s selected vehicles and aircraft get the enter cursor over the depot. A helipad offers that cursor to aircraft without this flag.
- A computer house sends its damaged vehicles to its nearest
UnitRepairbuilding, under the conditions in Reaching the pad. - A vehicle or aircraft parked on the depot can be sold where it stands.
The flag is independent of RepairBay, which names the one building type that repair orders look for. A depot that RepairBay does not name still serves whatever reaches it. A RepairBay type without this flag refuses the vehicles sent to it.
See also — repair