mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 20:47:10 +01:00
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>
This commit is contained in:
@@ -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,"<span class='userdanger'>You suddenly freeze up, you cannot move!</span>")
|
||||
|
||||
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,"<span class='warning'>You suddenly unthaw!</span>")
|
||||
Tempstun = FALSE
|
||||
|
||||
updatehealth("handle environment")
|
||||
|
||||
Reference in New Issue
Block a user