diff options
author | Adam Borowski <kilobyte@angband.pl> | 2009-10-26 17:21:55 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2009-10-26 17:21:55 +0100 |
commit | 8c892c6009714a1d4e236074251f233c1cc681d8 (patch) | |
tree | 6315f02cb09af879c8bd0c1cb0c17ec60e34bf58 /crawl-ref/source/itemname.cc | |
parent | 815149f22ce217701fdca252be21a00ba1c4706f (diff) | |
download | crawl-ref-8c892c6009714a1d4e236074251f233c1cc681d8.tar.gz crawl-ref-8c892c6009714a1d4e236074251f233c1cc681d8.zip |
Don't color speedy items as "good" if you worship Cheibriados.
Diffstat (limited to 'crawl-ref/source/itemname.cc')
-rw-r--r-- | crawl-ref/source/itemname.cc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/crawl-ref/source/itemname.cc b/crawl-ref/source/itemname.cc index 72fdb59a01..8ac9ae18f7 100644 --- a/crawl-ref/source/itemname.cc +++ b/crawl-ref/source/itemname.cc @@ -2302,6 +2302,8 @@ bool is_emergency_item(const item_def &item) switch (item.sub_type) { case WAND_HASTING: + if (you.religion == GOD_CHEIBRIADOS) + return (false); case WAND_HEALING: case WAND_TELEPORTATION: return (true); @@ -2325,6 +2327,8 @@ bool is_emergency_item(const item_def &item) switch (item.sub_type) { case POT_SPEED: + if (you.religion == GOD_CHEIBRIADOS) + return (false); case POT_HEALING: case POT_HEAL_WOUNDS: case POT_RESISTANCE: @@ -2353,13 +2357,15 @@ bool is_good_item(const item_def &item) case OBJ_POTIONS: switch (item.sub_type) { + case POT_BERSERK_RAGE: + if (you.religion == GOD_CHEIBRIADOS) + return (false); case POT_CURE_MUTATION: case POT_GAIN_STRENGTH: case POT_GAIN_INTELLIGENCE: case POT_GAIN_DEXTERITY: case POT_EXPERIENCE: case POT_MAGIC: - case POT_BERSERK_RAGE: case POT_MIGHT: case POT_AGILITY: case POT_BRILLIANCE: |