Copper River
In a very dense environment, we might want to offer the player room descriptions in which only the currently-interesting items are mentioned, while other objects are suppressed even if they are present. In effect, this takes the idea of scenery and makes it more flexible: different things might become background objects or foreground objects at different times during play.
There are a wide range of possible reasons to do this -- to shift the narrative emphasis, to change the mood of the game by highlighting different parts of the environment, to show the game from the perspective of different viewpoint characters -- but in the following example, our goal is to show the player only the objects that are currently useful for puzzles.
To do this, we need some notion of what puzzles are currently available and unsolved, so we make an "unsolved" adjective; we also need to know which things solve the puzzle, so we create a "resolving" relation, to indicate which objects resolve which problems.
Given that information, we can create rules about which objects in the game world are currently interesting, which are currently dull, and describe accordingly:
Test me with "look / get powder / drop powder / look / look in cabinet / get powder / put powder on fiona / look / open cabinet / look in cabinet / get solution / open fridge / put solution in fridge / look / get solution / put solution on salmon / look".
Your Aunt Fiona's kitchen looks as though it has been at the eye of a glitter storm. Fine, sparkling grit dusts every surface. The appliances are slightly askew, too, as though they hadn't quite settled after a vigorous earthquake.
Aunt Fiona stands nearby. Or perhaps "stands" is the wrong word: she has been sort of puffed up in her own skin like a balloon, and is now propped in a corner of the room with her head lolling back.
On the shelf is a tin of deflating powder.
>(Testing.)
>[1] look
Kitchen
Your Aunt Fiona's kitchen looks as though it has been at the eye of a glitter storm. Fine, sparkling grit dusts every surface. The appliances are slightly askew, too, as though they hadn't quite settled after a vigorous earthquake.
Aunt Fiona stands nearby. Or perhaps "stands" is the wrong word: she has been sort of puffed up in her own skin like a balloon, and is now propped in a corner of the room with her head lolling back.
On the shelf is a tin of deflating powder.
>[2] get powder
Taken.
>[3] drop powder
Dropped.
Aunt Fiona's eyes follow you, wide and desperate, but it doesn't look like she's able to do anything.
>[4] look
Kitchen
Your Aunt Fiona's kitchen looks as though it has been at the eye of a glitter storm. Fine, sparkling grit dusts every surface. The appliances are slightly askew, too, as though they hadn't quite settled after a vigorous earthquake.
Aunt Fiona stands nearby. Or perhaps "stands" is the wrong word: she has been sort of puffed up in her own skin like a balloon, and is now propped in a corner of the room with her head lolling back.
You can also see a tin of deflating powder here.
>[5] look in cabinet
There's nothing very useful here, only assorted dull items.
>[6] get powder
Taken.
>[7] put powder on fiona
You toss some of the powder in Aunt Fiona's direction, and with a sudden gaseous HUFF! she returns to her usual shape and size.
"Well!" she says, brushing herself off. "That was bracing!"
You give her an embarrassed smile, to apologize for not curing her faster.
"At least they didn't get this," she says, producing from somewhere on her person a fresh-caught salmon. An odd pattern around its eye sockets makes it looks comically as though it wears spectacles. "It's the Salmon of Knowledge," she explains casually. "We just need to scale and cook it."
[Your score has just gone up by two points.]
>[8] look
Kitchen
Your Aunt Fiona's kitchen looks as though it has been at the eye of a glitter storm. Fine, sparkling grit dusts every surface. The appliances are slightly askew, too, as though they hadn't quite settled after a vigorous earthquake.
On the counter is a very scaly salmon.
Aunt Fiona stands -- on her own two slender legs -- at the center of the room.
>[9] open cabinet
You open the cabinet, revealing a bottle of descaling solution and assorted dull items.
>[10] look in cabinet
A bottle of descaling solution is in the cabinet (alongside assorted dull items).
>[11] get solution
Taken.
>[12] open fridge
You open the refrigerator, revealing assorted dull items.
>[13] put solution in fridge
You put the bottle of descaling solution into the refrigerator.
>[14] look
Kitchen
Your Aunt Fiona's kitchen looks as though it has been at the eye of a glitter storm. Fine, sparkling grit dusts every surface. The appliances are slightly askew, too, as though they hadn't quite settled after a vigorous earthquake.
On the counter is a very scaly salmon.
Aunt Fiona stands -- on her own two slender legs -- at the center of the room.
You can also see a refrigerator (in which are a bottle of descaling solution and assorted dull items) here.
>[15] get solution
Taken.
>[16] put solution on salmon
With just a single squirt of the descaling solution (which confusingly has a picture of bathroom tiles on the label), you remove the scales from the salmon, leaving its pink flesh ready for preparation.
[Your score has just gone up by two points.]
>[17] look
Kitchen
Your Aunt Fiona's kitchen looks as though it has been at the eye of a glitter storm. Fine, sparkling grit dusts every surface. The appliances are slightly askew, too, as though they hadn't quite settled after a vigorous earthquake.
Aunt Fiona stands -- on her own two slender legs -- at the center of the room.