* Several sandbox manager improvements - Bound sandbox manager to B key as it lists on the UI - Bound entity spawner to F5 - Bound tile spawner to F6 - Made entity spawner and tile spawner toggle instead of repeated spawning new windows from the sandbox panel * Move relevant keyfunctions from engine to content Turns out it was unnecessary to have the key functions in the engine as all code using the ones added here are in content.
29 lines
1.7 KiB
C#
29 lines
1.7 KiB
C#
using Robust.Shared.Input;
|
|
|
|
namespace Content.Shared.Input
|
|
{
|
|
[KeyFunctions]
|
|
public static class ContentKeyFunctions
|
|
{
|
|
public static readonly BoundKeyFunction UseOrAttack = "UseOrAttack";
|
|
public static readonly BoundKeyFunction Attack = "Attack";
|
|
public static readonly BoundKeyFunction ActivateItemInHand = "ActivateItemInHand";
|
|
public static readonly BoundKeyFunction ActivateItemInWorld = "ActivateItemInWorld"; // default action on world entity
|
|
public static readonly BoundKeyFunction Drop = "Drop";
|
|
public static readonly BoundKeyFunction ExamineEntity = "ExamineEntity";
|
|
public static readonly BoundKeyFunction FocusChat = "FocusChatWindow";
|
|
public static readonly BoundKeyFunction OpenCharacterMenu = "OpenCharacterMenu";
|
|
public static readonly BoundKeyFunction OpenContextMenu = "OpenContextMenu";
|
|
public static readonly BoundKeyFunction OpenCraftingMenu = "OpenCraftingMenu";
|
|
public static readonly BoundKeyFunction OpenInventoryMenu = "OpenInventoryMenu";
|
|
public static readonly BoundKeyFunction OpenTutorial = "OpenTutorial";
|
|
public static readonly BoundKeyFunction SwapHands = "SwapHands";
|
|
public static readonly BoundKeyFunction ThrowItemInHand = "ThrowItemInHand";
|
|
public static readonly BoundKeyFunction ToggleCombatMode = "ToggleCombatMode";
|
|
public static readonly BoundKeyFunction MouseMiddle = "MouseMiddle";
|
|
public static readonly BoundKeyFunction OpenEntitySpawnWindow = "OpenEntitySpawnWindow";
|
|
public static readonly BoundKeyFunction OpenSandboxWindow = "OpenSandboxWindow";
|
|
public static readonly BoundKeyFunction OpenTileSpawnWindow = "OpenTileSpawnWindow";
|
|
}
|
|
}
|