Implements NumberOfDocks
and DockingOffset#
for BuildingTypes.
#790
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #786
This pull request implements
NumberOfDocks
andDockingOffset#
for BuildingTypes.NOTE1: This feature currently only applies to the following BuildingTypes;
- Structures with
Helipad=yes
, whereDockingOffset0
adjusts the docking position for aircraft. ANumberOfDocks
value greater than1
has no additional effect at this time.- Structures with
Refinery=yes
orWeeder=yes
, whereDockingOffset0
adjusts the docking position for the harvester. ANumberOfDocks
value greater than1
has no additional effect.NOTE2: The default docking coord is offset from the center of the building for the following BuildingTypes;
-
Refinery=yes
is offset by 128 leptons on the x-axis.-
Weeder=yes
is offset by 512 leptons on the x-axis, and 256 leptons on the y-axis[BuildingType]
(RULES.INI
)NumberOfDocks=<integer>
- The number of docking locations this building has. Defaults to1
for buildings withHelipad=yes
, and0
for all other buildings.[Image]
(ART.INI
)DockingOffset#=<X,Y,Z>
- The coord offset from the center of the building for the respective docking location. This list must contain the same number of entries as defined byNumberOfDocks
, with#
being replaced by the docking position starting from zero. Each entry defaults to0,0,0
.