Guidebook tweaks
Use Keni's *roff formatting macros on a few more option lists, and turn a couple of those into sentences with semi-colon separators and final period.
This commit is contained in:
+37
-31
@@ -2120,10 +2120,10 @@ Allows you to change the way recalled messages are displayed.
|
|||||||
The possible values are:
|
The possible values are:
|
||||||
.sd
|
.sd
|
||||||
.si
|
.si
|
||||||
\fBs\fP - single message (default; only choice prior to 3.4.0)
|
.CC s "single message (default; only choice prior to 3.4.0);"
|
||||||
\fBc\fP - combination, two messages as `single', then as `full'
|
.CC c "combination, two messages as `single', then as `full';"
|
||||||
\fBf\fP - full window, oldest message first
|
.CC f "full window, oldest message first;"
|
||||||
\fBr\fP - full window reversed, newest message first
|
.CC r "full window reversed, newest message first."
|
||||||
.ei
|
.ei
|
||||||
.ed
|
.ed
|
||||||
For backward compatibility, no value needs to be specified (which
|
For backward compatibility, no value needs to be specified (which
|
||||||
@@ -2286,14 +2286,16 @@ Controls the amount of screen updating for the map window when engaged
|
|||||||
in multi-turn movement (running via shift+direction or control+direction
|
in multi-turn movement (running via shift+direction or control+direction
|
||||||
and so forth, or via the travel command or mouse click).
|
and so forth, or via the travel command or mouse click).
|
||||||
The possible values are:
|
The possible values are:
|
||||||
.sd
|
.PS teleport
|
||||||
.si
|
.PL teleport
|
||||||
teleport - update the map after movement has finished;
|
update the map after movement has finished;
|
||||||
run - update the map after every seven or so steps;
|
.PL run
|
||||||
walk - update the map after each step;
|
update the map after every seven or so steps;
|
||||||
crawl - like walk, but pause briefly after each step.
|
.PL walk
|
||||||
.ei
|
update the map after each step;
|
||||||
.ed
|
.PL crawl
|
||||||
|
like walk, but pause briefly after each step.
|
||||||
|
.PE
|
||||||
This option only affects the game's screen display, not the actual
|
This option only affects the game's screen display, not the actual
|
||||||
results of moving. The default is `run'; versions prior to 3.4.1
|
results of moving. The default is `run'; versions prior to 3.4.1
|
||||||
used `teleport' only. Whether or not the effect is noticeable will
|
used `teleport' only. Whether or not the effect is noticeable will
|
||||||
@@ -2563,16 +2565,16 @@ object at your location.
|
|||||||
You may use the following special characters in a pattern:
|
You may use the following special characters in a pattern:
|
||||||
.sd
|
.sd
|
||||||
.si
|
.si
|
||||||
\fB*\fP - matches zero or more characters;
|
.CC * "matches zero or more characters;"
|
||||||
\fB?\fP - matches any single character.
|
.CC ? "matches any single character."
|
||||||
.ei
|
.ei
|
||||||
.ed
|
.ed
|
||||||
In addition, some characters are treated specially if they occur as the first
|
In addition, some characters are treated specially if they occur as the first
|
||||||
character in the pattern, specifically:
|
character in the pattern, specifically:
|
||||||
.sd
|
.sd
|
||||||
.si
|
.si
|
||||||
\fB<\fP - always pickup an object that matches rest of pattern;
|
.CC < "always pickup an object that matches rest of pattern;"
|
||||||
\fB>\fP - never pickup an object that matches rest of pattern.
|
.CC > "never pickup an object that matches rest of pattern."
|
||||||
.ei
|
.ei
|
||||||
.ed
|
.ed
|
||||||
A `never pickup' rule takes precedence over an `always pickup' rule if
|
A `never pickup' rule takes precedence over an `always pickup' rule if
|
||||||
@@ -2611,15 +2613,17 @@ The directory that houses the sound files to be played.
|
|||||||
.lp SOUND
|
.lp SOUND
|
||||||
An entry that maps a sound file to a user-specified message pattern.
|
An entry that maps a sound file to a user-specified message pattern.
|
||||||
Each SOUND entry is broken down into the following parts:
|
Each SOUND entry is broken down into the following parts:
|
||||||
.sd
|
.PS "sound file"
|
||||||
.si
|
.PL MESG
|
||||||
MESG - message window mapping (the only one supported in 3.5).
|
message window mapping (the only one supported in 3.5);
|
||||||
pattern - the pattern to match.
|
.PL pattern
|
||||||
sound file - the sound file to play.
|
the pattern to match;
|
||||||
volume - the volume to be set while playing the sound file.
|
.PL "sound file"
|
||||||
.ei
|
the sound file to play;
|
||||||
.ed
|
.PL volume
|
||||||
.pg
|
the volume to be set while playing the sound file.
|
||||||
|
.PE
|
||||||
|
.lp ""
|
||||||
The exact format for the pattern depends on whether the platform is
|
The exact format for the pattern depends on whether the platform is
|
||||||
built to use ``regular expressions'' or NetHack's own internal pattern
|
built to use ``regular expressions'' or NetHack's own internal pattern
|
||||||
matching facility. The ``regular expressions'' matching can be much more
|
matching facility. The ``regular expressions'' matching can be much more
|
||||||
@@ -2627,23 +2631,25 @@ sophisticated than the internal NetHack pattern matching, but requires
|
|||||||
3rd party libraries on some platforms. There are plenty of references
|
3rd party libraries on some platforms. There are plenty of references
|
||||||
available elsewhere for explaining ``regular expressions''. You can verify
|
available elsewhere for explaining ``regular expressions''. You can verify
|
||||||
which pattern matching is used by your port with the #version command.
|
which pattern matching is used by your port with the #version command.
|
||||||
.pg
|
.lp ""
|
||||||
NetHack's internal pattern matching routine uses the following
|
NetHack's internal pattern matching routine uses the following
|
||||||
special characters in its pattern matching:
|
special characters in its pattern matching:
|
||||||
.sd
|
.sd
|
||||||
.si
|
.si
|
||||||
*--- matches 0 or more characters.
|
.CC * "matches 0 or more characters;"
|
||||||
?--- matches any single character.
|
.CC ? "matches any single character."
|
||||||
.ei
|
.ei
|
||||||
.ed
|
.ed
|
||||||
.pg
|
.lp ""
|
||||||
Here's an example of a sound mapping using NetHack's internal
|
Here's an example of a sound mapping using NetHack's internal
|
||||||
pattern matching facility:
|
pattern matching facility:
|
||||||
.sd
|
.sd
|
||||||
SOUND=MESG "*chime of a cash register*" "gong.wav" 50
|
.si
|
||||||
|
SOUND=MESG "*chime of a cash register*" "gong.wav" 50
|
||||||
|
.ei
|
||||||
.ed
|
.ed
|
||||||
specifies that any message with "chime of a cash register" contained
|
specifies that any message with "chime of a cash register" contained
|
||||||
in it will trigger the playing of "gong.wav". You can have multiple
|
in it will trigger the playing of file \fBgong.wav\fP. You can have multiple
|
||||||
SOUND entries in your config file.
|
SOUND entries in your config file.
|
||||||
.pg
|
.pg
|
||||||
.hn 2
|
.hn 2
|
||||||
|
|||||||
+24
-20
@@ -33,7 +33,7 @@
|
|||||||
\begin{document}
|
\begin{document}
|
||||||
%
|
%
|
||||||
% input file: guidebook.mn
|
% input file: guidebook.mn
|
||||||
% $Revision: 1.120 $ $Date: 2011/12/05 09:38:58 $
|
% $Revision: 1.121 $ $Date: 2012/04/09 02:56:37 $
|
||||||
%
|
%
|
||||||
%.ds h0 "
|
%.ds h0 "
|
||||||
%.ds h1 %.ds h2 \%
|
%.ds h1 %.ds h2 \%
|
||||||
@@ -2547,10 +2547,10 @@ Allows you to change the way recalled messages are displayed.
|
|||||||
|
|
||||||
%.sd
|
%.sd
|
||||||
%.si
|
%.si
|
||||||
{\tt s} --- single message (default; only choice prior to 3.4.0)\\
|
{\tt s} --- single message (default; only choice prior to 3.4.0);\\
|
||||||
{\tt c} --- combination, two messages as {\it single\/}, then as {\it full\/}\\
|
{\tt c} --- combination, two messages as {\it single\/}, then as {\it full\/};\\
|
||||||
{\tt f} --- full window, oldest message first\\
|
{\tt f} --- full window, oldest message first;\\
|
||||||
{\tt r} --- full window reversed, newest message first
|
{\tt r} --- full window reversed, newest message first.
|
||||||
%.ei
|
%.ei
|
||||||
%.ed
|
%.ed
|
||||||
|
|
||||||
@@ -3157,15 +3157,15 @@ Each SOUND entry is broken down into the following parts:
|
|||||||
|
|
||||||
%.sd
|
%.sd
|
||||||
%.si
|
%.si
|
||||||
{\tt MESG } --- message window mapping (the only one supported in 3.5).\\
|
{\tt MESG } --- message window mapping (the only one supported in 3.5);\\
|
||||||
{\tt pattern } --- the pattern to match.\\
|
{\tt pattern } --- the pattern to match;\\
|
||||||
{\tt sound file} --- the sound file to play.\\
|
{\tt sound file} --- the sound file to play;\\
|
||||||
{\tt volume } --- the volume to be set while playing the sound file.
|
{\tt volume } --- the volume to be set while playing the sound file.
|
||||||
%.ei
|
%.ei
|
||||||
%.ed
|
%.ed
|
||||||
\elist
|
\elist
|
||||||
|
|
||||||
%.pg
|
%.lp ""
|
||||||
The exact format for the pattern depends on whether the platform is
|
The exact format for the pattern depends on whether the platform is
|
||||||
built to use {\it regular expressions \/} or NetHack's own internal pattern
|
built to use {\it regular expressions \/} or NetHack's own internal pattern
|
||||||
matching facility. The {\it regular expressions \/} matching can be much more
|
matching facility. The {\it regular expressions \/} matching can be much more
|
||||||
@@ -3175,23 +3175,27 @@ available elsewhere for explaining {\it regular expressions \/}. You can verify
|
|||||||
which pattern matching is used by your port with the
|
which pattern matching is used by your port with the
|
||||||
\#version command.
|
\#version command.
|
||||||
|
|
||||||
%.pg
|
%.lp ""
|
||||||
NetHack's internal pattern matching routine uses the following
|
NetHack's internal pattern matching routine uses the following
|
||||||
special characters in its pattern matching:
|
special characters in its pattern matching:
|
||||||
|
|
||||||
\begin{verbatim}
|
%.sd
|
||||||
*--- matches 0 or more characters.
|
%.si
|
||||||
?--- matches any single character.
|
{\tt *} --- matches 0 or more characters;
|
||||||
\end{verbatim}
|
{\tt ?} --- matches any single character.
|
||||||
|
%.ei
|
||||||
|
%.ed
|
||||||
|
|
||||||
%.pg
|
%.lp ""
|
||||||
Here's an example of a sound mapping using NetHack's internal
|
Here's an example of a sound mapping using NetHack's internal
|
||||||
pattern matching facility:
|
pattern matching facility:
|
||||||
\begin{verbatim}
|
|
||||||
SOUND=MESG "*chime of a cash register*" "gong.wav" 50
|
%.sd.si
|
||||||
\end{verbatim}
|
{\tt SOUND=MESG "*chime of a cash register*" "gong.wav" 50}
|
||||||
specifies that any message with "chime of a cash register" contained
|
%.ei.ed
|
||||||
in it will trigger the playing of "gong.wav". You can have multiple
|
|
||||||
|
specifies that any message with ``chime of a cash register'' contained
|
||||||
|
in it will trigger the playing of file {\tt gong.wav}. You can have multiple
|
||||||
SOUND entries in your config file.
|
SOUND entries in your config file.
|
||||||
|
|
||||||
%.lp
|
%.lp
|
||||||
|
|||||||
Reference in New Issue
Block a user