From d84f0896d5269b8cc5f39db6580946a185920888 Mon Sep 17 00:00:00 2001 From: Cinkafox <70429757+Cinkafox@users.noreply.github.com> Date: Mon, 11 Dec 2023 12:11:40 +0300 Subject: [PATCH] no fluff on chameleon (#563) --- .../Clothing/EntitySystems/SharedChameleonClothingSystem.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Content.Shared/Clothing/EntitySystems/SharedChameleonClothingSystem.cs b/Content.Shared/Clothing/EntitySystems/SharedChameleonClothingSystem.cs index a447a54df1..d43f6b7bca 100644 --- a/Content.Shared/Clothing/EntitySystems/SharedChameleonClothingSystem.cs +++ b/Content.Shared/Clothing/EntitySystems/SharedChameleonClothingSystem.cs @@ -84,6 +84,10 @@ public abstract class SharedChameleonClothingSystem : EntitySystem if (!proto.TryGetComponent(out TagComponent? tags, _factory) || !tags.Tags.Contains("WhitelistChameleon")) return false; + //WD EDIT + if (proto.EditorSuffix?.ToLower() == "fluff") + return false; + // check if it's valid clothing if (!proto.TryGetComponent("Clothing", out ClothingComponent? clothing)) return false;