Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: improvements to oxygen and suffocation #395

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

Roelymole
Copy link
Contributor

@Roelymole Roelymole commented Jan 9, 2025

Fixed #393
Changed rendering order of dark and light oxygen overlays so that the dark overlay is on top as this simplifies the calculations and fixes the visual problems.
Also swapped oxygen tanks which were displayed the wrong way round in the oxygen overlay.
Additionally display the oxygen overlay whenever the player is wearing both an oxygen mask and oxygen gear since the oxygen setup works in underwater too and not just space.

Fixed #390
The way that suffocation damage was applied has been changed to no longer use the same code as drowning in water. This resolves several issues including a more appropriate death message and no bubble particles when taking suffocation (drowning) damage. The "no_impact" tag has been added for suffocation damage so that the player is not sent flying around on the moon when they run out of oxygen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant