WIP
This commit is contained in:
@@ -69,21 +69,22 @@
|
||||
else
|
||||
. = ..()
|
||||
|
||||
/obj/structure/fireplace/update_icon()
|
||||
cut_overlays()
|
||||
if(lit)
|
||||
switch(burn_time_remaining())
|
||||
if(0 to 500)
|
||||
add_overlay("fireplace_fire0")
|
||||
if(500 to 1000)
|
||||
add_overlay("fireplace_fire1")
|
||||
if(1000 to 1500)
|
||||
add_overlay("fireplace_fire2")
|
||||
if(1500 to 2000)
|
||||
add_overlay("fireplace_fire3")
|
||||
if(2000 to MAXIMUM_BURN_TIMER)
|
||||
add_overlay("fireplace_fire4")
|
||||
add_overlay("fireplace_glow")
|
||||
/obj/structure/fireplace/update_overlays()
|
||||
. = ..()
|
||||
if(!lit)
|
||||
return
|
||||
switch(burn_time_remaining())
|
||||
if(0 to 500)
|
||||
. += "fireplace_fire0"
|
||||
if(500 to 1000)
|
||||
. += "fireplace_fire1"
|
||||
if(1000 to 1500)
|
||||
. += "fireplace_fire2"
|
||||
if(1500 to 2000)
|
||||
. += "fireplace_fire3"
|
||||
if(2000 to MAXIMUM_BURN_TIMER)
|
||||
. += "fireplace_fire4"
|
||||
. += "fireplace_glow"
|
||||
|
||||
/obj/structure/fireplace/proc/adjust_light()
|
||||
if(!lit)
|
||||
|
||||
Reference in New Issue
Block a user