From 4e82eb9fcfc740092fc81d0b34674370fe3f3ab5 Mon Sep 17 00:00:00 2001 From: dnqbob Date: Sat, 14 Oct 2023 13:31:19 +0800 Subject: [PATCH] Disable infantry explosion in cargo for now --- mods/sp/rules/defaults.yaml | 1 + mods/sp/rules/infantry.yaml | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/mods/sp/rules/defaults.yaml b/mods/sp/rules/defaults.yaml index 727103ebd..cc8127c43 100644 --- a/mods/sp/rules/defaults.yaml +++ b/mods/sp/rules/defaults.yaml @@ -1959,6 +1959,7 @@ TriggerOnlyOnce: true ExplodesAlsoTransported: Weapon: DroneExplode + RequiresCondition: !ascargo Mobile: Locomotor: TibInmuneInfantry PauseOnCondition: empdisable || WebDisable diff --git a/mods/sp/rules/infantry.yaml b/mods/sp/rules/infantry.yaml index a8c223441..633dad250 100644 --- a/mods/sp/rules/infantry.yaml +++ b/mods/sp/rules/infantry.yaml @@ -2340,6 +2340,7 @@ PDRONE: Sequences: idle2 ExplodesAlsoTransported: Weapon: SimpleDroneExplode + RequiresCondition: !ascargo -SpawnActorOnDeath@conversion: -SpawnActorOnDeath@conversionUpg: -DamagedByTintedCells@Default: @@ -2454,6 +2455,7 @@ MOTH: BuildDurationModifier: 100 ExplodesAlsoTransported: Weapon: DroneExplode + RequiresCondition: !ascargo Voiced: VoiceSet: Limpet Hovers: @@ -2811,6 +2813,7 @@ WORKERMECH: -SpawnActorOnDeath@conversionUpg: ExplodesAlsoTransported: Weapon: SimpleDroneExplode + RequiresCondition: !ascargo ActorStatValues: Icon: icon IconPalette: chrome @@ -2860,6 +2863,7 @@ NANOS: RequiresCondition: !inside-tunnel && !WebDisable ExplodesAlsoTransported: Weapon: NanoDroneExplode + RequiresCondition: !ascargo -SpawnCorpseOnDeath@nanomachinereanimate: -SpawnActorOnDeath@conversion: -SpawnActorOnDeath@conversionUpg: