Part 4: Storage Improvements (#90783)

- Address
https://github.com/tgstation/tgstation/pull/90476#discussion_r2051701283.
Makes pill bottle code cleaner
- Datumized some more storage values(monkey guncase toolbox & crafter
toolbox) making their init slightly faster
- Moved all standard storage subtypes(bags, boxes, lockboxes etc) that
is scattered across various files & folders in the codebase into their
respective files under `code/game/objects/item/storage` folder.
This means for e.g. if you want to see all boxes in the game you can
find them in `code/game/objects/item/storage/boxes` folder & don't have
to go looking for hidden subtypes in various module files or folders
where they were hidden away.
  Makes looking for stuff & modifying these storages much saner & easier

🆑
code: organized storage subtypes under the same files & folders
/🆑

---------

Co-authored-by: _0Steven <42909981+00-Steven@users.noreply.github.com>
This commit is contained in:
SyncIt21
2025-05-03 02:55:58 +05:30
committed by Roxy
parent 2b4c5aa010
commit 1428f663e0
55 changed files with 1864 additions and 1956 deletions

View File

@@ -358,15 +358,3 @@
if(prob(60/severity))
to_chat(owner, span_warning("Your breathing tube suddenly closes!"))
owner.losebreath += 2
//BOX O' IMPLANTS
/obj/item/storage/box/cyber_implants
name = "boxed cybernetic implants"
desc = "A sleek, sturdy box."
icon_state = "cyber_implants"
/obj/item/storage/box/cyber_implants/PopulateContents()
new /obj/item/autosurgeon/syndicate/xray_eyes(src)
new /obj/item/autosurgeon/syndicate/anti_stun(src)
new /obj/item/autosurgeon/syndicate/reviver(src)