farlook of detected objects
commit16c08f7296bf39fd8cc4856a72497a7b9ace65e7
authorPatR <rankin@nethack.org>
Sun, 1 May 2016 01:55:52 +0000 (30 18:55 -0700)
committerPatR <rankin@nethack.org>
Sun, 1 May 2016 01:55:52 +0000 (30 18:55 -0700)
tree5d3375bc484ba97445c8e2c596cf37260868d71b
parent89dd37f8c75ca08e3905e125352709471b15e1d3
farlook of detected objects

At the end of December, farlook was changed to use doname() instead
of xname() in order to give more information when looking at stuff
the player had already seen.  But it ended up giving away precise
stack size for mergable objects too, even if they hadn't been seen
up close.  Changing doname() to be vague when dknown wasn't set
only worked for items in particular classes; dknown is pre-set for
a lot of things.  So this changes mksobj()'s dknown handling to not
do that for stackable items.

The change to objclass.h is just comment formatting (for the first
part of the file only), provoked by the second line of the one for
oc_pre_discovered.
doc/fixes36.1
include/objclass.h
src/mkobj.c
src/objnam.c