Skip to content

Commit

Permalink
pocketifies tg jackets
Browse files Browse the repository at this point in the history
  • Loading branch information
kittysmooch committed Aug 26, 2024
1 parent 31e5483 commit 87e536e
Showing 1 changed file with 65 additions and 0 deletions.
65 changes: 65 additions & 0 deletions modular_doppler/modular_cosmetics/code/jacket_pockets.dm
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//the pockets themselves

/datum/storage/pockets/jacket
max_slots = 2
max_total_storage = 5
Expand Down Expand Up @@ -28,3 +30,66 @@
set_holdable(list(
/obj/item/,
))

//overrides for existing tg jackets to get pockets and neckslotability

/obj/item/clothing/suit/jacket //we give all jackets neckslotability and basic pockets and override individually when we want jumbo pockets or no pockets
slot_flags = ITEM_SLOT_OCLOTHING|ITEM_SLOT_NECK
/obj/item/clothing/suit/jacket/Initialize(mapload)
. = ..()
create_storage(storage_type = /datum/storage/pockets/jacket)

/obj/item/clothing/suit/jacket/oversized/Initialize(mapload)
. = ..()
create_storage(storage_type = /datum/storage/pockets/jacket/jumbo)

/obj/item/clothing/suit/jacket/bomber/Initialize(mapload)
. = ..()
create_storage(storage_type = /datum/storage/pockets/jacket/jumbo)

/obj/item/clothing/suit/jacket/miljacket/Initialize(mapload)
. = ..()
create_storage(storage_type = /datum/storage/pockets/jacket/jumbo)

/obj/item/clothing/suit/jacket/letterman_syndie/Initialize(mapload)
. = ..()
create_storage(storage_type = /datum/storage/pockets/jacket/jumbo)

// suit/toggle objects are basically deprecated but there's a few desirable sprites. we override individually
// because otherwise we would put pockets on suspenders

/obj/item/clothing/suit/toggle/cargo_tech
slot_flags = ITEM_SLOT_OCLOTHING|ITEM_SLOT_NECK
/obj/item/clothing/suit/toggle/cargo_tech/Initialize(mapload)
. = ..()
create_storage(storage_type = /datum/storage/pockets/jacket/jumbo)

/obj/item/clothing/suit/toggle/chef
slot_flags = ITEM_SLOT_OCLOTHING|ITEM_SLOT_NECK
/obj/item/clothing/suit/toggle/chef/Initialize(mapload)
. = ..()
create_storage(storage_type = /datum/storage/pockets/jacket/jumbo)

/obj/item/clothing/suit/toggle/labcoat
slot_flags = ITEM_SLOT_OCLOTHING|ITEM_SLOT_NECK
/obj/item/clothing/suit/toggle/labcoat/Initialize(mapload)
. = ..()
create_storage(storage_type = /datum/storage/pockets/jacket/jumbo)

/obj/item/clothing/suit/toggle/lawyer
slot_flags = ITEM_SLOT_OCLOTHING|ITEM_SLOT_NECK
/obj/item/clothing/suit/toggle/lawyer/Initialize(mapload)
. = ..()
create_storage(storage_type = /datum/storage/pockets/jacket/jumbo)

// some wintercoats come with pretty significant armor, so we only give them pockets and not neckslots to stave off a meta

/obj/item/clothing/suit/hooded/wintercoat/Initialize(mapload)
. = ..()
create_storage(storage_type = /datum/storage/pockets/jacket/jumbo)

// most costumes don't have pockets, but neckslotability is probably fine.

/obj/item/clothing/suit/costume
slot_flags = ITEM_SLOT_OCLOTHING|ITEM_SLOT_NECK

0 comments on commit 87e536e

Please sign in to comment.