From 14716cf9f5d72acbf51e43110da2f38956764ba7 Mon Sep 17 00:00:00 2001 From: Belaya Date: Wed, 23 Apr 2025 16:46:27 -0500 Subject: [PATCH] VOG fatten and inflate words now check if the listeners have the wg pref toggled before applying and notifying *Also fullness and adjust_fatness values have been nerfed --- code/modules/surgery/organs/vocal_cords.dm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/code/modules/surgery/organs/vocal_cords.dm b/code/modules/surgery/organs/vocal_cords.dm index b09f30c6f9..6897002676 100644 --- a/code/modules/surgery/organs/vocal_cords.dm +++ b/code/modules/surgery/organs/vocal_cords.dm @@ -588,13 +588,17 @@ else if((findtext(message, inflate_words))) cooldown = COOLDOWN_MEME for(var/mob/living/carbon/gainer in listeners) - gainer.fullness += 200 //this probably needs a pref lock... + if(gainer.check_weight_prefs(FATTENING_TYPE_MAGIC)) //Make sure the listener(s) have magical wg enabled + gainer.fullness += 20 //We want fullness but not too much + to_chat(gainer, "As the great voice fills your ears, you start to feel more bloated...") //Can only be seen by those with the appropriate pref toggled //GAIN else if((findtext(message, gain_words))) cooldown = COOLDOWN_MEME for(var/mob/living/carbon/gainer in listeners) - gainer.adjust_fatness(500, FATTENING_TYPE_MAGIC) + if(gainer.check_weight_prefs(FATTENING_TYPE_MAGIC)) //Make sure the listener(s) have magical wg enabled + gainer.adjust_fatness(250, FATTENING_TYPE_MAGIC) //Nerfed down from 500 in oldcode + to_chat(gainer, "As the great voice fills your ears, you suddenly grow heavier!") //Can only be seen by those with the appropriate pref toggled else cooldown = COOLDOWN_NONE