From fc767d9b3b123f6bdf37e30b78200c06f042b570 Mon Sep 17 00:00:00 2001 From: haranp Date: Sat, 14 Jul 2007 12:57:54 +0000 Subject: Rewrite of the shopping code. Much cleaner now. Hopefully I didn't break anything. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1861 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/items.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'crawl-ref/source/items.cc') diff --git a/crawl-ref/source/items.cc b/crawl-ref/source/items.cc index 926876ead5..e9c781c5ce 100644 --- a/crawl-ref/source/items.cc +++ b/crawl-ref/source/items.cc @@ -852,6 +852,11 @@ static void check_note_item(item_def &item) take_note(Note(NOTE_GET_ITEM, 0, 0, item.name(DESC_NOCAP_A).c_str(), origin_desc(item).c_str())); item.flags |= ISFLAG_NOTED_GET; + + // If it's already fully identified when picked up, don't take + // further notes. + if ( fully_identified(item) ) + item.flags |= ISFLAG_NOTED_ID; } } -- cgit v1.2.3-54-g00ecf