From 010e881aa9400b4832f75c07337c526f23212ba0 Mon Sep 17 00:00:00 2001 From: haranp Date: Mon, 27 Nov 2006 14:01:56 +0000 Subject: 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 --- crawl-ref/source/describe.cc | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'crawl-ref/source/describe.cc') 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."; -- cgit v1.2.3-54-g00ecf