Fire Stack Health Indicator (#10803)

This commit is contained in:
Geeves
2020-12-20 11:45:40 +02:00
committed by GitHub
parent 738bac98c4
commit 646e55c8ec
2 changed files with 8 additions and 0 deletions
@@ -873,6 +873,8 @@
// Apply a fire overlay if we're burning.
if(on_fire)
var/image/burning_image = image('icons/mob/screen1_health.dmi', "burning", pixel_x = species.healths_overlay_x)
var/midway_point = FIRE_MAX_STACKS / 2
burning_image.color = color_rotation((midway_point - fire_stacks) * 3)
health_images += burning_image
// Show a general pain/crit indicator if needed.