Skip to content

MaximumAIDefensiveTeams

The number of defensive teams above which a house passes over its defensive AI triggers, one entry per difficulty.

Specification
Applies to
global rules
File
rules.ini
Section
[General]
Value
list of integers
When omitted
(empty)The list stays empty and the difficulty slot is used to index it anyway, reading storage that was never allocated.

A house passes over its defensive AI triggers while it owns more defensive teams than its entry. A defensive team is one made from an IsBaseDefense=yes TeamType. The comparison is strict, so an entry of 2 stops defensive triggers only once the house owns three defensive teams.

The limit deletes no team, and it holds only for the current AI trigger pass; the next pass counts again. It is tested only while the house has fewer teams than TotalAITeamCap, or fewer defensive teams than half its team count, rounded down. Otherwise the team budget deletes the house’s oldest defensive team instead.

Each house reads the entry for its difficulty slot. For a computer house, entry 0 applies at the Hard setting and entry 2 at Easy.