From 13abff271666dcc566102311c3b9d237ea04f933 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Wed, 22 Apr 2009 15:58:36 +0000 Subject: * Tweak Xom's ideas about what makes a funny or boring death. * Add another option (*sigh*) covering whether W=T and P=R. (Defaults to false.) * Various spacing and comment fixes. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9675 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/food.cc | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'crawl-ref/source/food.cc') diff --git a/crawl-ref/source/food.cc b/crawl-ref/source/food.cc index 052cc36863..569208b831 100644 --- a/crawl-ref/source/food.cc +++ b/crawl-ref/source/food.cc @@ -689,9 +689,6 @@ bool butchery(int which_corpse) success = true; first_corpse = false; } - -// if (!butcher_all && !bottle_all) -// break; } } @@ -842,9 +839,7 @@ bool eat_food(int slot) return (prompt_eat_inventory_item(slot)); } -/* - * END PUBLIC FUNCTIONS - */ +// END PUBLIC FUNCTIONS static bool _player_has_enough_food() { @@ -1587,11 +1582,12 @@ int prompt_eat_chunks() const bool contam = is_contaminated(*item); const bool bad = _is_bad_food(*item); - // Excempt undead from auto-eating since: + // Exempt undead from auto-eating since: // * Mummies don't eat. // * Vampire feeding takes a lot more time than eating a chunk // and may have unintended consequences. - // * Ghouls may want to wait until chunks become rotten. + // * Ghouls may want to wait until chunks become rotten + // or until they have some hp rot to heal. if (easy_eat && !bad && !contam) { // If this chunk is safe to eat, just do so without prompting. -- cgit v1.2.3-54-g00ecf