Project Zomboid

Project Zomboid

55 ratings
Fix NaN Nutrition Stats
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
240.428 KB
12 Feb @ 10:29am
13 Feb @ 2:00am
3 Change Notes ( view )

Subscribe to download
Fix NaN Nutrition Stats

Description
This mod fix nutrition stats like calories, carbs, fats, etc when they are "NaN."

The bug causing this has been fixed in 42.3.1
So I removed the part of the code that fixed the issue but left the part that fixes the statistics in case you have a save where you want to restore the nutrition stats that are still set to NaN. Without having to enter debug mode, you can also install it, load the save, exit, and remove it.

Love you all! <3

Workshop ID: 3426165280
Mod ID: FixAutoDrinkB42
38 Comments
SocietysGone 5 Jul @ 11:54pm 
didnt work for me
podpivas 19 Mar @ 11:25am 
dont work
小人物 19 Mar @ 6:48am 
This BUG kept bothering me all night until I found this MOD. Thanks a lot.
Catasu 27 Feb @ 5:12pm 
worked great, thanks a lot friend
.HeXaGoN. 25 Feb @ 11:50pm 
Thank you!
可疑的火星人 16 Feb @ 7:16pm 
This mod perfectly resolved my issue. Thank you so much!
Barc 14 Feb @ 5:45pm 
just what i needed, cant be arsed to go into debug mode and mess around
technological_tv 14 Feb @ 3:17pm 
you might be the goat for this one
Vorshim  [author] 14 Feb @ 3:15am 
yes Jack! They theoretically fixed it in version 42.3.1...
Jack Crimson 13 Feb @ 9:46pm 
The bug with the nan nutrition stats are still reproducible when fully emptying a bottle of water through drinking, and it also occurs even in a new game. I was able to prevent the bug to occur by drinking water before my character reaches 50 percent thirst. And then refilling the container again in order to avoid emptying it. So it has something to do with emptying a fluid container through drinking, probably.