Like discussed during the PR the logarithmic algorithm for breath regain is a bit rough. It works as intended (big gasping breath right as you get out of water == big jump in air gain) but looks a little "funny" somehow. Probably could be smoother yet still fast at first (rather than instant 4 bubbles warm up over a second or so)
How to Reproduce
Setup iota workspace and add Breathinggit clone https://github.com/MovingBlocks/Terasology.git./groovyw module init iota./groovyw module get Breathing
Start Terasology, select Core Gameplay and add Breathing in the advanced game setup.
`./gradlew jar game
Start the game and find a water body at least 2-3 blocks deep.
Go underwater and let all the oxygen bubbles go away (you breathing bar should be empty).
Emerge from the water and observe that about half of the breathing bar fills up again instantly, the remaining bubbles fill up slower (one by one).
Like discussed during the PR the logarithmic algorithm for breath regain is a bit rough. It works as intended (big gasping breath right as you get out of water == big jump in air gain) but looks a little "funny" somehow. Probably could be smoother yet still fast at first (rather than instant 4 bubbles warm up over a second or so)
How to Reproduce
iota
workspace and addBreathing
git clone https://github.com/MovingBlocks/Terasology.git
./groovyw module init iota
./groovyw module get Breathing
Core Gameplay
and addBreathing
in the advanced game setup. `./gradlew jar game