mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-23 12:08:28 +01:00
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:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user