Merge pull request #31208 from ShizCalev/AINT-NOTHIN-BUT-A-FIRE-STARTA

Makes mobs on fire light up
This commit is contained in:
oranges
2017-10-04 12:12:49 +13:00
committed by CitadelStationBot
parent aec96bbbbe
commit baa53ba1d3
4 changed files with 19 additions and 4 deletions
@@ -49,7 +49,7 @@
icon = 'icons/effects/fire.dmi'
icon_state = "1"
layer = ABOVE_OPEN_TURF_LAYER
light_range = 3
light_range = LIGHT_RANGE_FIRE
light_color = LIGHT_COLOR_FIRE
var/volume = 125
@@ -175,3 +175,15 @@
..()
if(isliving(L))
L.fire_act(temperature, volume)
/obj/effect/dummy/fire
name = "fire"
desc = "OWWWWWW. IT BURNS. Tell a coder if you're seeing this."
icon_state = "nothing"
light_color = LIGHT_COLOR_FIRE
light_range = LIGHT_RANGE_FIRE
/obj/effect/dummy/fire/Initialize()
. = ..()
if(!isliving(loc))
qdel(src)