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

[WIP] Atmos is back #1462

Open
wants to merge 509 commits into
base: develop
Choose a base branch
from
Open

Conversation

stilnat
Copy link
Contributor

@stilnat stilnat commented Nov 18, 2024

Summary

PR introducing atmos back to the game, based on @henkhooft rework to work with the job system and expanded upon.
Still early work as I need to do some more optimisation and to include a few atmos devices.

  • Atmos env works with active flux (based on pressure differences) and diffusion (based on moles differences)
  • Atmos pipes work in a way similar to TG, when injecting gas into a set of connected pipes (a pipenet), all pipes divide the injected gas equally between them.
  • Adding or removing pipes modify pipenets.
  • Scrubbers work in siphoning and scrubbing modes.
  • Air vents work in pump and suck mode, able to pressurize using internal or external pressures.
  • Airlocks keep air from flowing when closed, leave air flowing when opened.

PR checklist

  • The game builds properly without errors.
  • No unrelated changes are present.
  • No "trash" files are committed.
  • Relevant code is documented.
  • Update the related GitBook document, or create a new one if needed.

Pictures/Videos)

Testing

Networking checklist

  • Works from host in host mode.
  • Works from server in server mode.
  • Works on server in client mode.
  • Works and is syncronized across different clients.
  • Is persistent.

Changes

Related issues/PRs

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

Successfully merging this pull request may close these issues.

1 participant