mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-21 02:57:48 +01:00
Fixes
Adds origin tech and adds a name to the lockbox based on what it contains Fixed the spawn location
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user