Turbines don't shut down automatically
Turbines no longer shut down automatically when they lose steam. Instead, efficiency drops 10% per cycle when inactive.
This commit is contained in:
parent
0341ae67ef
commit
f0090eef75
1 changed files with 10 additions and 9 deletions
|
@ -154,15 +154,16 @@ public abstract class GT_MetaTileEntity_LargeTurbine extends GT_MetaTileEntity_M
|
||||||
else
|
else
|
||||||
this.mEUt = newPower;
|
this.mEUt = newPower;
|
||||||
|
|
||||||
this.mMaxProgresstime = 1;
|
if (mEUt <= 0) {
|
||||||
this.mEfficiencyIncrease = (10);
|
|
||||||
if (mEUt <= 0) {
|
this.mEfficiencyIncrease = (-10);
|
||||||
mEfficiency = 0;
|
//stopMachine();
|
||||||
stopMachine();
|
return false;
|
||||||
return false;
|
} else {
|
||||||
} else {
|
this.mMaxProgresstime = 1;
|
||||||
return true;
|
this.mEfficiencyIncrease = (10);
|
||||||
}
|
return true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
abstract int fluidIntoPower(ArrayList<FluidStack> aFluids, int aOptFlow, int aBaseEff);
|
abstract int fluidIntoPower(ArrayList<FluidStack> aFluids, int aOptFlow, int aBaseEff);
|
||||||
|
|
Loading…
Reference in a new issue