Added a condition so that the dish animation of the outpost won't be active if the structure is server damaged

This commit is contained in:
ltem
2017-02-25 13:38:24 +01:00
parent 35494b2abd
commit 46165f8d00
2 changed files with 11 additions and 0 deletions

View File

@@ -526,6 +526,10 @@ outpost:
WithIdleOverlay@DISH:
Sequence: idle-dish
PauseOnLowPower: true
RequiresCondition: !severe-damaged
GrantConditionOnDamageState@STOPDISH:
Condition: severe-damaged
ValidDamageState: Medium, Heavy, Critical
Power:
Amount: -125
ProvidesPrerequisite@buildingname:

View File

@@ -1592,6 +1592,13 @@ heavy.mercenary:
Tick: 200
BlendMode: Additive
ZOffset: 1024
damaged-production-welding: DATA.R8
Frames: 4968, 4970, 4972, 4973, 4974, 4975, 4976
Length: 7
Offset: -48,80
Tick: 200
BlendMode: Additive
ZOffset: 1024
bib: BLOXBASE.R8
Frames: 611, 612, 613, 631, 632, 633
Length: 6