TS Service Depot: allow sell unit when repairing
This commit is contained in:
@@ -188,7 +188,7 @@ Cursors:
|
||||
repair-blocked:
|
||||
Start: 190
|
||||
Length: 1
|
||||
sell2: # TODO: unused
|
||||
sell2:
|
||||
Start: 139
|
||||
Length: 10
|
||||
powerdown-blocked:
|
||||
|
||||
@@ -38,6 +38,7 @@ notification-unit-ready = Unit ready.
|
||||
notification-unable-to-comply-building-in-progress = Unable to comply. Building in progress.
|
||||
notification-repairing = Repairing.
|
||||
notification-unit-repaired = Unit repaired.
|
||||
notification-unit-sold = Unit sold.
|
||||
notification-ion-cannon-ready = Ion cannon ready.
|
||||
notification-select-target = Select target.
|
||||
notification-cluster-missile-ready = Cluster missile ready.
|
||||
|
||||
@@ -862,6 +862,16 @@
|
||||
Sequence: vehicle
|
||||
Palette: player
|
||||
IsPlayerPalette: true
|
||||
Sellable:
|
||||
SellSounds: cashturn.aud
|
||||
Cursor: sell2
|
||||
Notification: UnitSold
|
||||
TextNotification: notification-unit-sold
|
||||
RequiresCondition: unit.sellable
|
||||
GrantConditionOnClientDock@Sellable:
|
||||
Condition: unit.sellable
|
||||
AfterDockDuration: 20
|
||||
DockHostNames: gadept
|
||||
|
||||
^Tank:
|
||||
Inherits: ^Vehicle
|
||||
@@ -949,6 +959,16 @@
|
||||
RequiresCondition: cruising
|
||||
BobDistance: -64
|
||||
InitialHeight: 64
|
||||
Sellable:
|
||||
SellSounds: cashturn.aud
|
||||
Cursor: sell2
|
||||
Notification: UnitSold
|
||||
TextNotification: notification-unit-sold
|
||||
RequiresCondition: unit.sellable
|
||||
GrantConditionOnClientDock@Sellable:
|
||||
Condition: unit.sellable
|
||||
AfterDockDuration: 20
|
||||
DockHostNames: gadept
|
||||
|
||||
^EMPableAircraft:
|
||||
Inherits: ^Aircraft
|
||||
|
||||
@@ -356,7 +356,7 @@ GADEPT:
|
||||
BuildPaletteOrder: 70
|
||||
Prerequisites: factory, ~structures.gdi, ~techlevel.medium
|
||||
Queue: Building
|
||||
Description: Repairs vehicles.
|
||||
Description: Repairs or sells vehicles and aircraft.
|
||||
Building:
|
||||
Footprint: =+= x++ x+=
|
||||
Dimensions: 3,3
|
||||
@@ -431,6 +431,11 @@ GADEPT:
|
||||
FactionImages:
|
||||
gdi: gadept.gdi
|
||||
nod: gadept.nod
|
||||
GrantConditionOnHostDock:
|
||||
Condition: serving
|
||||
AfterDockDuration: 20
|
||||
Sellable:
|
||||
RequiresCondition: !serving && !build-incomplete && !being-demolished
|
||||
|
||||
GARADR:
|
||||
Inherits: ^Building
|
||||
|
||||
Reference in New Issue
Block a user