version 2/110308 by Mike Ciul
Section: Use with Remembering by Aaron Reed
Remembering prints a special message when examining, taking, or dropping an object that has been seen already. When used with glulx, it tells the player where the PC last saw the object. We can make this work with all verbs using the following rule:
For noticing absence of something (called item) (this is the remember lost items rule):
Try remembering item;
The remember lost items rule is listed instead of the default notice absence rule in the for noticing absence rulebook.
There's a little bit going on behind the scenes here, because normally an extra line break is printed when an action is tried during the printing a parser error activity. To make the line breaks work out as we'd expect, Lost Items implements a global variable (converting parser error to action) and a trio of rules (the "not yet converting parser error to action" rule in the before printing a parser error rulebook, the "now converting parser error to action" rule in the before rulebook, and the "prevent extra line breaks when converting parser error to action" rule in the after printing a parser error rulebook). It's unlikely that we'll need to interfere with these rules, but it's good to know that they exist.