From 71e57cd4b166c5d296ebd379d5b5b03287a6dcf2 Mon Sep 17 00:00:00 2001 From: Phantastic-Swan Date: Fri, 22 Aug 2025 09:56:18 +0200 Subject: [PATCH] throws out round/stuffed shapes for bellies because we don't have them... --- .../clothing/under/jobs/modular_items.dm | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/GainStation13/code/modules/clothing/under/jobs/modular_items.dm b/GainStation13/code/modules/clothing/under/jobs/modular_items.dm index 26ce09e66f..77450703a4 100644 --- a/GainStation13/code/modules/clothing/under/jobs/modular_items.dm +++ b/GainStation13/code/modules/clothing/under/jobs/modular_items.dm @@ -285,3 +285,28 @@ /obj/item/clothing/under/color/dual_tone/ComponentInitialize() . = ..() AddElement(/datum/element/polychromic, suit_colors, 2, can_be_modified = FALSE) + +/obj/item/clothing/under/color/dual_tone/get_belly_size(obj/item/organ/genital/G) + var/size = G.size + if(G.size > 9) + size = 9 + var/shape = "soft" + // if(G.owner.fullness <= FULLNESS_LEVEL_BLOATED) + // switch(G.shape) + // if("Soft Belly") + // shape = "soft" + // if("Round Belly") + // shape = "round" + // else + // shape = "stuffed" + var/stuffed_modifier + switch(G.owner.fullness) + if(FULLNESS_LEVEL_BLOATED to FULLNESS_LEVEL_BEEG) // Take the stuffed sprite of the same size + stuffed_modifier = 0 + if(FULLNESS_LEVEL_BEEG to FULLNESS_LEVEL_NOMOREPLZ) // Take the stuffed sprite of size + 1 + stuffed_modifier = 1 + if(FULLNESS_LEVEL_NOMOREPLZ to INFINITY)// Take the stuffed sprite of size + 2 + stuffed_modifier = 2 + size = size + stuffed_modifier + + return "[shape]_[size]" \ No newline at end of file