From 105b8a2d1a4fb35fd4fcbe712949306de6a32ccc Mon Sep 17 00:00:00 2001 From: SatinIsle Date: Thu, 2 Nov 2023 14:08:39 +0000 Subject: [PATCH 1/2] Adds digestion sound to the process option Added a digestion sound that plays when a predator uses the "process > digest" option on their prey. Ported from: CHOMPStation2/CHOMPStation2#7158 --- code/modules/vore/eating/vorepanel_vr.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/modules/vore/eating/vorepanel_vr.dm b/code/modules/vore/eating/vorepanel_vr.dm index 15d05d269d3..d50b9a730f0 100644 --- a/code/modules/vore/eating/vorepanel_vr.dm +++ b/code/modules/vore/eating/vorepanel_vr.dm @@ -856,6 +856,8 @@ var/global/list/belly_colorable_only_fullscreens = list("a_synth_flesh_mono", l.adjust_nutrition(thismuch) ourtarget.death() // To make sure all on-death procs get properly called if(ourtarget) + if(ourtarget.is_preference_enabled(/datum/client_preference/digestion_noises)) + SEND_SOUND(ourtarget, sound(get_sfx("fancy_death_prey"))) b.handle_digestion_death(ourtarget) if("Absorb") if(tgui_alert(ourtarget, "\The [usr] is attempting to instantly absorb you. Is this something you are okay with happening to you?","Instant Absorb", list("No", "Yes")) != "Yes") From 1a74cf8e695b3b9f0a875e839fdc84585728afbd Mon Sep 17 00:00:00 2001 From: SatinIsle Date: Fri, 3 Nov 2023 10:41:22 +0000 Subject: [PATCH 2/2] Respects fancy sounds --- code/modules/vore/eating/vorepanel_vr.dm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/code/modules/vore/eating/vorepanel_vr.dm b/code/modules/vore/eating/vorepanel_vr.dm index d50b9a730f0..4229a222d88 100644 --- a/code/modules/vore/eating/vorepanel_vr.dm +++ b/code/modules/vore/eating/vorepanel_vr.dm @@ -857,7 +857,10 @@ var/global/list/belly_colorable_only_fullscreens = list("a_synth_flesh_mono", ourtarget.death() // To make sure all on-death procs get properly called if(ourtarget) if(ourtarget.is_preference_enabled(/datum/client_preference/digestion_noises)) - SEND_SOUND(ourtarget, sound(get_sfx("fancy_death_prey"))) + if(!b.fancy_vore) + SEND_SOUND(ourtarget, sound(get_sfx("classic_death_sounds"))) + else + SEND_SOUND(ourtarget, sound(get_sfx("fancy_death_prey"))) b.handle_digestion_death(ourtarget) if("Absorb") if(tgui_alert(ourtarget, "\The [usr] is attempting to instantly absorb you. Is this something you are okay with happening to you?","Instant Absorb", list("No", "Yes")) != "Yes")