Hot Glass Looks Like Cold Glass

Example 331
★★★

Responding to references to a property that the player isn't yet allowed to mention (or when not to use "understand as a mistake").

Suppose we have a situation where the player is allowed to talk about the heat of an object only if he's properly equipped to detect it.

"Hot Glass Looks Like Cold Glass"
Use scoring.
Heat is a kind of value. The heats are hot, warm, room temperature, and cold. A thing has a heat.
Understand the heat property as referring to a thing when the player wears the infrared goggles.
The Test Kitchen is a room. "Your own personal lab, ready for scrupulously scientific recipe research. You hope. The previous three runs of this did not go well." The pair of infrared goggles is carried by the player. The description is "A pair of head-mounted IR goggles which look very foolish when worn." The goggles are wearable.
A glass dish is a kind of container. A glass dish is transparent. Three room temperature glass dishes are on the counter. Two hot glass dishes are on the counter. Two cold glass dishes are on the counter. The counter is scenery in the Test Kitchen.
Instead of doing something other than examining to a hot glass dish:
   say "Ow! Crikey! You swear, and Claudia makes a sympathetic hiss. 'You're going to have a mark from that for sure,' she comments.";
   decrease the score by 2.
Instead of doing something when a hot glass dish is the second noun:
   say "You brush [the second noun], and wince, but manage to conceal that from Claudia.";
   decrement the score.
Before printing the name of a glass dish when the player wears the goggles: say "[heat] "
Before printing the plural name of a glass dish when the player wears the goggles: say "[heat] "

So far, so good. Now, what if the player tries to GET HOT DISH when the goggles are off? "You can't see any such thing." doesn't seem like quite the right response: he can see such a thing. He just doesn't know which it is.

We could go on to write a mistake rule that would scold the player for trying "get [heat] [text]" when not wearing the goggles. The problem is that this would not cover any other phrasing of the command, nor would it account for all the many other things the player might try to do with an object specified by heat.

What we really want is to catch all instances of the player using the property name when not allowed to do so; and for this purpose we can borrow a trick from the chapter on Activities:

After reading a command:
   if the player wears the goggles, make no decision;
   if the player's command includes "[heat]":
      say "Without the IR goggles on, you cannot tell hot things from cold at sight.";
      rule succeeds.
Claudia is a woman in the Test Kitchen. "Your assistant Claudia stands by with [a list of things carried by Claudia]." The description of Claudia is "Infinitely patient and a very good stenographer. She is studiously avoiding giving you any sort of look that might be construed as mocking." Claudia carries a notepad, a brined chicken breast, a blowtorch, and a cup of heavy cream.
Instead of asking Claudia for something which is carried by Claudia:
   move the second noun to the player;
   say "'Check, [second noun],' repeats Claudia, in the tone of one who has seen too many medical dramas. She does hand it over, though."
Instead of asking Claudia for something:
   say "She clears her throat faintly and glances at [the second noun], as though to say that it's not hers to give."
Test me with "get all / drop all / look / wear goggles / look / ask claudia for cream / put cream in hot dish / put cream in cold dish / remove goggles / get hot dish".
Test me with "get all / drop all / look / wear goggles / look / ask claudia for cream / put cream in hot dish / put cream in cold dish / remove goggles / get hot dish".
Test Kitchen
Your own personal lab, ready for scrupulously scientific recipe research. You hope. The previous three runs of this did not go well.

On the counter are seven glass dishes (empty).

Your assistant Claudia stands by with a notepad, a brined chicken breast, a blowtorch and a cup of heavy cream.

>(Testing.)

>[1] get all
glass dish: Taken.
glass dish: Taken.
glass dish: Taken.
glass dish: Ow! Crikey! You swear, and Claudia makes a sympathetic hiss. "You're going to have a mark from that for sure," she comments.
glass dish: Ow! Crikey! You swear, and Claudia makes a sympathetic hiss. "You're going to have a mark from that for sure," she comments.
glass dish: Taken.
glass dish: Taken.
notepad: That seems to belong to Claudia.
brined chicken breast: That seems to belong to Claudia.
blowtorch: That seems to belong to Claudia.
cup of heavy cream: That seems to belong to Claudia.

[Your score has just gone down by four points.]

>[2] drop all
glass dish: Dropped.
glass dish: Dropped.
glass dish: Dropped.
glass dish: Dropped.
glass dish: Dropped.
pair of infrared goggles: Dropped.

>[3] look
Test Kitchen
Your own personal lab, ready for scrupulously scientific recipe research. You hope. The previous three runs of this did not go well.

On the counter are two glass dishes (empty).

Your assistant Claudia stands by with a notepad, a brined chicken breast, a blowtorch and a cup of heavy cream.

You can also see a pair of infrared goggles and five glass dishes (empty) here.

>[4] wear goggles
(first taking the pair of infrared goggles)
You put on the pair of infrared goggles.

>[5] look
Test Kitchen
Your own personal lab, ready for scrupulously scientific recipe research. You hope. The previous three runs of this did not go well.

On the counter are two hot glass dishes (empty).

Your assistant Claudia stands by with a notepad, a brined chicken breast, a blowtorch and a cup of heavy cream.

You can also see three room temperature glass dishes (empty) and two cold glass dishes (empty) here.

>[6] ask claudia for cream
"Check, cup of heavy cream," repeats Claudia, in the tone of one who has seen too many medical dramas. She does hand it over, though.

>[7] put cream in hot dish
You brush the hot glass dish, and wince, but manage to conceal that from Claudia.

[Your score has just gone down by one point.]

>[8] put cream in cold dish
You put the cup of heavy cream into the cold glass dish.

>[9] remove goggles
You take off the pair of infrared goggles.

>[10] get hot dish
Without the IR goggles on, you cannot tell hot things from cold at sight.