adds more hand keybinds (#25225)

This commit is contained in:
Contrabang
2024-05-02 23:33:24 +00:00
committed by GitHub
parent b14830c85a
commit fe59ff5c3d
6 changed files with 27 additions and 14 deletions
+16
View File
@@ -42,6 +42,22 @@
. = ..()
C.mob.swap_hand()
/datum/keybinding/mob/hand_right
name = "Swap to/Activate Right Hand"
/datum/keybinding/mob/hand_right/down(client/C)
. = ..()
if(!C.mob.activate_hand(HAND_BOOL_RIGHT))
C.mob.mode()
/datum/keybinding/mob/hand_left
name = "Swap to/Activate Left Hand"
/datum/keybinding/mob/hand_left/down(client/C)
. = ..()
if(!C.mob.activate_hand(HAND_BOOL_LEFT))
C.mob.mode()
// Intents
/datum/keybinding/mob/prev_intent
name = "Previous Intent"