Holsters and Unathi knife harness

Also fixed mistyped path and OnClick bug.
This commit is contained in:
Mike
2014-04-29 22:43:10 -04:00
parent ae49ba210b
commit ba0dded672
4 changed files with 106 additions and 68 deletions

View File

@@ -93,7 +93,8 @@
return
// operate two STORAGE levels deep here (item in backpack in src; NOT item in box in backpack in src)
if(A == loc || (A in loc) || A.storage_depth(src) <= 1)
var/sdepth = A.storage_depth(src)
if(A == loc || (A in loc) || (sdepth != -1 && sdepth <= 1))
// faster access to objects already on you
if(A in contents)