Large Boilers now accept distilled water (w/o exploding)
This commit is contained in:
parent
4d9fd9fb86
commit
fe24c662b2
1 changed files with 11 additions and 6 deletions
|
@ -141,7 +141,8 @@ public abstract class GT_MetaTileEntity_LargeBoiler
|
||||||
{
|
{
|
||||||
int tGeneratedEU = (int)(this.mEUt * 2L * this.mEfficiency / 10000L);
|
int tGeneratedEU = (int)(this.mEUt * 2L * this.mEfficiency / 10000L);
|
||||||
if (tGeneratedEU > 0) {
|
if (tGeneratedEU > 0) {
|
||||||
if (depleteInput(Materials.Water.getFluid((tGeneratedEU + 160) / 160))) {
|
long amount = (tGeneratedEU + 160) / 160;
|
||||||
|
if (depleteInput(Materials.Water.getFluid(amount)) || depleteInput(GT_ModHandler.getDistilledWater(amount))) {
|
||||||
addOutput(GT_ModHandler.getSteam(tGeneratedEU));
|
addOutput(GT_ModHandler.getSteam(tGeneratedEU));
|
||||||
} else {
|
} else {
|
||||||
explodeMultiblock();
|
explodeMultiblock();
|
||||||
|
@ -257,8 +258,12 @@ public void onPostTick(IGregTechTileEntity aBaseMetaTileEntity, long aTick) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Location: F:\Torrent\minecraft\jd-gui-0.3.6.windows\gregtech_1.7.10-5.07.07-dev.jar
|
|
||||||
* Qualified Name: gregtech.common.tileentities.machines.multi.GT_MetaTileEntity_LargeBoiler
|
/* Location: F:\Torrent\minecraft\jd-gui-0.3.6.windows\gregtech_1.7.10-5.07.07-dev.jar
|
||||||
* JD-Core Version: 0.7.0.1
|
|
||||||
*/
|
* Qualified Name: gregtech.common.tileentities.machines.multi.GT_MetaTileEntity_LargeBoiler
|
||||||
|
|
||||||
|
* JD-Core Version: 0.7.0.1
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
Loading…
Reference in a new issue