Project Zomboid

Project Zomboid

31 ratings
No Food Expiration For Unstable
3
2
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
668.135 KB
29 Jan @ 8:27pm
28 Sep @ 9:36am
10 Change Notes ( view )

Subscribe to download
No Food Expiration For Unstable

Description
Removes the "DaysTotallyRotten" and "DaysFresh" parameters from food items to prevent them from becoming rotten. This version of the mod is for Unstable builds only -- currently B42. You can get the B41 version of the mod here: https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2695935241

Workshop ID: 3417298186
Mod ID: NoFoodExpiryUnstable
50 Comments
Sheff  [author] 28 Sep @ 3:57pm 
Okay. Good to know. My best guess right now is that because the actual file structure of food recipes changed, that any food that loaded in while the mod was active is different somehow than new food that is generated. Just one of the perils of the Unstable branch I guess. :)

The good news is that I do have a bit of knowledge of Java, so if the mod architecture eventually moves out of .txt files and into something Java oriented I can still probably figure it out.
oxoLIVINGoxo 28 Sep @ 3:00pm 
sorry existing save I mean.
oxoLIVINGoxo 28 Sep @ 3:00pm 
@Sheff I am playing my world and when I go to a new area the food does not say fresh so it is working on an exiting mod when you go to a new area where the food had not been discovered yet!
oxoLIVINGoxo 28 Sep @ 2:42pm 
Thank you so much again!
Chocomeowmeowmeowmeowmeow 28 Sep @ 9:53am 
Appreciated the update <3
Sheff  [author] 28 Sep @ 9:42am 
Hey. Should be updated now. Turns out it was a more significant change than just chocolate milk -- the file structure for every food item got moved around, so it took me a minute to figure that out.

Also, on my quick test, I wasn't able to apply it to an existing save anymore. i.e., I started a game without the mod, then enabled it, and food continued to expire. I don't know why that is yet. But it works on a fresh game when enabled. I'll keep doing a little testing but at least for now it works on new saves.
oxoLIVINGoxo 26 Sep @ 4:52pm 
Thanks Sheff!
Sheff  [author] 26 Sep @ 2:29pm 
Yeah, I had a feeling that adding happiness to chocolate milk would break it. I'll try and get an update out by late tonight or tomorrow.
oxoLIVINGoxo 26 Sep @ 8:27am 
Thanks for the confirmation, Ahmed!
Ahmed 26 Sep @ 12:48am 
same, stopped working on 42.12