From 23d1657dca466bdd3b0ef2965c7f5607529c1bba Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Wed, 20 Mar 2024 19:31:09 +0200 Subject: [PATCH] Add walking on traps to default paranoid_confirm --- doc/Guidebook.mn | 2 +- doc/Guidebook.tex | 2 +- src/options.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/Guidebook.mn b/doc/Guidebook.mn index d392be936..4578194d9 100644 --- a/doc/Guidebook.mn +++ b/doc/Guidebook.mn @@ -4282,7 +4282,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 \(lqparanoid_confirmation:pray swim\(rq. +prompting is desired. The default is \(lqparanoid_confirmation:pray swim trap\(rq. .PS Were-change .PL Confirm for any prompts which are set to require \(lqyes\(rq rather than \(oqy\(cq, diff --git a/doc/Guidebook.tex b/doc/Guidebook.tex index 07cec032c..6a5e2fbc4 100644 --- a/doc/Guidebook.tex +++ b/doc/Guidebook.tex @@ -4698,7 +4698,7 @@ are filled in at the end from the previous order. \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 swim}''. +The default is ``{\it paranoid\verb+_+confirmation:pray swim trap}''. %.sd %.si \newlength{\pcwidth} diff --git a/src/options.c b/src/options.c index 6b4691e1e..357b2de72 100644 --- a/src/options.c +++ b/src/options.c @@ -6887,7 +6887,7 @@ initoptions_init(void) flags.end_own = FALSE; flags.end_top = 3; flags.end_around = 2; - flags.paranoia_bits = PARANOID_PRAY | PARANOID_SWIM; + flags.paranoia_bits = PARANOID_PRAY | PARANOID_SWIM | PARANOID_TRAP; flags.versinfo = have_branch ? 4 : 1; flags.pile_limit = PILE_LIMIT_DFLT; /* 5 */ flags.runmode = RUN_LEAP;