From a0a27a508c72cfae7781469f1cb7caec581ddfee Mon Sep 17 00:00:00 2001 From: Rain Caldwell <67359748+Just-a-Unity-Dev@users.noreply.github.com> Date: Tue, 9 Jul 2024 16:07:39 +0800 Subject: [PATCH] Everything works! --- .../Humanoid/HumanoidAppearanceSystem.cs | 1 - .../Lobby/UI/HumanoidProfileEditor.xaml.cs | 22 +- Content.Client/Lobby/UI/LobbyGui.xaml | 2 + .../_FTL/FtlPoints/StarmapConsole.xaml.cs | 1 + .../GunnerConsoleBoundUserInterface.cs | 2 +- .../_FTL/ShipWeapons/GunnerConsoleWindow.xaml | 2 +- .../ShipWeapons/GunnerConsoleWindow.xaml.cs | 10 +- .../20240709052304_HeightRemoval.Designer.cs | 1838 +++++++++++++++++ .../Sqlite/20240709052304_HeightRemoval.cs | 29 + Content.Server/Database/ServerDbBase.cs | 1 - .../Systems/HumanoidAppearanceSystem.cs | 1 - .../Systems/AutomatedShipSystem.cs | 1 + Content.Server/_FTL/Economy/EconomySystem.cs | 2 +- .../_FTL/FTLPoints/Effects/ToPlanetEffect.cs | 4 +- .../Systems/FtlPointsSystem.Starmap.cs | 4 +- .../Systems/FtlPointsSystem.WarpDrive.cs | 2 +- .../_FTL/FTLPoints/Systems/FtlPointsSystem.cs | 1 + .../_FTL/PowerControl/PowerControlSystem.cs | 37 - .../EndOnShipDestructionSystem.cs | 10 +- .../_FTL/ShipWeapons/ShipWeaponsSystem.cs | 22 +- .../GunnerConsoleBoundInterfaceState.cs | 12 +- .../Clothing/OuterClothing/wintercoats.yml | 13 - .../Advertisements/vendbot.yml | 8 +- Resources/Prototypes/_FTL/Damage/types.yml | 1 + .../_FTL/Entities/Mobs/NPCs/silicon.yml | 6 +- .../_FTL/Entities/Objects/Devices/radio.yml | 4 +- .../_FTL/Entities/Objects/Misc/fire.yml | 2 +- .../Doors/Airlocks/base_bayairlocks.yml | 47 +- .../Structures/Machines/Computers/atm.yml | 2 +- .../Machines/Computers/bartending_pad.yml | 2 +- .../Machines/Computers/computers.yml | 4 +- .../Machines/Computers/power_control.yml | 2 +- .../Structures/Machines/Computers/starmap.yml | 2 +- .../Prototypes/_FTL/Reagents/narcotics.yml | 2 +- Resources/Prototypes/_FTL/Tiles/fluid.yml | 2 +- .../Prototypes/_FTL/Voice/speech_emotes.yml | 56 +- .../Prototypes/_FTL/WarpPoints/points.yml | 2 +- Resources/Prototypes/lobbyscreens.yml | 2 +- 38 files changed, 1981 insertions(+), 180 deletions(-) create mode 100644 Content.Server.Database/Migrations/Sqlite/20240709052304_HeightRemoval.Designer.cs create mode 100644 Content.Server.Database/Migrations/Sqlite/20240709052304_HeightRemoval.cs diff --git a/Content.Client/Humanoid/HumanoidAppearanceSystem.cs b/Content.Client/Humanoid/HumanoidAppearanceSystem.cs index 402167342b..6eb5dd9ec9 100644 --- a/Content.Client/Humanoid/HumanoidAppearanceSystem.cs +++ b/Content.Client/Humanoid/HumanoidAppearanceSystem.cs @@ -194,7 +194,6 @@ public override void LoadProfile(EntityUid uid, HumanoidCharacterProfile? profil humanoid.Sex = profile.Sex; humanoid.Gender = profile.Gender; humanoid.Age = profile.Age; - humanoid.Height = profile.Height; humanoid.Species = profile.Species; humanoid.SkinColor = profile.Appearance.SkinColor; humanoid.EyeColor = profile.Appearance.EyeColor; diff --git a/Content.Client/Lobby/UI/HumanoidProfileEditor.xaml.cs b/Content.Client/Lobby/UI/HumanoidProfileEditor.xaml.cs index e8e619ae6d..e80e0bf7d8 100644 --- a/Content.Client/Lobby/UI/HumanoidProfileEditor.xaml.cs +++ b/Content.Client/Lobby/UI/HumanoidProfileEditor.xaml.cs @@ -327,16 +327,16 @@ public HumanoidProfileEditor( #region SpawnPriority - foreach (var value in Enum.GetValues()) - { - SpawnPriorityButton.AddItem(Loc.GetString($"humanoid-profile-editor-preference-spawn-priority-{value.ToString().ToLower()}"), (int) value); - } - - SpawnPriorityButton.OnItemSelected += args => - { - SpawnPriorityButton.SelectId(args.Id); - SetSpawnPriority((SpawnPriorityPreference) args.Id); - }; + // foreach (var value in Enum.GetValues()) + // { + // SpawnPriorityButton.AddItem(Loc.GetString($"humanoid-profile-editor-preference-spawn-priority-{value.ToString().ToLower()}"), (int) value); + // } + // + // SpawnPriorityButton.OnItemSelected += args => + // { + // SpawnPriorityButton.SelectId(args.Id); + // SetSpawnPriority((SpawnPriorityPreference) args.Id); + // }; #endregion SpawnPriority @@ -1367,7 +1367,7 @@ private void UpdateSpawnPriorityControls() return; } - SpawnPriorityButton.SelectId((int) Profile.SpawnPriority); + // SpawnPriorityButton.SelectId((int) Profile.SpawnPriority); } private void UpdateHairPickers() diff --git a/Content.Client/Lobby/UI/LobbyGui.xaml b/Content.Client/Lobby/UI/LobbyGui.xaml index 5fe261a7c9..9df0c3d8f0 100644 --- a/Content.Client/Lobby/UI/LobbyGui.xaml +++ b/Content.Client/Lobby/UI/LobbyGui.xaml @@ -146,6 +146,8 @@