From 281af43a77dfe30de95cf7e485346896c7025b7d Mon Sep 17 00:00:00 2001 From: Metis <100518708+sheepishgoat@users.noreply.github.com> Date: Wed, 9 Oct 2024 16:23:40 -0400 Subject: [PATCH] belly fix? --- GainStation13/code/modules/mob/living/belly.dm | 1 + code/__DEFINES/citadel_defines.dm | 7 ++++--- code/game/objects/items/stacks/sheets/sheet_types.dm | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/GainStation13/code/modules/mob/living/belly.dm b/GainStation13/code/modules/mob/living/belly.dm index 6b9a7c4237..07c6fc1a68 100644 --- a/GainStation13/code/modules/mob/living/belly.dm +++ b/GainStation13/code/modules/mob/living/belly.dm @@ -14,6 +14,7 @@ var/inflatable = FALSE //For inflation connoisseurs var/size_cached = 0 var/prev_size = 0 + layer_index = BELLY_LAYER_INDEX /obj/item/organ/genital/belly/modify_size(modifier, min = BELLY_SIZE_DEF, max = BELLY_SIZE_MAX) var/new_value = clamp(size_cached + modifier, min, max) diff --git a/code/__DEFINES/citadel_defines.dm b/code/__DEFINES/citadel_defines.dm index d558b4bdcf..b3b5ece36d 100644 --- a/code/__DEFINES/citadel_defines.dm +++ b/code/__DEFINES/citadel_defines.dm @@ -9,10 +9,11 @@ #define BUTT_LAYER_INDEX 1 #define VAGINA_LAYER_INDEX 2 #define TESTICLES_LAYER_INDEX 3 -#define GENITAL_LAYER_INDEX 4 -#define PENIS_LAYER_INDEX 5 +#define BELLY_LAYER_INDEX 4 +#define GENITAL_LAYER_INDEX 5 +#define PENIS_LAYER_INDEX 6 -#define GENITAL_LAYER_INDEX_LENGTH 5 //keep it updated with each new index added, thanks. +#define GENITAL_LAYER_INDEX_LENGTH 6 //keep it updated with each new index added, thanks. //genital flags #define GENITAL_BLACKLISTED (1<<0) //for genitals that shouldn't be added to GLOB.genitals_list. diff --git a/code/game/objects/items/stacks/sheets/sheet_types.dm b/code/game/objects/items/stacks/sheets/sheet_types.dm index c8f1326b88..8d96b2c88e 100644 --- a/code/game/objects/items/stacks/sheets/sheet_types.dm +++ b/code/game/objects/items/stacks/sheets/sheet_types.dm @@ -25,7 +25,7 @@ GLOBAL_LIST_INIT(metal_recipes, list ( \ new/datum/stack_recipe("bar stool", /obj/structure/chair/stool/bar, one_per_turf = TRUE, on_floor = TRUE), \ new/datum/stack_recipe("bed", /obj/structure/bed, 2, one_per_turf = TRUE, on_floor = TRUE), \ new/datum/stack_recipe("double bed", /obj/structure/bed/double, 4, one_per_turf = TRUE, on_floor = TRUE), \ - new/datum/stack_recipe("scale", /obj/structure/scale, 3, one_per_turf = TRUE, on_floor = TRUE), \ //GS13 EDIT + new/datum/stack_recipe("scale", /obj/structure/scale, 3, one_per_turf = TRUE, on_floor = TRUE), \ //CIT CHANGE - adds sofas to metal recipe list new/datum/stack_recipe_list("sofas", list( \ new /datum/stack_recipe("sofa (middle)", /obj/structure/chair/sofa, one_per_turf = TRUE, on_floor = TRUE), \