mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-19 23:01:35 +00:00
* Silicon gripper code cleanup/reorganization and bug fix * review tweaks + other minor stuff * fixes runtimes + other touchups * oops * more cleanup * adds a <span> * Lemon review updates Makes Q drop the gripped item now insteald of having it on attack_self. Removes the configurable_items list because its not needed with this change. Other small logic improvement in inventory.dm * CRLF to LF * touchups -adds back in drop gripped item verb -removes paperwork gripper * add AZERTY hotkey support Co-authored-by: SteelSlayer <SteelSlayer@users.noreply.github.com>
19 lines
427 B
Plaintext
19 lines
427 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("X")
|
|
cycle_modules()
|
|
return
|
|
if("Q")
|
|
if(!(client.prefs.toggles & AZERTY))
|
|
on_drop_hotkey_press() // User is in QWERTY hotkey mode.
|
|
if("A")
|
|
if(client.prefs.toggles & AZERTY)
|
|
on_drop_hotkey_press()
|
|
return ..()
|