mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-08-26 06:39:22 +01:00
Merge pull request #7151 from VOREStation/pol-hungrrr
Port tg/other hunger icons, and give synths their own
This commit is contained in:
@@ -1199,12 +1199,13 @@
|
||||
healths.appearance = healths_ma
|
||||
|
||||
if(nutrition_icon)
|
||||
var/prefix = isSynthetic() ? "c" : null
|
||||
switch(nutrition)
|
||||
if(450 to INFINITY) nutrition_icon.icon_state = "nutrition0"
|
||||
if(350 to 450) nutrition_icon.icon_state = "nutrition1"
|
||||
if(250 to 350) nutrition_icon.icon_state = "nutrition2"
|
||||
if(150 to 250) nutrition_icon.icon_state = "nutrition3"
|
||||
else nutrition_icon.icon_state = "nutrition4"
|
||||
if(450 to INFINITY) nutrition_icon.icon_state = "[prefix]nutrition0"
|
||||
if(350 to 450) nutrition_icon.icon_state = "[prefix]nutrition1"
|
||||
if(250 to 350) nutrition_icon.icon_state = "[prefix]nutrition2"
|
||||
if(150 to 250) nutrition_icon.icon_state = "[prefix]nutrition3"
|
||||
else nutrition_icon.icon_state = "[prefix]nutrition4"
|
||||
|
||||
if(pressure)
|
||||
pressure.icon_state = "pressure[pressure_alert]"
|
||||
|
||||
Reference in New Issue
Block a user