mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-27 06:54:18 +01:00
Fire Stack Health Indicator (#10803)
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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."
|
||||
Reference in New Issue
Block a user