mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-20 14:45:05 +00:00
* 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>
56 lines
1.5 KiB
Plaintext
56 lines
1.5 KiB
Plaintext
/datum/keybinding/client/communication
|
|
category = CATEGORY_COMMUNICATION
|
|
|
|
/datum/keybinding/client/communication/say
|
|
hotkey_keys = list("T")
|
|
name = SAY_CHANNEL
|
|
full_name = "IC Say"
|
|
keybind_signal = COMSIG_KB_CLIENT_SAY_DOWN
|
|
|
|
/datum/keybinding/client/communication/say/down(client/user)
|
|
. = ..()
|
|
if(.)
|
|
return
|
|
winset(user, null, "command=[user.tgui_say_create_open_command(SAY_CHANNEL)]")
|
|
return TRUE
|
|
|
|
/datum/keybinding/client/communication/radio
|
|
//hotkey_keys = list("Y") // ORIGINAL
|
|
hotkey_keys = list(";") // SKYRAT EDIT CHANGE - CUSTOMIZATION
|
|
name = RADIO_CHANNEL
|
|
full_name = "IC Radio (;)"
|
|
keybind_signal = COMSIG_KB_CLIENT_RADIO_DOWN
|
|
|
|
/datum/keybinding/client/communication/radio/down(client/user)
|
|
. = ..()
|
|
if(.)
|
|
return
|
|
winset(user, null, "command=[user.tgui_say_create_open_command(RADIO_CHANNEL)]")
|
|
return TRUE
|
|
|
|
/datum/keybinding/client/communication/ooc
|
|
hotkey_keys = list("O")
|
|
name = OOC_CHANNEL
|
|
full_name = "Out Of Character Say (OOC)"
|
|
keybind_signal = COMSIG_KB_CLIENT_OOC_DOWN
|
|
|
|
/datum/keybinding/client/communication/ooc/down(client/user)
|
|
. = ..()
|
|
if(.)
|
|
return
|
|
winset(user, null, "command=[user.tgui_say_create_open_command(OOC_CHANNEL)]")
|
|
return TRUE
|
|
|
|
/datum/keybinding/client/communication/me
|
|
hotkey_keys = list("M")
|
|
name = ME_CHANNEL
|
|
full_name = "Custom Emote (/Me)"
|
|
keybind_signal = COMSIG_KB_CLIENT_ME_DOWN
|
|
|
|
/datum/keybinding/client/communication/me/down(client/user)
|
|
. = ..()
|
|
if(.)
|
|
return
|
|
winset(user, null, "command=[user.tgui_say_create_open_command(ME_CHANNEL)]")
|
|
return TRUE
|