Robin & Orchid — 60 of 88

Ryan Veeder & Emily Boegheim

Release 4

Part - Things

Section - Initial appearances for things on supporters

[This is mainly for Sharon's initial appearance when she's sleeping on the cots, but it might come in handy for other stuff. Anyway it's easier to find for future reference if it's up here.

Based on mattw's code at http://www.intfiction.org/forum/viewtopic.php?f=7&t=1331&view=previous ]

For printing a locale paragraph about a thing (called the item) (this is the complex describe what's on scenery supporters in room descriptions rule):

if the item is [not undescribed and the item is] scenery and the item does not enclose the player:

if a locale-supportable thing is on the item:

[new code]

repeat with possibility running through things on the item:

if possibility is not mentioned and possibility provides the property initial appearance and initial appearance of the possibility is not "":

say "[initial appearance of possibility][paragraph break]";

now the possibility is mentioned;

[end new code]

set pronouns from the item;

if an unmentioned locale-supportable thing is on the item: [this line is also new code]

repeat with possibility running through things on the item:

now the possibility is marked for listing;

if the possibility is mentioned:

now the possibility is not marked for listing;

increase the locale paragraph count by 1;

say "On [the item] ";

list the contents of the item, as a sentence, including contents,

giving brief inventory information, tersely, not listing

concealed items, prefacing with is/are, listing marked items only;

say ".[paragraph break]";

continue the activity.

The describe what's on scenery supporters in room descriptions rule is not listed in any rulebook.