mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-10 23:54:14 +01:00
baf3837ae8
# Conflicts: # _maps/RandomRuins/SpaceRuins/derelict_sulaco.dmm # _maps/RandomRuins/SpaceRuins/garbagetruck2.dmm # _maps/map_files/CatwalkStation/CatwalkStation_2023.dmm # _maps/map_files/tramstation/tramstation.dmm # code/_onclick/hud/new_player.dm # code/datums/components/squashable.dm # code/datums/diseases/advance/symptoms/heal.dm # code/datums/diseases/chronic_illness.dm # code/datums/status_effects/buffs.dm # code/datums/status_effects/debuffs/drunk.dm # code/datums/status_effects/debuffs/stamcrit.dm # code/game/machinery/computer/crew.dm # code/game/objects/items/devices/scanners/health_analyzer.dm # code/game/objects/items/wall_mounted.dm # code/game/turfs/closed/indestructible.dm # code/modules/admin/view_variables/filterrific.dm # code/modules/antagonists/heretic/influences.dm # code/modules/cargo/orderconsole.dm # code/modules/client/preferences.dm # code/modules/events/space_vines/vine_mutations.dm # code/modules/mob/dead/new_player/new_player.dm # code/modules/mob/living/carbon/human/death.dm # code/modules/mob/living/carbon/human/species_types/jellypeople.dm # code/modules/mob/living/damage_procs.dm # code/modules/mob/living/living.dm # code/modules/mob_spawn/ghost_roles/mining_roles.dm # code/modules/mob_spawn/mob_spawn.dm # code/modules/projectiles/ammunition/energy/laser.dm # code/modules/projectiles/guns/ballistic/launchers.dm # code/modules/projectiles/guns/energy/laser.dm # code/modules/reagents/chemistry/machinery/chem_dispenser.dm # code/modules/reagents/chemistry/reagents/cat2_medicine_reagents.dm # code/modules/reagents/chemistry/reagents/drinks/alcohol_reagents.dm # code/modules/reagents/chemistry/reagents/medicine_reagents.dm # code/modules/surgery/healing.dm # code/modules/unit_tests/designs.dm # icons/mob/inhands/items_lefthand.dmi # icons/mob/inhands/items_righthand.dmi # tgui/packages/tgui/interfaces/ChemDispenser.tsx
60 lines
1.8 KiB
Plaintext
60 lines
1.8 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, turf/target, mousepos_x, mousepos_y)
|
|
. = ..()
|
|
if(.)
|
|
return
|
|
winset(user, null, "command=[user.tgui_say_create_open_command(SAY_CHANNEL)];")
|
|
winset(user, "tgui_say.browser", "focus=true")
|
|
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, turf/target, mousepos_x, mousepos_y)
|
|
. = ..()
|
|
if(.)
|
|
return
|
|
winset(user, null, "command=[user.tgui_say_create_open_command(RADIO_CHANNEL)]")
|
|
winset(user, "tgui_say.browser", "focus=true")
|
|
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, turf/target, mousepos_x, mousepos_y)
|
|
. = ..()
|
|
if(.)
|
|
return
|
|
winset(user, null, "command=[user.tgui_say_create_open_command(OOC_CHANNEL)]")
|
|
winset(user, "tgui_say.browser", "focus=true")
|
|
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, turf/target, mousepos_x, mousepos_y)
|
|
. = ..()
|
|
if(.)
|
|
return
|
|
winset(user, null, "command=[user.tgui_say_create_open_command(ME_CHANNEL)]")
|
|
winset(user, "tgui_say.browser", "focus=true")
|
|
return TRUE
|