Skip to content

Upgrades

How many upgrade plugs the structure accepts.

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

Upgrades is the number of upgrade plugs a structure of this type can hold. A plug is a BuildingType with PowersUpBuilding naming this type. Each plug the structure holds adds its Power= and superweapon to the structure. A plug’s weapon replaces the structure’s weapon in the same slot; when several plugs carry one, the earliest plug installed wins. PowersUpToLevel covers a plug that fills several slots at once.

rules.ini
[MYPOWR] ; example power plant that accepts one turbine
Upgrades=1
[MYTURBINE] ; example turbine plug
PowersUpBuilding=MYPOWR
Power=50

The count also sets how many sets of PowerUp<n> art settings are read for the type, starting with PowerUp1Anim. Building animations covers where those settings go.

See also — power