Project Zomboid

Project Zomboid

55 ratings
Fix NaN Nutrition Stats
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
240.428 KB
Feb 12 @ 10:29am
Feb 13 @ 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 Jul 5 @ 11:54pm 
didnt work for me
podpivas Mar 19 @ 11:25am 
dont work
小人物 Mar 19 @ 6:48am 
This BUG kept bothering me all night until I found this MOD. Thanks a lot.
Catasu Feb 27 @ 5:12pm 
worked great, thanks a lot friend
.HeXaGoN. Feb 25 @ 11:50pm 
Thank you!
可疑的火星人 Feb 16 @ 7:16pm 
This mod perfectly resolved my issue. Thank you so much!
Barc Feb 14 @ 5:45pm 
just what i needed, cant be arsed to go into debug mode and mess around
technological_tv Feb 14 @ 3:17pm 
you might be the goat for this one
Vorshim  [author] Feb 14 @ 3:15am 
yes Jack! They theoretically fixed it in version 42.3.1...
Jack Crimson Feb 13 @ 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.