Add TransformsInto* traits to trigger construction yard undeploy.

This commit is contained in:
Paul Chote
2019-06-05 20:00:27 +00:00
committed by reaperrr
parent 1b026b7e20
commit ecd8dee575
12 changed files with 826 additions and 25 deletions

View File

@@ -20,11 +20,21 @@ FACT:
Production:
Produces: Building.GDI, Building.Nod, Defence.GDI, Defence.Nod
Transforms:
RequiresCondition: factundeploy && !build-incomplete
PauseOnCondition: being-demolished
RequiresCondition: factundeploy
PauseOnCondition: being-demolished || build-incomplete
IntoActor: mcv
Offset: 1,1
Facing: 108
TransformsIntoMobile:
RequiresCondition: factundeploy
Locomotor: heavywheeled
RequiresForceMove: true
TransformsIntoPassenger:
RequiresCondition: factundeploy
CargoType: Vehicle
TransformsIntoRepairable:
RequiresCondition: factundeploy
RepairActors: fix
GrantConditionOnPrerequisite@GLOBALFACTUNDEPLOY:
Condition: factundeploy
Prerequisites: global-factundeploy

View File

@@ -1137,11 +1137,21 @@ FACT:
ActorTypes: e1,e1,e1,tecn,tecn,e6
BaseBuilding:
Transforms:
RequiresCondition: factundeploy && !build-incomplete
PauseOnCondition: chrono-vortex || being-captured || being-demolished
RequiresCondition: factundeploy
PauseOnCondition: chrono-vortex || being-captured || being-demolished || build-incomplete
IntoActor: mcv
Offset: 1,1
Facing: 96
TransformsIntoMobile:
RequiresCondition: factundeploy
Locomotor: heavywheeled
RequiresForceMove: true
TransformsIntoPassenger:
RequiresCondition: factundeploy
CargoType: Vehicle
TransformsIntoRepairable:
RequiresCondition: factundeploy
RepairActors: fix
Sellable:
RequiresCondition: !build-incomplete && !chrono-vortex && !being-captured && !being-demolished
GrantConditionOnPrerequisite@GLOBALFACTUNDEPLOY:

View File

@@ -28,12 +28,28 @@ GACNST:
Value: 2500
BaseBuilding:
Transforms:
RequiresCondition: factundeploy && !build-incomplete
PauseOnCondition: empdisable || being-demolished
RequiresCondition: factundeploy
PauseOnCondition: empdisable || being-demolished || build-incomplete
IntoActor: mcv
Offset: 1,1
Facing: 96
DeployCursor: undeploy
TransformsIntoMobile:
RequiresCondition: factundeploy
Locomotor: tracked
Voice: Move
RequiresForceMove: true
TransformsIntoRepairable:
RequiresCondition: factundeploy
RepairActors: gadept
Voice: Move
TransformsIntoEntersTunnels:
RequiresCondition: factundeploy
Voice: Move
TransformsIntoPassenger:
RequiresCondition: factundeploy
CargoType: Vehicle
Voice: Move
GrantConditionOnPrerequisite@GLOBALFACTUNDEPLOY:
Condition: factundeploy
Prerequisites: global-factundeploy