From 55ae8648210b0426989cbe06cd3b0fa557d5ed12 Mon Sep 17 00:00:00 2001
From: GDN <96800819+GDNgit@users.noreply.github.com>
Date: Fri, 24 Mar 2023 15:42:33 -0500
Subject: [PATCH] adds a message notice that you can no longer move as a slime
(#20626)
* adds a message notice that you can no longer move as a slime
* Update code/modules/mob/living/simple_animal/slime/slime_life.dm
Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
---------
Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
---
code/modules/mob/living/simple_animal/slime/slime_life.dm | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/code/modules/mob/living/simple_animal/slime/slime_life.dm b/code/modules/mob/living/simple_animal/slime/slime_life.dm
index 0784226984b..60d8d0e9499 100644
--- a/code/modules/mob/living/simple_animal/slime/slime_life.dm
+++ b/code/modules/mob/living/simple_animal/slime/slime_life.dm
@@ -123,6 +123,8 @@
if(bodytemperature < (T0C + 5)) // start calculating temperature damage etc
if(bodytemperature <= (T0C - 40)) // stun temperature
Tempstun = TRUE
+ throw_alert("temp", /obj/screen/alert/cold, 3)
+ to_chat(src,"You suddenly freeze up, you cannot move!")
if(bodytemperature <= (T0C - 50)) // hurt temperature
if(bodytemperature <= 50) // sqrting negative numbers is bad
@@ -131,6 +133,8 @@
adjustBruteLoss(round(sqrt(bodytemperature)) * 2)
else
+ if(Tempstun)
+ to_chat(src,"You suddenly unthaw!")
Tempstun = FALSE
updatehealth("handle environment")