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

This commit is contained in:
moxian
2022-07-12 21:38:06 +01:00
committed by GitHub
parent 694ba4be7d
commit f0768024d2
20 changed files with 58 additions and 90 deletions
+2 -4
View File
@@ -6,8 +6,7 @@
can_hold = list(/obj/item/dice)
allow_wrap = FALSE
/obj/item/storage/pill_bottle/dice/New()
..()
/obj/item/storage/pill_bottle/dice/populate_contents()
var/special_die = pick("1","2","fudge","00","100")
if(special_die == "1")
new /obj/item/dice/d1(src)
@@ -385,8 +384,7 @@
desc = "ANOTHER ONE!? FUCK!"
icon_state = "box"
/obj/item/storage/box/dice/New()
..()
/obj/item/storage/box/dice/populate_contents()
new /obj/item/dice/d2(src)
new /obj/item/dice/d4(src)
new /obj/item/dice/d8(src)
@@ -277,29 +277,23 @@
/obj/item/storage/box/syndie_kit/remotegrenade
name = "remote grenade kit"
/obj/item/storage/box/syndie_kit/remotegrenade/New()
..()
/obj/item/storage/box/syndie_kit/remotegrenade/populate_contents()
new /obj/item/grenade/chem_grenade/explosion/remote(src)
new /obj/item/multitool(src) // used to adjust the chemgrenade's signaller
new /obj/item/assembly/signaler(src)
return
/obj/item/storage/box/syndie_kit/remoteemp
name = "remote EMP kit"
/obj/item/storage/box/syndie_kit/remoteemp/New()
..()
/obj/item/storage/box/syndie_kit/remoteemp/populate_contents()
new /obj/item/grenade/chem_grenade/emp/remote(src)
new /obj/item/multitool(src) // used to adjust the chemgrenade's signaller
new /obj/item/assembly/signaler(src)
return
/obj/item/storage/box/syndie_kit/remotelube
name = "remote lube kit"
/obj/item/storage/box/syndie_kit/remotelube/New()
..()
/obj/item/storage/box/syndie_kit/remotelube/populate_contents()
new /obj/item/grenade/chem_grenade/lube(src)
new /obj/item/multitool(src) // used to adjust the chemgrenade's signaller
new /obj/item/assembly/signaler(src)
return