]> granicus.if.org Git - nethack/commit
address #H5590 - paranoid_confirm vs lycanthropy
authorPatR <rankin@nethack.org>
Tue, 12 Sep 2017 11:14:44 +0000 (04:14 -0700)
committerPatR <rankin@nethack.org>
Tue, 12 Sep 2017 11:14:44 +0000 (04:14 -0700)
commit5710944258a683ad5219d262ea055ac9a41f0571
tree1ca3542793ce7fcd67355248a69bb57b28b141ed
parent8d1e0d17565ca7567cd6c75565a3e5c6e87f8db1
address #H5590 - paranoid_confirm vs lycanthropy

Polymorph control gives the player a chance to accept or reject a form
change due to lycanthropy, but if it occurs during combat or movement
the player might type 'y' before realizing that the prompt is pending.
Provide a paranoid_confirmation setting for 'Were-change' to allow a
player to require "yes" instead of 'y' for that.

The existing setting 'wand' is renamed to 'wand-break' and now requires
at least two letters in the config file options instead of just 1.  The
spelling of its synonym is changed from 'breakwand' to 'break-wand';
it can be shorted to as few as 2 letters (same as before) but if more
than 5 are present, the new dash is required.

Both 'wand-break' and 'Were-change' are placed before 'pray' in the 'O'
menu for paranoid_confirmation so that all the "yes" vs 'y' settings
are grouped together.

Bonus fixes:
Reverting from were-critter form to human (due to timeout) did not give
a player with polymorph control the option of remaining in creature
form; now it does.
The 'O' command's menu would not show "wand" (now "wand-break") in the
current value of paranoid_confirmation.  (A post 3.6.0 issue, so no
fixes entry included.)

The revised Guidebook.mn has been tested; Guidebook.tex has not.
doc/Guidebook.mn
doc/Guidebook.tex
doc/fixes36.1
include/flag.h
src/options.c
src/timeout.c
src/were.c