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 = null
|
||||
processing_objects.Remove(src)
|
||||
set_light(0)
|
||||
..()
|
||||
|
||||
/obj/machinery/bunsen_burner/examine(mob/user)
|
||||
@@ -139,6 +140,7 @@
|
||||
|
||||
if(!heating || heating == BUNSEN_OPEN)
|
||||
processing_objects.Remove(src)
|
||||
set_light(0)
|
||||
|
||||
/obj/machinery/bunsen_burner/update_icon()
|
||||
icon_state = "bunsen[heating]"
|
||||
@@ -174,6 +176,7 @@
|
||||
return
|
||||
heating = !heating
|
||||
update_icon()
|
||||
set_light(heating)
|
||||
if(heating == BUNSEN_ON)
|
||||
processing_objects.Add(src)
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user