mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-28 19:21:48 +00:00
* SSinput Rewrite, Custom Keybindings
* hmm yes, safety
* azerty begone
* address AA and SteelSlayer
* Address the old man
* what
* CI dbconfig too
* Address TM issues
Unicode support
Better numpad support
Fix no perms message
Fix modifier screwing movement
* pre-TM tweak, nitfix
* pre TM change 2
* Display others
* MERGE ME
* unduplicates your rows
* reverts some changes, makes this work for now (not TM safe)
* fixes direction facing, removes hotkey help item
* weird keys
* TM commit revert later
* fixed asay/msay keybind
* adds ALL the emotes
* flip and spin
* makes old people happy
* and fixes admins not being able to msay
* lets borgs stow modules
* saves prefs when someone changes a keybind
* reverts skin changes and manually applies
HEAVEN HELP YOU IF YOU USE THE DM SKIN EDITOR IT BREAKS EVERYTHING
* tidies menu, unduplicates rest
* sql file pls come back
* Update SQL/updates/40-41.sql
* why did you not throw an error?!
* inits keybinds if your prefs somehow fail, i guess
* restores these spaces, i guess
* fixes local testing, i guess
* emote cooldown returns (oops)
* movement lock improvements
* Pageup does Swap Hands
* LOOC
* whisper for living mobs
* oops
* fix dsay
* fix IPC silicon emote hotkeys
* category name
* backspace only clears if input is focused
* Makes TAB and BACKSPACE rebindable
* charlie review
* define move
* yeet
* Lewcc review
* brings back legacy mode
* restores legacy mode
* tell legacy mode what is going on
* Update code/controllers/subsystem/input.dm
* Update code/controllers/subsystem/input.dm
Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com>
* safeties!
* legacy mode is a pref now
* undo TM changes
* null prefs safeties
* Revert "legacy mode is a pref now"
This reverts commit b45af65139.
* revert this too thanks
Co-authored-by: mochi <shenesis@gmail.com>
Co-authored-by: dearmochi <1496804+dearmochi@users.noreply.github.com>
Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com>
79 lines
1.6 KiB
Plaintext
79 lines
1.6 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/msay
|
|
name = "Msay"
|
|
keys = list("F4")
|
|
|
|
/datum/keybinding/admin/msay/down(client/C)
|
|
. = ..()
|
|
C.get_mentor_say()
|
|
|
|
/datum/keybinding/admin/asay
|
|
name = "Asay"
|
|
keys = list("F5")
|
|
|
|
/datum/keybinding/admin/asay/down(client/C)
|
|
. = ..()
|
|
C.get_admin_say()
|
|
|
|
/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()
|
|
|
|
/datum/keybinding/admin/dsay
|
|
name = "Dsay"
|
|
keys = list("F10")
|
|
|
|
/datum/keybinding/admin/dsay/down(client/C)
|
|
. = ..()
|
|
C.get_dead_say()
|