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
This commit is contained in:
SatinIsle
2023-11-02 14:08:39 +00:00
parent b26605e52c
commit 105b8a2d1a
+2
View File
@@ -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")