Biogenerator Biomass Buffer [Thursday]#1098
Open
DevArchwave wants to merge 9 commits intoARF-SS13:masterfrom
Open
Biogenerator Biomass Buffer [Thursday]#1098DevArchwave wants to merge 9 commits intoARF-SS13:masterfrom
DevArchwave wants to merge 9 commits intoARF-SS13:masterfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
About the PR
Creates a biomass resource buffer for the biogenerators. They generate biomass slowly to a certain limit, which is used before the material stacks.
Why / Balance
This feature has been discussed quite a few times and it was something requested by a few chef mains. Turned into something a little bigger than it should, but essentially, this is what it does.
Technical details
So, this is a weird one. Biogenerators are lathes so I had to fundamentally alter lathe code. I did my best to minimize the changes to base systems as little as possible by putting everything else in partial classes that are isolated to the _CS namespace.
I do not like how much code needed to be done for this, but I essentially had to rewrite the lathe's material quantity detection and deduction systems to account for this.
Do I like this? No. But I do not know if I could make this more modular and less intrusive than it already is. If you have ideas, let me know as I'm still learning these things.
How to test
Spawn a biogenerator, look at the pretty buffer. It lets you print things that use biomass!
Media
2026-03-23.22-32-10.mp4
Requirements
Breaking changes
Changelog
🆑