mirror of
https://github.com/KabKebab/GS13.git
synced 2026-07-12 16:38:18 +01:00
@@ -172,10 +172,10 @@
|
||||
//Sound w/ antispam flag setting
|
||||
if(is_wet && (world.time > recent_sound))
|
||||
var/turf/source = get_turf(owner)
|
||||
var/sound/eating = sound(GLOB.vore_sounds[vore_sound])
|
||||
var/sound/eating = sound(GLOB.vore_sounds[vore_sound]) // GS13 fix
|
||||
for(var/mob/living/M in get_hearers_in_view(3, source))
|
||||
if(M.client && M.client?.prefs?.cit_toggles & EATING_NOISES)
|
||||
M.playsound_local(source, vore_sound, 50, 1, S = eating)
|
||||
M.playsound_local(source, vore_sound, 50, 1, S = eating) // GS13 fix
|
||||
recent_sound = (world.time + 20 SECONDS)
|
||||
|
||||
//Messages if it's a mob
|
||||
|
||||
@@ -107,16 +107,15 @@
|
||||
M.visible_message("<span class='notice'>You watch as [owner]'s form loses its additions.</span>")
|
||||
|
||||
owner.nutrition += 400 // so eating dead mobs gives you *something*.
|
||||
//GS13 EDIT
|
||||
|
||||
|
||||
//GS13 edit
|
||||
var/mob/living/carbon/gainer = owner
|
||||
if(iscarbon(gainer) && owner?.client?.prefs?.weight_gain_food)
|
||||
var/mob/living/carbon/prey = M
|
||||
if(iscarbon(prey) && prey.fatness)
|
||||
var/fatness_to_add = (prey.fatness * 0.75)
|
||||
gainer.adjust_fatness(fatness_to_add, FATTENING_TYPE_FOOD)
|
||||
|
||||
//GS13 EDIT END
|
||||
//GS13 edit end
|
||||
|
||||
if((world.time - NORMIE_HEARCHECK) > last_hearcheck)
|
||||
LAZYCLEARLIST(hearing_mobs)
|
||||
|
||||
Reference in New Issue
Block a user