Adds origin tech and adds a name to the lockbox based on what it
contains
Fixed the spawn location
This commit is contained in:
Regen
2015-09-07 11:49:14 +02:00
parent 3d1dcbc4d5
commit 5987b2eb0a
+3 -1
View File
@@ -183,8 +183,10 @@
var/obj/item/I = new D.build_path
if(D.locked)
var/obj/item/weapon/storage/lockbox/large/L = new /obj/item/weapon/storage/lockbox/large(src.loc) //(Don't use capitals in paths, or single letters.
var/obj/item/weapon/storage/lockbox/large/L = new /obj/item/weapon/storage/lockbox/large(get_step(src,SOUTH)) //(Don't use capitals in paths, or single letters.
I.loc = L
L.name += " [initial(D.name)]"
L.origin_tech = I.origin_tech
else
I.loc = get_step(src,SOUTH)
I.materials[MAT_METAL] = get_resource_cost_w_coeff(D,MAT_METAL)