Medical HUDs will now only show brainworms if the worm is controlling the host.

This commit is contained in:
Zuhayr
2013-12-19 11:00:21 +10:30
parent 44ef03e439
commit b0b038873f
4 changed files with 26 additions and 8 deletions
+7 -2
View File
@@ -156,14 +156,19 @@ Works together with spawning an observer, noted above.
holder = patient.hud_list[STATUS_HUD]
if(patient.stat == 2)
holder.icon_state = "huddead"
else if(patient.has_brain_worms())
holder.icon_state = "hudbrainworm"
else if(patient.status_flags & XENO_HOST)
holder.icon_state = "hudxeno"
else if(foundVirus)
holder.icon_state = "hudill"
else if(patient.has_brain_worms())
var/mob/living/simple_animal/borer/B = patient.has_brain_worms()
if(B.controlling)
holder.icon_state = "hudbrainworm"
else
holder.icon_state = "hudhealthy"
else
holder.icon_state = "hudhealthy"
C.images += holder
+6 -2
View File
@@ -76,12 +76,16 @@
holder = patient.hud_list[STATUS_HUD]
if(patient.stat == 2)
holder.icon_state = "huddead"
else if(patient.has_brain_worms())
holder.icon_state = "hudbrainworm"
else if(patient.status_flags & XENO_HOST)
holder.icon_state = "hudxeno"
else if(foundVirus)
holder.icon_state = "hudill"
else if(patient.has_brain_worms())
var/mob/living/simple_animal/borer/B = patient.has_brain_worms()
if(B.controlling)
holder.icon_state = "hudbrainworm"
else
holder.icon_state = "hudhealthy"
else
holder.icon_state = "hudhealthy"
client.images += holder