

This mod overhaul the Swim Skill in Valheim and drasticly modify how swim work.
When Swimming, you can't drown like in vanilla now. It work like the running skill : you can move in freely in water without consuming stamina, and using MAJ to Sprint allow you to swim faster. When not sprinting, your stamina begin to reload.
You can dive by pressing CTRL and move up to the surface by using SPACE button.
When in water, you'll see king of bubble close to your character. This represent the Breath and when diving, a hidden timer start and bubble fall of one by one.
When your breath are out, you start taking damage and die if you don't rise to the surface fast enough.
Breath & swim speed are scaling with Swim Skill.
You can use all your weapons and tools while in water, block attack, and play like on ground, but in water.
This mod use an internal API if you want to make stuff around it.
Every thing like swim speed, breath duration, sprint speed, stamina regen, the suffocation tick interval and damage, are configurable through the cfg files, so make the swim you like.
You can install this mod in the server to enforce the configuration to clients.
Unzip & put the .dll file in the bepinex/plugins folder.
Cfg file will be created at first launch, use any configuration manager you like to play around with it.
To every people that contribute to the valheim modding community, players & moders.
To VitByr https://thunderstore.io/c/valheim/p/VitByr/ for his help & code to improve the mod.
Here => https://discord.gg/wJA6vXPwVQ
It's mainly made for Warheim Server at first, to fit the gameplay style we want in Valheim, but next the idea come to make something that other people can use and work around.
This is the base for a sooner Ocean Overhaul & some Atlantis idea.