From 442ff19c4dee22ee8c51baa24a46e31c2edf0a21 Mon Sep 17 00:00:00 2001 From: lzk <124214523+lzk228@users.noreply.github.com> Date: Thu, 26 Sep 2024 23:34:38 +0200 Subject: [PATCH] code part --- Content.Client/Clothing/ClientClothingSystem.cs | 3 +++ Content.Client/Inventory/StrippableBoundUserInterface.cs | 2 +- Content.Shared/Inventory/SlotFlags.cs | 3 +++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Content.Client/Clothing/ClientClothingSystem.cs b/Content.Client/Clothing/ClientClothingSystem.cs index 27d77eda496..43877697311 100644 --- a/Content.Client/Clothing/ClientClothingSystem.cs +++ b/Content.Client/Clothing/ClientClothingSystem.cs @@ -47,6 +47,9 @@ public sealed class ClientClothingSystem : ClothingSystem {"pocket1", "POCKET1"}, {"pocket2", "POCKET2"}, {"suitstorage", "SUITSTORAGE"}, + {"socks", "SOCKS"}, + {"underweart", "UNDERWEART"}, + {"underwearb", "UNDERWEARB"}, }; [Dependency] private readonly IResourceCache _cache = default!; diff --git a/Content.Client/Inventory/StrippableBoundUserInterface.cs b/Content.Client/Inventory/StrippableBoundUserInterface.cs index 132c5ed654c..1cecb9d7c81 100644 --- a/Content.Client/Inventory/StrippableBoundUserInterface.cs +++ b/Content.Client/Inventory/StrippableBoundUserInterface.cs @@ -150,7 +150,7 @@ public void UpdateMenu() // for now: shit-code // this breaks for drones (too many hands, lots of empty vertical space), and looks shit for monkeys and the like. // but the window is realizable, so eh. - _strippingMenu.SetSize = new Vector2(220, snare?.IsEnsnared == true ? 550 : 530); + _strippingMenu.SetSize = new Vector2(220, snare?.IsEnsnared == true ? 600 : 600); } private void AddHandButton(Hand hand) diff --git a/Content.Shared/Inventory/SlotFlags.cs b/Content.Shared/Inventory/SlotFlags.cs index 90971d1670b..b9d843d1e5f 100644 --- a/Content.Shared/Inventory/SlotFlags.cs +++ b/Content.Shared/Inventory/SlotFlags.cs @@ -26,6 +26,9 @@ public enum SlotFlags LEGS = 1 << 13, FEET = 1 << 14, SUITSTORAGE = 1 << 15, + UNDERWEART = 1 << 16, + UNDERWEARB = 1 << 17, + SOCKS = 1 << 18, All = ~NONE, WITHOUT_POCKET = All & ~POCKET