diff --git a/mods/ts/rules/aircraft.yaml b/mods/ts/rules/aircraft.yaml index 03302fed77..74e5b45731 100644 --- a/mods/ts/rules/aircraft.yaml +++ b/mods/ts/rules/aircraft.yaml @@ -116,6 +116,10 @@ ORCA: RenderSprites: SpawnActorOnDeath: Actor: ORCA.Husk + RequiresCondition: !empdisable + SpawnActorOnDeath@EMP: + Actor: ORCA.Husk.EMP + RequiresCondition: empdisable Rearmable: RearmActors: gahpad, nahpad @@ -173,6 +177,10 @@ ORCAB: RequiresCondition: cruising SpawnActorOnDeath: Actor: ORCAB.Husk + RequiresCondition: !empdisable + SpawnActorOnDeath@EMP: + Actor: ORCAB.Husk.EMP + RequiresCondition: empdisable Rearmable: RearmActors: gahpad, nahpad @@ -313,6 +321,10 @@ SCRIN: DeathSounds: SpawnActorOnDeath: Actor: SCRIN.Husk + RequiresCondition: !empdisable + SpawnActorOnDeath@EMP: + Actor: SCRIN.Husk.EMP + RequiresCondition: empdisable Rearmable: RearmActors: gahpad, nahpad @@ -371,6 +383,10 @@ APACHE: RenderSprites: SpawnActorOnDeath: Actor: APACHE.Husk + RequiresCondition: !empdisable + SpawnActorOnDeath@EMP: + Actor: APACHE.Husk.EMP + RequiresCondition: empdisable Rearmable: RearmActors: gahpad, nahpad diff --git a/mods/ts/rules/husks.yaml b/mods/ts/rules/husks.yaml index b266ec214e..18b24a3b23 100644 --- a/mods/ts/rules/husks.yaml +++ b/mods/ts/rules/husks.yaml @@ -21,6 +21,10 @@ ORCA.Husk: RenderVoxels: Image: orca +ORCA.Husk.EMP: + Inherits: ORCA.Husk + Inherits@EMP: ^EmpVisualEffects + ORCAB.Husk: Inherits: ^AircraftHusk Tooltip: @@ -33,6 +37,10 @@ ORCAB.Husk: RenderVoxels: Image: orcab +ORCAB.Husk.EMP: + Inherits: ORCAB.Husk + Inherits@EMP: ^EmpVisualEffects + ORCATRAN.Husk: Inherits: ^AircraftHusk Tooltip: @@ -45,6 +53,10 @@ ORCATRAN.Husk: RenderVoxels: Image: orcatran +ORCATRAN.Husk.EMP: + Inherits: ORCATRAN.Husk + Inherits@EMP: ^EmpVisualEffects + TRNSPORT.Husk: Inherits: ^AircraftHusk Tooltip: @@ -57,6 +69,10 @@ TRNSPORT.Husk: RenderVoxels: Image: trnsport +TRNSPORT.Husk.EMP: + Inherits: TRNSPORT.Husk + Inherits@EMP: ^EmpVisualEffects + SCRIN.Husk: Inherits: ^AircraftHusk Tooltip: @@ -69,6 +85,10 @@ SCRIN.Husk: RenderVoxels: Image: scrin +SCRIN.Husk.EMP: + Inherits: SCRIN.Husk + Inherits@EMP: ^EmpVisualEffects + APACHE.Husk: Inherits: ^AircraftHusk Tooltip: @@ -83,3 +103,7 @@ APACHE.Husk: Image: apache RenderVoxels: Image: apache + +APACHE.Husk.EMP: + Inherits: APACHE.Husk + Inherits@EMP: ^EmpVisualEffects