Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds a 'Time Since Death' counter to the status tab #5314

Merged
merged 2 commits into from
Dec 30, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions code/modules/mob/dead/observer/observer.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1231,6 +1231,10 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
if(client.prefs?.be_special & BE_ALIEN_AFTER_DEATH)
if(larva_queue_cached_message)
. += larva_queue_cached_message
. += ""

if(timeofdeath)
. += "Time Since Death: [duration2text_sec(world.time - timeofdeath)]"


/proc/message_ghosts(message)
Expand Down