Add deadmin/readmin keybindings (#48370)

They're unbound by default, so admins will have to assign keys to them.
This commit is contained in:
81Denton
2019-12-24 11:29:17 -08:00
committed by Tad Hardesty
parent 670be00771
commit 0a42c12368
+20
View File
@@ -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