mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-10 09:54:52 +00:00
23 lines
415 B
Plaintext
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 ..()
|