summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/describe.cc
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2006-11-27 14:01:56 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2006-11-27 14:01:56 +0000
commit010e881aa9400b4832f75c07337c526f23212ba0 (patch)
tree5b3c4426187f0cff6d0980726dcc85a806fbeee6 /crawl-ref/source/describe.cc
parent7126d90fe0565292ef24bc7d7c0474f988f5f41f (diff)
downloadcrawl-ref-010e881aa9400b4832f75c07337c526f23212ba0.tar.gz
crawl-ref-010e881aa9400b4832f75c07337c526f23212ba0.zip
Implemented 1602271, examining an item shows light/heavy status.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@502 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/describe.cc')
-rw-r--r--crawl-ref/source/describe.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/crawl-ref/source/describe.cc b/crawl-ref/source/describe.cc
index 40747fbef5..e2994c1d2e 100644
--- a/crawl-ref/source/describe.cc
+++ b/crawl-ref/source/describe.cc
@@ -1739,6 +1739,16 @@ static std::string describe_armour( const item_def &item, bool verbose )
}
}
+ if (verbose && get_armour_slot(item) == EQ_BODY_ARMOUR)
+ {
+ if ( is_light_armour(item) )
+ description += "$This is a light armour. Wearing it will "
+ "exercise Dodging and Stealth.";
+ else
+ description += "$This is a heavy armour. Wearing it will "
+ "exercise Armour.";
+ }
+
if (item_known_cursed( item ))
{
description += "$It has a curse placed upon it.";