Project Zomboid

Project Zomboid

544 ratings
Calorie Fix
4
3
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
30.817 KB
27 Dec, 2022 @ 9:27am
23 Dec, 2024 @ 5:25am
5 Change Notes ( view )

Subscribe to download
Calorie Fix

In 1 collection by DreadLordNaf
Enhanced 10 Years Later Cryogenic Winter
71 items
Description
42 compatible! This mod fixes the abnormally high calorie burn rate from simply walking that was introduced in version 41.78, that causes walking to consume more calories than running. Currently in 41.78 (and it appears on 42) walking will consume 110% of the calories as running the same distance. This mod changes that so walking consumes 40% the calories as running the same distance. Thumbs up if you like it.

NOTE: You have to load this mod from the load game screen, not the main menu UI, if you want it to work on an existing save game.

Eternal thanks to Chuckleberry Finn for developing the original code for this mod and allowing me to use it.

THIS MOD IS INCOMPATIBLE with Chuckleberry's "Rebalanced Calorie Burning" mod. My mod here is basically the scaled down version of his that just does one simple thing, adjusts the calorie burn on walking, while his allows you to tweak and adjust a ton of other features with calories. But they WILL NOT work together.

If any feedback or bugs please let me know.

***
BACKGROUND

With the 41.78 update to PZ the game adjusted the walking calorie burn rate so that it's more than just standing still doing nothing which is fine, but the problem is they over corrected and increased it so much that walking now takes MORE calories than running the same distance. So you actually save calories and get fatter by running versus walking everywhere which is counter intuitive and makes no sense.

If you wondered why on 41.78 your character was going into starvation even though you are playing the same way you always have eating a balanced diet this is why. This abnormally high change to walking calories burn rate also meant that foraging for food had become obsolete since you now use more calories than you gain from foraging, and doing things like resting at your safehouse and moving around organizing things will burn as much calories as running a marathon outside all day. This mod fixes that.

***

FAQ

Q. What does this mod actually do?
A. It changes the per second walking calorie burn rate scaling from .6 to .22 now, which when factoring in running speed vs walking speed over a fixed distance means that walking now takes approximately 40% of the calories as running the same distance. This ratio will shrink as your sprinting skill increases and will be affected by any run modifying clothes.

Q. How do I know if this mod is actually working?
A. I've tested it quite thoroughly so it appears to be doing its job (pending any big game updates). If you want to verify though download Minimal Display Bars mod then pick a fixed distance to move back and forth from. Walking that fixed distance should only use 40% of the calories as running the same distance if the mod is working correctly. Keep in mind this burn rate will be affected if you are wearing clothes that modify run rate and/or have a high sprint skill.

Q. I just enabled the mod on my existing save game but it’s not working?
A. You have to enable it in the load game screen section to apply it to an existing save game, not the main menu.

Q. Will this mod work with other mods?
A. It should since not many other mods affect calorie burn rate.

Q. Will this mod work on multiplayer servers?
A. I don’t know. I think so? I’m still learning modding so if you discover that it does or doesn’t let me know.

Q. I just peeked under the hood of this mod and it seems unnecessarily complicated for changing a single calorie scaling number.
A. That is because you can’t actually change a single calorie scaling number. The genius behind the code on this mod, Chuckleberry Finn, instead found a workaround and recreated the entire vanilla calculations for calorie burn rate while moving. So when this mod is enabled what happens is that there are actually two calorie burn calculations occurring simultaneously, the vanilla one and this modified one. This mod then adjusts the final calorie burn rate by the difference. Hence why it appears so complicated.

***

If you enjoy this fix please consider thanking Chuckleberry Finn who did the coding work on it by enjoying some of his other mods or supporting him from the links found on his mod descriptions.

Workshop ID: 2907834593
Mod ID: CalorieFix
Mod ID: CalorieFix
123 Comments
DreadLordNaf  [author] 19 Aug @ 5:44am 
Yeah in theory there shouldnt be any conflicts with that.
tilarium 19 Aug @ 1:15am 
@Poppingummy I'd assume no conflicts as well. As you said, that affects the amount the food items have while this affects the burn rate of the player.
PŌPPINGUMMY 18 Aug @ 6:17pm 
Would there be any compatibility issues with this Real Calories and Nutrients Overhaul mod? I'd assume no since yours deals with the burn rate while theirs deals with the calorie values of items but I may be wrong.

https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3419744607
Brezonte 5 Aug @ 10:38am 
@tilarium In my game I don't have access to fishing and I don't have butter either, I'm only raising chickens and I have to eat about 8 adult chickens per day to not lose weight, if this same thing happened in real life I would already be a "butterball".
DreadLordNaf  [author] 21 Jul @ 6:10pm 
Yeah I kind of feel the same. My peak play time was about 3 years ago a bit before I posted this mod and before the 41.78 changes, and honestly things felt pretty good then. It's seems like they are all over the place now with calories and weight since...
tilarium 21 Jul @ 2:13am 
@La I remember reading previous that the calorie system as it is in game is how the devs want it currently. Probably to force players to have to cook and eat a lot of food to keep weight.
La__fonzi 20 Jul @ 10:15pm 
i think someone needs to do a complete overhaul of the weight system in this game its completely backwards and counter intuitive as fuck. i get the need to simulate a starving mechanic in a survival game but none of this games mechanics in regards to this system relates to any real world behaviour
Snorkbite Sam 8 Jul @ 3:57am 
@DreadLordNaf Thank you for responding. I started a new game in debug mode, and found my calories were draining normally. I messed around with my mods but wasn't able to replicate the issue a second time, so it seems to be working perfectly fine now.
DreadLordNaf  [author] 7 Jul @ 2:00pm 
@snakebit sam - if you are using any other mod that affects calories, then this mod will likely conflict causing that. I just recently retested it on 42 and it still works, at least when its alone.
Snorkbite Sam 7 Jul @ 3:18am 
I played with this mod and it seemed to cause my character to stop losing calories *altogether*. I ate a tub of ice cream to get the double up arrow, did an hour of burpies and sprinted from Rosewood to Muldraugh and not once did the arrows disappear.