return ahelp to f1, add alternate keybind for staff help chooser (#3176)

* fix bad grammar

* return ahelp to f1

---------

Co-authored-by: deltanedas <@deltanedas:kde.org>
This commit is contained in:
deltanedas 2025-03-10 02:19:32 +00:00 committed by GitHub
parent 9952f28d35
commit 9e26db7a9d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 16 additions and 8 deletions

View File

@ -40,12 +40,13 @@ namespace Content.Client.Input
common.AddFunction(ContentKeyFunctions.ResetZoom);
common.AddFunction(ContentKeyFunctions.InspectEntity);
common.AddFunction(ContentKeyFunctions.ToggleRoundEndSummaryWindow);
// DeltaV - Begin NanoChat keybinds
// Begin DeltaV Additions
common.AddFunction(ContentKeyFunctions.OpenAHelpCuratorChat);
common.AddFunction(ContentKeyFunctions.NanoChatNavigateUp);
common.AddFunction(ContentKeyFunctions.NanoChatNavigateDown);
common.AddFunction(ContentKeyFunctions.NanoChatNavigateUpUnread);
common.AddFunction(ContentKeyFunctions.NanoChatNavigateDownUnread);
// DeltaV - End NanoChat keybinds
// End DeltaV Additions
// Not in engine, because engine cannot check for sanbox/admin status before starting placement.
common.AddFunction(ContentKeyFunctions.EditorCopyObject);

View File

@ -227,6 +227,7 @@ namespace Content.Client.Options.UI.Tabs
AddButton(ContentKeyFunctions.OpenGuidebook);
AddButton(ContentKeyFunctions.OpenInventoryMenu);
AddButton(ContentKeyFunctions.OpenAHelp);
AddButton(ContentKeyFunctions.OpenAHelpCuratorChat); // DeltaV
AddButton(ContentKeyFunctions.OpenActionsMenu);
AddButton(ContentKeyFunctions.OpenEmotesMenu);
AddButton(ContentKeyFunctions.ToggleRoundEndSummaryWindow);

View File

@ -98,8 +98,9 @@
Access="Internal"
Icon="{xe:Tex '/Textures/Interface/info.svg.192dpi.png'}"
BoundKey = "{x:Static is:ContentKeyFunctions.OpenAHelp}"
ToolTip="{Loc 'ui-options-function-open-staff-chats-deltav'}" MinSize="42 64"
ToolTip="{Loc 'ui-options-function-open-staff-chats-deltav'}"
MinSize="42 64"
HorizontalExpand="True"
AppendStyleClass="{x:Static style:StyleBase.ButtonOpenLeft}"
/> <!--DeltaV - Rename to Curator Chat-->
/> <!-- DeltaV - Changed tooltip -->
</widgets:GameTopMenuBar>

View File

@ -123,7 +123,7 @@ public sealed class StaffHelpUIController : UIController, IOnSystemChanged<Bwoin
public void OnSystemLoaded(BwoinkSystem system)
{
CommandBinds.Builder
.BindBefore(ContentKeyFunctions.OpenAHelp,
.BindBefore(ContentKeyFunctions.OpenAHelpCuratorChat, // DeltaV - change keybind
InputCmdHandler.FromDelegate(_ => ToggleWindow()),
typeof(AHelpUIController))
.Register<StaffHelpUIController>();

View File

@ -24,12 +24,13 @@ namespace Content.Shared.Input
public static readonly BoundKeyFunction CycleChatChannelForward = "CycleChatChannelForward";
public static readonly BoundKeyFunction CycleChatChannelBackward = "CycleChatChannelBackward";
public static readonly BoundKeyFunction EscapeContext = "EscapeContext";
// DeltaV - Begin NanoChat keybinds
// Begin DeltaV Additions
public static readonly BoundKeyFunction OpenAHelpCuratorChat = "OpenAHelpCuratorChat";
public static readonly BoundKeyFunction NanoChatNavigateUp = "NanoChatNavigateUp";
public static readonly BoundKeyFunction NanoChatNavigateDown = "NanoChatNavigateDown";
public static readonly BoundKeyFunction NanoChatNavigateUpUnread = "NanoChatNavigateUpUnread";
public static readonly BoundKeyFunction NanoChatNavigateDownUnread = "NanoChatNavigateDownUnread";
// DeltaV - End NanoChat keybinds
// End DeltaV Additions
public static readonly BoundKeyFunction OpenCharacterMenu = "OpenCharacterMenu";
public static readonly BoundKeyFunction OpenEmotesMenu = "OpenEmotesMenu";
public static readonly BoundKeyFunction OpenCraftingMenu = "OpenCraftingMenu";

View File

@ -6,7 +6,7 @@ You and your fellow crewmates are tasked with working together, surviving, and h
[bold]Make sure to follow all server rules.[/bold] You can ask questions or report rule breaks to the [color=#EB2D3A][bold]admin team[/bold][/color] by using the [bold]admin help menu[/bold]. ([italic]accessible by pressing [/italic][color=yellow][bold][keybind="OpenAHelp"/][/bold][/color])
Curators' goal is to present an interesting and enjoyable game experience. They may do this through influencing the round as a spectator through events. You can contact a curator for an event or need general game help by using the Curator Chat menu. ([italic]accessible by pressing [/italic][color=yellow][bold][keybind="OpenAHelp"/][/bold][/color])
Curators' goal is to present an interesting and enjoyable game experience. They may do this through influencing the round as a spectator through events. You can contact a curator for an event or if you need general game help by using the Curator Chat menu. ([italic]accessible by pressing [/italic][color=yellow][bold][keybind="OpenAHelp"/][/bold][/color])
More detailed guides about [italic]specific jobs[/italic] and [italic]mechanics[/italic] can be found [textlink="here." link="SS14"/]

View File

@ -266,6 +266,10 @@ binds:
- function: OpenAHelp
type: State
key: F1
- function: OpenAHelpCuratorChat # DeltaV
type: State
key: F1
mod1: Shift
- function: OpenInventoryMenu
type: State
key: I