summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/item_use.cc
diff options
context:
space:
mode:
authorDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-11-11 08:40:13 -0600
committerDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-11-11 08:40:13 -0600
commit4aebd25253db6f9509aa1ead548807abc3dbc5c3 (patch)
tree168a1970cb54eec641921f0e5abc3d7853ed81a2 /crawl-ref/source/item_use.cc
parent17cf232a360b9c8ec88fa9da383fb73430cb0ed3 (diff)
downloadcrawl-ref-4aebd25253db6f9509aa1ead548807abc3dbc5c3.tar.gz
crawl-ref-4aebd25253db6f9509aa1ead548807abc3dbc5c3.zip
Improve wielding messages for unholy weapons and good gods, and for
hasty weapons and Cheibriados.
Diffstat (limited to 'crawl-ref/source/item_use.cc')
-rw-r--r--crawl-ref/source/item_use.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc
index 8214497c93..0620ab8d8f 100644
--- a/crawl-ref/source/item_use.cc
+++ b/crawl-ref/source/item_use.cc
@@ -519,10 +519,14 @@ void wield_effects(int item_wield_2, bool showMsgs)
{
if (is_holy_item(item) && you.religion == GOD_YREDELEMNUL)
mpr("You really shouldn't be using a holy item like this.");
+ else if (is_unholy_item(item) && is_good_god(you.religion))
+ mpr("You really shouldn't be using an unholy item like this.");
else if (is_evil_item(item) && is_good_god(you.religion))
mpr("You really shouldn't be using an evil item like this.");
else if (is_chaotic_item(item) && you.religion == GOD_ZIN)
mpr("You really shouldn't be using a chaotic item like this.");
+ else if (is_hasty_item(item) && you.religion == GOD_CHEIBRIADOS)
+ mpr("You really shouldn't be using a fast item like this.");
}
// Call unrandrt equip func before item is identified.