From 050235dbf938ac663fbda43ed57d1688c2fbeaed Mon Sep 17 00:00:00 2001 From: sleepyyapril Date: Wed, 3 Jun 2026 16:19:28 -0300 Subject: [PATCH] feat: the window opens --- Content.Client/Input/ContentContexts.cs | 1 + Content.Client/Lobby/UI/LobbyGui.xaml | 2 + .../Options/UI/Tabs/KeyRebindTab.xaml.cs | 1 + .../MenuBar/Widgets/GameTopMenuBar.xaml | 12 ++ .../Consent/Commands/ClientConsentCommands.cs | 23 +++ .../_DEN/Consent/UI/ConsentUIController.cs | 136 ++++++++++++++++++ .../_DEN/Consent/UI/ConsentWindow.xaml | 4 + .../_DEN/Consent/UI/ConsentWindow.xaml.cs | 18 +++ Content.Shared/Input/ContentKeyFunctions.cs | 1 + .../Locale/en-US/_DEN/commands/consent.ftl | 5 +- Resources/Locale/en-US/_DEN/hud/game-hud.ftl | 1 + .../Locale/en-US/_DEN/lobby/lobby-gui.ftl | 1 + .../_DEN/Interface/VerbIcons/ATTRIBUTION.txt | 3 + .../_DEN/Interface/VerbIcons/lewd.svg | 65 +++++++++ .../Interface/VerbIcons/lewd.svg.192dpi.png | Bin 0 -> 12517 bytes .../VerbIcons/lewd.svg.192dpi.png.yml | 2 + .../Interface/VerbIcons/lewd.svg.64x64.png | Bin 0 -> 1965 bytes .../VerbIcons/lewd.svg.64x64.png.yml | 2 + 18 files changed, 276 insertions(+), 1 deletion(-) create mode 100644 Content.Client/_DEN/Consent/Commands/ClientConsentCommands.cs create mode 100644 Content.Client/_DEN/Consent/UI/ConsentUIController.cs create mode 100644 Content.Client/_DEN/Consent/UI/ConsentWindow.xaml create mode 100644 Content.Client/_DEN/Consent/UI/ConsentWindow.xaml.cs create mode 100644 Resources/Locale/en-US/_DEN/hud/game-hud.ftl create mode 100644 Resources/Locale/en-US/_DEN/lobby/lobby-gui.ftl create mode 100644 Resources/Textures/_DEN/Interface/VerbIcons/ATTRIBUTION.txt create mode 100644 Resources/Textures/_DEN/Interface/VerbIcons/lewd.svg create mode 100644 Resources/Textures/_DEN/Interface/VerbIcons/lewd.svg.192dpi.png create mode 100644 Resources/Textures/_DEN/Interface/VerbIcons/lewd.svg.192dpi.png.yml create mode 100644 Resources/Textures/_DEN/Interface/VerbIcons/lewd.svg.64x64.png create mode 100644 Resources/Textures/_DEN/Interface/VerbIcons/lewd.svg.64x64.png.yml diff --git a/Content.Client/Input/ContentContexts.cs b/Content.Client/Input/ContentContexts.cs index 01e7dc367c3..faf55a6f8c3 100644 --- a/Content.Client/Input/ContentContexts.cs +++ b/Content.Client/Input/ContentContexts.cs @@ -125,6 +125,7 @@ public static void SetupContexts(IInputContextContainer contexts) ghost.AddFunction(EngineKeyFunctions.MoveRight); ghost.AddFunction(EngineKeyFunctions.Walk); + common.AddFunction(ContentKeyFunctions.OpenConsentWindow); // DEN - Consent UI common.AddFunction(ContentKeyFunctions.OpenEntitySpawnWindow); common.AddFunction(ContentKeyFunctions.OpenSandboxWindow); common.AddFunction(ContentKeyFunctions.OpenTileSpawnWindow); diff --git a/Content.Client/Lobby/UI/LobbyGui.xaml b/Content.Client/Lobby/UI/LobbyGui.xaml index a716ae7c953..352ff6c0ecf 100644 --- a/Content.Client/Lobby/UI/LobbyGui.xaml +++ b/Content.Client/Lobby/UI/LobbyGui.xaml @@ -82,6 +82,8 @@