summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player-equip.cc
diff options
context:
space:
mode:
authorSteve Melenchuk <smelenchuk@gmail.com>2014-01-11 21:12:43 -0700
committerSteve Melenchuk <smelenchuk@gmail.com>2014-01-11 21:12:43 -0700
commitaadba846f2ac6bab75305da0f50117a3bdb7002f (patch)
tree62e7156cb3a04ce57422bb037bad7f2073b90608 /crawl-ref/source/player-equip.cc
parentde8330d93d690a9aca86435c39879da7dca53922 (diff)
downloadcrawl-ref-aadba846f2ac6bab75305da0f50117a3bdb7002f.tar.gz
crawl-ref-aadba846f2ac6bab75305da0f50117a3bdb7002f.zip
Dithmengos hates the light.
Dithmengos hates items, spells, and monsters that cause illumination, and particularly appreciates kills of the latter. This hatred extends to most forms of fire (enemy of the darkness since ancient times). There's a few questionable things in here which could stand to be looked at (I'm including items that only glow through their description, most notably freezing-brand melee weapons).
Diffstat (limited to 'crawl-ref/source/player-equip.cc')
-rw-r--r--crawl-ref/source/player-equip.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/player-equip.cc b/crawl-ref/source/player-equip.cc
index 488d925f18..b6a5e45d4d 100644
--- a/crawl-ref/source/player-equip.cc
+++ b/crawl-ref/source/player-equip.cc
@@ -455,6 +455,8 @@ static void _equip_use_warning(const item_def& item)
mpr("You really shouldn't be using a hasty item like this.");
else if (is_poisoned_item(item) && you_worship(GOD_SHINING_ONE))
mpr("You really shouldn't be using a poisoned item like this.");
+ else if (is_illuminating_item(item) && you_worship(GOD_DITHMENGOS))
+ mpr("You really shouldn't be using an illuminating item like this.");
}
static void _wield_cursed(item_def& item, bool known_cursed, bool unmeld)