X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=chapters%2F08.rst;h=2cfec9ba3f8a1a910a8ae99a43e1a639b919e465;hb=95b5702817b987123d71d432f81eeb0c7101b59c;hp=5ee56f86ef5c1731be4028c3a91c5b5c1d49c4fd;hpb=f9eb50b5024de49b2df4b5daab471731840195d3;p=ibg.git diff --git a/chapters/08.rst b/chapters/08.rst index 5ee56f8..2cfec9b 100644 --- a/chapters/08.rst +++ b/chapters/08.rst @@ -6,22 +6,20 @@ .. epigraph:: - | *O was an oyster girl, and went about town;* - | *P was a parson, and wore a black gown.* + | |CENTER| *O was an oyster girl, and went about town;* + | |CENTER| *P was a parson, and wore a black gown.* .. only:: html .. image:: /images/picO.png :align: left -.. raw:: latex +|O|\ur game's action nears its climax in the town's central square. In +this chapter we define the square's constituent rooms and deal with +Wilhelm's approach to the hat on the pole -- does he salute it, or does he +remain proudly defiant? - \dropcap{o} - -ur game's action nears its climax in the town's central square. In this -chapter we define the square's constituent rooms and deal with Wilhelm's -approach to the hat on the pole -- does he salute it, or does he remain -proudly defiant? +.. _south-side: The south side of the square ============================ @@ -81,9 +79,8 @@ The obnoxious soldiers are also implemented very sketchily; they need to be there, but they don't do much. Their most interesting characteristic is probably that they trap two actions -- ``FireAt`` and ``Talk`` -- which are *not* part of the library, but instead new actions that we've defined -specially for this game. We'll talk about those actions in "Verbs, verbs, -verbs" on page 111, at which time the role of this ``before`` property will -make more sense. +specially for this game. We'll talk about those actions in :ref:`verbs`, +at which time the role of this ``before`` property will make more sense. The middle of the square ======================== @@ -208,8 +205,8 @@ that the salute was "gratefully" received. Creating new property variables like this -- at the drop of a hat, as it were -- is the recommended approach, but it isn't the only possibility. - We briefly mention some alternative approaches in "Reading other - people's code" on page 181. + We briefly mention some alternative approaches in + :ref:`reading-other-code`. Back to the ``mid_square`` room. We've said that we need to detect Wilhelm trying to leave this room, which we can do by trapping the ``Go`` action in