summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/describe.cc
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2006-12-27 21:31:32 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2006-12-27 21:31:32 +0000
commit6434b20370c03acd4847d082cec0b83b30b4b668 (patch)
treea5d05b42e8885df3ab0b56dbc61d66acf3581033 /crawl-ref/source/describe.cc
parent801416661a97b3e20be96985a4e9e2b14fef418d (diff)
downloadcrawl-ref-6434b20370c03acd4847d082cec0b83b30b4b668.tar.gz
crawl-ref-6434b20370c03acd4847d082cec0b83b30b4b668.zip
Implemented 1622383, slightly better artifact messaging.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@713 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/describe.cc')
-rw-r--r--crawl-ref/source/describe.cc9
1 files changed, 7 insertions, 2 deletions
diff --git a/crawl-ref/source/describe.cc b/crawl-ref/source/describe.cc
index 970ef8008c..1de9550c25 100644
--- a/crawl-ref/source/describe.cc
+++ b/crawl-ref/source/describe.cc
@@ -3327,8 +3327,13 @@ std::string get_item_description( const item_def &item, bool verbose, bool dump
description += " aum. "; // arbitrary unit of mass
if ( is_dumpable_artifact(item, false) )
- description += "$$This ancient artifact cannot be changed "
- "by magic or mundane means.";
+ {
+ if (item.base_type == OBJ_ARMOUR || item.base_type == OBJ_WEAPONS)
+ description += "$$This ancient artifact cannot be changed "
+ "by magic or mundane means.";
+ else
+ description += "$$It is an ancient artifact.";
+ }
}
return (description);