PreProductionAnim
The animation a structure runs while work is being set up on it.
Specification
- Applies to
- BuildingType
- File
art.ini- Section
[<Image ID>]Image ID: Image= value; ObjectType ID when omitted- Value
- string
- When omitted
(empty)
The slot runs an animation registered in [Animations], on the terms Building animations covers. Two kinds of structure use it. On a construction yard it is the lead-in that ProductionAnim replaces. On a refinery it runs alongside the production slot, and neither stops the other.
- Construction yard. A
ConstructionYard=yesstructure starts the slot when a newly placed structure reports to it that construction has begun. The yard picks the healthy or damaged name from its own health at that moment. The slot stops if contact with that structure drops. When the structure reports its buildup finished, the slot stops and the production slot starts. - Refinery. A
Harvester=yesvehicle starts the slot on the structure one cell west of it as it begins to unload, always in the healthy form. At a refinery’s dock, that structure is normally the refinery itself. No refinery event stops the slot; only selling or destroying the structure ends it. An animation that plays to its end leaves the slot empty until the next harvester unloads; a looping one runs for the rest of the structure’s life.
The two names come from the structure’s [<Image ID>] art entry. The offset and the two draw-order biases come from the entry named after the BuildingType itself, and are read only when the slot has a name. Where the settings are read covers that split. The slot has no power flags.