aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gtPlusPlus/xmod
diff options
context:
space:
mode:
authorElisis <gtandemmodding@gmail.com>2022-03-12 10:07:59 +1100
committerGitHub <noreply@github.com>2022-03-12 00:07:59 +0100
commit58e94b7daa0d73e71c97eb78325064bfa91f10f8 (patch)
treeac7f9ba14601b20a15f3455dfc3f3a52299fa42d /src/main/java/gtPlusPlus/xmod
parent9ab0002868001ba092db614f77f0d97e4cd3d95f (diff)
downloadGT5-Unofficial-58e94b7daa0d73e71c97eb78325064bfa91f10f8.tar.gz
GT5-Unofficial-58e94b7daa0d73e71c97eb78325064bfa91f10f8.tar.bz2
GT5-Unofficial-58e94b7daa0d73e71c97eb78325064bfa91f10f8.zip
Nerf PSS (#156)
* Nerf recipes of redox and both power storage and drain of PSS * Revert capacity nerf, further nerf recipes instead
Diffstat (limited to 'src/main/java/gtPlusPlus/xmod')
-rw-r--r--src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/storage/GregtechMetaTileEntity_PowerSubStationController.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/storage/GregtechMetaTileEntity_PowerSubStationController.java b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/storage/GregtechMetaTileEntity_PowerSubStationController.java
index 133f8d4f7e..8b26b3863b 100644
--- a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/storage/GregtechMetaTileEntity_PowerSubStationController.java
+++ b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/storage/GregtechMetaTileEntity_PowerSubStationController.java
@@ -61,7 +61,7 @@ public class GregtechMetaTileEntity_PowerSubStationController extends GregtechMe
protected boolean mIsOutputtingPower = false;
protected long mBatteryCapacity = 0;
- private final int ENERGY_TAX = 2;
+ private final int ENERGY_TAX = 5;
private int mCasing;
private int[] cellCount = new int[6];
@@ -420,7 +420,7 @@ public class GregtechMetaTileEntity_PowerSubStationController extends GregtechMe
}
// Define storage capacity of smallest cell tier (EV) and compute higher tiers from it
- private static final long CELL_TIER_EV_CAPACITY = 100 * 1000 * 1000; // one lapotronic orb
+ private static final long CELL_TIER_EV_CAPACITY = 100 * 1000 * 1000;
private static final long CELL_TIER_MULTIPLIER = 4; // each tier's capacity is this many times the previous tier
public static long getCapacityFromCellTier(int aOverallCellTier) {
@@ -570,9 +570,9 @@ public class GregtechMetaTileEntity_PowerSubStationController extends GregtechMe
@Override
public boolean onRunningTick(ItemStack aStack) {
- // First, decay overcharge (0.1% of stored energy plus 1000 EU per tick)
+ // First, decay overcharge (1% of stored energy plus 1000 EU per tick)
if (this.getEUVar() > this.mBatteryCapacity) {
- long energy = (long) (this.getEUVar() * 0.999f) - 1000;
+ long energy = (long) (this.getEUVar() * 0.990f) - 1000;
this.setEUVar(energy);
}