lib/greygoo/player.rb
# picks up the object, if it's in the current room
picks up the object, if it's in the current room
picks up the object if it ' s in the current room
def pickup(object)
			if object.parent == current_room
				take(object)
				self.reload
			else
				raise GreyGoo::Error, "Can't take that object"
			end
		end
def pickup ( object ) if object . parent == current_room take ( object ) self . reload else raise GreyGoo :: Error , "Can't take that object" end end
picks up the object, if it's in the current room
picks up the object if it ' s in the current room
object