address github issue #303 - paranoid_confirm:pray
An issue from nearly three years ago, reported by Anerag: asking player whether to really pray isn't paranoid enough because it accepts 'y' rather than requring "yes". This changes it to require "yes" followed by <return> or <enter> if paranoid_confirm:Confirm is also set. (A side-effect of that is explicit "no<return|enter>" is required instead of just 'n' to decline--for all the paranoid confirmations, not just for prayer.) This extension of paranoid:Confirm applies to paranoid:AutoAll too. A comment asks why paranoid_confirm:pray is different from the other paranoid questions in the first place. The answer is that when it isn't set, no confirmation prompt is issued at all. The others all have y/n confirmation prompts when the corresponding paranoid option isn't set. Once upon a time there was a boolean option called 'prayconfirm' that issued "really pray?" prompt when True. It was added after players whinged about typing Alt+p when they meant to type Alt+o. When the more advanced 'paranoid_confirmation' was introduced, paranoid:pray superseded prayconfirm, but it still only issues a confirmation prompt where there normally wouldn't be one rather than change an existing one to require "yes<return|enter>" instead of 'y'. Closes #303
This commit is contained in:
11
dat/opthelp
11
dat/opthelp
@@ -211,9 +211,10 @@ packorder a list of default symbols for kinds of [")[%?+!=/(*`0_]
|
||||
some other things) gets shown if the 'sortpack' option is on
|
||||
(If you specify only some kinds of items, the others from the
|
||||
default order will be appended to the end.)
|
||||
paranoid_confirmation space separated list [paranoid_confirmation:pray]
|
||||
paranoid_confirmation space separated list [paranoid_confirm:pray swim]
|
||||
of situations where alternate prompting is desired
|
||||
Confirm -- when requiring "yes", also require "no" to reject
|
||||
Confirm -- when requiring "yes", also require "no" to reject;
|
||||
also requires yes rather than y for pray, Autoall
|
||||
quit -- yes vs y to confirm quitting or to enter explore mode
|
||||
die -- yes vs y to confirm dying (for explore or debug mode)
|
||||
bones -- yes vs y to confirm saving bones data in debug mode
|
||||
@@ -223,10 +224,10 @@ paranoid_confirmation space separated list [paranoid_confirmation:pray]
|
||||
Were-change -- yes vs y to confirm changing form due to
|
||||
lycanthropy when hero has polymorph control;
|
||||
pray -- y to confirm an attempt to pray; on by default
|
||||
swim -- y to confirm an attempt to move into water or lava
|
||||
when hero can see it and isn't impaired; on by default
|
||||
swim -- require m prefix to move into water or lava when
|
||||
hero has seen it and isn't impaired; on by default;
|
||||
AutoAll -- y to confirm if using menustyle:Full and choice 'A'
|
||||
in the object class filtering menu is selected
|
||||
in the object class filtering menu is selected;
|
||||
Remove -- always pick from inventory for 'R' and 'T' even when
|
||||
wearing just one applicable item to remove or take off
|
||||
pickup_burden when you pick up an item that exceeds this encumbrance [S]
|
||||
|
||||
Reference in New Issue
Block a user