Adds Rejuvenate to the Context Menu

faster aheals faster tickets
this one's coded by me

Context Menu is ordered by category so switching it to Debug bumps it up a few spaces.
This commit is contained in:
Sim
2024-10-08 16:45:05 -03:00
parent 3e4f8da97c
commit 6cbc3a7930
3 changed files with 22 additions and 20 deletions
+20
View File
@@ -539,6 +539,26 @@
return dresscode
/client/proc/cmd_admin_rejuvenate(mob/living/M in GLOB.mob_list)
set category = "Debug"
set name = "Rejuvenate"
if(!check_rights(R_ADMIN))
return
if(!mob)
return
if(!istype(M))
alert("Cannot revive a ghost")
return
M.revive(full_heal = 1, admin_revive = 1)
log_admin("[key_name(usr)] healed / revived [key_name(M)]")
var/msg = "<span class='danger'>Admin [key_name_admin(usr)] healed / revived [ADMIN_LOOKUPFLW(M)]!</span>"
message_admins(msg)
admin_ticket_log(M, msg)
SSblackbox.record_feedback("tally", "admin_verb", 1, "Rejuvinate") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/startSinglo()
set category = "Debug"