Skip to content

RepairRate

The interval between structure repair steps, and the interval self-healing falls back to.

Specification
Applies to
global rules
File
rules.ini
Section
[General]
Value
floating point
When omitted
.016
rules.ini
[General]
RepairRate=.1 ; one repair step every 90 frames

A structure under repair gains one repair step per interval, and this key sets the interval. The value is a fraction of a minute: the game multiplies it by 900 frames and truncates, so the default gives one step every 14 frames. Steps fall on fixed frames of the game clock, not on a count from when each repair started, so every structure under repair steps on the same frames. The repair tick describes each step.

Self-healing uses the same interval unless another key sets one: SelfHealRate for every type, or SelfHealingRate for one type. A service depot uses URepairRate instead, and a hospital or armory uses IRepairRate.

See also — SelfHealRate, repair