diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2006-11-27 14:01:56 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2006-11-27 14:01:56 +0000 |
commit | 010e881aa9400b4832f75c07337c526f23212ba0 (patch) | |
tree | 5b3c4426187f0cff6d0980726dcc85a806fbeee6 /crawl-ref/source/describe.cc | |
parent | 7126d90fe0565292ef24bc7d7c0474f988f5f41f (diff) | |
download | crawl-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.cc | 10 |
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."; |