From 1657eaa06af00ba7dd4f9dbf5e940945e738e384 Mon Sep 17 00:00:00 2001 From: Belaya Date: Sat, 12 Apr 2025 19:15:41 -0500 Subject: [PATCH] SSD Examine timer --- code/modules/mob/living/carbon/human/examine.dm | 2 +- code/modules/mob/living/carbon/life.dm | 1 + code/modules/mob/living/living_defines.dm | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/code/modules/mob/living/carbon/human/examine.dm b/code/modules/mob/living/carbon/human/examine.dm index 2a176c755b..ba8ba77170 100644 --- a/code/modules/mob/living/carbon/human/examine.dm +++ b/code/modules/mob/living/carbon/human/examine.dm @@ -371,7 +371,7 @@ if(!key) msg += "[t_He] [t_is] totally catatonic. The stresses of life in deep-space must have been too much for [t_him]. Any recovery is unlikely.\n" else if(!client) - msg += "[t_He] [t_has] a blank, absent-minded stare and appears completely unresponsive to anything. [t_He] may snap out of it soon.\n" + msg += "[t_He] [t_has] a blank, absent-minded stare and [t_has] been completely unresponsive to anything for [round(((world.time - lastclienttime) / (1 MINUTES)),1)] minutes. [t_He] may snap out of it soon.\n" //GS13 Edit: SSD timer if(digitalcamo) msg += "[t_He] [t_is] moving [t_his] body in an unnatural and blatantly inhuman manner.\n" diff --git a/code/modules/mob/living/carbon/life.dm b/code/modules/mob/living/carbon/life.dm index 29f17c0c71..f146e0f9b9 100644 --- a/code/modules/mob/living/carbon/life.dm +++ b/code/modules/mob/living/carbon/life.dm @@ -524,6 +524,7 @@ GLOBAL_LIST_INIT(ballmer_windows_me_msg, list("Yo man, what if, we like, uh, put if(!SSD) add_status_indicator("ssd") SSD = TRUE + lastclienttime = world.time //GS13 Editception: SSD timer else if(SSD) remove_status_indicator("ssd") diff --git a/code/modules/mob/living/living_defines.dm b/code/modules/mob/living/living_defines.dm index d3d0919baf..2967865db2 100644 --- a/code/modules/mob/living/living_defines.dm +++ b/code/modules/mob/living/living_defines.dm @@ -92,6 +92,7 @@ // GS13 EDIT var/SSD = FALSE + var/lastclienttime = 0 //GS13 Editception: SSD timer var/list/pipes_shown = list() var/last_played_vent