From 29d71c9a00d7b0310cd8c60f7adba951f7583f51 Mon Sep 17 00:00:00 2001 From: reaperrr Date: Sun, 17 Jun 2018 15:56:01 +0200 Subject: [PATCH] Fix TS component tower power-down-ability --- mods/ts/rules/gdi-support.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/mods/ts/rules/gdi-support.yaml b/mods/ts/rules/gdi-support.yaml index ab319dd2ba..79f523090c 100644 --- a/mods/ts/rules/gdi-support.yaml +++ b/mods/ts/rules/gdi-support.yaml @@ -69,13 +69,13 @@ GACTWR: BodyOrientation: QuantizedFacings: 32 DetectCloaked: - RequiresCondition: !empdisable && (tower.vulcan || tower.rocket || tower.sam) + RequiresCondition: !empdisable && !disabled && (tower.vulcan || tower.rocket || tower.sam) Turreted: TurnSpeed: 10 InitialFacing: 224 AttackTurreted: RequiresCondition: tower.vulcan || tower.rocket || tower.sam - PauseOnCondition: empdisable + PauseOnCondition: empdisable || disabled WithSpriteTurret@VULC: RequiresCondition: tower.vulcan Recoils: false @@ -119,12 +119,13 @@ GACTWR: LineBuildNode: Types: turret Power@base: + RequiresCondition: !disabled Amount: -10 Power@turrets: - RequiresCondition: (tower.vulcan || tower.rocket || tower.sam) + RequiresCondition: !disabled && (tower.vulcan || tower.rocket || tower.sam) Amount: -20 Power@samextra: - RequiresCondition: tower.sam + RequiresCondition: !disabled && tower.sam Amount: -10 Pluggable: Conditions: