eksployver-Stamins_Tweaker icon

Stamins Tweaker

Changes stamina usage when out of combat

Last updated a month ago
Total downloads 346
Total rating 0 
Categories Mods
Dependency string eksployver-Stamins_Tweaker-1.0.3
Dependants 1 other package depends on this package

README

Changes stamina usage when out of combat (checks if enemies are within ~6 meters) so that it doesn't feel like cheating. Affects every tool (like axes, pickaxes, cultivator etc.) and every activity (like running, swimming etc.). Also changes stamina usage when encumbered.

Stamina Usage

If you are out of combat (no enemies within ~6 meters) using axes (includes one handed and two-handed variants), pickaxes, the cultivator, the hoe, the hammer won't use any stamina.

If you are out of combat (no enemies within ~6 meters) running, jumping, sneaking, dodging, swimming, being encumbered won't use any stamina.

Stamina regeneration

If your stamina isn't full doing the above actions would momentarily pause regeneration because there's no code for it in the vanilla game. To circumvent this inconvenience, I've made the below changes:

If you are out of combat (no enemies within ~6 meters) and your stamina isn't full, doing the above actions won't pause regeneration but will instead proc a slower regeneration rate until you stop doing the above actions (like swimming, chopping trees etc.). If you are not doing the above actions the regeneration rate will return to normal. Doesn't affect two-handed axes.

https://www.nexusmods.com/valheim/mods/2694