Refactor supply traits to *Cash traits

Adding 'Type' and 'Stances' support as well.
This commit is contained in:
reaperrr
2017-03-20 20:13:10 +01:00
parent 361cbc34cc
commit 80ec530e4c
13 changed files with 83 additions and 47 deletions

View File

@@ -82,7 +82,7 @@ TRUK.Hijackable:
ExternalCapturable:
Type: MissionObjective
CaptureCompleteTime: 1
-SupplyTruck:
-DeliversCash:
RenderSprites:
Image: TRUK
Palette: truk-soviets

View File

@@ -102,7 +102,7 @@ APC:
TRUK:
-SpawnActorOnDeath:
-SupplyTruck:
-DeliversCash:
Buildable:
Prerequisites: ~disabled

View File

@@ -102,7 +102,7 @@ APC:
TRUK:
-SpawnActorOnDeath:
-SupplyTruck:
-DeliversCash:
Buildable:
Prerequisites: ~disabled

View File

@@ -527,7 +527,7 @@
RepairableBuilding:
PlayerExperience: 25
EngineerRepairable:
AcceptsSupplies:
AcceptsDeliveredCash:
WithMakeAnimation:
ExternalCapturable:
ExternalCapturableBar:
@@ -553,7 +553,7 @@
RequiredForShortGame: false
AutoTarget:
-GivesBuildableArea:
-AcceptsSupplies:
-AcceptsDeliveredCash:
DrawLineToTarget:
RenderRangeCircle:
Explodes:

View File

@@ -403,7 +403,7 @@ PDOX:
DisplayRadarPing: True
Range: 2
SupportPowerChargeBar:
-AcceptsSupplies:
-AcceptsDeliveredCash:
Power:
Amount: -200
MustBeDestroyed:

View File

@@ -476,7 +476,7 @@ TRUK:
Speed: 128
RevealsShroud:
Range: 4c0
SupplyTruck:
DeliversCash:
Payload: 500
PlayerExperience: 50
SpawnActorOnDeath:

View File

@@ -1309,7 +1309,6 @@ GAICBM:
Inherits: ^Building
Valued:
Cost: 800
-AcceptsSupplies:
Tooltip:
Name: Deployed ICBM
-GivesBuildableArea:

View File

@@ -152,7 +152,6 @@
Type: Footprint
EngineerRepairable:
ShakeOnDeath:
AcceptsSupplies:
Guardable:
Range: 3c0
Demolishable: