re-implements gibself as a ghost

This commit is contained in:
intigracy
2019-10-16 19:47:17 -07:00
parent ee5003b97f
commit 79aec8fe8f

View File

@@ -785,20 +785,28 @@ Traitors and the like can also be revived with the previous role mostly intact.
log_admin("[key_name(usr)] has gibbed [key_name(M)]")
message_admins("[key_name_admin(usr)] has gibbed [key_name_admin(M)]", 1)
M.gib()
if(!istype(mob, /mob/dead/observer))
M.gib()
else
gibs(M.loc, null)
feedback_add_details("admin_verb","GIB") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/cmd_admin_gib_self()
set name = "Gibself"
set category = "Fun"
var/confirm = alert(src, "You sure?", "Confirm", "Yes", "No")
if(confirm == "Yes")
log_admin("[key_name(usr)] used gibself.")
message_admins("<span class='notice'>[key_name_admin(usr)] used gibself.</span>", 1)
if(!istype(mob, /mob/dead/observer))
mob.gib()
feedback_add_details("admin_verb","GIBS") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
if(!istype(mob, /mob/dead/observer))
var/confirm = alert(src, "You sure?", "Confirm", "Yes", "No")
if(confirm != "Yes")
return
log_admin("[key_name(usr)] used gibself.")
message_admins("<span class='notice'>[key_name_admin(usr)] used gibself.</span>", 1)
if(!istype(mob, /mob/dead/observer))
mob.gib()
else
gibs(mob.loc, null)
feedback_add_details("admin_verb","GIBS") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/*
/client/proc/cmd_manual_ban()
set name = "Manual Ban"