Hot Glass Looks Like Cold Glass
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.
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:
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".
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.