Merge pull request #7958 from Little-119/fix-custom-species-synths-hunger-alert

Fix custom species synthetics' hunger alert icons
This commit is contained in:
Aronai Sieyes
2020-05-18 22:43:26 -04:00
committed by GitHub
+5 -5
View File
@@ -1225,16 +1225,16 @@
var/hungry_alert = /obj/screen/alert/hungry
var/starving_alert = /obj/screen/alert/starving
if(get_species() == SPECIES_CUSTOM)
if(isSynthetic())
fat_alert = /obj/screen/alert/fat/synth
hungry_alert = /obj/screen/alert/hungry/synth
starving_alert = /obj/screen/alert/starving/synth
else if(get_species() == SPECIES_CUSTOM)
var/datum/species/custom/C = species
if(/datum/trait/bloodsucker in C.traits)
fat_alert = /obj/screen/alert/fat/vampire
hungry_alert = /obj/screen/alert/hungry/vampire
starving_alert = /obj/screen/alert/starving/vampire
else if(isSynthetic())
fat_alert = /obj/screen/alert/fat/synth
hungry_alert = /obj/screen/alert/hungry/synth
starving_alert = /obj/screen/alert/starving/synth
switch(nutrition)
if(450 to INFINITY)