Merge pull request #7814 from VOREStation/aro-hungryman
Port tg/other hunger icons, and give synths their own
@@ -1214,12 +1214,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]"
|
||||
|
||||
|
Before Width: | Height: | Size: 113 KiB After Width: | Height: | Size: 113 KiB |
|
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 36 KiB |
|
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 28 KiB |
|
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 32 KiB |
|
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 33 KiB |
|
Before Width: | Height: | Size: 48 KiB After Width: | Height: | Size: 49 KiB |
|
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 44 KiB |