Skip to content

Conversation

@Sklaip
Copy link

@Sklaip Sklaip commented Aug 18, 2023

Added the ability to load transitions from config; added the energy multiplier for turbine fuel. This will give more opportunities to modpack developers

Copy link
Member

@RogueLogix RogueLogix left a 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");
Copy link
Member

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;
Copy link
Member

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 {

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mind the whitespace

@RogueLogix
Copy link
Member

Related #106

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants