mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 20:48:56 +01:00
Add deadmin/readmin keybindings (#48370)
They're unbound by default, so admins will have to assign keys to them.
This commit is contained in:
@@ -72,3 +72,23 @@
|
||||
/datum/keybinding/admin/deadsay/down(client/user)
|
||||
user.get_dead_say()
|
||||
return TRUE
|
||||
|
||||
/datum/keybinding/admin/deadmin
|
||||
hotkey_keys = list("Unbound")
|
||||
name = "deadmin"
|
||||
full_name = "Deadmin"
|
||||
description = "Shed your admin powers"
|
||||
|
||||
/datum/keybinding/admin/deadmin/down(client/user)
|
||||
user.deadmin()
|
||||
return TRUE
|
||||
|
||||
/datum/keybinding/admin/readmin
|
||||
hotkey_keys = list("Unbound")
|
||||
name = "readmin"
|
||||
full_name = "Readmin"
|
||||
description = "Regain your admin powers"
|
||||
|
||||
/datum/keybinding/admin/readmin/down(client/user)
|
||||
user.readmin()
|
||||
return TRUE
|
||||
|
||||
Reference in New Issue
Block a user