[MIRROR] Fixes monkeycube size and organ callback and microwaves (#1107)

* Fixes monkeycube size and organ callback and microwaves (#54095)

* fixes

* dumb runtime

* fixes eggs

* Fixes monkeycube size and organ callback and microwaves

Co-authored-by: Qustinnus <Floydje123@hotmail.com>
This commit is contained in:
SkyratBot
2020-10-01 21:41:47 +02:00
committed by GitHub
co-authored by Qustinnus
parent f1499df85c
commit 8f853ea80d
6 changed files with 14 additions and 6 deletions
+3 -2
View File
@@ -218,10 +218,9 @@ Behavior that's still missing from this component that original food items had t
if(!microwaved_type)
new /obj/item/reagent_containers/food/snacks/badrecipe(parent_turf)
qdel(src)
qdel(parent)
return
var/obj/item/result
result = new microwaved_type(parent_turf)
@@ -231,6 +230,8 @@ Behavior that's still missing from this component that original food items had t
SEND_SIGNAL(result, COMSIG_ITEM_MICROWAVE_COOKED, parent, efficiency)
SSblackbox.record_feedback("tally", "food_made", 1, result.type)
qdel(parent)
return COMPONENT_SUCCESFUL_MICROWAVE
///Corrects the reagents on the newly cooked food
/datum/component/edible/proc/OnMicrowaveCooked(datum/source, obj/item/source_item, cooking_efficiency = 1)