branchrust_reboot/main/SubmarineSeptember/SubmarineOxygencancel
35 Commits over 0 Days - ∞cph!
Merge Main -> SubmarineOxygen
Fix scuba tank air display
Merge Main -> SubmarineOxygen
Things fall apart; the centre cannot hold; Some refactoring
Remove temporary timing checks
Lots of oxygen refactoring. Setting up a central place to get how much air if left and where it's coming from. This is all towards supporting a better UI.
Nixed full screen wiggle because lerp bug
Various other minor tweaks
Low oxygen full screen effect
Added lungs and submarine icons
Merge Main -> SubmarineSeptember
Increased "deep water" boat decay depth. Decay now starts at 12m deep instead of 4m deep. Will help stop rowboats/subs decaying inside bases that are in fairly deep water, but still let them decay under oil rigs.
Air tank icon animates little bubbles
Give an indication in the HUD when the diving tank is being used
Don't raycast target the icons in the vitals UI
Made a custom air tank icon
Diving tank activation changes. A player in a sub wearing a diving tank can stay underwater for longer by using the diving tank's air after the sub's air runs out.
More logical/comprehensible oxygen and asphyxiation vitals UI
MixerSnapshotManager null check
Refill oxygen while surfaced
Switch low oxygen percent display. Although 100 being "no oxygen" sort of makes less sense, it's consistent with everything else we show, so use that.
More oxygen changes to support subs
Diving tank now supplies oxygen based on the player's need for oxygen, rather than their level of being in the water
Fix some air level checks that should have stayed as water level
Working on various air/water stuff. Some refactoring
Replace the "Drowning" UI status with a "Low Oxygen" status, so the same warning can be used for low oxygen when not in water (inside a submarine etc). New O2 icon.