Fix MCV deploy erasing Chronoshift history.

If the MCV is deployed as a Construction Yard when
the timer expires the structure will take a 50%
damage hit from a chrono-vortex.

If the MCV is in the process of (un)deploying it
will be returned in MCV form.
This commit is contained in:
Paul Chote
2018-07-05 21:12:30 +00:00
parent 8f215a0219
commit d5399aaf6b
5 changed files with 276 additions and 0 deletions

BIN
mods/ra/bits/factpdox.shp Normal file

Binary file not shown.

View File

@@ -1104,10 +1104,13 @@ FACT:
ActorTypes: e1,e1,e1,tecn,tecn,e6
BaseBuilding:
Transforms:
PauseOnCondition: chrono-vortex
IntoActor: mcv
Offset: 1,1
Facing: 96
RequiresCondition: factundeploy
Sellable:
RequiresCondition: !chrono-vortex
GrantConditionOnPrerequisite@GLOBALFACTUNDEPLOY:
Condition: factundeploy
Prerequisites: global-factundeploy
@@ -1130,6 +1133,9 @@ FACT:
Type: Rectangle
TopLeft: -1536, -1536
BottomRight: 1536, 1536
ConyardChronoReturn:
Condition: chrono-vortex
Damage: 950
PROC:
Inherits: ^Building

View File

@@ -59,11 +59,16 @@ fact:
build:
Start: 1
Length: 25
pdox: factpdox
Length: 80
damaged-idle:
Start: 26
damaged-build:
Start: 27
Length: 25
damaged-pdox: factpdox
Start: 80
Length: 80
dead: factdead
Tick: 800
bib: bib2