+ else if (item->sub_type != FOOD_CHUNK & !auto_ration) + else if (item->sub_type = FOOD_CHUNK & !can_chunk) + else if (item->base_type != OBJ_FOOD || item->sub_type = FOOD_FRUIT) else if (item->base_type != OBJ_FOOD || item->sub_type != FOOD_CHUNK) + if ((you.hunger + value) > HUNGER_MAXIMUM) + else if (player_mutation_level(MUT_SAPROVOROUS) != 3) + else if (si->sub_type != FOOD_CHUNK & !auto_ration) + else if (si->sub_type = FOOD_CHUNK & !can_chunk) + else if (si->base_type != OBJ_FOOD || si->sub_type = FOOD_FRUIT) + // Don't autoeat fruit - it is more tactically useful than other food else if (si->base_type != OBJ_FOOD || si->sub_type != FOOD_CHUNK) if (newstate = HS_SATIATED + player_likes_chunks())īool found_valid = -1324,8 +1327,20 int prompt_eat_chunks(bool only_auto) +++ -1233,7 +1233,7 static command_type _get_running_command()ĭprf("Activity interrupt: %s", _activity_interrupt_name(ai)) ĭiff -git a/crawl-ref/source/ b/crawl-ref/source/ This affects easy_eat_chunks similarly, in that you will automatically eatĪ piece of food such that it won't waste any nutrition.Ĭrawl-ref/source/ | 36 +++++++++++++++++++++++++++++++-Ģ files changed, 34 insertions(+), 6 deletions(-)ĭiff -git a/crawl-ref/source/ b/crawl-ref/source/ Subject: make auto_eat_chunks also automatically eat rations Fruit is not automatically eaten because it has tactical value that other food doesn't, and would end up being eaten first.Ġ001-make-auto_eat_chunks-also-automatically-eat-rations.patch (4,460 bytes) 01:48 From 00b94a3bd6cabf45b205d736f45189ba6fc25758 Mon Sep 17 00:00:00 2001 auto_eat_chunks will automatically eat food when you are travelling. (The chunk behavior still exists for ghouls.)Įasy_eat_chunks will automatically eat food such that you won't waste nutrition whenever you hit e and no monsters are visible. These may need to be renamed to their own options, instead of just overloading their meaning. It won't eat anything until your hunger is low enough that no nutrition would be wasted. Given that there is no more chunk eating in the chunkless branch, I have repurposed the auto_eat_chunks and the easy_eat_chunks options to eat rations/jerky/other non-fruit food instead. 0008659: Automatically eat food while resting/autoexploring
0 Comments
Leave a Reply. |