Inform 7 Home Page / Documentation
§18.17. Printing inventory details of something
1. When it happens. When an item is listed in an inventory of items carried by the player.
2. The default behaviour. A bracketed piece of extra information is added for certain items such as containers:
a flaming branch (providing light)
The " (providing light)" (note initial space) was added by this activity.
3. Examples. (a) To get rid of such addenda entirely, try:
Rule for printing inventory details: stop.
(b) To add a new form of addendum:
Rule for printing inventory details of something edible:
say " (yummy!)[run paragraph on]".