Increased Mining Well cost per block

Its now the same as the quarry, 60 MJ per block.

Also tweaked power provider settings on the Mining Well and Quarry to
prevent smaller engines from being unable to overcome the maintenance
drain.
This commit is contained in:
CovertJaguar 2013-06-24 05:42:47 -07:00
parent dd1ead907d
commit fb374cf7fc
2 changed files with 6 additions and 6 deletions

View file

@ -31,7 +31,7 @@ public class TileMiningWell extends TileMachine implements IMachine, IPowerRecep
public TileMiningWell() {
powerProvider = PowerFramework.currentFramework.createPowerProvider();
powerProvider.configure(50, 1, 25, 25, 1000);
powerProvider.configure(50, 100, 100, 60, 1000);
powerProvider.configurePowerPerdition(1, 1);
}
@ -41,7 +41,7 @@ public class TileMiningWell extends TileMachine implements IMachine, IPowerRecep
*/
@Override
public void doWork() {
if (powerProvider.useEnergy(25, 25, true) < 25)
if (powerProvider.useEnergy(60, 60, true) != 60)
return;
World world = worldObj;
@ -52,7 +52,7 @@ public class TileMiningWell extends TileMachine implements IMachine, IPowerRecep
depth = depth - 1;
}
if (depth < 0 || !BlockUtil.canChangeBlock(world, xCoord, depth, zCoord)) {
if (depth < 1 || !BlockUtil.canChangeBlock(world, xCoord, depth, zCoord)) {
isDigging = false;
return;
}

View file

@ -78,7 +78,7 @@ public class TileQuarry extends TileMachine implements IMachine, IPowerReceptor,
}
private void initPowerProvider() {
powerProvider.configure(20, 25, 100, 25, MAX_ENERGY);
powerProvider.configure(20, 50, 100, 25, MAX_ENERGY);
powerProvider.configurePowerPerdition(2, 1);
}
@ -194,7 +194,7 @@ public class TileQuarry extends TileMachine implements IMachine, IPowerReceptor,
protected void buildFrame() {
powerProvider.configure(20, 25, 100, 25, MAX_ENERGY);
powerProvider.configure(20, 50, 100, 25, MAX_ENERGY);
if (powerProvider.useEnergy(25, 25, true) != 25)
return;
@ -211,7 +211,7 @@ public class TileQuarry extends TileMachine implements IMachine, IPowerReceptor,
}
protected void dig() {
powerProvider.configure(20, 30, 500, 50, MAX_ENERGY);
powerProvider.configure(20, 100, 500, 60, MAX_ENERGY);
if (powerProvider.useEnergy(60, 60, true) != 60)
return;