From 50ec5c00b37b3a2d8b7d3c7b14905c4743bf2c07 Mon Sep 17 00:00:00 2001 From: Metis <100518708+sheepishgoat@users.noreply.github.com> Date: Fri, 28 Jun 2024 11:34:18 -0400 Subject: [PATCH] excluding modular jumpsuits --- GainStation13/code/mechanics/helplessness.dm | 2 +- code/modules/mob/living/carbon/human/species.dm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/GainStation13/code/mechanics/helplessness.dm b/GainStation13/code/mechanics/helplessness.dm index d04c12e7..7e5a6828 100644 --- a/GainStation13/code/mechanics/helplessness.dm +++ b/GainStation13/code/mechanics/helplessness.dm @@ -9,7 +9,7 @@ to_chat(H, "You are too fat to wear anything on your back.") return FALSE - if(HAS_TRAIT(H, TRAIT_NO_JUMPSUIT) && slot == SLOT_W_UNIFORM) + if(!istype(I, /obj/item/clothing/under/color/grey/modular) && HAS_TRAIT(H, TRAIT_NO_JUMPSUIT) && slot == SLOT_W_UNIFORM) to_chat(H, "You are too fat to wear [I].") return FALSE diff --git a/code/modules/mob/living/carbon/human/species.dm b/code/modules/mob/living/carbon/human/species.dm index bb23d9f1..c1db1314 100644 --- a/code/modules/mob/living/carbon/human/species.dm +++ b/code/modules/mob/living/carbon/human/species.dm @@ -1435,7 +1435,7 @@ GLOBAL_LIST_EMPTY(roundstart_races) ADD_TRAIT(fatty, TRAIT_NO_JUMPSUIT, HELPLESSNESS_TRAIT) var/obj/item/clothing/under/jumpsuit = fatty.w_uniform - if(istype(jumpsuit)) + if(istype(jumpsuit) && !istype(jumpsuit, /obj/item/clothing/under/color/grey/modular)) to_chat(fatty, "[jumpsuit] can no longer contain your weight!") fatty.dropItemToGround(jumpsuit)