Fire Stack Health Indicator (#10803)

This commit is contained in:
Geeves
2020-12-20 10:45:40 +01: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.
+6
View File
@@ -0,0 +1,6 @@
author: Geeves
delete-after: True
changes:
- rscadd: "Added a colour based fire system to the health indicator, which displays just how on fire you are. Green-ish means you're only a bit on fire, while red-purplish means even firesuits won't protect you anymore."