diff options
author | Chris Campbell <chriscampbell89@gmail.com> | 2014-04-01 04:11:05 +0100 |
---|---|---|
committer | Chris Campbell <chriscampbell89@gmail.com> | 2014-04-10 19:04:22 +0100 |
commit | 863e7eee2eac781ff42b57aa858849e85cf0ab52 (patch) | |
tree | 556e300bfbcec1cb1eb41f972256c45e80c8ca58 /crawl-ref/source/food.cc | |
parent | 5872f4ebcde6b436655382d6a36b96b423323aba (diff) | |
download | crawl-ref-863e7eee2eac781ff42b57aa858849e85cf0ab52.tar.gz crawl-ref-863e7eee2eac781ff42b57aa858849e85cf0ab52.zip |
Let non-undead forms eat and drink normally
Eating limitations added nothing but complication, and potion
restrictions were excessive for badforms that already had many
significant restrictions.
Diffstat (limited to 'crawl-ref/source/food.cc')
-rw-r--r-- | crawl-ref/source/food.cc | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/crawl-ref/source/food.cc b/crawl-ref/source/food.cc index a44440f33e..7f0cfec399 100644 --- a/crawl-ref/source/food.cc +++ b/crawl-ref/source/food.cc @@ -153,9 +153,7 @@ bool you_foodless(bool can_eat) #if TAG_MAJOR_VERSION == 34 || you.species == SP_DJINNI && !can_eat #endif - || you.form == TRAN_FUNGUS - || you.form == TRAN_TREE - || you.form == TRAN_WISP; + ; } bool you_foodless_normally() @@ -698,12 +696,7 @@ static bool _eat_check(bool check_hunger = true, bool silent = false) { if (!silent) { - if (you.form == TRAN_TREE) - mpr("Just photosynthesize."); - else if (you.form == TRAN_FUNGUS) - mpr("You decompose your surroundings."); - else - mpr("You can't eat."); + mpr("You can't eat."); crawl_state.zero_turns_taken(); } return false; @@ -2104,7 +2097,7 @@ bool is_inedible(const item_def &item) if (you.form == TRAN_JELLY) return !can_ingest(item, true, false); - // Mummies, liches, trees and wisps don't eat. + // Mummies and liches don't eat. if (you_foodless(true)) return true; @@ -2135,7 +2128,7 @@ bool is_inedible(const item_def &item) // still be edible or even delicious. bool is_preferred_food(const item_def &food) { - // Mummies/etc don't eat. + // Mummies and liches don't eat. if (you_foodless(true)) return false; |