From de9f94999431f9b531fd7735078422bb1cbbd4f5 Mon Sep 17 00:00:00 2001 From: ElorgRHG <71735193+ElorgRHG@users.noreply.github.com> Date: Fri, 28 Oct 2022 20:21:21 +0200 Subject: [PATCH] [GBP NO UPDATE] Restricts some jumpsuits from appearing with chameleon gear (#19472) * Restricts some jumpsuits from appearing with chameleon gear * This is not actually a basetype that shouldn't be seen in game --- code/modules/clothing/chameleon.dm | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/code/modules/clothing/chameleon.dm b/code/modules/clothing/chameleon.dm index 8b05b75a9db..e17fae4fa34 100644 --- a/code/modules/clothing/chameleon.dm +++ b/code/modules/clothing/chameleon.dm @@ -217,7 +217,24 @@ chameleon_action = new(src) chameleon_action.chameleon_type = /obj/item/clothing/under chameleon_action.chameleon_name = "Jumpsuit" - chameleon_action.chameleon_blacklist = typecacheof(list(/obj/item/clothing/under, /obj/item/clothing/under/color, /obj/item/clothing/under/rank), only_root_path = TRUE) + chameleon_action.chameleon_blacklist = typecacheof(list( + /obj/item/clothing/under, + /obj/item/clothing/under/misc, + /obj/item/clothing/under/dress, + /obj/item/clothing/under/pants, + /obj/item/clothing/under/color, + /obj/item/clothing/under/retro, + /obj/item/clothing/under/solgov, + /obj/item/clothing/under/suit, + /obj/item/clothing/under/costume, + /obj/item/clothing/under/rank, + /obj/item/clothing/under/rank/cargo, + /obj/item/clothing/under/rank/civilian, + /obj/item/clothing/under/rank/engineering, + /obj/item/clothing/under/rank/medical, + /obj/item/clothing/under/rank/rnd, + /obj/item/clothing/under/rank/security, + ), only_root_path = TRUE) chameleon_action.initialize_disguises() /obj/item/clothing/under/chameleon/Destroy()