t 3 - Going By Name
Understand "go to/in/into [any room]" as going by name. Understand "[any room]" as going by name. Understand "[door]" as entering. Understand "enter [any room]" as going by name.
Does the player mean going by name when the noun is visited or the noun is adjacent to the location: it is very likely.
Going by name is an action applying to one thing.
Check going by name: if the noun is the location, say "You're already in [the location]." instead.
Carry out going by name:
while the player is not in the noun:
let heading be the best route from the location to the noun, using even locked doors;
if heading is not a direction, say "You can't think how to get there from here." instead;
let destination be the room heading from the location;
say "(heading [heading])[command clarification break]";
try going heading;
if the player is not in the destination, rule fails.