- add: change genitals on appearance

This commit is contained in:
2024-02-16 13:22:43 +03:00
parent c9396e7b5a
commit 52628d0393
26 changed files with 5060 additions and 133 deletions

View File

@@ -2,7 +2,8 @@
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:prefUi="clr-namespace:Content.Client.Preferences.UI"
xmlns:humanoid="clr-namespace:Content.Client.Humanoid"
xmlns:cc="clr-namespace:Content.Client.Administration.UI.CustomControls">
xmlns:cc="clr-namespace:Content.Client.Administration.UI.CustomControls"
xmlns:humanoidProfileEditorExt="clr-namespace:Content.Client._Amour.HumanoidProfileEditorExt">
<BoxContainer Orientation="Horizontal">
<!-- Left side -->
<BoxContainer Orientation="Vertical" Margin="10 10 10 10">
@@ -141,6 +142,8 @@
<Label Text="{Loc 'humanoid-profile-editor-eyes-label'}" />
<humanoid:EyeColorPicker Name="CEyeColorPicker" />
</BoxContainer>
<!-- AMOUR -->
<humanoidProfileEditorExt:GenitalBoxView Name="GenitalBoxView"/>
</BoxContainer>
</ScrollContainer>
</BoxContainer>

View File

@@ -211,6 +211,12 @@ namespace Content.Client.Preferences.UI
#endregion
//TTS-End
//AMOUR START
#region Genitals
InitializeGenitals();
#endregion
//AMOUR END
#region Species
//WD EDIT
@@ -1239,6 +1245,10 @@ namespace Content.Client.Preferences.UI
UpdateTTSVoicesControls();
//WD-EDIT
//Amour edit
UpdateGenitalsControls();
//Amour edit
_preferenceUnavailableButton.SelectId((int) Profile.PreferenceUnavailable);
}