Project Zomboid

Project Zomboid

Not enough ratings
No Rotting
   
Award
Favorite
Favorited
Unfavorite
Mods: Build 41, Food
File Size
Posted
590.090 KB
31 Jul, 2022 @ 11:22am
1 Change Note ( view )

Subscribe to download
No Rotting

Description
Food doesn't rot.

If it doesn't work / an update came out adding new food, notify me

No, I do not intent to make compabilites with other mods.
If this mod doesn't work with your other mods or you want to make modded food not spoil, here's a little tutorial.

1. Go to

Mod Files
| C:\Program Files (x86)\Steam\steamapps\workshop\content\108600\ [] \media\scripts |

or

Game Files
| C:\Program Files (x86)\Steam\steamapps\common\ProjectZomboid\media\scripts |

and check if there's either: "farming.txt", "newitems.txt", "items_food.txt" or find a txt file that includes the food, but usually it's the first three.
If you find either of them, open them up, preferably with Notepad++ or other text editor with a search function.

2. Find each | DaysFresh | & | DaysTotallyRotten | variable

Eg. DaysFresh = 3,
DaysTotallyRotten = 5,

and simply remove them. (They may not always be next to each other)

Note: This tutorial may not work for every mod. That's life.

Workshop ID: 2843008531
Mod ID: NoSpoiling
11 Comments
Rin 4 May @ 9:37am 
cant get gas from pumps
ForeverSeth 9 Jan @ 12:03pm 
Hello,

To anyone having problems with this mod: I took a look using the instructions in the mod description and it looks like the "newitems.txt" file is what is causing the issues. There are quite a few differences in the mod file and the game file, most of which have nothing to do with food. Entire sections are missing, which include fuel items. I'm not sure if it was caused by an update or something else, but there aren't many food items in that file, just a few of the canned foods which have some pretty long shelf lives already, so you can likely get the mod working by deleting that file out of the mod folder.

Alternatively, you can use the instructions to recreate the mod yourself, which is pretty simple and what I did. Using the 'Replace all' in Notepad++ only took about 10 minutes total to get the mod up and running.

To the mod author: Thank you for finding the files in the first place! :steamthumbsup:
awdiaf  [author] 5 Oct, 2023 @ 11:27pm 
You checked with only this mod enabled?
Atrox 5 Oct, 2023 @ 11:15pm 
Breaks gas pumps and gas cans. :steamthumbsdown:
CMDR_Nef 8 Jun, 2023 @ 7:09am 
Thank you so much for the tutorial about modded food. Skizot's Carryable Everything was overwriting this mod when it came to potted food. Your tutorial was simple and easy to follow and I wish more modders did that. Again, thank you so much!
waffle 5 Jun, 2023 @ 10:09am 
hey does this work on already stale/rotten food?
Gene 3 Jun, 2023 @ 1:24am 
It also stops fuel being siphoned from gas station pumps into petrol cans, same as before tested with just this mod
Gene 2 Jun, 2023 @ 9:08pm 
Heyo, just wanted to let you know theres a bug with siphoning gas with a bottle, it spews out tonnes of errors and the bottle stays empty, then vanishes if it leaves my hands. Ive tested the problem with only this mod activated
na41708 23 Dec, 2022 @ 7:52pm 
good mod !
awdiaf  [author] 15 Dec, 2022 @ 8:40am 
Follow the tutorial in the descryption, but add DaysFresh and DaysTotallyRotten to any food you want to rot