Merge pull request #184 from SeepingVisage/eating-sound-pref-fix

Eating sound pref fix
This commit is contained in:
evilew
2025-08-02 23:45:36 -05:00
committed by GitHub
6 changed files with 15 additions and 9 deletions
+3 -1
View File
@@ -172,7 +172,9 @@ All foods are distributed among various categories. Use common sense.
if(reagents) //Handle ingestion of the reagent.
if(M.satiety > -200)
M.satiety -= junkiness
playsound(M.loc,'sound/items/eatfood.ogg', rand(10,50), 1)
//GS13 Edit - Eating sound prefs
playsound_prefed(M.loc,'sound/items/eatfood.ogg', EATING_NOISES, rand(10,50), 1)
//GS13 Edit end
var/bitevolume = 1
if(HAS_TRAIT(M, TRAIT_VORACIOUS))
bitevolume = bitevolume * 0.67