R&D Lockbox Origintech

This commit is contained in:
Fox-McCloud
2015-08-25 21:24:09 -04:00
parent 386ccd9717
commit 110abbda59
2 changed files with 4 additions and 1 deletions

View File

@@ -31,6 +31,7 @@
else
src.icon_state = src.icon_closed
user << "\red You unlock the [src.name]!"
origin_tech = null //wipe out any origin tech if it's unlocked in any way so you can't double-dip tech levels at R&D.
return
else
user << "\red Access Denied"
@@ -58,6 +59,7 @@
desc = "It appears to be broken."
icon_state = src.icon_broken
user << "<span class='notice'>You unlock \the [src].</span>"
origin_tech = null //wipe out any origin tech if it's unlocked in any way so you can't double-dip tech levels at R&D.
return
/obj/item/weapon/storage/lockbox/loyalty

View File

@@ -442,6 +442,7 @@ won't update every console in existence) but it's more of a hassle to do. Also,
var/obj/item/weapon/storage/lockbox/L = new/obj/item/weapon/storage/lockbox(linked_lathe.loc)
new_item.loc = L
L.name += " ([new_item.name])"
L.origin_tech = new_item.origin_tech
else
new_item.loc = linked_lathe.loc
linked_lathe.busy = 0