branchrust_reboot/main/oxygen_qol_tweakscancel
4 Commits over 0 Days - ∞cph!
Fixed ItemModGiveOxygen working as an unintentional singleton and returning incorrect values to the oxygen time remaining vital if multiple dive tanks are in the players inventory
Fixed some rounding issues when using dive tanks after the last commit
Increase depth required to start losing oxygen to 1 (fully submerged)
Changed the Oxygen display on the vitals bar to a round instead of a floor, this should be more accurate (and now shows that you have 4s when entering the water instead of 3s)
Increased the depth required to be considered underwater for oxygen tracking purposes by 10% (85->95)
This should mean oxygen will start getting consumed slightly later when submerging and should also help situations where oxygen is still depleting in turbulent conditions and part of the players view is above the water
Added debug.waterFactorPrintout that pritns out the current depth level into chat for QA purposes