Fixes MODSuits Not Allowing Certain Items Over Them Like CatEar Headphones, Flowers, And Other Stuff No Thanks To TG (#4198)

## About The Pull Request

I changed it from clothing to all items you can equip, I am a bad coder
thats done like 4 months of Cyber Security in uni pls be gentle this my
first pr here. Tested to ensure it didn't break gear that already worked
too, it didn't!!

## Why It's Good For The Game

Bug fix good!

## Proof Of Testing

https://i.imgur.com/eVWpVMs.png
https://i.imgur.com/s1ta68L.png

## Changelog

🆑
fix: MODSuits now go over all items like they should!
/🆑

Closes: #3999

---------

Co-authored-by: Roxy <75404941+TealSeer@users.noreply.github.com>
This commit is contained in:
Hisakaki
2025-07-08 16:21:14 -04:00
committed by GitHub
co-authored by Roxy
parent e227155161
commit cc3d9570c3
+3 -3
View File
@@ -85,9 +85,9 @@
playsound(src, 'sound/machines/scanner/scanbuzz.ogg', 25, TRUE, SILENCED_SOUND_EXTRARANGE)
if(part_datum.can_overslot)
var/obj/item/overslot = wearer.get_item_by_slot(part.slot_flags)
if(overslot && istype(overslot, /obj/item/clothing))
// Bubber Edit Start - Don't require clothing to be flagged for overslotting
// var/obj/item/clothing/clothing = overslot
if(overslot && istype(overslot, /obj/item))
// Bubber Edit Start - Don't require any equipment to be flagged for overslotting
// var/obj/item/ = overslot
// if(clothing.clothing_flags & CLOTHING_MOD_OVERSLOTTING)
part_datum.overslotting = overslot
wearer.transferItemToLoc(overslot, part, force = TRUE)