]> granicus.if.org Git - nethack/commit
more container flags (trunk only)
authornethack.rankin <nethack.rankin>
Sun, 6 Nov 2005 06:10:32 +0000 (06:10 +0000)
committernethack.rankin <nethack.rankin>
Sun, 6 Nov 2005 06:10:32 +0000 (06:10 +0000)
commit0a3ac165ccaee6f6fee9b1cd948365f1e94905b0
treefc5c77aa4e5dfd9a2f679eced8f1ae9ab7750310
parentb9ae4361af2f2efa5c81addf07ce9ebfc19a53c8
more container flags (trunk only)

     cknown and lknown flags for containers are now checked when deciding
whether an item is fully identified, and they're set when identification
takes place.  (You'll learn how many items are inside even if you haven't
looked to see what they are yet.  This means that an inventory listing of
unpaid items will reveal the contents after you've used enouch magic to ID
an unpaid container.)  Also, set those flags for any container in initial
inventory; rogues should know that sack starts out empty.
src/invent.c
src/objnam.c
src/u_init.c