mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-30 04:02:33 +00:00
* initial stuff (broken) * initial stuff (works) * fix most other things * fix thinking indicator * file name moment * contra review * better logs * snowball feedback * expanded drag handles * Update code/modules/tgui_input/say_modal/tgui_say_modal.dm Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com> * Update code/modules/tgui_input/say_modal/tgui_say_modal.dm Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com> * Drag handle * fix missing colours * TGUI rebuild (im clever) * Make msay useable by admins again (i hope) * fixed blacklist channel leaks due to lack of user eyes * clear old TGUIsay macros on keybind update * TGUI say tweaks * Update code/modules/tgui_input/say_modal/tgui_say_modal.dm * whisper is now a channel * remove placeholder, shorten width * tidies prefs, fix lightmode, refactor typing/thinking indicators * clarify more prefs * TG Typing Indicators and increace layer * modifiers? * makes the TGUI say macros serverside * add checks for muted stuff * dgamer review * fix talk and type issue * Update code/datums/keybindings/communication_keybinds.dm Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com> * review and binary stuff * Removes force say from TGUI say * updated * Apply suggestions from code review Co-authored-by: Aylong <69762909+AyIong@users.noreply.github.com> * remove verb * le rebuild * better behaviour on illegal entries --------- Co-authored-by: Aylong <alexanderkitsa@gmail.com> Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com> Co-authored-by: GDN <Roanrichards1@Gmail.com> Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com> Co-authored-by: Aylong <69762909+AyIong@users.noreply.github.com>
55 lines
1.1 KiB
Plaintext
55 lines
1.1 KiB
Plaintext
/datum/keybinding/admin
|
|
category = KB_CATEGORY_ADMIN
|
|
/// The rights to use with [/proc/check_rights] if any
|
|
var/rights
|
|
|
|
/datum/keybinding/admin/can_use(client/C, mob/M)
|
|
if(rights && !check_rights(rights, FALSE))
|
|
return FALSE
|
|
return !isnull(C.holder) && ..()
|
|
|
|
/datum/keybinding/admin/mc_debug
|
|
name = "MC Debug"
|
|
keys = list("F3")
|
|
rights = R_VIEWRUNTIMES | R_DEBUG
|
|
|
|
/datum/keybinding/admin/mc_debug/down(client/C)
|
|
. = ..()
|
|
if(C in SSdebugview.processing)
|
|
SSdebugview.stop_processing(C)
|
|
return
|
|
SSdebugview.start_processing(C)
|
|
|
|
/datum/keybinding/admin/aghost
|
|
name = "Aghost"
|
|
keys = list("F6")
|
|
|
|
/datum/keybinding/admin/aghost/down(client/C)
|
|
. = ..()
|
|
C.admin_ghost()
|
|
|
|
/datum/keybinding/admin/player_panel
|
|
name = "Player Panel"
|
|
keys = list("F7")
|
|
rights = R_ADMIN | R_MOD
|
|
|
|
/datum/keybinding/admin/player_panel/down(client/C)
|
|
. = ..()
|
|
C.holder.player_panel_new()
|
|
|
|
/datum/keybinding/admin/apm
|
|
name = "Admin PM"
|
|
keys = list("F8")
|
|
|
|
/datum/keybinding/admin/apm/down(client/C)
|
|
. = ..()
|
|
C.cmd_admin_pm_panel()
|
|
|
|
/datum/keybinding/admin/invisimin
|
|
name = "Invisimin"
|
|
keys = list("F9")
|
|
|
|
/datum/keybinding/admin/invisimin/down(client/C)
|
|
. = ..()
|
|
C.invisimin()
|