Skip to content

AIBuildThis

Allows a computer house to put the BuildingType into the base plan it generates.

Specification
Applies to
BuildingType
File
rules.ini
Section
[<ObjectType ID>]
Value
boolean
When omitted
no

AIBuildThis=yes makes the BuildingType a candidate when a computer house generates a base plan. A candidate still has to pass the plan’s other tests, such as Owner, TechLevel and its prerequisites.

The flag controls only that list of candidates. The planner adds these types whether or not they set it:

  • the first BuildPower entry the house’s country may own;
  • the first AIWallTowers entry of the house’s side that its country may own;
  • the base defenses chosen to fill placeholder nodes.

The flag has no effect on a house that follows a node list supplied by the scenario. AIBuildThis=no does not stop a player, a trigger or a team from building the type.

See also — ai-base-building