From 2c2f436f0ccb2f1ee351ea7d844b709cbe1f79cd Mon Sep 17 00:00:00 2001 From: polyxenitopalidou Date: Sat, 11 Sep 2010 08:55:48 +0000 Subject: [PATCH] Xenomeat not disposing/dissapearing fix git-svn-id: http://tgstation13.googlecode.com/svn/trunk@85 316c924e-a436-60f5-8080-3fe189b3f50e --- code/game/machinery/microwave.dm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/code/game/machinery/microwave.dm b/code/game/machinery/microwave.dm index 9847405dcf6..b3c1aa129bc 100644 --- a/code/game/machinery/microwave.dm +++ b/code/game/machinery/microwave.dm @@ -277,6 +277,7 @@ Please clean it before use!
src.flour_amount = 0 // And the flour src.water_amount = 0 //And the water src.cheese_amount = 0 //And the cheese + src.xenomeat_amount = 0 src.monkeymeat_amount = 0 src.humanmeat_amount = 0 src.donkpocket_amount = 0 @@ -291,6 +292,7 @@ Please clean it before use!
src.egg_amount = 0 //Clear all the values as this crap is what makes the mess inside!! src.flour_amount = 0 src.cheese_amount = 0 + src.xenomeat_amount = 0 src.water_amount = 0 src.humanmeat_amount = 0 src.monkeymeat_amount = 0 @@ -314,6 +316,7 @@ Please clean it before use!
src.updateUsrDialog() src.egg_amount = 0 //Clear all the values as this crap is gone when it breaks!! src.flour_amount = 0 + src.xenomeat_amount = 0 src.cheese_amount = 0 src.water_amount = 0 src.humanmeat_amount = 0 @@ -343,6 +346,7 @@ Please clean it before use!
if(operation == 2) // If dispose was pressed, empty the microwave src.egg_amount = 0 src.flour_amount = 0 + src.xenomeat_amount = 0 src.cheese_amount = 0 src.water_amount = 0 src.humanmeat_amount = 0 @@ -389,7 +393,7 @@ Please clean it before use!
/obj/item/weapon/reagent_containers/food/snacks/meatbread/attackby(obj/item/weapon/W as obj, mob/user as mob) if(istype(W, /obj/item/weapon/kitchenknife /*|| /obj/item/weapon/scalpel*/)) - W.visible_message(" [usr] slices the meatbread! ", 1) + W.visible_message(" \red You slice the meatbread! ", 1) new /obj/item/weapon/reagent_containers/food/snacks/meatbreadslice (src.loc) new /obj/item/weapon/reagent_containers/food/snacks/meatbreadslice (src.loc) new /obj/item/weapon/reagent_containers/food/snacks/meatbreadslice (src.loc) @@ -401,7 +405,7 @@ Please clean it before use!
/obj/item/weapon/reagent_containers/food/snacks/cheesewheel/attackby(obj/item/weapon/W as obj, mob/user as mob) if(istype(W, /obj/item/weapon/kitchenknife /* || /obj/item/weapon/scalpel*/)) - W.visible_message(" [usr] slices the cheese! ", 1) + W.visible_message(" \red You slice the cheese! ", 1) new /obj/item/weapon/reagent_containers/food/snacks/cheesewedge (src.loc) new /obj/item/weapon/reagent_containers/food/snacks/cheesewedge (src.loc) new /obj/item/weapon/reagent_containers/food/snacks/cheesewedge (src.loc)