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 1 commit
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
3 changes: 3 additions & 0 deletions code/modules/mob/dead/observer/observer.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1213,6 +1213,9 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp

. += ""

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

Drulikar marked this conversation as resolved.
Show resolved Hide resolved
if(SSticker.mode?.force_end_at)
var/time_left = SSticker.mode.force_end_at - world.time
if(time_left >= 0)
Expand Down
Loading