Skip to content

DefenseLimit

Parsed ceiling on defensive buildings that the engine never uses.

This setting has no runtime effect

The engine accepts and loads it, but no gameplay code uses the stored value.

Specification
Applies to
global rules
File
rules.ini
Section
[AI]
Value
integer
When omitted
40
Used by the game
No — loaded but not used

This value does not limit how many defensive structures a computer house builds. The number of defenses a computer house plans follows from the plan’s cost, the side’s defense settings and the difficulty. The defense planner later fills each defense placeholder, or deletes it when it cannot.