From 8ea10a1d94e3239dbe80bffcab22c72b14de34ff Mon Sep 17 00:00:00 2001 From: Cinkafox <70429757+Cinkafox@users.noreply.github.com> Date: Tue, 6 Jan 2026 16:57:28 +0300 Subject: [PATCH] [Add] Species selection menu (#1009) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * - add: species selection menu * - fix: Кролькины фиксы ч.1 * - fix: кролькины фиксы ч.2 --- .../Lobby/UI/HumanoidProfileEditor.xaml | 5 +- .../Lobby/UI/HumanoidProfileEditor.xaml.cs | 1 + .../HumanoidProfileEditor.SpeciesSelection.cs | 50 ++++++ .../Controls/SpeciesGroupContainer.xaml | 18 +++ .../Controls/SpeciesGroupContainer.xaml.cs | 70 ++++++++ .../Windows/SpeciesSelectWindow.xaml | 40 +++++ .../Windows/SpeciesSelectWindow.xaml.cs | 152 ++++++++++++++++++ .../SpeciesDictionaryPrototype.cs | 23 +++ .../en-US/_white/species/speciesgroup.ftl | 8 + .../ru-RU/_white/species/speciesgroup.ftl | 8 + Resources/Prototypes/Guidebook/species.yml | 16 ++ .../_White/SpeciesDictionary/groups.yml | 7 + .../_White/SpeciesDictionary/species.yml | 79 +++++++++ .../ServerInfo/Guidebook/Mobs/Felinid.xml | 3 + .../ServerInfo/Guidebook/Mobs/Vulpkanin.xml | 3 + 15 files changed, 482 insertions(+), 1 deletion(-) create mode 100644 Content.Client/Lobby/UI/ProfileEditor/HumanoidProfileEditor.SpeciesSelection.cs create mode 100644 Content.Client/_White/UserInterface/Controls/SpeciesGroupContainer.xaml create mode 100644 Content.Client/_White/UserInterface/Controls/SpeciesGroupContainer.xaml.cs create mode 100644 Content.Client/_White/UserInterface/Windows/SpeciesSelectWindow.xaml create mode 100644 Content.Client/_White/UserInterface/Windows/SpeciesSelectWindow.xaml.cs create mode 100644 Content.Shared/_White/SpeciesDictionary/SpeciesDictionaryPrototype.cs create mode 100644 Resources/Locale/en-US/_white/species/speciesgroup.ftl create mode 100644 Resources/Locale/ru-RU/_white/species/speciesgroup.ftl create mode 100644 Resources/Prototypes/_White/SpeciesDictionary/groups.yml create mode 100644 Resources/Prototypes/_White/SpeciesDictionary/species.yml create mode 100644 Resources/ServerInfo/Guidebook/Mobs/Felinid.xml create mode 100644 Resources/ServerInfo/Guidebook/Mobs/Vulpkanin.xml diff --git a/Content.Client/Lobby/UI/HumanoidProfileEditor.xaml b/Content.Client/Lobby/UI/HumanoidProfileEditor.xaml index 97cd590bcf..937981ebbd 100644 --- a/Content.Client/Lobby/UI/HumanoidProfileEditor.xaml +++ b/Content.Client/Lobby/UI/HumanoidProfileEditor.xaml @@ -41,7 +41,10 @@ - + + +