diff --git a/mods/ts/rules/gdi-structures.yaml b/mods/ts/rules/gdi-structures.yaml index 56364b12f8..5c483d8eaf 100644 --- a/mods/ts/rules/gdi-structures.yaml +++ b/mods/ts/rules/gdi-structures.yaml @@ -23,8 +23,10 @@ GAPOWR: Range: 4c0 MaxHeightDelta: 3 WithIdleOverlay@LIGHTS: + RequiresCondition: !disabled Sequence: idle-lights WithIdleOverlay@PLUG: + PauseOnCondition: disabled Sequence: idle-plug Selectable: Bounds: 90, 48, 0, -6 @@ -45,6 +47,7 @@ GAPOWR: Amount: 50 WithIdleOverlay@pluga: RequiresCondition: powrup.a + PauseOnCondition: disabled Sequence: idle-powrupa Pluggable@plugb: Offset: 1,1 @@ -52,6 +55,7 @@ GAPOWR: powrup: powrup.b WithIdleOverlay@plugb: RequiresCondition: powrup.b + PauseOnCondition: disabled Sequence: idle-powrupb Power@plugb: RequiresCondition: powrup.b @@ -292,6 +296,7 @@ GADEPT: GARADR: Inherits: ^Building + Inherits@IDISABLED: ^DisabledOverlay Buildable: Queue: Building BuildPaletteOrder: 80 @@ -336,11 +341,10 @@ GARADR: ProvidesPrerequisite@buildingname: SelectionDecorations: VisualBounds: 96, 118, 0, -38 - GrantConditionOnDisabled@IDISABLE: - Condition: disabled GATECH: Inherits: ^Building + Inherits@IDISABLE: ^DisabledOverlay Buildable: Queue: Building BuildPaletteOrder: 150 @@ -365,9 +369,11 @@ GATECH: Range: 4c0 MaxHeightDelta: 3 WithIdleOverlay@LIGHTS: + RequiresCondition: !disabled Sequence: idle-lights Power: Amount: -150 + RequiresPower: ProvidesPrerequisite@buildingname: SelectionDecorations: VisualBounds: 110, 60, 3, -4 @@ -395,10 +401,13 @@ GAPLUG: PowerupSpeech: EnablePower PowerdownSpeech: DisablePower WithIdleOverlay@DISH: + PauseOnCondition: disabled Sequence: idle-dish WithIdleOverlay@LIGHTS: + RequiresCondition: !disabled Sequence: idle-lights WithIdleOverlay@STRIP: + RequiresCondition: !disabled Sequence: idle-strip Health: HP: 1000 @@ -453,9 +462,11 @@ GAPLUG: plug.hunterseeker: !plug.hunterseekerb && !plug.ioncannona && !plug.hunterseekera WithIdleOverlay@ioncannona: RequiresCondition: plug.ioncannona + PauseOnCondition: disabled Sequence: idle-ioncannona WithIdleOverlay@hunterseekera: RequiresCondition: plug.hunterseekera + PauseOnCondition: disabled Sequence: idle-hunterseekera Pluggable@plugb: Offset: 1,2 @@ -467,9 +478,11 @@ GAPLUG: plug.hunterseeker: !plug.hunterseekera && !plug.ioncannonb && !plug.hunterseekerb WithIdleOverlay@ioncannonb: RequiresCondition: plug.ioncannonb + PauseOnCondition: disabled Sequence: idle-ioncannonb WithIdleOverlay@hunterseekerb: RequiresCondition: plug.hunterseekerb + PauseOnCondition: disabled Sequence: idle-hunterseekerb ProvidesPrerequisite@buildingname: SelectionDecorations: diff --git a/mods/ts/rules/gdi-support.yaml b/mods/ts/rules/gdi-support.yaml index ba48c4a6ec..40b7f38308 100644 --- a/mods/ts/rules/gdi-support.yaml +++ b/mods/ts/rules/gdi-support.yaml @@ -116,6 +116,7 @@ GACTWR: WithMuzzleOverlay: RequiresCondition: tower.vulcan WithIdleOverlay@LIGHTS: + RequiresCondition: !disabled Sequence: idle-lights LineBuildNode: Types: turret diff --git a/mods/ts/rules/nod-structures.yaml b/mods/ts/rules/nod-structures.yaml index c377ff1f8e..267286bcc5 100644 --- a/mods/ts/rules/nod-structures.yaml +++ b/mods/ts/rules/nod-structures.yaml @@ -25,6 +25,7 @@ NAPOWR: Range: 4c0 MaxHeightDelta: 3 WithIdleOverlay@LIGHTS: + RequiresCondition: !disabled Sequence: idle-lights Power: Amount: 100 @@ -64,6 +65,7 @@ NAAPWR: Range: 4c0 MaxHeightDelta: 3 WithIdleOverlay@LIGHTS: + RequiresCondition: !disabled Sequence: idle-lights Power: Amount: 200 @@ -249,6 +251,7 @@ NAHPAD: NARADR: Inherits: ^Building + Inherits@IDISABLED: ^DisabledOverlay Buildable: Queue: Building BuildPaletteOrder: 90 @@ -293,11 +296,10 @@ NARADR: ProvidesPrerequisite@buildingname: SelectionDecorations: VisualBounds: 96, 72, 0, -12 - GrantConditionOnDisabled@IDISABLE: - Condition: disabled NATECH: Inherits: ^Building + Inherits@IDISABLED: ^DisabledOverlay Buildable: Queue: Building BuildPaletteOrder: 160 @@ -322,15 +324,18 @@ NATECH: Range: 4c0 MaxHeightDelta: 3 WithIdleOverlay@LIGHTS: + RequiresCondition: !disabled Sequence: idle-lights Power: Amount: -150 + RequiresPower: ProvidesPrerequisite@buildingname: SelectionDecorations: VisualBounds: 86, 58, 0, -4 NATMPL: Inherits: ^Building + Inherits@IDISABLED: ^DisabledOverlay Buildable: Queue: Building BuildPaletteOrder: 180 @@ -356,7 +361,9 @@ NATMPL: MaxHeightDelta: 3 Power: Amount: -200 + RequiresPower: WithIdleOverlay@LIGHTS: + RequiresCondition: !disabled Sequence: idle-lights ProduceActorPower: Description: Hunter Seeker diff --git a/mods/ts/rules/nod-support.yaml b/mods/ts/rules/nod-support.yaml index 6227aef6b8..7ba4f93b96 100644 --- a/mods/ts/rules/nod-support.yaml +++ b/mods/ts/rules/nod-support.yaml @@ -43,6 +43,7 @@ NAGATE_B: NAPOST: Inherits: ^Building + Inherits@IDISABLED: ^DisabledOverlay Buildable: Queue: Defense BuildPaletteOrder: 150 @@ -82,8 +83,6 @@ NAPOST: PowerupSpeech: EnablePower PowerdownSpeech: DisablePower RequiresPower: - GrantConditionOnDisabled: - Condition: disabled LineBuildSegmentExternalCondition: RequiresCondition: !disabled && !make-animation-playing Condition: active-posts @@ -224,6 +223,7 @@ NAOBEL: Palette: player IsPlayerPalette: true WithIdleOverlay@LIGHTS: + RequiresCondition: !disabled Sequence: idle-lights Power: Amount: -150 @@ -269,6 +269,7 @@ NASAM: NASTLH: Inherits: ^Building + Inherits@IDISABLED: ^DisabledOverlay Valued: Cost: 2500 Tooltip: @@ -290,7 +291,7 @@ NASTLH: MaxHeightDelta: 3 WithIdleOverlay@pulse: Sequence: pulse - PauseOnLowPower: true + RequiresCondition: !disabled WithRangeCircle: Range: 12c0 Type: cloakgenerator @@ -301,8 +302,6 @@ NASTLH: PowerupSpeech: EnablePower PowerdownSpeech: DisablePower IndicatorPalette: mouse - GrantConditionOnDisabled: - Condition: disabled ProximityExternalCondition: RequiresCondition: !disabled Condition: cloakgenerator @@ -342,6 +341,7 @@ NAMISL: RevealsShroud: Range: 4c0 WithIdleOverlay@LIGHTS: + RequiresCondition: !disabled Sequence: idle-lights Power: Amount: -50