We must not forget a couple of tiny details in the café room:
+.. include:: /config/typethis.rst
+
.. code-block:: inform
Object food "Benny's snacks" cafe
And a not-so-trivial object:
+.. include:: /config/typethis.rst
+
.. code-block:: inform
Object coffee "cup of coffee" benny
There's not a lot about the toilet room and its contents, though there will
be some tricky side effects:
+.. include:: /config/typethis.rst
+
.. code-block:: inform
Room toilet "Unisex toilet"
light to see by. However, let's define first the light switch mentioned in
the room's description to aid players in their dressing duties.
+.. include:: /config/typethis.rst
+
.. code-block:: inform
Appliance light_switch "light switch" toilet
perhaps it would be a good idea to append a little code to the door object
to account for this. A couple of lines in the after property will suffice:
+.. include:: /config/typethis.rst
+
.. code-block:: inform
after [ ks;
:attr:`moved`. Here is the reworked ``InScope`` routine. There are a
couple of new concepts to look at:
+.. include:: /config/typethis.rst
+
.. code-block:: inform
[ InScope person item;
This leaves us the clothing items themselves, which will require a few
tailored actions. Let's see first the ordinary garments of John Covarth:
+.. include:: /config/typethis.rst
+
.. code-block:: inform
Object clothes "your clothes"
ordinary clothes. So now we are dealing with a Captain Fate in full
costume:
+.. include:: /config/typethis.rst
+
.. code-block:: inform
Object costume "your costume"
to the ``Initialise`` routine to make sure that the player does not start
the game naked:
+.. include:: /config/typethis.rst
+
.. code-block:: inform
[ Initialise;
Tell", to write our customised messages and assign them to :var:`deadflag`
values greater than 2.
+.. include:: /config/typethis.rst
+
.. code-block:: inform
[ DeathMessage;
things. We have already seen that we need a verb CHANGE. We'll make it
really simple:
+.. include:: /config/typethis.rst
+
.. code-block:: inform
[ ChangeSub;
allow Benny to use his default line for *any* undefined input from the
player. We need to extend the existing ASK grammar:
+.. include:: /config/typethis.rst
+
.. code-block:: inform
Extend 'ask'