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

No routine counts the defenses a computer house owns against a maximum. The number of defense placeholders in a plan follows from the build cost accumulated as the plan is assembled, and each placeholder is filled in later by the defense planner or deleted when it cannot be.