mirror of
https://github.com/KabKebab/GS13.git
synced 2026-07-12 00:20:55 +01:00
fullness alerts
idk doesn't work but pop off ig
This commit is contained in:
@@ -215,6 +215,15 @@
|
||||
desc = "You've somehow managed to fit even more in your stomach, barely allowing for any more room inside."
|
||||
icon_state = "beegbelly"
|
||||
|
||||
/obj/screen/alert/sated
|
||||
name = "Sated"
|
||||
desc = "You're perfectly rather sated right now."
|
||||
icon_state = "sated"
|
||||
|
||||
/obj/screen/alert/full
|
||||
name = "Full"
|
||||
desc = "You're rather full right now. Eating more food would result in weight gain."
|
||||
icon_state = "full"
|
||||
|
||||
/obj/screen/alert/hungry
|
||||
name = "Hungry"
|
||||
|
||||
@@ -11,10 +11,10 @@
|
||||
nutrition = max(0, nutrition - (HUNGER_FACTOR / physiology.hunger_mod))
|
||||
|
||||
switch(nutrition)
|
||||
if(NUTRITION_LEVEL_FULL to INFINITY)
|
||||
throw_alert("nutrition", /obj/screen/alert/fat)
|
||||
if(NUTRITION_LEVEL_HUNGRY to NUTRITION_LEVEL_FULL)
|
||||
clear_alert("nutrition")
|
||||
if(NUTRITION_LEVEL_WELL_FED to INFINITY)
|
||||
throw_alert("nutrition", /obj/screen/alert/full)
|
||||
if(NUTRITION_LEVEL_HUNGRY to NUTRITION_LEVEL_FED)
|
||||
throw_alert("nutrition", /obj/screen/alert/sated)
|
||||
if(NUTRITION_LEVEL_STARVING to NUTRITION_LEVEL_HUNGRY)
|
||||
throw_alert("nutrition", /obj/screen/alert/hungry)
|
||||
if(0 to NUTRITION_LEVEL_STARVING)
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 119 KiB After Width: | Height: | Size: 119 KiB |
Reference in New Issue
Block a user