Untangle the mess in biolab items/recipes#5721
Draft
Conversation
Contributor
Member
Author
|
result of the GTLog from the logging done in the daily 331: |
Comment on lines
40
to
44
| Color color; | ||
| BioPlasmid plasmid; | ||
| BioDNA dDNA; | ||
| BioData plasmid; | ||
| BioData dDNA; | ||
| boolean bBreedable; | ||
| Fluid mFluid; |
Contributor
There was a problem hiding this comment.
Are these used outside of this class? If not, could you please mark them private final and remove the letter prefixes?
Contributor
There was a problem hiding this comment.
They have setters, for some reason. Are these not singleton objects, one per type of culture?
Member
Author
There was a problem hiding this comment.
tbh the code is half assed, and i'm going to rewrite it properly at some point, but i need to get this in a shape for which i understand what's going on. At the end, there will be no BioData class left, i want the cultures to be data driven by a simple enum.
59b4bac to
14dc539
Compare
14dc539 to
f6136a6
Compare
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.
This PR aims to do the following:
With this, we will be able to finally fine tune the recipe chances in a followup PR, so stuff like xenoxene culture will be less of a pain to obtain :D