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.
[MYPOWR] ; example power plant that accepts one turbineUpgrades=1
[MYTURBINE] ; example turbine plugPowersUpBuilding=MYPOWRPower=50The 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