From afa978a0028e441ab39196d6e3f6e976cf4392cb Mon Sep 17 00:00:00 2001 From: DZD Date: Thu, 20 Aug 2015 21:38:00 -0400 Subject: [PATCH] Preserves sanity Forgot to lower the PSHOOM_2 chance after hearing what the sound was, whoops. Some logging fixes too. --- code/game/machinery/kitchen/processor.dm | 4 ++-- code/game/objects/items/weapons/stock_parts.dm | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/code/game/machinery/kitchen/processor.dm b/code/game/machinery/kitchen/processor.dm index d9f101b27f0..69ae121e838 100644 --- a/code/game/machinery/kitchen/processor.dm +++ b/code/game/machinery/kitchen/processor.dm @@ -201,7 +201,7 @@ for(var/O in src.contents) var/datum/food_processor_process/P = select_recipe(O) if (!P) - log_admin("DEBUG: The [O] in processor([src]) does not have a suitable recipe, but it was somehow put inside of the processor anyways.") + log_debug("The [O] in processor([src]) does not have a suitable recipe, but it was somehow put inside of the processor anyways.") continue total_time += P.time sleep(total_time / rating_speed) @@ -209,7 +209,7 @@ for(var/O in src.contents) var/datum/food_processor_process/P = select_recipe(O) if (!P) - log_admin("DEBUG: The [O] in processor([src]) does not have a suitable recipe, but it was somehow put inside of the processor anyways.") + log_debug("The [O] in processor([src]) does not have a suitable recipe, but it was somehow put inside of the processor anyways.") continue P.process_food(src.loc, O, src) src.processing = 0 diff --git a/code/game/objects/items/weapons/stock_parts.dm b/code/game/objects/items/weapons/stock_parts.dm index 915cb5428b6..94c3fcc75f7 100644 --- a/code/game/objects/items/weapons/stock_parts.dm +++ b/code/game/objects/items/weapons/stock_parts.dm @@ -46,7 +46,7 @@ /obj/item/weapon/storage/part_replacer/proc/play_rped_sound() //Plays the sound for RPED exchanging or installing parts. - if(alt_sound && prob(30)) + if(alt_sound && prob(3)) playsound(src, alt_sound, 40, 1) else playsound(src, primary_sound, 40, 1)