From 2fd8c4d7fcf34383854fa53d5ea7ed558b816105 Mon Sep 17 00:00:00 2001 From: Mustafa Alperen Seki Date: Sat, 28 Dec 2024 21:18:19 +0300 Subject: [PATCH] Fix dummy actors handling cloak reveal crates' actions being able to collect crates. It was causing a crash when they took a health crate because they don't have Health trait. --- mods/ss/rules/misc.yaml | 4 ++-- mods/ss/rules/world.yaml | 13 +++++++++++++ 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/mods/ss/rules/misc.yaml b/mods/ss/rules/misc.yaml index c46df13..848f491 100644 --- a/mods/ss/rules/misc.yaml +++ b/mods/ss/rules/misc.yaml @@ -532,7 +532,7 @@ proxy.cloak-detector: -Immobile: -RevealsShroud: Mobile: - Locomotor: foot + Locomotor: dummy RejectsOrders: DetectCloaked: Range: 1024c0 @@ -547,7 +547,7 @@ proxy.cloak-remover: -Immobile: -RevealsShroud: Mobile: - Locomotor: foot + Locomotor: dummy RejectsOrders: ProximityExternalCondition: Condition: cloak-global-disable diff --git a/mods/ss/rules/world.yaml b/mods/ss/rules/world.yaml index 65f52b6..eb77927 100644 --- a/mods/ss/rules/world.yaml +++ b/mods/ss/rules/world.yaml @@ -16,6 +16,19 @@ FogVariants: typea, typeb, typec, typed OverrideFullShroud: full OverrideFullFog: full + Locomotor@DUMMY: + Name: dummy + SharesCell: true + TerrainSpeeds: + Clear: 100 + Rough: 100 + Road: 100 + Bridge: 100 + Tiberium: 100 + BlueTiberium: 100 + Beach: 100 + Water: 100 + Cliff: 100 Locomotor@FOOT: Name: foot Crushes: crate, teleporter, flag