From bc6f0e37b99a9069e1daaf290d02847cfad77525 Mon Sep 17 00:00:00 2001 From: Rae Date: Fri, 15 Apr 2022 11:56:09 +0200 Subject: [PATCH] Adminverb tweaks - Make viewrange changes log - Make NIF/Auth NIF verbs show up for dev/mod --- code/modules/admin/admin_verb_lists_vr.dm | 8 ++++++-- code/modules/admin/verbs/randomverbs.dm | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/code/modules/admin/admin_verb_lists_vr.dm b/code/modules/admin/admin_verb_lists_vr.dm index 05ae0d4116..713ebcaed3 100644 --- a/code/modules/admin/admin_verb_lists_vr.dm +++ b/code/modules/admin/admin_verb_lists_vr.dm @@ -262,7 +262,9 @@ var/list/admin_verbs_debug = list( /datum/admins/proc/change_time, /client/proc/admin_give_modifier, /client/proc/simple_DPS, - /datum/admins/proc/view_feedback + /datum/admins/proc/view_feedback, + /datum/admins/proc/quick_nif, //CHOMPStation Add, + /datum/admins/proc/quick_authentic_nif, //CHOMPStation add ) var/list/admin_verbs_paranoid_debug = list( @@ -396,7 +398,9 @@ var/list/admin_verbs_mod = list( /client/proc/getserverlog, //allows us to fetch server logs (diary) for other days, /datum/admins/proc/view_persistent_data, /datum/admins/proc/view_txt_log, //shows the server log (diary) for today, - /datum/admins/proc/view_atk_log //shows the server combat-log, doesn't do anything presently, + /datum/admins/proc/view_atk_log, //shows the server combat-log, doesn't do anything presently, + /datum/admins/proc/quick_nif, //CHOMPStation Add, + /datum/admins/proc/quick_authentic_nif, //CHOMPStation add ) var/list/admin_verbs_event_manager = list( diff --git a/code/modules/admin/verbs/randomverbs.dm b/code/modules/admin/verbs/randomverbs.dm index 4d5d6f6c50..064a950ddb 100644 --- a/code/modules/admin/verbs/randomverbs.dm +++ b/code/modules/admin/verbs/randomverbs.dm @@ -883,7 +883,7 @@ Traitors and the like can also be revived with the previous role mostly intact. mob.set_viewsize(view) log_admin("[key_name(usr)] changed their view range to [view].") - //message_admins("[key_name_admin(usr)] changed their view range to [view].", 1) //why? removed by order of XSI + message_admins("[key_name_admin(usr)] changed their view range to [view].", 1) //CHOMPEdit - Uncommented this. feedback_add_details("admin_verb","CVRA") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!