Merge pull request #480 from TheDZD/minor-fixes

Fixes exchange document objective
This commit is contained in:
Fox-McCloud
2015-03-01 21:04:52 -05:00
2 changed files with 5 additions and 0 deletions
@@ -75,6 +75,8 @@
L += G.gift
if (istype(G.gift, /obj/item/weapon/storage))
L += G.gift:return_inv()
for(var/obj/item/weapon/folder/F in src)
L += F.contents
return L
/obj/item/weapon/storage/proc/show_to(mob/user as mob)
+3
View File
@@ -229,6 +229,9 @@
L += D.wrapped
if(istype(D.wrapped, /obj/item/weapon/storage)) //this should never happen
L += get_contents(D.wrapped)
for(var/obj/item/weapon/folder/F in src.contents)
L += F.contents //Folders can't store any storage items.
return L
/mob/living/proc/check_contents_for(A)