mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
Add light emission to bunsen burner (#26851)
Co-authored-by: scuffedjays <yetanotherscuffed@gmail.com>
This commit is contained in:
@@ -50,6 +50,7 @@
|
|||||||
held_container.forceMove(get_turf(src))
|
held_container.forceMove(get_turf(src))
|
||||||
held_container = null
|
held_container = null
|
||||||
processing_objects.Remove(src)
|
processing_objects.Remove(src)
|
||||||
|
set_light(0)
|
||||||
..()
|
..()
|
||||||
|
|
||||||
/obj/machinery/bunsen_burner/examine(mob/user)
|
/obj/machinery/bunsen_burner/examine(mob/user)
|
||||||
@@ -139,6 +140,7 @@
|
|||||||
|
|
||||||
if(!heating || heating == BUNSEN_OPEN)
|
if(!heating || heating == BUNSEN_OPEN)
|
||||||
processing_objects.Remove(src)
|
processing_objects.Remove(src)
|
||||||
|
set_light(0)
|
||||||
|
|
||||||
/obj/machinery/bunsen_burner/update_icon()
|
/obj/machinery/bunsen_burner/update_icon()
|
||||||
icon_state = "bunsen[heating]"
|
icon_state = "bunsen[heating]"
|
||||||
@@ -174,6 +176,7 @@
|
|||||||
return
|
return
|
||||||
heating = !heating
|
heating = !heating
|
||||||
update_icon()
|
update_icon()
|
||||||
|
set_light(heating)
|
||||||
if(heating == BUNSEN_ON)
|
if(heating == BUNSEN_ON)
|
||||||
processing_objects.Add(src)
|
processing_objects.Add(src)
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user