Jump to content

Duplicant consumes no oxygen from atmosphere when gasping for air while wearing an empty Atmo Suit.


Stuffy Doll
  • Branch: Preview Branch Version: Windows Pending

If a Duplicant is wearing an Atmo Suit that runs out of oxygen, they will begin suffocating and seek out an oxygen atmosphere. However, once they remove their helmet and begin to recover their breath, no oxygen is consumed from the atmosphere even though their breath bar is refilled. This results in a Duplicant being able to survive indefinitely without a need for additional oxygen.

 

The expected behavior is in the video below and is produced by changing the return value of GasBreatherFromWorldProvider.IsBlocked()

GasBreatherFromWorldProvider
public bool IsBlocked() => this.oxygenBreather.HasTag(GameTags.HasSuitTank) && !this.oxygenBreather.HasTag(GameTags.RecoveringBreath);


Steps to Reproduce

Watch video.

Load provided save file and observe.

Spawn Duplicant, Atmo Suit, and an oxygen atmosphere. Equip suit and observe.

 

Atmo Suit Oxygen Gasping Bug1.sav

  • Like 3



User Feedback


There are no comments to display.



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...