Files
GS13/code/modules/keybindings/bindings_robot.dm
2021-03-20 12:36:02 +00:00

16 lines
306 B
Plaintext

/mob/living/silicon/robot/key_down(_key, client/user)
switch(_key)
if("1", "2", "3")
toggle_module(text2num(_key))
return
if("4")
a_intent_change(INTENT_HOTKEY_LEFT)
return
if("Q")
uneq_active()
return
return ..()
/mob/living/silicon/robot/key_up(_key, client/user)
return ..()