mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-22 21:19:49 +00:00
Adjusted farm and hootch energy values.
Fixed crash.
This commit is contained in:
1 parent
2f247084fb
commit
2850d46d0d
4 files changed
+19
-12
No files matched your search
@@ -112,7 +112,7 @@ public final class Config {
|
||||
public static float darkSteelAxeSpeedPenaltyMultiHarvest = 8;
|
||||
|
||||
public static int hootchPowerPerCycle = 6;
|
||||
public static int hootchPowerTotalBurnTime = 4000;
|
||||
public static int hootchPowerTotalBurnTime = 6000;
|
||||
public static int rocketFuelPowerPerCycle = 16;
|
||||
public static int rocketFuelPowerTotalBurnTime = 7000;
|
||||
public static int fireWaterPowerPerCycle = 8;
|
||||
@@ -137,8 +137,8 @@ public final class Config {
|
||||
public static int darkSteelUpgradePowerTwoCost = 20;
|
||||
public static int darkSteelUpgradePowerThreeCost = 30;
|
||||
|
||||
public static float farmContinuousEnergyUse = 1;
|
||||
public static float farmActionEnergyUse = 40;
|
||||
public static float farmContinuousEnergyUse = 4;
|
||||
public static float farmActionEnergyUse = 50;
|
||||
public static int farmDefaultSize = 3;
|
||||
|
||||
public static int magnetPowerUsePerSecondRF = 1;
|
||||
@@ -151,8 +151,6 @@ public final class Config {
|
||||
|
||||
public static int capacitorBankMaxIoMJ = 100;
|
||||
public static int capacitorBankMaxStorageMJ = 500000;
|
||||
|
||||
|
||||
|
||||
public static void load(FMLPreInitializationEvent event) {
|
||||
configDirectory = new File(event.getModConfigurationDirectory(), "enderio");
|
||||
|
||||
@@ -226,6 +226,9 @@ public class LiquidSettings extends BaseSettingsPanel {
|
||||
}
|
||||
|
||||
private boolean isFilterVisible() {
|
||||
if(!isEnder) {
|
||||
return false;
|
||||
}
|
||||
ConnectionMode mode = conduit.getConectionMode(gui.getDir());
|
||||
return mode == ConnectionMode.INPUT || mode == ConnectionMode.OUTPUT;
|
||||
}
|
||||
|
||||
@@ -65,7 +65,7 @@ public class EnderLiquidConduitNetwork extends AbstractConduitNetwork<ILiquidCon
|
||||
}
|
||||
int filled = fillFrom(tank, drained, true);
|
||||
if(drained.amount != filled) {
|
||||
Log.warn("EnderLiquidConduit.extractFrom: Extracted fluid volume is not equal to inserted volume. Drained=" + drained.amount + " filled=" + filled);
|
||||
Log.warn("EnderLiquidConduit.extractFrom: Extracted fluid volume is not equal to inserted volume. Drained=" + drained.amount + " filled=" + filled + " Fluid: " + drained + " Accepted=" + amountAccepted);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
@@ -86,6 +86,8 @@ public class EnderLiquidConduitNetwork extends AbstractConduitNetwork<ILiquidCon
|
||||
resource.amount = Math.min(resource.amount, MAX_IO_PER_TICK);
|
||||
int filled = 0;
|
||||
int remaining = resource.amount;
|
||||
//TODO: Only change starting pos of iterator is doFill is true so a false then true returns the same
|
||||
|
||||
for (NetworkTank target : getIteratorForTank(tank)) {
|
||||
if(!target.equals(tank) && target.acceptsOuput && target.isValid() && matchedFilter(resource, target.con, target.conDir, false)) {
|
||||
int vol = target.externalTank.fill(target.tankDir, resource.copy(), doFill);
|
||||
|
||||
Reference in new issue
Block a user