Skip to content

Commit

Permalink
code part
Browse files Browse the repository at this point in the history
  • Loading branch information
lzk228 committed Sep 26, 2024
1 parent a0c5994 commit 442ff19
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Content.Client/Clothing/ClientClothingSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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!;
Expand Down
2 changes: 1 addition & 1 deletion Content.Client/Inventory/StrippableBoundUserInterface.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
3 changes: 3 additions & 0 deletions Content.Shared/Inventory/SlotFlags.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 442ff19

Please sign in to comment.