* Add pointing keybind and simple message * Add turning the player when pointing * Add pointing arrow * Make the popup message appear on the pointing entity * Add pointing to tiles and space and proper grammar * Move pointing bind from HandsSystem to PointingSystem * Add more messages for pointing depending on the viewer perspective * Fix non nullable reference type * Serialize pointing arrow duration * Serialize pointing arrow step and add summaries * Make arrow speed serializable and make it depend on frame time * Add 0.2 second delay between pointings * Add pointing arrow yaml examples * Add the ability for pointing arrows to be rogue * Remove rogue package reference * Add point to verb https://cdn.discordapp.com/attachments/313107470031650816/735268651636228197/unknown.png * Add shift middle clicking an entity in the verb menu to point at it * Add VV to PointingArrowComponent * Increase pointing delay from 0.2 to 0.5 seconds * Address reviews * Fix nullability errors * Separate pointing and rogue pointing code * Fix rogue pointing arrow visuals * Made rogue pointing arrow rotation adjustment readable for mortals * Make rogue pointing arrows less destructive * Cleanup more of the rogue pointing arrow code
35 lines
2.2 KiB
C#
35 lines
2.2 KiB
C#
using Robust.Shared.Input;
|
|
|
|
namespace Content.Shared.Input
|
|
{
|
|
[KeyFunctions]
|
|
public static class ContentKeyFunctions
|
|
{
|
|
public static readonly BoundKeyFunction WideAttack = "WideAttack";
|
|
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 FocusOOC = "FocusOOCWindow";
|
|
public static readonly BoundKeyFunction FocusAdminChat = "FocusAdminChatWindow";
|
|
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 SmartEquipBackpack = "SmartEquipBackpack";
|
|
public static readonly BoundKeyFunction SmartEquipBelt = "SmartEquipBelt";
|
|
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";
|
|
public static readonly BoundKeyFunction TakeScreenshot = "TakeScreenshot";
|
|
public static readonly BoundKeyFunction TakeScreenshotNoUI = "TakeScreenshotNoUI";
|
|
public static readonly BoundKeyFunction Point = "Point";
|
|
}
|
|
}
|