From 0942af590cd0277c7e2c6152d1f3fb6500d38b19 Mon Sep 17 00:00:00 2001 From: FoxxoTrystan Date: Tue, 1 Oct 2024 09:46:15 +0200 Subject: [PATCH 01/13] DatabasePain --- .../Preferences/UI/HumanoidProfileEditor.xaml | 6 + .../UI/HumanoidProfileEditor.xaml.cs | 37 + .../Tests/Preferences/ServerDbSqliteTests.cs | 1 + ...0241001054803_CustomSpecieName.Designer.cs | 1820 +++++++++++++++++ .../20241001054803_CustomSpecieName.cs | 36 + .../PostgresServerDbContextModelSnapshot.cs | 5 + ...0241001054735_CustomSpecieName.Designer.cs | 1749 ++++++++++++++++ .../Sqlite/20241001054735_CustomSpecieName.cs | 36 + .../SqliteServerDbContextModelSnapshot.cs | 5 + Content.Server.Database/Model.cs | 1 + Content.Server/Database/ServerDbBase.cs | 2 + .../Humanoid/HumanoidAppearanceComponent.cs | 3 + .../Humanoid/Prototypes/SpeciesPrototype.cs | 6 + .../SharedHumanoidAppearanceSystem.cs | 12 +- .../Preferences/HumanoidCharacterProfile.cs | 42 +- .../ui/humanoid-profile-editor.ftl | 1 + Resources/Prototypes/Species/human.yml | 1 + 17 files changed, 3758 insertions(+), 5 deletions(-) create mode 100644 Content.Server.Database/Migrations/Postgres/20241001054803_CustomSpecieName.Designer.cs create mode 100644 Content.Server.Database/Migrations/Postgres/20241001054803_CustomSpecieName.cs create mode 100644 Content.Server.Database/Migrations/Sqlite/20241001054735_CustomSpecieName.Designer.cs create mode 100644 Content.Server.Database/Migrations/Sqlite/20241001054735_CustomSpecieName.cs diff --git a/Content.Client/Preferences/UI/HumanoidProfileEditor.xaml b/Content.Client/Preferences/UI/HumanoidProfileEditor.xaml index 0696aa3e5e9..3df12a01c05 100644 --- a/Content.Client/Preferences/UI/HumanoidProfileEditor.xaml +++ b/Content.Client/Preferences/UI/HumanoidProfileEditor.xaml @@ -61,6 +61,12 @@ ToolTip="{Loc 'humanoid-profile-editor-guidebook-button-tooltip'}"/> + + +