respond :go, Query.new(:siblings, Portal) do |actor, portal| actor.parent = portal.destination actor.tell "You go #{portal.name}." actor.perform "itemize room" end respond :go, String do |actor, string| actor.tell "You don't see any exit \"#{string}\" from here." end respond :go do |actor| actor.tell "Where do you want to go?" end xlate "north", :go, "north" xlate "south", :go, "south" xlate "west", :go, "west" xlate "east", :go, "east" xlate "up", :go, "up" xlate "down", :go, "down" xlate "northwest", :go, "northwest" xlate "northeast", :go, "northeast" xlate "southwest", :go, "southwest" xlate "southeast", :go, "southeast" xlate "n", :go, "north" xlate "s", :go, "south" xlate "w", :go, "west" xlate "e", :go, "east" xlate "u", :go, "up" xlate "d", :go, "down" xlate "nw", :go, "northwest" xlate "ne", :go, "northeast" xlate "sw", :go, "southwest" xlate "se", :go, "southeast"