From 71b6b1d375ea617a5ca3057063ea76e97dbfbd8f Mon Sep 17 00:00:00 2001 From: dolorous Date: Sat, 25 Jul 2009 21:01:38 +0000 Subject: Apply kotk's minor fixes patch in [2827129], with minor tweaks. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10409 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/describe.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/describe.cc') diff --git a/crawl-ref/source/describe.cc b/crawl-ref/source/describe.cc index 4049fd7ef3..c6863e4cb4 100644 --- a/crawl-ref/source/describe.cc +++ b/crawl-ref/source/describe.cc @@ -1310,7 +1310,12 @@ static std::string _describe_armour( const item_def &item, bool verbose ) if (!is_known_artefact(item)) { const int max_ench = armour_max_enchant(item); - if (item.plus < max_ench || !item_ident( item, ISFLAG_KNOW_PLUSES )) + if (armour_is_hide(item)) + { + description += "$Enchanting it will turn it into a suit of " + "magical armour."; + } + else if (item.plus < max_ench || !item_ident(item, ISFLAG_KNOW_PLUSES)) { description += "$It can be maximally enchanted to +"; _append_value(description, max_ench, false); -- cgit v1.2.3-54-g00ecf