]> granicus.if.org Git - nethack/commitdiff
Prevent walking into water or lava by default
authorPasi Kallinen <paxed@alt.org>
Tue, 2 Aug 2022 06:15:28 +0000 (09:15 +0300)
committerPasi Kallinen <paxed@alt.org>
Tue, 2 Aug 2022 06:15:32 +0000 (09:15 +0300)
Make paranoid_confirmation:swim the default, because it is far more
beginner friendly.

doc/Guidebook.mn
doc/Guidebook.tex
src/options.c

index 9ffc9f5b022d76e034cb439b99f645ce7a468684..1635643681fa9b877f4054ceacfda6e34ebcc604 100644 (file)
@@ -4103,7 +4103,7 @@ symbols for the various object types.
 Any omitted types are filled in at the end from the previous order.
 .lp paranoid_confirmation
 A space separated list of specific situations where alternate
-prompting is desired.  The default is paranoid_confirmation:pray.
+prompting is desired.  The default is \(lqparanoid_confirmation:pray swim\(rq.
 .PS Were-change
 .PL Confirm
 for any prompts which are set to require \(lqyes\(rq rather than \(oqy\(cq,
index 3141e602502b5e3da72d0558ea353fa7edb6e8ae..177fb69a57bbcbda89ca97d53a6755a508053fa1 100644 (file)
@@ -4489,7 +4489,7 @@ are filled in at the end from the previous order.
 %.lp
 \item[\ib{paranoid\verb+_+confirmation}]
 A space separated list of specific situations where alternate
-prompting is desired.  The default is ``{\it paranoid\verb+_+confirmation:pray}''.
+prompting is desired.  The default is ``{\it paranoid\verb+_+confirmation:pray swim}''.
 %.sd
 %.si
 \newlength{\pcwidth}
index 81ad50f493f5c8baafaa2055fc93bdd3b7e09ba6..a5c038784d12cba3c6daaf8a99314f1fcedefde2 100644 (file)
@@ -6085,7 +6085,7 @@ initoptions_init(void)
     flags.end_own = FALSE;
     flags.end_top = 3;
     flags.end_around = 2;
-    flags.paranoia_bits = PARANOID_PRAY; /* old prayconfirm=TRUE */
+    flags.paranoia_bits = PARANOID_PRAY|PARANOID_SWIM;
     flags.pile_limit = PILE_LIMIT_DFLT;  /* 5 */
     flags.runmode = RUN_LEAP;
     iflags.msg_history = 20;