Nutrition Fix

This commit is contained in:
Fox-McCloud
2016-04-25 23:30:55 -04:00
parent d7527fcb5b
commit a4dce5dd5f
@@ -646,11 +646,11 @@
H.healthdoll.overlays += image('icons/mob/screen_gen.dmi',"[O.limb_name][icon_num]")
switch(H.nutrition)
if(450 to INFINITY)
if(NUTRITION_LEVEL_FULL to INFINITY)
H.throw_alert("nutrition", /obj/screen/alert/fat)
if(350 to 450)
if(NUTRITION_LEVEL_HUNGRY to NUTRITION_LEVEL_FULL)
H.clear_alert("nutrition")
if(250 to 350)
if(NUTRITION_LEVEL_STARVING to NUTRITION_LEVEL_HUNGRY)
H.throw_alert("nutrition", /obj/screen/alert/hungry)
else
H.throw_alert("nutrition", /obj/screen/alert/starving)