Extract StoresResources from Harvester

This commit is contained in:
Gustas
2023-03-22 22:31:05 +02:00
committed by Matthias Mailänder
parent 60a446123b
commit d427072cc9
20 changed files with 277 additions and 100 deletions

View File

@@ -219,7 +219,7 @@
red: pip-red
^StoresResources:
StoresResources:
StoresPlayerResources:
WithResourceStoragePipsDecoration:
Position: BottomLeft
Margin: 4, 3

View File

@@ -247,7 +247,7 @@ PROC:
IsDragRequired: True
DragOffset: -554,512,0
DragLength: 12
StoresResources:
StoresPlayerResources:
Capacity: 1000
Selectable:
Bounds: 3072, 2389
@@ -291,7 +291,7 @@ SILO:
-WithSpriteBody:
WithResourceLevelSpriteBody:
Sequence: stages
StoresResources:
StoresPlayerResources:
Capacity: 3000
-SpawnActorsOnSell:
Power:

View File

@@ -56,13 +56,15 @@ HARV:
DecorationBounds: 1536, 1536
Harvester:
Resources: Tiberium, BlueTiberium
Capacity: 20
BaleLoadDelay: 12
BaleUnloadDelay: 6
SearchFromProcRadius: 15
SearchFromHarvesterRadius: 8
HarvestFacings: 8
EmptyCondition: no-tiberium
StoresResources:
Capacity: 20
Resources: Tiberium, BlueTiberium
DockClientManager:
Mobile:
Speed: 72
@@ -89,7 +91,7 @@ HARV:
Explodes:
RequiresCondition: !no-tiberium
Weapon: TiberiumExplosion
WithHarvesterPipsDecoration:
WithStoresResourcesPipsDecoration:
Position: BottomLeft
Margin: 4, 3
RequiresSelection: true

View File

@@ -287,7 +287,7 @@ refinery:
Type: Unload
DockAngle: 640
DockOffset: 1c0,512,0
StoresResources:
StoresPlayerResources:
Capacity: 2000
CustomSellValue:
Value: 500
@@ -357,7 +357,7 @@ silo:
-WithSpriteBody:
WithResourceLevelSpriteBody:
Sequence: stages
StoresResources:
StoresPlayerResources:
Capacity: 2000
-SpawnActorsOnSell:
Power:

View File

@@ -70,12 +70,14 @@ harvester:
Class: harvester
DecorationBounds: 1344, 1344
Harvester:
Capacity: 28
HarvestFacings: 8
Resources: Spice
BaleUnloadDelay: 5
SearchFromProcRadius: 30
SearchFromHarvesterRadius: 15
StoresResources:
Capacity: 28
Resources: Spice
DockClientManager:
CarryableHarvester:
Health:
@@ -107,7 +109,7 @@ harvester:
Delay: 3
StartIfBelow: 50
-RevealOnFire:
WithHarvesterPipsDecoration:
WithStoresResourcesPipsDecoration:
Position: BottomLeft
Margin: 1, 4
RequiresSelection: true

View File

@@ -1290,7 +1290,7 @@ PROC:
Type: Unload
DockAngle: 256
DockOffset: 0, 1c0, 0
StoresResources:
StoresPlayerResources:
Capacity: 2000
CustomSellValue:
Value: 300
@@ -1375,7 +1375,7 @@ SILO:
-WithSpriteBody:
WithResourceLevelSpriteBody:
Sequence: stages
StoresResources:
StoresPlayerResources:
Capacity: 3000
-SpawnActorsOnSell:
Power:

View File

@@ -320,13 +320,15 @@ HARV:
Selectable:
DecorationBounds: 1792, 1792
Harvester:
Capacity: 20
Resources: Ore,Gems
BaleUnloadDelay: 1
SearchFromProcRadius: 15
SearchFromHarvesterRadius: 8
HarvestFacings: 8
EmptyCondition: no-ore
StoresResources:
Capacity: 20
Resources: Ore,Gems
DockClientManager:
Health:
HP: 60000
@@ -357,7 +359,7 @@ HARV:
WithHarvesterSpriteBody:
ImageByFullness: harvempty, harvhalf, harv
-WithFacingSpriteBody:
WithHarvesterPipsDecoration:
WithStoresResourcesPipsDecoration:
Position: BottomLeft
Margin: 4, 3
RequiresSelection: true

View File

@@ -593,7 +593,7 @@ NAWAST:
Type: UnloadWeed
DockAngle: 640
DockOffset: 724,724,0
StoresResources:
StoresPlayerResources:
Capacity: 56
Power:
Amount: -40

View File

@@ -352,13 +352,15 @@ WEED:
Description: Collects veins for processing.\n Unarmed
Harvester:
Type: UnloadWeed
Capacity: 7
Resources: Veins
BaleUnloadDelay: 20
BaleLoadDelay: 40
SearchFromProcRadius: 72
SearchFromHarvesterRadius: 36
HarvestVoice: Attack
StoresResources:
Capacity: 7
Resources: Veins
DockClientManager:
Voice: Move
Mobile:
@@ -381,7 +383,7 @@ WEED:
WithVoxelUnloadBody:
-DamagedByTerrain@VEINS:
-LeavesTrails@VEINS:
WithHarvesterPipsDecoration:
WithStoresResourcesPipsDecoration:
Position: BottomLeft
RequiresSelection: true
Margin: 5, 2

View File

@@ -125,7 +125,7 @@ PROC:
Type: Unload
DockAngle: 640
DockOffset: 362,362,0
StoresResources:
StoresPlayerResources:
Capacity: 2000
CustomSellValue:
Value: 600
@@ -211,7 +211,7 @@ GASILO:
RequiresCondition: !build-incomplete
Sequence: idle-lights-bright
Palette: bright
StoresResources:
StoresPlayerResources:
Capacity: 1500
Power:
Amount: -10

View File

@@ -59,7 +59,6 @@ HARV:
Bounds: 1086, 2172
DecorationBounds: 1086, 2172
Harvester:
Capacity: 28
Resources: Tiberium, BlueTiberium
BaleLoadDelay: 15
BaleUnloadDelay: 15
@@ -68,6 +67,9 @@ HARV:
SearchFromHarvesterRadius: 18
HarvestVoice: Attack
EmptyCondition: no-tiberium
StoresResources:
Capacity: 28
Resources: Tiberium, BlueTiberium
DockClientManager:
Voice: Move
Mobile:
@@ -100,7 +102,7 @@ HARV:
nod: harv.nod
-DamagedByTerrain@VEINS:
-LeavesTrails@VEINS:
WithHarvesterPipsDecoration:
WithStoresResourcesPipsDecoration:
Position: BottomLeft
RequiresSelection: true
Margin: 5, 2