Merge pull request #6518 from Citadel-Station-13/upstream-merge-37413
[MIRROR] Gives admins the D(say) hotkey + fixes buildmode permissions
This commit is contained in:
@@ -602,6 +602,8 @@ GLOBAL_LIST_INIT(admin_verbs_hideable, list(
|
|||||||
/client/proc/togglebuildmodeself()
|
/client/proc/togglebuildmodeself()
|
||||||
set name = "Toggle Build Mode Self"
|
set name = "Toggle Build Mode Self"
|
||||||
set category = "Special Verbs"
|
set category = "Special Verbs"
|
||||||
|
if (!(holder.rank.rights & R_BUILDMODE))
|
||||||
|
return
|
||||||
if(src.mob)
|
if(src.mob)
|
||||||
togglebuildmode(src.mob)
|
togglebuildmode(src.mob)
|
||||||
SSblackbox.record_feedback("tally", "admin_verb", 1, "Toggle Build Mode") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
SSblackbox.record_feedback("tally", "admin_verb", 1, "Toggle Build Mode") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||||
|
|||||||
@@ -30,3 +30,7 @@
|
|||||||
M.show_message(rendered, 2)
|
M.show_message(rendered, 2)
|
||||||
|
|
||||||
SSblackbox.record_feedback("tally", "admin_verb", 1, "Dsay") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
SSblackbox.record_feedback("tally", "admin_verb", 1, "Dsay") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||||
|
|
||||||
|
/client/proc/get_dead_say()
|
||||||
|
var/msg = input(src, null, "dsay \"text\"") as text
|
||||||
|
dsay(msg)
|
||||||
|
|||||||
@@ -18,4 +18,7 @@
|
|||||||
else
|
else
|
||||||
user.invisimin()
|
user.invisimin()
|
||||||
return
|
return
|
||||||
|
if("F10")
|
||||||
|
user.get_dead_say()
|
||||||
|
return
|
||||||
..()
|
..()
|
||||||
|
|||||||
Reference in New Issue
Block a user