From 0bddeca6118216b8dcf8650b8977508479fe61ff Mon Sep 17 00:00:00 2001 From: haranp Date: Thu, 14 Dec 2006 17:51:43 +0000 Subject: Implemented 1614831 - artifacts are noted as such in the examination view. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@631 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/describe.cc | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'crawl-ref/source/describe.cc') diff --git a/crawl-ref/source/describe.cc b/crawl-ref/source/describe.cc index 7b3d432543..a16b53d635 100644 --- a/crawl-ref/source/describe.cc +++ b/crawl-ref/source/describe.cc @@ -1389,9 +1389,8 @@ static std::string describe_armour( const item_def &item, bool verbose ) if (is_unrandom_artefact( item ) && strlen(unrandart_descrip(1, item)) != 0) { - description += "$"; description += unrandart_descrip(1, item); - description += "$$"; + description += "$"; } else { @@ -2497,9 +2496,8 @@ static std::string describe_jewellery( const item_def &item, bool verbose) if (is_unrandom_artefact( item ) && strlen(unrandart_descrip(1, item)) != 0) { - description += "$"; description += unrandart_descrip(1, item); - description += "$$"; + description += "$"; } else if ((!is_random_artefact( item ) && get_ident_type( OBJ_JEWELLERY, item.sub_type ) != ID_KNOWN_TYPE) @@ -3306,6 +3304,7 @@ std::string get_item_description( const item_def &item, bool verbose, bool dump if (verbose) { + description += "$It weighs around "; const int mass = item_mass( item ); @@ -3326,6 +3325,10 @@ std::string get_item_description( const item_def &item, bool verbose, bool dump description += item_mass; description += " aum. "; // arbitrary unit of mass + + if ( is_dumpable_artifact(item, false) ) + description += "$$This ancient artifact cannot be changed " + "by magic or mundane means."; } return (description); -- cgit v1.2.3-54-g00ecf