mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 04:30:44 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user