mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
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:
@@ -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 ..()
|
||||
|
||||
Reference in New Issue
Block a user