mob/verb
Get(var/obj/o in view(1))
if(src.am>=src.maxam)
src<<"Your Backpack is full."
return
o.Move(src.contents)
src.am++
Drop(var/obj/o in src.contents)
o.Move(src.loc)
src.am--
Problem description:
It looks like the code should work, but it doesn't. It won't pick up the objects. And drop displays drop on all the items in view, when I only want it to display it on things in your inventory.
src.contents is not a location; it's a list. That should be o.Move(src) instead.
Lummox JR