# File lib/core/gameobject.rb, line 163 def drop(e) plyr = get_object(e.from) place = get_object(plyr.location) # remove it plyr.delete_contents(id) # add it place.add_contents(id) self.location = place.id add_event(id,e.from,:show,"You drop the #{name}") end