Skip to content

Ammo

The number of shots a runtime instance holds, or the number of visitors a hospital or armory can admit.

Specification
Applies to
AircraftTypeBuildingTypeInfantryTypeUnitType
File
rules.ini
Section
[<ObjectType ID>]
Value
integer
When omitted
-1

Each object starts with a full pool of shots. Firing spends one shot, and an object whose pool is exactly zero cannot fire. A pool that starts below zero never reaches zero, so the default of -1 gives an unlimited supply. Ammo=0 leaves the object unable to fire at all.

How an empty pool refills depends on the object:

  • A structure refills its whole pool as soon as it empties. Hospitals and armories are the exception described below.
  • A vehicle or aircraft docked at a UnitReload=yes building regains one shot at a time. A ManualReload=yes vehicle can also refill its whole pool for free at a service depot.
  • A NoMovingFire=yes vehicle also regains one shot at a time while it stands still.
  • An infantryman refills its whole pool when its fear wears off. A FraidyCat=yes infantryman panics as it fires its last shot, so it recovers once it calms down. Other infantry stay empty until damage frightens them and they calm down again. A Fearless=yes or Doggie=yes infantryman never refills.

On a Hospital=yes or Armory=yes structure the value counts visits instead of shots. Each infantryman the building admits spends one point, the pool never refills, and the building turns visitors away once it reaches zero. Leaving the key unset gives exactly one visit. Hospitals and armories covers the admission.

See also — repair