Skip to content

BuildConst

The construction yard BuildingType; only the first entry is read.

Specification
Applies to
global rules
File
rules.ini
Section
[AI]
Value
typelist
When omitted
(empty)

Entry 0 stands for the construction yard wherever the engine needs one, and entries after it are read by nothing. Only a building of that exact type counts towards a house’s construction yards, so a computer house that owns none builds no structures at all and ConstructionYard=yes on another type does not stand in for it. While the base plan is assembled, a Prerequisite naming that type counts as already met. A UnitType whose DeploysInto names it is the MCV a base-building computer house acts on: outside a campaign game it sends one out to hunt while it owns no construction yard, and it deploys one standing guard instead of leaving it there.

The engine reads entry 0 without checking that the list has one.

See alsoai-base-building