implemented dropping of objects from inventory