mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-23 03:57:48 +01:00
Small vore sound tweak
Makes fancy vore sounds use the same volume as the classic ones. No idea why they were doen by 25% while also being more quiet in the files, Fixes sub-preds inside the main pred not making any sound at all.
This commit is contained in:
@@ -83,14 +83,14 @@
|
||||
play_sound = pred_digest
|
||||
|
||||
if(play_sound)
|
||||
for(var/mob/M in hearers(VORE_SOUND_RANGE, owner)) //so we don't fill the whole room with the sound effect
|
||||
for(var/mob/M in hearers(VORE_SOUND_RANGE, get_turf(owner))) //so we don't fill the whole room with the sound effect
|
||||
if(!M.is_preference_enabled(/datum/client_preference/digestion_noises))
|
||||
continue
|
||||
if(isturf(M.loc) || (M.loc != src)) //to avoid people on the inside getting the outside sounds and their direct sounds + built in sound pref check
|
||||
if(fancy_vore)
|
||||
M.playsound_local(owner.loc, play_sound, vol = 75, vary = 1, falloff = VORE_SOUND_FALLOFF)
|
||||
M.playsound_local(get_turf(owner), play_sound, vol = 100, vary = 1, falloff = VORE_SOUND_FALLOFF)
|
||||
else
|
||||
M.playsound_local(owner.loc, play_sound, vol = 100, vary = 1, falloff = VORE_SOUND_FALLOFF)
|
||||
M.playsound_local(get_turf(owner), play_sound, vol = 100, vary = 1, falloff = VORE_SOUND_FALLOFF)
|
||||
//these are all external sound triggers now, so it's ok.
|
||||
|
||||
if(to_update)
|
||||
@@ -245,4 +245,4 @@
|
||||
if(owner.client)
|
||||
owner.updateVRPanel()
|
||||
if(isanimal(owner))
|
||||
owner.update_icon()
|
||||
owner.update_icon()
|
||||
|
||||
Reference in New Issue
Block a user