Robin & Orchid — 32 of 88

Ryan Veeder & Emily Boegheim

Release 4

Section - Printing the description of a photo

Printing the description of something is an activity on photos.

Carry out examining a photo:

carry out the printing the description activity with the noun;

[skip the rest of the examining rules]

rule succeeds.

[TODO: Replace these placeholder rules with actual default description rules. Interestinger ones.]

Rule for printing the description of a photo (called pic):

say "It's a photo you took of [the subject of the pic]."

Rule for printing the description of a person photo (called pic):

say "It's a photo you took of [the subject of the pic] [action description of the pic]."

[Rule for printing the description of a container photo (called pic):

say "It appears to be a photo of [the contents of the pic with indefinite articles] [if the subject of the pic is a container]in[otherwise]on[end if] [the subject of the pic]."

[This sounds silly when Robin or one of the NPCs is among the contents of the container/supporter, so we'll have to write a special rule (or possibly one per enterable thing, depending on how fancy we want to get) to deal with this.]]

[Rather than having to write a rule for printing the description for every photographable object in the game, we'll add a photo description property and print it as the description of a photo of that object. For more complicated photo subjects, like people, we can use rules instead, but this is much easier in most cases.]

A thing has some text called the photo description.

Definition: a thing is simply-photo-described if the photo description of it is not empty.

[I'm sorry, that's a terrible name. I couldn't come up with anything better.]

Rule for printing the description of a photo (called pic) when the subject of the pic is simply-photo-described:

say the photo description of the subject of the pic;

say line break.

Instead of discarding when the noun is a photo or the noun is the stack of photos:

say "Better not. You don't want to lose any of your evidence."