Project Zomboid

Project Zomboid

55 ratings
[B41/B42] Temperature Affects Food Spoilage Rate
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
73.912 KB
27 Jul, 2024 @ 6:56am
9 Aug @ 1:36am
3 Change Notes ( view )

Subscribe to download
[B41/B42] Temperature Affects Food Spoilage Rate

In 3 collections by unlockk
[B41] Vanilla Plus Plus Plus
210 items
A collection of items created by unlockk
17 items
[B42] Unstable Plus
136 items
Description
Build 41 & Build 42.

World temperature affects the food spoilage rate as you experience seasonal and day-to-day variations. Compatible with everything, works in multiplayer, works with existing items, temperature-dependent decay time/spoilage rate updates every in-game hour. Sandbox settings included.

Build 42.12 note:
Compatible with the newest update.

The example picture has been created with the help of Eris' Food Expiry (for B42 it is better to use More Item Information), which shows the remaining freshness and time until the food is completely rotten.

The game does not differentiate between items left outside and inside, where it is typically warmer, which is a limitation for this mod, but has been accounted for to the best of my ability.

Items do not freeze unless are in the freezer, same as vanilla. Please see Outside Freezer by TwisTonFire for this functionality.

Extra Notes:
Because the refrigeration effectiveness sandbox setting is a flat multiplier against the decay timer, it is also adjusted to best fit realistic expectations. If I was to leave the settings alone, your food would spoil quicker if it's hotter outside. It is not possible to make food spoil faster in a refrigerator than outside, so when in doubt, use the fridge.

I would recommend using Surviving Through the Seasons to make the year last less than 365 in-game days so that you can actually experience all the seasonal variations through your average playthrough length. I would also suggest KYR Real Weather with the base minimum temperature to -4°C if you want the fairly typical real-life winter lows of Kentucky.

Permissions:
Please do not modpack or reupload.
If this mod is deleted, you are welcome to reupload to Steam Workshop only.
Thanks and enjoy!

Other mods for B42:
Realistic Distributions: Alcohol, Cigarettes, Clutter
Clothing Protection: Rebalanced
Rebalanced Yields: Butchering
Quality of Life and Miscellaneous Tweaks
Immersive Preservation: Canning and Jarring of evolved recipes

Workshop ID: 3297793087
Mod ID: sensiblebalancetempfoodspoilage
33 Comments
Hrogy 23 Aug @ 9:29am 
OK I got it
unlockk  [author] 20 Aug @ 3:26am 
I believe I have answered everything in the description and my previous comment. The mod works on the food rotting pace in sandbox in real time, so it doesn't matter what you set it to as the mod will change it. Also the lowest speed is not 0.5x of normal, that would be too easy. It's something like 0.40x, and the low speed is like 0.70x of normal lol
Hrogy 19 Aug @ 8:06pm 
BTW do this mod only affects food put outside from containers?
Hrogy 19 Aug @ 8:03pm 
What I mean is, if I set the food rotting pace in the sandbox option to "very slow" and then enable this mod, will the food rotting pace be affected again? For example, when the sandbox is set to "very slow", the food spoilage speed is 0.5 times the normal speed. If the ambient temperature is lower than the mod's preset minimum temperature of 3.4 degrees Celsius, will the food rotting pace change from 0.5 times to 0.25 times or what?
unlockk  [author] 19 Aug @ 5:34am 
@Hrogy it doesn't matter what you set the vanilla rotting pace to, only what you set the mod sandbox temperature options to. So yes, set the temperatures to what you want and the pace will adjust. The defaults are mainly meant to be realistic.
Hrogy 19 Aug @ 4:04am 
will it work once I set food rotting pace to very low in sandbox option?
Hrogy 18 Aug @ 5:04pm 
can sandbox option in b42 support changing food rotting speed in different temperature?
unlockk  [author] 16 Aug @ 2:38pm 
Thanks, yeah I hope they'll fix it, seems a big gameplay change but maybe it's a way of forcing people to engage with the farming aspects and such?
I always have more produce than necessary in a sense. Even on a 12 month start with rarest loot which I have always done in B41, you really struggle at first, but eventually things come together and you have a generator, car, canned products, flour, gardening, fish, etc. etc. and then you either die by trying to have some fun in the game or you just move on and pretend your character survived.
tilarium 16 Aug @ 1:48pm 
Made a discussion thread about it and seems like it's a vanilla issue brought in with 42.11. It seems like the game isn't factoring in the fridge and freezer when spawning in food and determining it's freshness, so everything gets marked as having been sitting out in the open since the start of the apoc. Made a bug report on the PZ forums, so hopefully it'll be addressed in 42.12.
tilarium 16 Aug @ 5:43am 
@unlockk After some quick testing that didn't really require much time or work, it looks like the devs must have changed things in 42.11 that affects the spoilage. A clean game with no mods is yielding the same results with everything being rotten a month into the apoc despite being in a powered fridge or freezer.