diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-07-10 14:48:53 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-07-10 14:48:53 +0000 |
commit | 65b6a91d63885d508bd0b6f32fbbc1cb7c100790 (patch) | |
tree | 1fcf3ee2a1a8d75d8789f1003481ced9fca32b38 /crawl-ref/source/describe.cc | |
parent | ddbb6f54b0826faa92a589be03c6e8ba7f6762a4 (diff) | |
download | crawl-ref-65b6a91d63885d508bd0b6f32fbbc1cb7c100790.tar.gz crawl-ref-65b6a91d63885d508bd0b6f32fbbc1cb7c100790.zip |
Describe items considered evil by the good gods as such in the inventory
description screen. This should fix [2014399].
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6474 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/describe.cc')
-rw-r--r-- | crawl-ref/source/describe.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/crawl-ref/source/describe.cc b/crawl-ref/source/describe.cc index 658191e1c8..3dd6883dc1 100644 --- a/crawl-ref/source/describe.cc +++ b/crawl-ref/source/describe.cc @@ -1909,6 +1909,12 @@ std::string get_item_description( const item_def &item, bool verbose, } } + if (good_god_dislikes_item_handling(item)) + { + description << "$$" << god_name(you.religion) << " opposes the use of " + << "such an evil item."; + } + if (god_dislikes_item_handling(item)) { description << "$$" << god_name(you.religion) << " disapproves of the " |