From e661136269589ebda8ff4ccb86388b5a9a7e9e8b Mon Sep 17 00:00:00 2001 From: quotefox Date: Tue, 20 Jul 2021 12:16:56 +0100 Subject: [PATCH] do_not_cover_butt = true new thing. --- code/__HELPERS/_cit_helpers.dm | 8 ++++++++ code/game/objects/items.dm | 2 ++ hyperstation/code/obj/kinkyclothes.dm | 1 + .../code/modules/clothing/under/polychromic_clothes.dm | 7 ++++++- 4 files changed, 17 insertions(+), 1 deletion(-) diff --git a/code/__HELPERS/_cit_helpers.dm b/code/__HELPERS/_cit_helpers.dm index 952f4021..ae8dd0fe 100644 --- a/code/__HELPERS/_cit_helpers.dm +++ b/code/__HELPERS/_cit_helpers.dm @@ -158,6 +158,14 @@ GLOBAL_VAR_INIT(miscreants_allowed, FALSE) return FALSE return TRUE +/mob/living/carbon/proc/is_butt_exposed(var/list/L) + if(!L) + L = get_equipped_items() + for(var/obj/item/I in L) + if(I.body_parts_covered & GROIN & !do_not_cover_butt) + return FALSE + return TRUE + /mob/living/carbon/proc/is_chest_exposed(var/list/L) if(!L) L = get_equipped_items() diff --git a/code/game/objects/items.dm b/code/game/objects/items.dm index a11eae78..d0253d00 100644 --- a/code/game/objects/items.dm +++ b/code/game/objects/items.dm @@ -124,6 +124,8 @@ GLOBAL_VAR_INIT(rpg_loot_items, FALSE) //Hyper economy var/price = 0 + //Hyper, for clothes that reveal your behind! butt stuff, you know how it is. + var/do_not_cover_butt = false /obj/item/Initialize() diff --git a/hyperstation/code/obj/kinkyclothes.dm b/hyperstation/code/obj/kinkyclothes.dm index 06d65362..7231091f 100644 --- a/hyperstation/code/obj/kinkyclothes.dm +++ b/hyperstation/code/obj/kinkyclothes.dm @@ -86,6 +86,7 @@ obj/item/clothing/neck/stole/black item_state = "r_suit" can_adjust = FALSE mutantrace_variation = NO_MUTANTRACE_VARIATION + do_not_cover_butt = true /obj/item/clothing/under/sexynursesuit name = "Sexy nurse outfit" diff --git a/modular_citadel/code/modules/clothing/under/polychromic_clothes.dm b/modular_citadel/code/modules/clothing/under/polychromic_clothes.dm index a5514898..acfa4704 100644 --- a/modular_citadel/code/modules/clothing/under/polychromic_clothes.dm +++ b/modular_citadel/code/modules/clothing/under/polychromic_clothes.dm @@ -144,6 +144,7 @@ primary_color = "#FFFFFF" //RGB in hexcode secondary_color = "#8CC6FF" body_parts_covered = GROIN + do_not_cover_butt = true /obj/item/clothing/under/polychromic/bottomless name = "polychromic bottomless shirt" @@ -177,6 +178,7 @@ primary_color = "#808080" //RGB in hexcode secondary_color = "#FFFFFF" body_parts_covered = CHEST|GROIN + do_not_cover_butt = true /obj/item/clothing/under/polychromic/stripper name = "polychromic stripper outfit" @@ -188,6 +190,7 @@ primary_color = "#808080" //RGB in hexcode secondary_color = "#FFFFFF" body_parts_covered = CHEST|GROIN + do_not_cover_butt = true /obj/item/clothing/under/polychromic/bulge name = "polychromic voluminous thong" @@ -199,6 +202,7 @@ primary_color = "#808080" //RGB in hexcode secondary_color = "#FF3535" body_parts_covered = GROIN + do_not_cover_butt = true /obj/item/clothing/under/polychromic/shortsbra name = "Kromatic Shorts and Top" @@ -231,4 +235,5 @@ primary_color = "#010052" //RGB in hexcode secondary_color = "#eb7a7a" tertiary_color = "#ffffff" - body_parts_covered = CHEST|GROIN \ No newline at end of file + body_parts_covered = CHEST|GROIN + do_not_cover_butt = true \ No newline at end of file