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