Robots can no longer stick their items onto/into things.

It's possible I missed some things, but I got lockers, crates, backpacks/boxes/toolboxes/etc, tables, and racks.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1358 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
n3ophyt3
2011-04-03 16:53:11 +00:00
parent 6d6ffd387d
commit b7c5683215
4 changed files with 26 additions and 0 deletions
+2
View File
@@ -272,6 +272,8 @@
src.loc = P
O.amount -= 3
else if(opened)
if(isrobot(user))
return
user.drop_item()
if(W)
W.loc = src.loc
+2
View File
@@ -81,6 +81,8 @@
/obj/item/weapon/storage/attackby(obj/item/weapon/W as obj, mob/user as mob)
..()
if(isrobot(user))
return
if(can_hold.len)
var/ok = 0
for(var/A in can_hold)