Dock
BuildingTypes an object returns to for docking.
- Applies to
- AircraftTypeBuildingTypeInfantryTypeUnitType
- File
rules.ini- Section
[<ObjectType ID>]- Value
- list of BuildingTypes
- When omitted
none
Dock lists the structure types a harvester unloads at and an aircraft lands at. When they choose a structure themselves, both pick only structures their house owns.
A harvester or weeder keeps its harvest mission only while its house owns at least one structure of a listed type. If the house owns none, or the list is empty, it switches to guard.
A harvester with a load to deliver heads for the nearest structure of any listed type that its house owns and that can take it. List order matters only between two equally distant structures, where the earlier type wins. Unloading covers the preference for a primary structure and when a harvester waits at a busy one instead.
A harvester or weeder sent to a structure of the first listed type enters it when that structure belongs to its house or to a house allied with it both ways.
An aircraft that returns to rearm or to land checks the listed types in order. It goes to a structure of the first listed type that can take it. It tries the next type only when no structure of the earlier types can. When no structure of any listed type can take it, it can instead land near one of its house’s structures, where a structure of the first listed type counts as four times closer than any other. Landable covers when an aircraft lands.
The type listed first in the Dock of the first PadAircraft= aircraft has the average pad-aircraft price deducted from its Cost= to form its reduced price. This does not apply with SeparateAircraft=yes, or when that type’s FreeUnit= is an aircraft. What a structure gives away explains what the reduced price changes.
History
- Changed0.2.0In development
- Changed0.2.0In development