mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-16 01:25:10 +01:00
Finish Machinery new to init (#17334)
* Finish Machinery new to init * fix that --------- Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
@@ -8,8 +8,8 @@
|
||||
drop_sound = 'sound/items/drop/toolbox.ogg'
|
||||
pickup_sound = 'sound/items/pickup/toolbox.ogg'
|
||||
|
||||
/obj/item/storage/briefcase/crimekit/New()
|
||||
..()
|
||||
/obj/item/storage/briefcase/crimekit/Initialize(mapload)
|
||||
. = ..()
|
||||
new /obj/item/storage/box/swabs(src)
|
||||
new /obj/item/storage/box/fingerprints(src)
|
||||
new /obj/item/reagent_containers/spray/luminol(src)
|
||||
|
||||
@@ -4,14 +4,14 @@
|
||||
w_class = ITEMSIZE_TINY
|
||||
var/list/evidence = list()
|
||||
|
||||
/obj/item/sample/New(var/newloc, var/atom/supplied)
|
||||
..(newloc)
|
||||
/obj/item/sample/Initialize(mapload, var/atom/supplied)
|
||||
. = ..()
|
||||
if(supplied)
|
||||
copy_evidence(supplied)
|
||||
name = "[initial(name)] (\the [supplied])"
|
||||
|
||||
/obj/item/sample/print/New(var/newloc, var/atom/supplied)
|
||||
..(newloc, supplied)
|
||||
/obj/item/sample/print/Initialize(mapload, supplied)
|
||||
. = ..()
|
||||
if(evidence && evidence.len)
|
||||
icon_state = "fingerprint1"
|
||||
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
can_hold = list(/obj/item/forensics/swab)
|
||||
storage_slots = 14
|
||||
|
||||
/obj/item/storage/box/swabs/New()
|
||||
..()
|
||||
/obj/item/storage/box/swabs/Initialize(mapload)
|
||||
. = ..()
|
||||
for(var/i = 1 to storage_slots) // Fill 'er up.
|
||||
new /obj/item/forensics/swab(src)
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
storage_slots = 7
|
||||
can_hold = list(/obj/item/evidencebag)
|
||||
|
||||
/obj/item/storage/box/evidence/New()
|
||||
..()
|
||||
/obj/item/storage/box/evidence/Initialize(mapload)
|
||||
. = ..()
|
||||
for(var/i = 1 to storage_slots)
|
||||
new /obj/item/evidencebag(src)
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
can_hold = list(/obj/item/sample/print)
|
||||
storage_slots = 14
|
||||
|
||||
/obj/item/storage/box/fingerprints/New()
|
||||
..()
|
||||
/obj/item/storage/box/fingerprints/Initialize(mapload)
|
||||
. = ..()
|
||||
for(var/i = 1 to storage_slots)
|
||||
new /obj/item/sample/print(src)
|
||||
|
||||
Reference in New Issue
Block a user