]> granicus.if.org Git - nethack/commit
menustyle:full's 'A' choice
authorPatR <rankin@nethack.org>
Fri, 2 Apr 2021 19:26:41 +0000 (12:26 -0700)
committerPatR <rankin@nethack.org>
Fri, 2 Apr 2021 19:26:41 +0000 (12:26 -0700)
commitb65c93cdff3f52483645b29fc68f4adeb39ccbf3
treeba73a56b43f8b17c447a9722b5685d152e5108ae
parenta86ebb943a4e082b1206a2f25f6758aadc90d7aa
menustyle:full's 'A' choice

Change how menu choice 'A' (auto-select everything) works.  It will
now auto-select all things that match any other choices (object
class(es) or BUCX state(s) or possibly unpaid status).  So it still
skips the second menu of specific objects.  And it still picks all
objects when it is the only choice or if player uses '.' to select
it along with all the rest of the first menu's possibilities.

This change won't help anyone who picks 'A' without really meaning
to.  (Maybe add a paranoid_confirm setting to for full-menu-A?)

Affects container apply/#loot and Drop-multiple.  The invent.c part
is just formatting.
doc/fixes37.0
src/do.c
src/invent.c
src/pickup.c