ID:151284
 
What do you think I should do with an object once I have picked it up, to make it actually vanish?

obj
apple
verb
take()
set src in oview(1)
usr.inventory += src
//removing the object from the screen? loc = null?
src.Move(usr) -- actually move it to the player.
In response to Nadrew
I mean I'm aware of that, but what if given the situation?
In response to Speedro
If you don't actually want to make usr.contents into the player inventory, the best thing to do would be to set the loc to null, to remove the object entirely from the screen. The object will continue to exist, since it's referenced in usr.inventory, but if you remove it from that list without moving it to the map again, the garbage collector will delete it.
obj
apple
verb
take()
set src in oview(1)
usr.inventory += src
src.Move(usr)


That way it'll remain with you even after you restart the world (Assuming you save the character.) It's probably easier to just use content.