From 92fda5014dbc8ba64c19848e693c179af35da2ac Mon Sep 17 00:00:00 2001 From: san7890 Date: Tue, 31 May 2022 18:36:42 -0600 Subject: [PATCH] Makes Hell Microwaves Not Use Power (#67413) Hey there, I was informed that the holodeck program Microwave Paradise would draw and suck power out of an APC. Didn't intend for that to happen, and while funny, I don't really want to arm the crew with le epic power sink with very little effort than pressing a button, or warranting this to eventually be locked to "dangerous" programs. So, let's change such that this subtype of microwaves that can not be constructed (only mapped/spawned) doesn't consume any power. I don't know why it drew off the nearest APC or how that works, but this seems to be alright. It's not possible to deconstruct machinery spawned in at the Holodeck (which I verified while testing this PR), so do not worry about people using this to bypass the power economy for whzhzhzhz purposes. --- code/modules/food_and_drinks/kitchen_machinery/microwave.dm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/code/modules/food_and_drinks/kitchen_machinery/microwave.dm b/code/modules/food_and_drinks/kitchen_machinery/microwave.dm index 3113e4c6c8d..c6f8e7ec4e8 100644 --- a/code/modules/food_and_drinks/kitchen_machinery/microwave.dm +++ b/code/modules/food_and_drinks/kitchen_machinery/microwave.dm @@ -374,9 +374,12 @@ update_appearance() /// Type of microwave that automatically turns it self on erratically. Probably don't use this outside of the holodeck program "Microwave Paradise". -/// You could also live your life with a microwave that will continously run in the background of everything and drain any hint of power. I think the former makes more sense. +/// You could also live your life with a microwave that will continously run in the background of everything while also not having any power draw. I think the former makes more sense. /obj/machinery/microwave/hell desc = "Cooks and boils stuff. This one appears to be a bit... off." + use_power = NO_POWER_USE + idle_power_usage = 0 + active_power_usage = 0 /obj/machinery/microwave/hell/Initialize() . = ..()