OPTIONS=playmode:normal|explore|debug (trunk only)

[see cvs log for src/options.c for some additional info]
     Relief for the command-line impaired.  Allow player to request
explore or wizard mode via run-time config file or NETHACKOPTIONS.
Validation is left to xxxmain() and has been updated for Unix, VMS, and
ports which share pcmain.  Mac and Be appear to allow any user to access
wizard mode, and may not need any modification, although they'll continue
to have the old buglet of running with both wizard and discover flags set
if player uses `nethack -X -D'.  This may or may not work as-is for the
Qt interface depending upon whether it goes through one of the xxxmain()'s
mentioned above [someone needs to make sure that it doesn't allow Qt on
Unix to bypass the (username == WIZARD_NAME) test when user requests
wizard mode].
This commit is contained in:
nethack.rankin
2007-02-15 05:22:54 +00:00
parent 293d984946
commit 5c0a06d6b0
7 changed files with 168 additions and 97 deletions

View File

@@ -31,7 +31,7 @@
\begin{document}
%
% input file: guidebook.mn
% $Revision: 1.101 $ $Date: 2006/07/15 03:25:04 $
% $Revision: 1.102 $ $Date: 2007/02/14 01:44:46 $
%
%.ds h0 "
%.ds h1 %.ds h2 \%
@@ -2457,6 +2457,16 @@ compile time option AUTOPICKUP\_EXCEPTIONS included,
you may be able to use ``{\it autopickup\_exception\/}'' configuration
file lines to further refine ``{\it autopickup\/}'' behavior.
%.lp
\item[\ib{playmode}]
Values are {\it normal\/}, {\it explore\/}, or {\it debug\/}.
Allows selection of explore mode (also known as discovery mode) or debug
mode (also known as wizard mode) instead of normal play.
Debug mode might only be allowed for someone logged in under a particular
user name (on multi-user systems) or specifying a particular character
name (on single-user systems) or it might be disabled entirely. Requesting
it when not allowed or not possible results in explore mode instead.
Default is normal play.
%.lp
\item[\ib{prayconfirm}]
Prompt for confirmation before praying (default on).
%.lp