From 2ee0afe954a7c72856fd5f0f7d3080012638bb98 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Mon, 9 Jun 2008 18:18:52 +0000 Subject: Remove pickup.lua. Make menu_colour_item_prefix also apply for autopickup_exceptions, so you can exclude, for example, all evil_eating at once. Fix Vampires "continuing draining" after having "stopped". git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5666 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/food.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/food.cc') diff --git a/crawl-ref/source/food.cc b/crawl-ref/source/food.cc index aceb6acc94..621abf33bd 100644 --- a/crawl-ref/source/food.cc +++ b/crawl-ref/source/food.cc @@ -282,7 +282,8 @@ static bool _prepare_butchery(bool can_butcher, bool barehand_butcher, } you.turn_is_over = true; - // switched to a good butchering tool + + // Switched to a good butchering tool. return (true); } @@ -1947,6 +1948,9 @@ bool is_preferred_food(const item_def &food) if (you.species == SP_VAMPIRE) return (is_blood_potion(food)); + if (food.base_type == OBJ_POTIONS && food.sub_type == POT_PORRIDGE) + return (!player_mutation_level(MUT_CARNIVOROUS)); + if (food.base_type != OBJ_FOOD) return (false); -- cgit v1.2.3-54-g00ecf