Answer to Exercise 5

| ANSWER TO EXERCISE 5
    Object orange_cloud "orange cloud"
      with name "orange" "cloud",
           react_before
           [;  Look: "You can't see for the orange cloud surrounding you.";
               Go, Exit: "You wander round in circles, choking.";
               Smell: if (noun==0) "Cinnamon?  No, nutmeg.";
           ],
      has  scenery;

Back to the exercise in section 10

Mechanically translated to HTML from third edition as revised 16 May 1997. Copyright © Graham Nelson 1993, 1994, 1995, 1996, 1997: all rights reserved.