Project Zomboid

Project Zomboid

Auto Eat
45 Comments
Pete Pablo 19 Jun @ 3:08pm 
I wonder why this is hard to port over
Solar 13 Jun @ 2:45am 
<3 build 42???pls
Kr¡tZw!nG 13 May @ 12:14pm 
It works in MP! My only gripe with it is that AutoEat is on by default, it can be annoying when you're trying to save your food in a 10YL game haha. If you added a sandbox option to make it so AutoEat is off by default, that would be great
Valadriel The Mad 9 May @ 6:06pm 
Anyone know to port to B42?
BrasileirinhoPe 9 May @ 1:44pm 
so, b42 when?
Yisus 8 Apr @ 5:03pm 
Help us with a fix for this mod please
Solar 3 Mar @ 5:12pm 
plz i need
this in build 42
CdrCanteets 1 Mar @ 6:39am 
Looking to enable eating until full to bursting. Would this be done by simply changing
while hungerChange + hunger < 1.0-md.HungerMax do
to
while hungerChange + hunger > 0.0-md.HungerMax do?
Mantisek 24 Feb @ 4:13am 
Let me add to my last comment. I know there's a way to toggle it, and I've used it. More talking about when I've forgotten so I can get a chance to disable it and not waste an ingredient or eat something that's going to kill me.
Mantisek 24 Feb @ 4:10am 
Needs a cool down. Or an idle timer. If I cancel the timedaction intentionally, I don't want my character to immediately try to stuff that milk I need for a recipe into his face.
CdrCanteets 25 Dec, 2024 @ 2:20pm 
Will you be updating to build 42? I'm lost without your creation.
Ferpman (Cyan) 14 Nov, 2024 @ 6:25pm 
Is there any way to combine the automatic can opening mechanic of this mod with your other mod auto cooking? It would be nice to be able to add canned goods without manually opening a dozen different cans and end up not using them when cooking.
莫名某某 11 Oct, 2024 @ 7:52am 
Perhaps add a setting option to disable automatic consumption of items in the backpack. Sometimes I want to bring food back to base for cooking, but forget to turn this feature off. The character is more likely to drink the soup from the Cooking Pot in the backpack than the snack in the pocket.
莫名某某 11 Oct, 2024 @ 7:43am 
My character just picked up a whole watermelon and took a bite. This is not normal.:steamfacepalm:
How do I turn this shit off? You just made me eat soup with tainted water
IvashaMagnus 23 Jan, 2024 @ 4:42pm 
good mod
Tchernobill  [author] 12 Dec, 2023 @ 11:07am 
@Ryan no you did not, as your screenshot is proving.
BOLBIES 20 Oct, 2023 @ 2:59pm 
@Alkanshel
I just reinstalled them and they both work now. Weird
Alkanshel 19 Oct, 2023 @ 10:51pm 
@BOLBIES I run both with no issues.
BOLBIES 19 Oct, 2023 @ 8:25pm 
It seems this mod may be interfering with AutoSmoke. Any chance we can get a fix?
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2643751872
Janus 9 Oct, 2023 @ 1:34am 
Can you add option to auto eat food from nearby if its cooked. I generally place my stew and roast on the oven. It would be nice if they could eat it and then put the food back in its place. Like imagine im hungry, i will go in kitchen automatically pick something up from counter and eat it.
Captain Tofu 7 Aug, 2023 @ 1:11am 
So the mod can eat smaller portions than the player does? That's nice!
Tchernobill  [author] 6 Aug, 2023 @ 5:30pm 
@Captain Tofu see description: When eating totally an item would waste food, eats partially instead.
Captain Tofu 6 Aug, 2023 @ 5:06pm 
If it eats on first negative moodle, does it overeat? For example, if the only food is a stew of which 1/4 gives -22 hunger
Tchernobill  [author] 9 Jun, 2023 @ 5:51am 
@wapaks If you have no Bowl button available, the mod is not active in your game. check points 3 and 4 of the FAQ .
WaPaKs 9 Jun, 2023 @ 5:48am 
there is no bowl for us, in info menu
WaPaKs 8 Jun, 2023 @ 6:38pm 
ok thank you see it now
Tchernobill  [author] 8 Jun, 2023 @ 5:39pm 
@wapaks Yes, that's why each player can deactivate from the toggle button.
WaPaKs 8 Jun, 2023 @ 5:36pm 
can you add disable on settings? for some player's that don't like auto eat? cuz sometimes when in fight, they get killed cuz there character eat while killing zombies or shooting specially on qcb
Tchernobill  [author] 25 May, 2023 @ 11:53am 
version 1.4 is out
handles tags in recipes. (includes Common Sense compatibility)
reduces (drastically) process time when hungry.
JDsplice 23 May, 2023 @ 5:55am 
Confirmed working on my dedicated MP server with 300+ mods. Might want to add that you need a Can Opener in order for this mod to AutoOpen canned food. Common Sense mod that allows other items to open cans does not work.
legendof7th 22 May, 2023 @ 8:30pm 
I'm not sure what happened. My character suddenly stopped eating then rapidly starved to death in matter of minutes.
Tchernobill  [author] 22 May, 2023 @ 1:15pm 
version 1.3 is out
Food high priority is given to perishable food compared to permanent food.
Alcohol is never eaten (to avoid the sleeping tablet incident).
Spice is never eaten (to avoid eating herbs that have other uses).
Food that makes unhappy is never eaten (to avoid eating automatic happyness dumping).
Aiming cancels opening and eating actions started automatically (to soften combat-auto-eat).
Tchernobill  [author] 22 May, 2023 @ 11:03am 
@Super Chief Thank you for the report.
I wonder what food could have killed you as bleach and other known poisonous food are ignored, as well as rotten food. If you got more info on it, please share.
When you are runing or in combat stance, auto eat is inhibited. There is a small period in between the switch from running to combat stance that the mod uses to start drinking / eating that is problematic and I gues that's what is bothering you. I'll try to handle that.
I'll have a look at the food selection algorithm to better handle your 'potato' case and the likes.
Super Chief 22 May, 2023 @ 9:56am 
Was excited to try it but my best character run died after clearing a house. No clue what he ate or drank. Maybe accidentally grabbed rotten food and suffered the same fate as Alphonso. It also ignores food I put in my main inventory and is constantly pulling food from bags that I don't want my character to eat. Will ignore my potatoes and just start popping open sodas and wine from the backpack. Bit of a hassle too when you're in combat and your dude randomly starts eating a potato.
Tchernobill  [author] 21 May, 2023 @ 1:21pm 
version 1.2 In memory of Alphonso Woodcock, is out.
do not auto eat rotten food.
do not remove game speed settings at the end of auto open and auto eat.
Tchernobill  [author] 21 May, 2023 @ 12:44pm 
@El Psy Congroo I'm sorry to read that.
Thanks for report though, Alphonso's death will not be for nothing.
El Psy Congroo 21 May, 2023 @ 12:32pm 
you may wish to add a check for rotten food.
I screwed up and didnt notice my character was auto-chowing down on rotten food, ended up getting food poisining to death. RIP Alphonso Woodcock, Died from eating rotten, frozen food.
legendof7th 19 May, 2023 @ 1:27pm 
Ah clever!
Tchernobill  [author] 19 May, 2023 @ 12:49pm 
@legendof7th you can put in bags food with less priority and in you main inventory those you wanna eat first.
legendof7th 19 May, 2023 @ 12:22pm 
My character is always doing something and I actually struggle to gain weight. This mod will help greatly. Is there a way to prioritize certain foods like cooked food so that gets eaten first?
CrispyChestnuts 19 May, 2023 @ 8:11am 
"If no directly usable food is found, it tries to open canned food." amazing
Tchernobill  [author] 19 May, 2023 @ 7:08am 
@JDsplice good idea.
JDsplice 18 May, 2023 @ 11:31pm 
Is there an option to toggle on/off like vanillia drinking? Sometimes you dont eat on purpose to lose weight.