mirror of
https://github.com/Yawn-Wider/YWPolarisVore.git
synced 2026-08-25 05:57:21 +01:00
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:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user