From 536d58cbc9fbe47ebf561fbf9bc99f0912d84a8a Mon Sep 17 00:00:00 2001 From: BongaTheProto <93835010+BongaTheProto@users.noreply.github.com> Date: Wed, 22 Feb 2023 19:14:57 -0500 Subject: [PATCH] followup --- .../modules/keybindings/keybind/movement.dm | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/modular_splurt/code/modules/keybindings/keybind/movement.dm b/modular_splurt/code/modules/keybindings/keybind/movement.dm index bdca385832..fbaffe5f37 100644 --- a/modular_splurt/code/modules/keybindings/keybind/movement.dm +++ b/modular_splurt/code/modules/keybindings/keybind/movement.dm @@ -21,3 +21,43 @@ var/mob/M = user.mob M.tilt_left() return TRUE + +/datum/keybinding/mob/pixel_shift/shift_north + hotkey_keys = list("CtrlShiftW", "CtrlShiftNorth") + name = "pixel_shift_north" + full_name = "Pixel Shift North" + +/datum/keybinding/mob/pixel_shift/shift_north/down(client/user) + var/mob/M = user.mob + M.pixel_shift(NORTH) + return TRUE + +/datum/keybinding/mob/pixel_shift/shift_east + hotkey_keys = list("CtrlShiftD", "CtrlShiftEast") + name = "pixel_shift_east" + full_name = "Pixel Shift East" + +/datum/keybinding/mob/pixel_shift/shift_east/down(client/user) + var/mob/M = user.mob + M.pixel_shift(EAST) + return TRUE + +/datum/keybinding/mob/pixel_shift/shift_south + hotkey_keys = list("CtrlShiftS", "CtrlShiftSouth") + name = "pixel_shift_south" + full_name = "Pixel Shift South" + +/datum/keybinding/mob/pixel_shift/shift_south/down(client/user) + var/mob/M = user.mob + M.pixel_shift(SOUTH) + return TRUE + +/datum/keybinding/mob/pixel_shift/shift_west + hotkey_keys = list("CtrlShiftA", "CtrlShiftWest") + name = "pixel_shift_west" + full_name = "Pixel Shift West" + +/datum/keybinding/mob/pixel_shift/shift_west/down(client/user) + var/mob/M = user.mob + M.pixel_shift(WEST) + return TRUE