if(src in usr.statpanels2)
if(isobj(src))
var/obj/P=src
P.loc=null
usr.contents+=P
global.can1-=P
usr.statpanels2-=P
So yeah, basically, contents seems to only be able to have 1 of a particular item..
Don't know why..
Also, the other problem is I'm trying to make a "click" system for picking up items from a storage area, but it seems like any items with the same name that are lying around are picked up as well, with the code I am using, displayed above. Any help on how to make sure its in usr.statpanels2 only would be greatly appreciated. Thanks :)