From f5d03e346ef94f8575531f8664f60c4b383b71e2 Mon Sep 17 00:00:00 2001 From: gavla <96078776+shayoki@users.noreply.github.com> Date: Mon, 29 Dec 2025 03:01:19 -0600 Subject: [PATCH] Disables all Heretic Robes to be swapped to non-functional mode (neck slot) (#5053) ## About The Pull Request Could fix: https://github.com/Bubberstation/Bubberstation/issues/5050 This PR adds all heretic robes to the `only_functional` blacklist that makes the robe unable to be switched to Non-Functional mode. This is a soft hack-fix but ultimately should be implemented anyways. There is an issue preventing specifically heretic robes from being stripped if equipped on the neck slot; thus making the wearer put the hood on whenever for the focus. This PR prevents all heretic robes to be used on the neck slot and must be worn on the suit slot. Additionally, I've added a message sent to your chat if you attempt to swap a blacklisted piece of suit into non-functional mode. ## Why It's Good For The Game This keeps the forced functional blacklist updated with items that should remain functional due to its mechanical use. ## Proof Of Testing
Screenshots/Videos https://github.com/user-attachments/assets/7b6e0d9b-69b9-41c9-943f-5ada9c634b68
## Changelog :cl: fix: Fixed heretic robes functioning on the neck slot. code: Added a message to the chat when a suit can't swap to non-functional mode. /:cl: --------- Co-authored-by: LT3 <83487515+lessthnthree@users.noreply.github.com> --- modular_zubbers/code/modules/clothing/neck_wearing.dm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modular_zubbers/code/modules/clothing/neck_wearing.dm b/modular_zubbers/code/modules/clothing/neck_wearing.dm index 9c807386465..1c6b02985c9 100644 --- a/modular_zubbers/code/modules/clothing/neck_wearing.dm +++ b/modular_zubbers/code/modules/clothing/neck_wearing.dm @@ -31,6 +31,7 @@ Use CTRL + SHIFT + LEFT CLICK to turn them on and off. if(!iscarbon(user)) return NONE if(only_functional) + to_chat(user, span_danger("[src] does not have a non-functional mode!")) return NONE var/mob/living/carbon/char = user if((char.get_item_by_slot(ITEM_SLOT_NECK) == src) || (char.get_item_by_slot(ITEM_SLOT_OCLOTHING) == src)) @@ -103,3 +104,6 @@ Use CTRL + SHIFT + LEFT CLICK to turn them on and off. /obj/item/clothing/suit/armor/abductor/vest only_functional = TRUE + +/obj/item/clothing/suit/hooded/cultrobes/eldritch + only_functional = TRUE