diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-07-25 21:01:38 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-07-25 21:01:38 +0000 |
commit | 71b6b1d375ea617a5ca3057063ea76e97dbfbd8f (patch) | |
tree | 903d9e5054416840c24a7a79d6a0efaf86287f8b /crawl-ref/source/describe.cc | |
parent | 4b16c906a2ed48ff8a4ae682ad2e6c9615d3fe1b (diff) | |
download | crawl-ref-71b6b1d375ea617a5ca3057063ea76e97dbfbd8f.tar.gz crawl-ref-71b6b1d375ea617a5ca3057063ea76e97dbfbd8f.zip |
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
Diffstat (limited to 'crawl-ref/source/describe.cc')
-rw-r--r-- | crawl-ref/source/describe.cc | 7 |
1 files changed, 6 insertions, 1 deletions
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); |