IRepairRate
The interval between servicing steps inside a hospital, and an armory's promotion delay.
Specification
- Applies to
- global rules
- File
rules.ini- Section
[General]- Value
- floating point
- When omitted
.016
The count each building waits for is this value times 900, which is 14.4 at the default .016. A larger value keeps the occupant inside longer.
- A hospital heals one step each time its count reaches that figure, and releases the occupant once it is undamaged.
- An
Armory=yesbuilding promotes the occupant and releases it the first time its count reaches that figure.
The two buildings count at different speeds. A hospital’s count advances every frame, so the default .016 gives a step every 15 frames. An armory’s count advances once per update of its repair mission, which the Rate= of the [Repair] mission sets. At the default mission rate, the same .016 holds the occupant for about 210 frames.
Both building kinds share the setting, so neither can be tuned alone. Vehicle service depots use URepairRate instead.
See also — veterancy