Microwaves now have a single wire (#41822)

cl coiax
add: Microwaves have a single wire accessible when open, the activation wire.
When cut, the microwave will no longer function, when pulsed, the microwave
will turn on.
add: Stabilized dark purple extracts now cook items in your hands, rather than dropping
the cooked item on the floor.
/cl

Previously microwaves just worked on their contents, now they keep a subset of contents called ingredients, because otherwise it would explode whenever you put a signaler inside.

Someone asked me to do it. It seemed like a neat idea. God knows
what horrible things people will do with this.
This commit is contained in:
coiax
2018-12-15 23:56:08 +00:00
committed by Nich
parent 0d019c80b7
commit 5edcfca3b7
8 changed files with 87 additions and 25 deletions

View File

@@ -558,7 +558,9 @@ datum/status_effect/stabilized/blue/on_remove()
if(istype(F))
if(F.cooked_type)
to_chat(owner, "<span class='warning'>[linked_extract] flares up brightly, and your hands alone are enough cook [F]!</span>")
F.microwave_act()
var/obj/item/result = F.microwave_act()
if(istype(result))
owner.put_in_hands(result)
else
I.attackby(fire, owner)
return ..()