mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-06-17 04:04:14 +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>
59 lines
2.1 KiB
Plaintext
59 lines
2.1 KiB
Plaintext
/obj/item/storage/box/syndie_kit/syndicate_teleporter
|
|
name = "syndicate teleporter kit"
|
|
|
|
/obj/item/storage/box/syndie_kit/syndicate_teleporter/PopulateContents()
|
|
new /obj/item/syndicate_teleporter(src)
|
|
new /obj/item/paper/syndicate_teleporter(src)
|
|
|
|
/obj/item/storage/box/alchemist_basic_chems
|
|
name = "box of alchemical bases"
|
|
desc = "Contains a set of basic reagents, for all your potion-making needs! If only you labeled them."
|
|
illustration = "beaker"
|
|
|
|
/obj/item/storage/box/alchemist_basic_chems/PopulateContents()
|
|
for(var/i in 1 to 7)
|
|
if(prob(1))
|
|
new /obj/item/reagent_containers/cup/glass/coffee(src)
|
|
continue
|
|
new /obj/item/reagent_containers/cup/bottle/alchemist_basic(src)
|
|
|
|
/obj/item/storage/box/alchemist_random_chems
|
|
name = "box of potions"
|
|
desc = "An especially fancy box to keep your finished potions safe."
|
|
icon_state = "syndiebox"
|
|
illustration = "beaker"
|
|
|
|
/obj/item/storage/box/alchemist_random_chems/PopulateContents()
|
|
for(var/i in 1 to 7)
|
|
if(prob(1))
|
|
new /obj/item/reagent_containers/cup/glass/coffee(src)
|
|
continue
|
|
new /obj/item/reagent_containers/cup/bottle/alchemist_random(src)
|
|
|
|
/obj/item/storage/box/alchemist_chemistry_kit
|
|
name = "box of alchemy tools"
|
|
desc = "Contains everything needed for the up and coming chemistry student to enact hazardous chemical mishaps in the comfort of their own home."
|
|
|
|
/obj/item/storage/box/alchemist_chemistry_kit/PopulateContents()
|
|
new /obj/item/reagent_containers/cup/mortar(src)
|
|
new /obj/item/pestle(src)
|
|
new /obj/item/lighter/skull(src)
|
|
new /obj/item/ph_booklet(src)
|
|
new /obj/item/thermometer(src)
|
|
new /obj/item/storage/test_tube_rack/full(src)
|
|
new /obj/item/reagent_containers/cup/glass/coffee(src)
|
|
|
|
|
|
/obj/item/storage/box/mechabeacons
|
|
name = "exosuit tracking beacons"
|
|
|
|
/obj/item/storage/box/mechabeacons/PopulateContents()
|
|
..()
|
|
new /obj/item/mecha_parts/mecha_tracking(src)
|
|
new /obj/item/mecha_parts/mecha_tracking(src)
|
|
new /obj/item/mecha_parts/mecha_tracking(src)
|
|
new /obj/item/mecha_parts/mecha_tracking(src)
|
|
new /obj/item/mecha_parts/mecha_tracking(src)
|
|
new /obj/item/mecha_parts/mecha_tracking(src)
|
|
new /obj/item/mecha_parts/mecha_tracking(src)
|