From 4bf7fc6d218085227987943de3d50527f94438ce Mon Sep 17 00:00:00 2001 From: killer653 Date: Thu, 14 Dec 2017 22:55:27 -0500 Subject: [PATCH] Sleep --- .../carbon/human/species/station/station_special_vr.dm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/code/modules/mob/living/carbon/human/species/station/station_special_vr.dm b/code/modules/mob/living/carbon/human/species/station/station_special_vr.dm index 9e1a6d1ee5..c6f8b5fb72 100644 --- a/code/modules/mob/living/carbon/human/species/station/station_special_vr.dm +++ b/code/modules/mob/living/carbon/human/species/station/station_special_vr.dm @@ -403,11 +403,12 @@ if(H.stat == 2) return - if(H.bodytemperature >= 318.15 && H.bodytemperature < 333.15) //45C + if(H.bodytemperature >= 318.15 && H.bodytemperature < 333.15) //45C Confusion H.confused = max(H.confused, 20) - else if(H.bodytemperature >= 333.15 && H.bodytemperature < 353.15) //60C + else if(H.bodytemperature >= 333.15 && H.bodytemperature < 353.15) //60C Sleeping + H.sleeping = max(H.sleeping, 20) + else if(H.bodytemperature >= 353.15) //80C Organ damage and sleeping. H.sleeping = max(H.sleeping, 20) - else if(H.bodytemperature >= 353.15) //80C var/obj/item/organ/internal/O = pick(H.internal_organs) if(O) //In case they have no internal organs but are still alive by some magic. Prevents runtimes. O.take_damage(5) //Welp.