Robin & Orchid — 37 of 88

Ryan Veeder & Emily Boegheim

Release 4

Section - The Photo Stack

A stack of photos is a thing.

The stack of photos is ambiguously plural.

Understand "[photos]" as the stack of photos.

Instead of examining the stack of photos when the player carries no photos:

say "You haven't taken any photos yet."

Instead of examining the stack of photos when the player carries exactly one photo (called pic):

try examining the pic.

Instead of examining the stack of photos:

say "You're holding [number of photos carried by the player in words] photos:";

now all things enclosed by the player are unmarked for listing;

now all photos carried by the player are marked for listing;

list the contents of the player, with newlines, indented, giving inventory information, including contents, with extra indentation, listing marked items only;

rule succeeds.

Instead of taking inventory when the player carries less than 5 photos:

if the number of things enclosed by the player is 0:

say "You are empty-handed.";

otherwise:

say "You are carrying:[if the player carries less than 2 photos][line break][end if]";

now all things enclosed by the player are marked for listing;

now the stack of photos is unmarked for listing;

list the contents of the player, with newlines, indented, giving inventory information, including contents, with extra indentation, listing marked items only;

rule succeeds.

Instead of taking inventory when the player carries at least 5 photos:

if the number of things enclosed by the player is 0:

say "You are empty-handed.";

otherwise:

say "You are carrying: [line break]";

now all things enclosed by the player are marked for listing;

now all photos carried by the player are unmarked for listing;

list the contents of the player, with newlines, indented, giving inventory information, including contents, with extra indentation, listing marked items only;

rule succeeds.