#. In that folder, use your text editor to create this source file
``Heidi.inf``:
+ .. include:: /config/typethis.rst
+
.. code-block:: inform
!% -SD
learn Inform more quickly by trying it for yourself, rather than just
taking our word for how things work.
- .. todo::
+#. In the same folder, use your text editor to create the compilation
+ support file ``Heidi.bat`` (on a PC):
- Again, revisit the TYPE symbol. Maybe a standard indicator above
- each snippet?
+ .. include:: /config/typethis.rst
-#. In the same folder, use your text editor to create the compilation
- support file ``Heidi.bat`` (on a PC)::
+ ::
..\..\Lib\Base\Inform Heidi
+include_path=.\,..\..\Lib\Base,..\..\Lib\Contrib | more
pause "at end of compilation"
- or ``Heidi.command`` (on a Macintosh)::
+ or ``Heidi.command`` (on a Macintosh):
+
+ .. include:: /config/typethis.rst
+
+ ::
cd ~/Inform/Games/Heidi/
with the sketch map until you're comfortable that you understand how to
create simple rooms and define the connections between them.
+.. include:: /config/typethis.rst
+
.. code-block:: inform
!============================================================================
appropriate to her, with a good chance of it being understood. We add a
line to each definition:
+.. include:: /config/typethis.rst
+
.. code-block:: inform
Object bird "baby bird"
The description of the clearing mentions a tall sycamore tree, up which the
player character supposedly "climbs". We'd better define it:
+.. include:: /config/typethis.rst
+
.. code-block:: inform
Object tree "tall sycamore tree" clearing
from being picked up by the player character. One final object: the branch
at the top of the tree. Again, not many surprises in this definition:
+.. include:: /config/typethis.rst
+
.. code-block:: inform
Object branch "wide firm bough" top_of_tree
put the bird into the nest first. One easy way to enforce this is by
adding a line near the top of the file:
+.. include:: /config/typethis.rst
+
.. code-block:: inform
!============================================================================
place it on the branch; when that happens, the game should be over. This
is one way of making it happen:
+.. include:: /config/typethis.rst
+
.. code-block:: inform
Object branch "wide firm bough" top_of_tree