From 264a94de92df824994a72e9f3221d328fb149278 Mon Sep 17 00:00:00 2001 From: Belaya Date: Tue, 22 Apr 2025 20:49:41 -0500 Subject: [PATCH 1/3] Voice of God fattening and inflating commands --- code/modules/surgery/organs/vocal_cords.dm | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/code/modules/surgery/organs/vocal_cords.dm b/code/modules/surgery/organs/vocal_cords.dm index 7cb8ce9538..b09f30c6f9 100644 --- a/code/modules/surgery/organs/vocal_cords.dm +++ b/code/modules/surgery/organs/vocal_cords.dm @@ -251,6 +251,8 @@ var/static/regex/dab_words = regex("dab|mood") //CITADEL CHANGE var/static/regex/snap_words = regex("snap") //CITADEL CHANGE var/static/regex/bwoink_words = regex("what the fuck are you doing|bwoink|hey you got a moment?") //CITADEL CHANGE + var/static/regex/gain_words = regex("gain|fatten|widen|get fatter|get fat") //GS13 + var/static/regex/inflate_words = regex("blimp|balloon|inflate|bloat") //GS13 var/i = 0 //STUN @@ -581,6 +583,19 @@ addtimer(CALLBACK(GLOBAL_PROC, GLOBAL_PROC_REF(playsound), get_turf(user), 'sound/effects/adminhelp.ogg', 300, 1), 25) //END CITADEL CHANGES + + //GS13 STUFF + 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... + + //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) + else cooldown = COOLDOWN_NONE From 14716cf9f5d72acbf51e43110da2f38956764ba7 Mon Sep 17 00:00:00 2001 From: Belaya Date: Wed, 23 Apr 2025 16:46:27 -0500 Subject: [PATCH 2/3] 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 From fc96671505a970c1642a43f6f2f06ae0f44939c1 Mon Sep 17 00:00:00 2001 From: Belaya Date: Thu, 24 Apr 2025 18:55:07 -0500 Subject: [PATCH 3/3] to the end --- code/modules/surgery/organs/vocal_cords.dm | 1 + 1 file changed, 1 insertion(+) diff --git a/code/modules/surgery/organs/vocal_cords.dm b/code/modules/surgery/organs/vocal_cords.dm index 6897002676..90a92c45d7 100644 --- a/code/modules/surgery/organs/vocal_cords.dm +++ b/code/modules/surgery/organs/vocal_cords.dm @@ -599,6 +599,7 @@ 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 + //END GS13 CHANGES else cooldown = COOLDOWN_NONE