From 1856d6aaa509a6d487f272e41b6426bb803a7199 Mon Sep 17 00:00:00 2001 From: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Date: Wed, 9 Aug 2023 16:26:33 +1000 Subject: [PATCH] Add clothing toggle to character editor (#18903) --- .../UI/HumanoidProfileEditor.Random.cs | 5 - .../Preferences/UI/HumanoidProfileEditor.xaml | 115 ++++++++---------- .../UI/HumanoidProfileEditor.xaml.cs | 20 ++- .../ui/humanoid-profile-editor.ftl | 1 + 4 files changed, 69 insertions(+), 72 deletions(-) diff --git a/Content.Client/Preferences/UI/HumanoidProfileEditor.Random.cs b/Content.Client/Preferences/UI/HumanoidProfileEditor.Random.cs index 732f674ec6..c9e184dfc2 100644 --- a/Content.Client/Preferences/UI/HumanoidProfileEditor.Random.cs +++ b/Content.Client/Preferences/UI/HumanoidProfileEditor.Random.cs @@ -1,15 +1,10 @@ -using Content.Shared.Dataset; -using Content.Shared.Humanoid; using Content.Shared.Preferences; -using Content.Shared.Random.Helpers; using Robust.Shared.Prototypes; -using Robust.Shared.Random; namespace Content.Client.Preferences.UI { public sealed partial class HumanoidProfileEditor { - private readonly IRobustRandom _random; private readonly IPrototypeManager _prototypeManager; private void RandomizeEverything() diff --git a/Content.Client/Preferences/UI/HumanoidProfileEditor.xaml b/Content.Client/Preferences/UI/HumanoidProfileEditor.xaml index 92a17225c1..c1b1b40d71 100644 --- a/Content.Client/Preferences/UI/HumanoidProfileEditor.xaml +++ b/Content.Client/Preferences/UI/HumanoidProfileEditor.xaml @@ -52,75 +52,66 @@ - - + + + +