Label GS13 changes

Since commit 5084020 on Jan 30, 2023
This commit is contained in:
psq95
2023-08-29 21:05:42 +01:00
parent 8e09f3b9ca
commit cb43bf0dfc
77 changed files with 253 additions and 247 deletions
@@ -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)