Merge pull request #1856 from Fox-McCloud/rnd-lockboxes

R&D Lockbox Origintech
This commit is contained in:
TheDZD
2015-08-26 22:05:56 -04:00
2 changed files with 4 additions and 1 deletions
@@ -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
@@ -89,7 +91,7 @@
item_state = "syringe_kit"
w_class = 3
max_w_class = 2
max_combined_w_class = 20
max_combined_w_class = 20
storage_slots = 12
req_access = list(access_captain)
icon_locked = "medalbox+l"
+1
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