/obj/item/storage no longer uses /New (#18306)

This commit is contained in:
moxian
2022-07-12 20:38:06 +00:00
committed by GitHub
parent 694ba4be7d
commit f0768024d2
20 changed files with 58 additions and 90 deletions
@@ -12,7 +12,6 @@
name = "fulton extraction kit"
icon_state = "box_of_doom"
/obj/item/storage/box/contractor/fulton_kit/New()
..()
/obj/item/storage/box/contractor/fulton_kit/populate_contents()
new /obj/item/extraction_pack(src)
new /obj/item/fulton_core(src)
@@ -34,8 +34,7 @@
)
/obj/item/storage/box/syndie_kit/contractor/New()
..()
/obj/item/storage/box/syndie_kit/contractor/populate_contents()
new /obj/item/paper/contractor_guide(src)
new /obj/item/contractor_uplink(src)
new /obj/item/storage/box/syndie_kit/contractor_loadout(src)
@@ -48,8 +47,7 @@
name = "contractor standard loadout box"
desc = "A standard issue box included in a contractor kit."
/obj/item/storage/box/syndie_kit/contractor_loadout/New()
..()
/obj/item/storage/box/syndie_kit/contractor_loadout/populate_contents()
new /obj/item/clothing/head/helmet/space/syndicate/contractor(src)
new /obj/item/clothing/suit/space/syndicate/contractor(src)
new /obj/item/melee/classic_baton/telescopic/contractor(src)
+1 -2
View File
@@ -38,7 +38,6 @@
desc = "Contains 6 random Nano-Mob Hunter Trading Cards. May contain a holographic card!"
can_hold = list(/obj/item/nanomob_card)
/obj/item/storage/box/nanomob_booster_pack/New()
..()
/obj/item/storage/box/nanomob_booster_pack/populate_contents()
for(var/i in 1 to 6)
new /obj/item/nanomob_card/booster(src)
@@ -3,8 +3,7 @@
icon_state = "firstaid"
desc = "A first aid kit with the ability to heal common types of injuries."
/obj/item/storage/firstaid/ancient/New()
..()
/obj/item/storage/firstaid/ancient/populate_contents()
new /obj/item/stack/medical/bruise_pack(src)
new /obj/item/stack/medical/bruise_pack(src)
new /obj/item/stack/medical/bruise_pack(src)
+1 -2
View File
@@ -265,8 +265,7 @@
max_combined_w_class = 9
storage_slots = 3
/obj/item/storage/toolbox/fluff/lunchbox/New()
..()
/obj/item/storage/toolbox/fluff/lunchbox/populate_contents()
new /obj/item/reagent_containers/food/snacks/sandwich(src)
new /obj/item/reagent_containers/food/snacks/chips(src)
new /obj/item/reagent_containers/food/drinks/cans/cola(src)
+1 -2
View File
@@ -499,7 +499,6 @@
name = "plant data disks box"
icon_state = "disk_kit"
/obj/item/storage/box/disks_plantgene/New()
..()
/obj/item/storage/box/disks_plantgene/populate_contents()
for(var/i in 1 to 7)
new /obj/item/disk/plantgene(src)
+1 -2
View File
@@ -13,8 +13,7 @@
max_combined_w_class = 40
can_hold = list(/obj/item/coin, /obj/item/stack/spacecash)
/obj/item/storage/bag/money/vault/New()
..()
/obj/item/storage/bag/money/vault/populate_contents()
new /obj/item/coin/silver(src)
new /obj/item/coin/silver(src)
new /obj/item/coin/silver(src)
+1 -2
View File
@@ -188,8 +188,7 @@
icon = 'icons/obj/pda.dmi'
icon_state = "pdabox"
/obj/item/storage/box/PDAs/New()
..()
/obj/item/storage/box/PDAs/populate_contents()
new /obj/item/pda(src)
new /obj/item/pda(src)
new /obj/item/pda(src)
@@ -93,7 +93,6 @@
/obj/item/ammo_casing/caseless/arrow
)
/obj/item/storage/backpack/quiver/full/New()
..()
/obj/item/storage/backpack/quiver/full/populate_contents()
for(var/i in 1 to storage_slots)
new /obj/item/ammo_casing/caseless/arrow(src)