diff --git a/_maps/templates/holodeck_microwave.dmm b/_maps/templates/holodeck_microwave.dmm new file mode 100644 index 00000000000..7db0ad2ec5d --- /dev/null +++ b/_maps/templates/holodeck_microwave.dmm @@ -0,0 +1,253 @@ +//MAP CONVERTED BY dmm2tgm.py THIS HEADER COMMENT PREVENTS RECONVERSION, DO NOT REMOVE +"a" = ( +/obj/structure/table/reinforced, +/obj/machinery/microwave/hell, +/turf/open/floor/holofloor/dark, +/area/template_noop) +"j" = ( +/obj/effect/turf_decal/tile/neutral/fourcorners, +/obj/effect/turf_decal/trimline/brown/line{ + dir = 10 + }, +/obj/effect/turf_decal/trimline/brown/corner{ + dir = 4 + }, +/turf/open/floor/holofloor/dark, +/area/template_noop) +"l" = ( +/obj/effect/turf_decal/tile/neutral/fourcorners, +/obj/effect/turf_decal/trimline/brown/line{ + dir = 8 + }, +/obj/effect/turf_decal/trimline/brown/corner, +/obj/effect/turf_decal/trimline/brown/corner{ + dir = 4 + }, +/turf/open/floor/holofloor/dark, +/area/template_noop) +"q" = ( +/obj/effect/turf_decal/tile/neutral/fourcorners, +/obj/effect/turf_decal/trimline/brown/line{ + dir = 4 + }, +/obj/effect/turf_decal/trimline/brown/line{ + dir = 8 + }, +/turf/open/floor/holofloor/dark, +/area/template_noop) +"r" = ( +/obj/effect/turf_decal/tile/neutral/fourcorners, +/obj/effect/turf_decal/trimline/brown/line{ + dir = 9 + }, +/obj/effect/turf_decal/trimline/brown/corner{ + dir = 2 + }, +/turf/open/floor/holofloor/dark, +/area/template_noop) +"u" = ( +/obj/effect/turf_decal/tile/neutral/fourcorners, +/obj/effect/turf_decal/trimline/brown/end{ + dir = 4 + }, +/turf/open/floor/holofloor/dark, +/area/template_noop) +"x" = ( +/obj/effect/turf_decal/tile/neutral/fourcorners, +/obj/effect/turf_decal/trimline/brown/line{ + dir = 4 + }, +/obj/effect/turf_decal/trimline/brown/corner{ + dir = 8 + }, +/obj/effect/turf_decal/trimline/brown/corner{ + dir = 1 + }, +/turf/open/floor/holofloor/dark, +/area/template_noop) +"B" = ( +/obj/effect/turf_decal/tile/neutral/fourcorners, +/obj/effect/turf_decal/trimline/brown/line{ + dir = 5 + }, +/obj/effect/turf_decal/trimline/brown/corner{ + dir = 8 + }, +/turf/open/floor/holofloor/dark, +/area/template_noop) +"C" = ( +/obj/effect/turf_decal/tile/neutral/fourcorners, +/obj/effect/turf_decal/trimline/brown/line{ + dir = 1 + }, +/obj/effect/turf_decal/trimline/brown/line{ + dir = 2 + }, +/turf/open/floor/holofloor/dark, +/area/template_noop) +"E" = ( +/obj/effect/turf_decal/tile/neutral/fourcorners, +/obj/effect/turf_decal/trimline/brown/corner{ + dir = 1 + }, +/obj/effect/turf_decal/trimline/brown/line{ + dir = 6 + }, +/turf/open/floor/holofloor/dark, +/area/template_noop) +"H" = ( +/obj/effect/turf_decal/tile/neutral/fourcorners, +/obj/effect/turf_decal/trimline/brown/end{ + dir = 8 + }, +/turf/open/floor/holofloor/dark, +/area/template_noop) +"L" = ( +/obj/effect/turf_decal/tile/neutral/fourcorners, +/obj/effect/turf_decal/trimline/brown/corner{ + dir = 8 + }, +/obj/effect/turf_decal/trimline/brown/line{ + dir = 5 + }, +/turf/open/floor/holofloor/dark, +/area/template_noop) +"N" = ( +/obj/effect/turf_decal/tile/neutral/fourcorners, +/obj/effect/turf_decal/trimline/brown/corner{ + dir = 2 + }, +/obj/effect/turf_decal/trimline/brown/line{ + dir = 9 + }, +/turf/open/floor/holofloor/dark, +/area/template_noop) +"Q" = ( +/obj/effect/turf_decal/tile/neutral/fourcorners, +/obj/effect/turf_decal/trimline/brown/line{ + dir = 8 + }, +/obj/effect/turf_decal/trimline/brown/line{ + dir = 4 + }, +/turf/open/floor/holofloor/dark, +/area/template_noop) +"S" = ( +/obj/effect/turf_decal/tile/neutral/fourcorners, +/obj/effect/turf_decal/trimline/brown/corner{ + dir = 4 + }, +/obj/effect/turf_decal/trimline/brown/line{ + dir = 10 + }, +/turf/open/floor/holofloor/dark, +/area/template_noop) + +(1,1,1) = {" +a +a +a +H +a +a +H +a +a +a +"} +(2,1,1) = {" +a +r +q +E +a +a +L +Q +S +a +"} +(3,1,1) = {" +a +C +a +a +a +a +a +a +C +a +"} +(4,1,1) = {" +a +B +Q +Q +l +Q +Q +Q +E +a +"} +(5,1,1) = {" +a +a +a +a +C +a +a +a +a +a +"} +(6,1,1) = {" +a +r +Q +Q +x +Q +Q +Q +j +a +"} +(7,1,1) = {" +a +C +a +a +a +a +a +a +C +a +"} +(8,1,1) = {" +a +B +Q +S +a +a +N +Q +E +a +"} +(9,1,1) = {" +a +a +a +u +a +a +u +a +a +a +"} diff --git a/code/modules/food_and_drinks/kitchen_machinery/microwave.dm b/code/modules/food_and_drinks/kitchen_machinery/microwave.dm index 4d9368133fe..da9379785f4 100644 --- a/code/modules/food_and_drinks/kitchen_machinery/microwave.dm +++ b/code/modules/food_and_drinks/kitchen_machinery/microwave.dm @@ -373,6 +373,18 @@ soundloop.stop() 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. +/obj/machinery/microwave/hell + desc = "Cooks and boils stuff. This one appears to be a bit... off." + +/obj/machinery/microwave/hell/Initialize() + . = ..() + //We want there to be some chance of them getting a working microwave (eventually). + if(prob(95)) + //The microwave should turn off asynchronously from any other microwaves that initialize at the same time. Keep in mind this will not turn off, since there is nothing to call the proc that ends this microwave's looping + addtimer(CALLBACK(src, .proc/wzhzhzh), rand(0.5 SECONDS, 3 SECONDS)) + #undef MICROWAVE_NORMAL #undef MICROWAVE_MUCK #undef MICROWAVE_PRE diff --git a/code/modules/holodeck/holodeck_map_templates.dm b/code/modules/holodeck/holodeck_map_templates.dm index b2e40491b0d..5b86392d2b0 100644 --- a/code/modules/holodeck/holodeck_map_templates.dm +++ b/code/modules/holodeck/holodeck_map_templates.dm @@ -113,6 +113,12 @@ description = "benis" mappath = "_maps/templates/holodeck_skatepark.dmm" +/datum/map_template/holodeck/microwave + name = "Holodeck - Microwave Paradise" + template_id = "holodeck_microwave" + description = "benis" + mappath = "_maps/templates/holodeck_microwave.dmm" + //bad evil no good programs /datum/map_template/holodeck/medicalsim