diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2006-12-14 17:51:43 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2006-12-14 17:51:43 +0000 |
commit | 0bddeca6118216b8dcf8650b8977508479fe61ff (patch) | |
tree | 81cec9fb3bcee2a26e5c6430292cb1cd31c4f28b /crawl-ref/source/describe.cc | |
parent | e8431cb80133de9a970113da7dba914fb809cf89 (diff) | |
download | crawl-ref-0bddeca6118216b8dcf8650b8977508479fe61ff.tar.gz crawl-ref-0bddeca6118216b8dcf8650b8977508479fe61ff.zip |
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
Diffstat (limited to 'crawl-ref/source/describe.cc')
-rw-r--r-- | crawl-ref/source/describe.cc | 11 |
1 files changed, 7 insertions, 4 deletions
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); |