fix stupid bugs ree

This commit is contained in:
cadyn
2020-11-15 23:52:27 -08:00
committed by GitHub
parent 159b208df2
commit 4e2da5ae98
@@ -53,7 +53,7 @@
special_env = TRUE
/datum/trait/low_blood_sugar/handle_environment_special(var/mob/living/carbon/human/H)
if(H.nutrition < 200 && prob(5))
if((H.nutrition < 200) && prob(5))
if(H.nutrition > 150)
to_chat(H,"<span class='warning'>You start to feel noticeably weak as your stomach rumbles, begging for more food. Maybe you should eat something to keep your blood sugar up</span>")
else if(H.nutrition > 100)
@@ -62,11 +62,11 @@
to_chat(H,"<span class='danger'>You're feeling very weak and lightheaded, and your stomach continously rumbles at you. You really need to eat something!</span>")
else
to_chat(H,"<span class='critical'>You're feeling extremely weak and lightheaded. You feel as though you might pass out any moment and your stomach is screaming for food by now! You should really find something to eat!</span>")
if(H.nutrition < 150 && prob(15))
if((H.nutrition < 150) && prob(15))
H.Confuse(20)
if(H.nutrition < 100 && prob(30))
if((H.nutrition < 100) && prob(30))
H.hallucination = max(50,H.hallucination+10)
if(H.nutrition < 50 && prob(10))
if((H.nutrition < 50) && prob(10))
H.drowsyness = max(100,H.drowsyness+30)
/datum/trait/blindness