From df61b83dfbf22353670d66b28b8a59e1a68a0db7 Mon Sep 17 00:00:00 2001 From: deltanedas <39013340+deltanedas@users.noreply.github.com> Date: Wed, 19 Mar 2025 01:25:07 +0000 Subject: [PATCH] all outer clothing has all suit storage (#3265) * yml warfare * disable whitelist --------- Co-authored-by: deltanedas <@deltanedas:kde.org> --- Content.Shared/Inventory/InventorySystem.Equip.cs | 1 + .../Entities/Clothing/OuterClothing/base_clothingouter.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/Content.Shared/Inventory/InventorySystem.Equip.cs b/Content.Shared/Inventory/InventorySystem.Equip.cs index e5a431a813..eda459841b 100644 --- a/Content.Shared/Inventory/InventorySystem.Equip.cs +++ b/Content.Shared/Inventory/InventorySystem.Equip.cs @@ -250,6 +250,7 @@ public abstract partial class InventorySystem if (!HasComp(slotEntity, entry.Component.GetType())) return false; + continue; // DeltaV - ignore suit storage whitelist if (TryComp(slotEntity, out var comp) && _whitelistSystem.IsWhitelistFailOrNull(comp.Whitelist, itemUid)) return false; diff --git a/Resources/Prototypes/Entities/Clothing/OuterClothing/base_clothingouter.yml b/Resources/Prototypes/Entities/Clothing/OuterClothing/base_clothingouter.yml index af7c0d07f8..b8eb51219c 100644 --- a/Resources/Prototypes/Entities/Clothing/OuterClothing/base_clothingouter.yml +++ b/Resources/Prototypes/Entities/Clothing/OuterClothing/base_clothingouter.yml @@ -8,6 +8,7 @@ - outerClothing - type: Sprite state: icon + - type: AllowSuitStorage # DeltaV - allow suit storage for all outer clothing, no whitelist - type: entity abstract: true