-
Notifications
You must be signed in to change notification settings - Fork 20
Configs changes #87
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
base: 1.19
Are you sure you want to change the base?
Configs changes #87
Conversation
…ultiplier for turbine fuel
RogueLogix
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Given that this can be condensed into about 3 lines, I'll probably just add this myself for all branches, but i reviewed the PR anyway.
| liquidTransitions.clear(); | ||
| gasTransitions.clear(); | ||
|
|
||
| File configDir = new File(FMLPaths.GAMEDIR.get() + "/config/biggerreactors/transitions"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is already set to use datapacks, and there are mods that inject dynamic datapacks
| public double turbineMultiplier; | ||
|
|
||
| @DataLoader.Range("(0,)") | ||
| public double turbineEnergyMultiplier; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the wrong place to add this, it should be in the main config file, not for each transition.
|
|
||
| public class ModernTurbineSimulation implements ITurbineSimulation { | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mind the whitespace
|
Related #106 |
Added the ability to load transitions from config; added the energy multiplier for turbine fuel. This will give more opportunities to modpack developers