For jewellery with pluses and wands, only make an ident note when the
authorzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>
Thu, 19 Jun 2008 05:05:08 +0000 (05:05 +0000)
committerzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>
Thu, 19 Jun 2008 05:05:08 +0000 (05:05 +0000)
commit9c825029344d1ab8e5e85987a375cbae9109e2ce
treee91919f2187d78c1e703b837b642a6cf2eeb6216
parent587b2392103a4d9bcaa9cda91f945e874216d232
For jewellery with pluses and wands, only make an ident note when the
first item of the type is identified, not when the charges/pluses of
any item of the type is identified.

Make sure that artefacts have nothing to do with the identification
level of jewellery by making versions of set_ident_type() and
get_ident_type() which accept a full item_def as a parameter.

git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5973 c06c8d41-db1a-0410-9941-cceddc491573
13 files changed:
crawl-ref/source/acr.cc
crawl-ref/source/debug.cc
crawl-ref/source/describe.cc
crawl-ref/source/item_use.cc
crawl-ref/source/itemname.cc
crawl-ref/source/itemname.h
crawl-ref/source/itemprop.cc
crawl-ref/source/newgame.cc
crawl-ref/source/ouch.cc
crawl-ref/source/player.cc
crawl-ref/source/shopping.cc
crawl-ref/source/spells1.cc
crawl-ref/source/stash.cc