[MIRROR] Aghost Logging (#12839)

Co-authored-by: Casey <a.roaming.shadow@gmail.com>
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2026-07-03 00:18:11 +02:00
committed by GitHub
co-authored by Casey Cameron Lennox
parent 8f6c953472
commit acc6fa1dba
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -57,6 +57,7 @@ ADMIN_VERB(admin_ghost, R_HOLDER, "Aghost", "Ghost out of your body with the opt
to_chat(user, span_filter_system(span_warning("Error: Aghost: Can't admin-ghost whilst in the lobby. Join or Observe first.")))
else
//ghostize
log_and_message_admins("has aghosted.", user) //CHOMPEdit - Keep messaging admins
var/mob/body = mob
var/mob/observer/dead/ghost
if(build_mode)
+2 -2
View File
@@ -277,6 +277,8 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
if(!found_rune)
to_chat(src, span_warning("The astral cord that ties your body and your spirit has been severed. You are likely to wander the realm beyond until your body is finally dead and thus reunited with you."))
return
if(admin_ghosted)
log_and_message_admins("re-entered their body.", src) //CHOMPEdit - Keep messaging admins
mind.current.ajourn=0
mind.current.key = key
mind.current.teleop = null
@@ -288,8 +290,6 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
B.update(1)
if(!admin_ghosted)
announce_ghost_joinleave(mind, 0, "They now occupy their body again.")
if(admin_ghosted)
log_and_message_admins("Admin [key_name(src)] re-entered their body.")
return 1
/mob/observer/dead/verb/toggle_medHUD()