Files
Paradise/code/modules/keybindings/bindings_robot.dm
SteelSlayer 336bfac05a Magnetic gripper code cleanup/re-organization, and bug fix (#12592)
* 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>
2020-04-10 23:21:47 -06:00

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 ..()