The game starts with meek John Covarth walking down the street. We set up
the game as usual:
+.. include:: /config/typethis.rst
+
.. code-block:: inform
!% -SD
box on the sidewalk; therefore we define a :attr:`container` set in the
street, which players may enter:
+.. include:: /config/typethis.rst
+
.. code-block:: inform
Appliance booth "phone booth" street
change its value: instead of a string, we write an embedded routine.
Here's the (almost) finished room:
+.. include:: /config/typethis.rst
+
.. code-block:: inform
Room street "On the street"
The description while inside the booth mentions the sidewalk, which
might invite the player to EXAMINE it. No problem:
+.. include:: /config/typethis.rst
+
.. code-block:: inform
Appliance "sidewalk" street
looks from the *inside*); but while we are on the street we need
something else to describe it:
+.. include:: /config/typethis.rst
+
.. code-block:: inform
Appliance outside_of_cafe "Benny's cafe" street
one place of our code, because this helps clarity. To achieve this, we
redirect the street's :prop:`n_to` property thus:
+.. include:: /config/typethis.rst
+
.. code-block:: inform
n_to [; <<Enter outside_of_cafe>>; ],
that many players regard as important. For this mission, we make use of
the :obj:`LibraryMessages` object.
+.. include:: /config/typethis.rst
+
.. code-block:: inform
Include "Parser";