summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/itemname.cc
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2014-07-19 00:59:01 -0400
committerNeil Moore <neil@s-z.org>2014-07-19 00:59:01 -0400
commit4fb28e2dc24408ca7f051719cf5fba8d97e4b4ea (patch)
tree78c8abd57c6696d1ea235c0c4531b6f9ed8b2605 /crawl-ref/source/itemname.cc
parent3ac68266cf008522ce3602fcbb7098112a7f96ac (diff)
downloadcrawl-ref-4fb28e2dc24408ca7f051719cf5fba8d97e4b4ea.tar.gz
crawl-ref-4fb28e2dc24408ca7f051719cf5fba8d97e4b4ea.zip
Mark gourmand useless for Gozag worshippers (#8801).
Diffstat (limited to 'crawl-ref/source/itemname.cc')
-rw-r--r--crawl-ref/source/itemname.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/itemname.cc b/crawl-ref/source/itemname.cc
index 0158b9e0c5..77794b0146 100644
--- a/crawl-ref/source/itemname.cc
+++ b/crawl-ref/source/itemname.cc
@@ -3392,7 +3392,8 @@ bool is_useless_item(const item_def &item, bool temp)
// contaminated
|| player_mutation_level(MUT_GOURMAND) > 0
|| player_mutation_level(MUT_HERBIVOROUS) == 3
- || you.is_undead && you.species != SP_GHOUL;
+ || you.is_undead && you.species != SP_GHOUL
+ || you_worship(GOD_GOZAG);
case AMU_FAITH:
return you.species == SP_DEMIGOD && !you.religion;