From 105b8a2d1a4fb35fd4fcbe712949306de6a32ccc Mon Sep 17 00:00:00 2001 From: SatinIsle Date: Thu, 2 Nov 2023 14:08:39 +0000 Subject: [PATCH] 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 15d05d269d..d50b9a730f 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")