mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-26 13:39:16 +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:
co-authored by
Cameron Lennox
parent
f362f6585f
commit
4d36cfdaeb
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user