Counterfeit Monkey — 44 of 292

Emily Short

Release 6

Section 2 - Finding

Understand "find [any seen thing]" as finding. Understand the command "seek" or "approach" as find. Understand "look for [any seen thing]" as finding. Understand "go to [any seen thing]" as finding.

Finding is an action applying to one visible thing.

Check finding something that is in the repository:

say "Who knows where [the noun] went?" instead.

Check finding something that is enclosed by the player:

say "[You][']re carrying [the noun]." instead.

Check finding a backdrop:

say "[The noun] [is-are]n't in one specific location." instead.

Check finding something that is enclosed by the location:

say "[The noun] should be close by." instead;

Carry out finding:

let place be the location of the noun;

if place is not a room and the noun is a door:

let place be the front side of the noun;

if place is not visited:

let place be the back side of the noun;

if place is a room and place is not the location:

try approaching place;

otherwise:

say "I'm a little confused about how to find [the noun]."

Sanity-check finding a door which is in the location:

try entering the noun instead.