diff --git a/code/modules/food_and_drinks/kitchen_machinery/microwave.dm b/code/modules/food_and_drinks/kitchen_machinery/microwave.dm index e68832e4c0..9d7b6cb203 100644 --- a/code/modules/food_and_drinks/kitchen_machinery/microwave.dm +++ b/code/modules/food_and_drinks/kitchen_machinery/microwave.dm @@ -15,6 +15,7 @@ var/broken = 0 // ={0,1,2} How broken is it??? var/max_n_of_items = 10 // whatever fat fuck made this a global var needs to look at themselves in the mirror sometime var/efficiency = 0 + var/datum/looping_sound/microwave/soundloop //Microwaving doesn't use recipes, instead it calls the microwave_act of the objects. For food, this creates something based on the food's cooked_type @@ -25,6 +26,7 @@ /obj/machinery/microwave/Initialize() . = ..() create_reagents(100) + soundloop = new(list(src), FALSE) /obj/machinery/microwave/RefreshParts() var/E @@ -266,6 +268,7 @@ /obj/machinery/microwave/proc/start() visible_message("The microwave turns on.", "You hear a microwave humming.") + soundloop.start() operating = TRUE icon_state = "mw1" updateUsrDialog() @@ -276,7 +279,7 @@ updateUsrDialog() /obj/machinery/microwave/proc/stop() - playsound(src.loc, 'sound/machines/ding.ogg', 50, 1) + soundloop.stop() abort() /obj/machinery/microwave/proc/dispose() diff --git a/sound/machines/microwave/microwave-end.ogg b/sound/machines/microwave/microwave-end.ogg new file mode 100644 index 0000000000..1c13d87e17 Binary files /dev/null and b/sound/machines/microwave/microwave-end.ogg differ diff --git a/sound/machines/microwave/microwave-mid1.ogg b/sound/machines/microwave/microwave-mid1.ogg new file mode 100644 index 0000000000..60a0cc8ec5 Binary files /dev/null and b/sound/machines/microwave/microwave-mid1.ogg differ diff --git a/sound/machines/microwave/microwave-mid2.ogg b/sound/machines/microwave/microwave-mid2.ogg new file mode 100644 index 0000000000..3b3dd32c28 Binary files /dev/null and b/sound/machines/microwave/microwave-mid2.ogg differ diff --git a/sound/machines/microwave/microwave-start.ogg b/sound/machines/microwave/microwave-start.ogg new file mode 100644 index 0000000000..5e59c78e8a Binary files /dev/null and b/sound/machines/microwave/microwave-start.ogg differ