From 46165f8d00010180c469eeab740082eed5f4b1e6 Mon Sep 17 00:00:00 2001 From: ltem Date: Sat, 25 Feb 2017 13:38:24 +0100 Subject: [PATCH] Added a condition so that the dish animation of the outpost won't be active if the structure is server damaged --- mods/d2k/rules/structures.yaml | 4 ++++ mods/d2k/sequences/structures.yaml | 7 +++++++ 2 files changed, 11 insertions(+) diff --git a/mods/d2k/rules/structures.yaml b/mods/d2k/rules/structures.yaml index d6f6257b41..f65b2868b0 100644 --- a/mods/d2k/rules/structures.yaml +++ b/mods/d2k/rules/structures.yaml @@ -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: diff --git a/mods/d2k/sequences/structures.yaml b/mods/d2k/sequences/structures.yaml index 03bcd3a871..14d8eb487a 100644 --- a/mods/d2k/sequences/structures.yaml +++ b/mods/d2k/sequences/structures.yaml @@ -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