After a bit of a break from I7 I’d forgotten some of its quirks, not the least the difficultly involved in changing:
On the desk is an origami bird.
into, well, anything else; say:
Annabel has left an origami bird on the table for you.
Here’s a quick solution. I’ll probably package it into an extension later.
[— I7 code —]
The intercept supportable items rule is listed before the describe what's on scenery supporters in room descriptions rule in the for printing a locale paragraph about rulebook.
For printing a locale paragraph about a supporter (called table-top-place) (this is the intercept supportable items rule):
carry out the describing what's on activity with table-top-place;
continue the activity;
Describing what's on something is an activity. The currently important supporter is a thing that varies.
Before describing what's on something (called the table-top-place): now the currently important supporter is table-top-place.
To describe (x - a thing) by saying (p - some text):
if x is on the currently important supporter begin;
now the x is mentioned;
say p, paragraph break;
[— End of code —]
This creates a quick activity for describing things with things on, and a phrase for actually describing the thing that’s doing the on. You use it like this:
Rule for describing what's on the writing desk:
describe the origami bird by saying "Annabel has left an origami bird on the table for you."