Robin & Orchid — 50 of 88

Ryan Veeder & Emily Boegheim

Release 4

Section - Visited rooms

[According to the fiction of the game, Robin must have already visited some of the rooms in the church (and know what they are). We could just mark them as "visited", but we might want to know if it's the first time the *player* has visited the room.]

A room can be backstory-visited. A room is usually not backstory-visited.

Definition: a room is explored if it is visited or it is backstory-visited.

After printing the name of a direction (called way) when (the current action is looking or the current action is exit listing) and printing cat stuff is false:

let destination be the room way of the location;

if the destination is a room and the destination is explored:

if the destination is a hallway and the destination is not Hall4 and the location is a hallway:

say " to more hallway";

otherwise:

say " to the [lower case name of the destination]".