Files
7c237947bd [MIRROR] Russian(and another) chat keybindings fix. [MDB IGNORE] (#21249)
* Russian(and another) chat keybindings fix.

* update modular

---------

Co-authored-by: Yaroslav Nurkov <78199449+AnywayFarus@users.noreply.github.com>
Co-authored-by: lessthanthree <83487515+lessthnthree@users.noreply.github.com>
Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>
2023-05-20 22:10:37 +00:00

26 lines
704 B
Plaintext

/datum/keybinding/client/communication/looc
hotkey_keys = list("L")
name = LOOC_CHANNEL
full_name = "Local OOC (LOOC)"
keybind_signal = COMSIG_KB_CLIENT_LOOC_DOWN
/datum/keybinding/client/communication/looc/down(client/user)
. = ..()
if(.)
return
winset(user, null, "command=[user.tgui_say_create_open_command(LOOC_CHANNEL)]")
return TRUE
/datum/keybinding/client/communication/whisper
hotkey_keys = list("Y")
name = WHIS_CHANNEL
full_name = "IC Whisper"
keybind_signal = COMSIG_KB_CLIENT_WHISPER_DOWN
/datum/keybinding/client/communication/whisper/down(client/user)
. = ..()
if(.)
return
winset(user, null, "command=[user.tgui_say_create_open_command(WHIS_CHANNEL)]")
return TRUE