Files
GS13/code/modules/keybindings/bindings_robot.dm
kevinz000 ca55e5f8b0 Merge pull request #9804 from Ghommie/Ghommie-cit351
Unmodularize keybindings.
2021-01-04 01:31:17 -03:00

23 lines
415 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
if("Shift")
sprint_hotkey(TRUE)
return
return ..()
/mob/living/silicon/robot/key_up(_key, client/user)
switch(_key)
if("Shift")
sprint_hotkey(FALSE)
return
return ..()