Abstract docking logic from Harvester and Refinery

This commit is contained in:
Gustas
2023-01-24 19:33:42 +02:00
committed by Matthias Mailänder
parent da16e4ed99
commit d0974cfdd2
22 changed files with 1016 additions and 358 deletions

View File

@@ -589,8 +589,10 @@ NAWAST:
Range: 6c0
MaxHeightDelta: 3
Refinery:
DockHost:
Type: UnloadWeed
DockAngle: 640
DockOffset: 2,1
DockOffset: 724,724,0
StoresResources:
Capacity: 56
Power:

View File

@@ -351,7 +351,7 @@ WEED:
Prerequisites: ~naweap, nawast, ~techlevel.superweapons
Description: Collects veins for processing.\n Unarmed
Harvester:
DeliveryBuildings: nawast
Type: UnloadWeed
Capacity: 7
Resources: Veins
BaleUnloadDelay: 20
@@ -359,7 +359,8 @@ WEED:
SearchFromProcRadius: 72
SearchFromHarvesterRadius: 36
HarvestVoice: Attack
DeliverVoice: Move
DockClientManager:
Voice: Move
Mobile:
Speed: 71
TurnSpeed: 20

View File

@@ -120,9 +120,11 @@ PROC:
Range: 6c0
MaxHeightDelta: 3
Refinery:
DockAngle: 640
DockOffset: 2,1
DiscardExcessResources: true
DockHost:
Type: Unload
DockAngle: 640
DockOffset: 362,362,0
StoresResources:
Capacity: 2000
CustomSellValue:

View File

@@ -59,7 +59,6 @@ HARV:
Bounds: 1086, 2172
DecorationBounds: 1086, 2172
Harvester:
DeliveryBuildings: proc
Capacity: 28
Resources: Tiberium, BlueTiberium
BaleLoadDelay: 15
@@ -68,8 +67,9 @@ HARV:
SearchFromProcRadius: 36
SearchFromHarvesterRadius: 18
HarvestVoice: Attack
DeliverVoice: Move
EmptyCondition: no-tiberium
DockClientManager:
Voice: Move
Mobile:
Speed: 71
Health: