]> granicus.if.org Git - nethack/commit
BUCX filtering
authorPatR <rankin@nethack.org>
Sat, 24 Jun 2017 01:44:35 +0000 (18:44 -0700)
committerPatR <rankin@nethack.org>
Sat, 24 Jun 2017 01:44:35 +0000 (18:44 -0700)
commite32c09c5bfe7fa63fbd699e2ad6a4ba23bcc3b94
tree36266563855492d08d9a900572e22fe591af82b3
parent6a848409711199c5424f7963197d3836e6e20faa
BUCX filtering

The different menustyle settings have been offering different degrees
of support for BUCX filtering:
  Full       : multi-drop, container-in, container-out
  Trad, Combo: multi-drop
  Partial    : none (to be expected; it explicitly jumps past class
    filtering, where BUCX gets handled, to a menu of all objects)

This adds pickup, container-in, container-out, multi-unwear/unwield,
and object-ID for Trad and Combo, and multi-unwear/unwield for Full.
(Full behaves like Partial for pickup--not sure why--and for object-ID,
bypassing filters to go straight to a menu of all applicable items.)

There are probably several new bugs--this stuff is very convoluted....
doc/fixes36.1
include/extern.h
include/hack.h
src/do_wear.c
src/invent.c
src/pickup.c