Jump to content

Recommended Posts

Posted (edited)

Or more accurately, when is it even calculated? At world load? I very much doubt it.

 

I have a mod that nullifies the extra hunger drain from holding something in the left hand, however, its buggy, and sometimes it forgets to do that, and the hunger increases, gets saved into my savefile, and i cant decrease it back from there because the game thinks this is the default rate + the minuses from my armor. This happens even when the mod is not loaded because all the mod does is add a -20% hunger drain whenever you're holding something, to counteract the +20% from the game, and then it removes this buff when you unequip the item.

 

Somehow my hunger keeps getting stuck one notch above normal, so even when im not holding anything i have the +20% drain rate debuff. If i could somehow make the game recalculate it, it'd probably realise that its wrong and fix itself, but it never seems to be recalculated.

 

Mod in question: https://mods.vintagestory.at/offhanddebuffpatch

Specifically the removal file, not the others. I opened it DnSpy and its super simple, enough that even i can understand it but i have no idea why its breaking or how to fix it. Sometimes it fails to apply the debuff and the game fails to take that amount away, and then i end up with a permanent increase.

 

Edit: For the time being i fixed it by also downloading https://mods.vintagestory.at/show/mod/8034

and running both at the same time but even that results in an extra 5% hunger drain, and this is only a temporary fix until it breaks again. I know a bit of C#, im willing to make my own mod to fix this once and for all, especially because the two older mods only take away 20% and its a 25% drain now.

Edited by NastyFlytrap
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.