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

Fix advanced mufflers in the XLGT and other multiblocks with >1 muffler hatch #3489

Merged
merged 4 commits into from
Nov 14, 2024

Conversation

nshepperd
Copy link
Contributor

See GTNewHorizons/GT-New-Horizons-Modpack#17953.

With this change, multiblocks with >1 muffler hatch vent pollution evenly through all of them, selecting a different one at random each time. Also, the XLGT now correctly pulls air filters from input buses if you used advanced muffler hatches with it.

…em randomly and equally instead of arbitrarily choosing one.

This results in obtaining (on average) the average pollution reduction
of all hatches if they are different tiers; in addition all advanced
muffler hatches will pull and damage air filters. Pollution reported
by getInfoData() has been updated to reflect this.
@nshepperd
Copy link
Contributor Author

Tested on HEAD -- I built a handful of multiblocks: EBF, XLGT and UFCE, they all seem to work correctly.

@Dream-Master Dream-Master requested a review from a team November 13, 2024 16:53
@Dream-Master Dream-Master added the bug fix Fix a bug. Please link it in the PR. label Nov 13, 2024
@Dream-Master Dream-Master enabled auto-merge (squash) November 14, 2024 06:38
@Dream-Master Dream-Master merged commit 8ee08df into GTNewHorizons:master Nov 14, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug fix Fix a bug. Please link it in the PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants