UnitReload
Makes the building rearm the object docked with it, one ammunition point at a time.
- Applies to
- BuildingType
- File
rules.ini- Section
[<ObjectType ID>]- Value
- boolean
- When omitted
no
UnitReload=yes makes a building rearm the object docked with it. The object gains one point of Ammo every ReloadRate interval until its ammunition is full. Rearming is free and repairs nothing.
A helipad rearms the aircraft that land on it only if it also sets this flag.
A building with both UnitReload=yes and UnitRepair=yes repairs and never gives the one-point rearming, because the building runs only the first service its flags match. Such a depot still refills a ManualReload=yes object for free.
When another aircraft asks to dock, a parked aircraft with full ammunition moves to a nearby cell to make room for it. Otherwise the parked object keeps its place and the building refuses the newcomer.