From 9256d7e70da0ebf0577e084357bb3d255cb06ee3 Mon Sep 17 00:00:00 2001 From: dolorous Date: Sun, 5 Jul 2009 14:47:10 +0000 Subject: Fix [2816850]: Mark the amulet of the gourmand as useless for level 3 herbivores, since they can't eat chunks at all; and mummies, since they can't eat at all. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10098 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/itemname.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'crawl-ref') diff --git a/crawl-ref/source/itemname.cc b/crawl-ref/source/itemname.cc index c6e1171672..0ed17f6aaf 100644 --- a/crawl-ref/source/itemname.cc +++ b/crawl-ref/source/itemname.cc @@ -2562,6 +2562,10 @@ bool is_useless_item(const item_def &item, bool temp) && you.hunger_state <= HS_SATIATED) || you.religion == GOD_TROG); + case AMU_THE_GOURMAND: + return ((player_mutation_level(MUT_HERBIVOROUS) == 3) + || you.species == SP_MUMMY); + case RING_LIFE_PROTECTION: return (player_prot_life(false, temp, false) == 3); -- cgit v1.2.3-54-g00ecf