From bf82005185dd1b365b749a4ef6f78371ccf5b431 Mon Sep 17 00:00:00 2001 From: AlManiak Date: Tue, 5 Nov 2024 15:22:31 +0100 Subject: [PATCH] tidy up --- GainStation13/code/modules/mob/living/belly.dm | 8 ++++---- code/modules/client/preferences_savefile.dm | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/GainStation13/code/modules/mob/living/belly.dm b/GainStation13/code/modules/mob/living/belly.dm index c6c71e13af..81f65276c1 100644 --- a/GainStation13/code/modules/mob/living/belly.dm +++ b/GainStation13/code/modules/mob/living/belly.dm @@ -30,16 +30,16 @@ /obj/item/organ/genital/belly/update_appearance() //GS13 - Port Stuffed states // Default settings - var/datum/sprite_accessory/S = GLOB.belly_shapes_list[shape] - var/icon_shape_state = S ? S.icon_state : "belly" + var/datum/sprite_accessory/S = GLOB.belly_shapes_list[shape] //GS13 - get belly shape + var/icon_shape_state = S ? S.icon_state : "belly" //fallback to default belly in case we cant find a shape icon_state = "belly_[icon_shape_state]_[size]" - var/icon_shape = S ? S.icon : "hyperstation/icons/obj/genitals/belly.dmi" + var/icon_shape = S ? S.icon : "hyperstation/icons/obj/genitals/belly.dmi" //fallback to default belly in case we cant find a shape icon = icon_shape // Change belly sprite and size based on current fullness switch(owner.fullness) if(FULLNESS_LEVEL_BLOATED to FULLNESS_LEVEL_BEEG) - icon = 'hyperstation/icons/obj/genitals/belly_round.dmi' + icon = 'hyperstation/icons/obj/genitals/belly_round.dmi' //We use round belly to represent stuffedness if(FULLNESS_LEVEL_BEEG to FULLNESS_LEVEL_NOMOREPLZ) icon = 'hyperstation/icons/obj/genitals/belly_round.dmi' icon_state = "belly_[icon_shape_state]_[size+1]" diff --git a/code/modules/client/preferences_savefile.dm b/code/modules/client/preferences_savefile.dm index c344f664ff..21545d1dcd 100644 --- a/code/modules/client/preferences_savefile.dm +++ b/code/modules/client/preferences_savefile.dm @@ -1067,11 +1067,11 @@ SAVEFILE UPDATING/VERSIONING - 'Simplified', or rather, more coder-friendly ~Car features["cock_shape"] = sanitize_inlist(features["cock_shape"], GLOB.cock_shapes_list, DEF_COCK_SHAPE) features["balls_shape"] = sanitize_inlist(features["balls_shape"], GLOB.balls_shapes_list, DEF_BALLS_SHAPE) features["vag_shape"] = sanitize_inlist(features["vag_shape"], GLOB.vagina_shapes_list, DEF_VAGINA_SHAPE) + features["belly_shape"] = sanitize_inlist(features["belly_shape"], GLOB.belly_shapes_list, DEF_BELLY_SHAPE) //GS13 - New belly shape features["breasts_color"] = sanitize_hexcolor(features["breasts_color"], 6, FALSE, "FFFFFF") features["cock_color"] = sanitize_hexcolor(features["cock_color"], 6, FALSE, "FFFFFF") features["balls_color"] = sanitize_hexcolor(features["balls_color"], 6, FALSE, "FFFFFF") features["vag_color"] = sanitize_hexcolor(features["vag_color"], 6, FALSE, "FFFFFF") - features["belly_shape"] = sanitize_inlist(features["belly_shape"], GLOB.belly_shapes_list, DEF_BELLY_SHAPE) features["breasts_visibility"] = sanitize_inlist(features["breasts_visibility"], safe_visibilities, GEN_VISIBLE_NO_UNDIES) features["cock_visibility"] = sanitize_inlist(features["cock_visibility"], safe_visibilities, GEN_VISIBLE_NO_UNDIES) features["balls_visibility"] = sanitize_inlist(features["balls_visibility"], safe_visibilities, GEN_VISIBLE_NO_UNDIES)