mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-13 09:05:11 +01:00
1428f663e0
- 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>
94 lines
3.0 KiB
Plaintext
94 lines
3.0 KiB
Plaintext
/obj/item/storage/box/trackimp
|
|
name = "boxed tracking implant kit"
|
|
desc = "Box full of scum-bag tracking utensils."
|
|
icon_state = "secbox"
|
|
illustration = "implant"
|
|
|
|
/obj/item/storage/box/trackimp/PopulateContents()
|
|
var/static/items_inside = list(
|
|
/obj/item/implantcase/tracking = 4,
|
|
/obj/item/implanter = 1,
|
|
/obj/item/implantpad = 1,
|
|
/obj/item/locator = 1,
|
|
)
|
|
generate_items_inside(items_inside,src)
|
|
|
|
/obj/item/storage/box/minertracker
|
|
name = "boxed tracking implant kit"
|
|
desc = "For finding those who have died on the accursed lavaworld."
|
|
illustration = "implant"
|
|
|
|
/obj/item/storage/box/minertracker/PopulateContents()
|
|
var/static/items_inside = list(
|
|
/obj/item/implantcase/tracking = 2,
|
|
/obj/item/implantcase/beacon = 2,
|
|
/obj/item/implanter = 1,
|
|
/obj/item/implantpad = 1,
|
|
/obj/item/locator = 1,
|
|
)
|
|
generate_items_inside(items_inside,src)
|
|
|
|
/obj/item/storage/box/chemimp
|
|
name = "boxed chemical implant kit"
|
|
desc = "Box of stuff used to implant chemicals."
|
|
illustration = "implant"
|
|
|
|
/obj/item/storage/box/chemimp/PopulateContents()
|
|
var/static/items_inside = list(
|
|
/obj/item/implantcase/chem = 5,
|
|
/obj/item/implanter = 1,
|
|
/obj/item/implantpad = 1,
|
|
)
|
|
generate_items_inside(items_inside,src)
|
|
|
|
/obj/item/storage/box/exileimp
|
|
name = "boxed exile implant kit"
|
|
desc = "Box of exile implants. It has a picture of a clown being booted through the Gateway."
|
|
illustration = "implant"
|
|
|
|
/obj/item/storage/box/exileimp/PopulateContents()
|
|
var/static/items_inside = list(
|
|
/obj/item/implantcase/exile = 5,
|
|
/obj/item/implanter = 1,
|
|
/obj/item/implantpad = 1,
|
|
)
|
|
generate_items_inside(items_inside,src)
|
|
|
|
/obj/item/storage/box/beaconimp
|
|
name = "boxed beacon implant kit"
|
|
desc = "Contains a set of beacon implants. There's a warning label on the side warning to always check the safety of your teleport destination, \
|
|
accompanied by a cheery drawing of a security officer saying 'look before you leap!'"
|
|
illustration = "implant"
|
|
|
|
/obj/item/storage/box/beaconimp/PopulateContents()
|
|
var/static/items_inside = list(
|
|
/obj/item/implantcase/beacon = 3,
|
|
/obj/item/implanter = 1,
|
|
/obj/item/implantpad = 1,
|
|
)
|
|
generate_items_inside(items_inside,src)
|
|
|
|
/obj/item/storage/box/teleport_blocker
|
|
name = "boxed bluespace grounding implant kit"
|
|
desc = "Box of bluespace grounding implants. There's a drawing on the side -- A figure wearing some intimidating robes, frowning and shedding a single tear."
|
|
illustration = "implant"
|
|
|
|
/obj/item/storage/box/teleport_blocker/PopulateContents()
|
|
var/static/items_inside = list(
|
|
/obj/item/implantcase/teleport_blocker = 2,
|
|
/obj/item/implanter = 1,
|
|
/obj/item/implantpad = 1,
|
|
)
|
|
generate_items_inside(items_inside,src)
|
|
|
|
//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)
|