Listing Worn/Carried Items on Examined NPCs (I7)

Hi. I want to have a description for each character in my story (done) and I want an After rule to list what a character being examined is wearing and carrying.

I did this:

after examining a person:
say “[noun] is wearing [list of things worn by noun] and carrying [list of things carried by noun].”

But I get this: (for the firing of the After rule. The descriptions print fine.)

“Jane is wearing smart afternoon dress, pair of low black boots, paisley patterned handbag and wedding ring and carrying nothing.”

Did I miss something? Is there a way to get it to print “a pair” instead of just “pair”? As you can see, it reads funny without it.

Thanks!

§3.18. Articles and proper names http://inform7.com/learn/man/WI_3_18.html

Note that your token needs to include [a list of things worn by noun] and [a list of things carried by noun] to get the indefinite article. (You can also use [the list of…] to get the definite article or not as desired.)

The player wears some pants. The indefinite article of pants is "a pair of".

after examining a person:
	say “[noun] is wearing [a list of things worn by noun] and carrying [a list of things carried by noun].”

x me
As good-looking as ever.

yourself is wearing a pair of pants and carrying a wand.

2 Likes

You can also capitalize your token article if it starts the sentence.

after examining a person:
	say “[A list of things worn by noun] clothes [The noun].”

x me
As good-looking as ever.

A pair of pants and a ragged sweater clothes You.

after examining a person:
	say “[A list of things worn by noun] clothes [the noun].”

x me
As good-looking as ever.

A pair of pants and a ragged sweater clothes yourself.

1 Like