Skip to content

Gas Reaction Chamber, Gas Entities & Gas Devourer#73

Open
BombasterDS2 wants to merge 3 commits into
Goob-Station:masterfrom
BombasterDS2:gas-reaction-chamber-&-gas-entity-(13-06-2026)
Open

Gas Reaction Chamber, Gas Entities & Gas Devourer#73
BombasterDS2 wants to merge 3 commits into
Goob-Station:masterfrom
BombasterDS2:gas-reaction-chamber-&-gas-entity-(13-06-2026)

Conversation

@BombasterDS2

Copy link
Copy Markdown

About the PR

Added three new systems:

Gas Reaction Chamber

Changed logic of standard gas reactions - now GasReactionPrototypes have field that tells if reaction should commonly process (basic reactions). With this React method in AtmosphericSystem was changed to accept List of GasReactions as parameter (not breaking change).

This system will allow create machines that allow to make specific reactions and prohibid other reactoins.

Gas Entities

GasEntitiesSystem create FrozedDictionary inside it with ProtoIds of GasPrototypes as keys and spawned gas entities as values. This system allows creating gases with components (how it should work) without huge changes in current atmos systems.

Gas Devourer

Simple system that allows entity to consume gases near them and put mixture inside GasMixtureHolderComponent (so, entity required both GasDevourerComponnent and GasMixtureHolderComponent).

This component can be replaced with PortableScrubberComponent, but it requires huge logic change that will make code dirtier.

Requirements

  • I have read and am following the Pull Request and Changelog Guidelines.
  • I have tested this pull request and written instructions on how to test it
  • I have added media to this PR or it does not require an in-game showcase.

@github-actions

Copy link
Copy Markdown
Contributor

This pull request has been automatically marked as stale because it has not had
any activity for 14 days. It will be closed in another 14 days if no further activity occurs.
Thank you for your contributions.

You can always ask for help on our development discord.

If you'd like to keep this open, just leave any comment, and the stale label will be removed.

@BombasterDS2

Copy link
Copy Markdown
Author

Bot, don't close it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant