[MIRROR] Signals and God (#11242)

Co-authored-by: Cameron Lennox <killer65311@gmail.com>
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-07-26 03:54:31 +02:00
committed by GitHub
co-authored by Cameron Lennox Kashargul
parent 549c470ca1
commit 23a48feba4
35 changed files with 376 additions and 105 deletions
+10 -6
View File
@@ -158,20 +158,24 @@ ADMIN_VERB(drop_everything, R_ADMIN, "Drop Everything", ADMIN_VERB_NO_DESCRIPTIO
/client/proc/cmd_admin_godmode(mob/M as mob in GLOB.mob_list)
set category = "Admin.Game"
set name = "Godmode"
set name = "Toggle Godmode"
if(!check_rights_for(src, R_HOLDER))
return
M.status_flags ^= GODMODE
if(M.status_flags & GODMODE)
M.RemoveElement(/datum/element/godmode)
else if(!(M.status_flags & GODMODE))
M.AddElement(/datum/element/godmode)
to_chat(usr, span_blue("Toggled [(M.status_flags & GODMODE) ? "ON" : "OFF"]"))
log_admin("[key_name(usr)] has toggled [key_name(M)]'s nodamage to [(M.status_flags & GODMODE) ? "On" : "Off"]")
var/msg = "[key_name_admin(usr)] has toggled [ADMIN_LOOKUPFLW(M)]'s nodamage to [(M.status_flags & GODMODE) ? "On" : "Off"]"
log_admin("[key_name(usr)] has toggled [key_name(M)]'s godmode to [(M.status_flags & GODMODE) ? "On" : "Off"]")
var/msg = "[key_name_admin(usr)] has toggled [ADMIN_LOOKUPFLW(M)]'s godmode to [(M.status_flags & GODMODE) ? "On" : "Off"]"
message_admins(msg)
admin_ticket_log(M, msg)
feedback_add_details("admin_verb","GOD") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
feedback_add_details("admin_verb","GOD_ENABLE") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/proc/cmd_admin_mute(mob/M as mob, mute_type, automute = 0)
if(automute)