aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/xmod/gregtech
diff options
context:
space:
mode:
authorAlkalus <3060479+draknyte1@users.noreply.github.com>2018-07-21 03:34:56 +1000
committerAlkalus <3060479+draknyte1@users.noreply.github.com>2018-07-21 03:34:56 +1000
commitf9e2cc51461a1b98870d8a96aeb48a1888715376 (patch)
treef8d129342ae592f92d20472c7b4bfcc55d73a296 /src/Java/gtPlusPlus/xmod/gregtech
parent2559241fc0eb00a11b7495d94feba2d21383534a (diff)
downloadGT5-Unofficial-f9e2cc51461a1b98870d8a96aeb48a1888715376.tar.gz
GT5-Unofficial-f9e2cc51461a1b98870d8a96aeb48a1888715376.tar.bz2
GT5-Unofficial-f9e2cc51461a1b98870d8a96aeb48a1888715376.zip
% Nerfed the PSS, it not longer accepts Energy/Dynamo hatches < HV.
% Updated Power book to reflect changes to PSS and added minor details about Redox cells.
Diffstat (limited to 'src/Java/gtPlusPlus/xmod/gregtech')
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/storage/GregtechMetaTileEntity_PowerSubStationController.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/storage/GregtechMetaTileEntity_PowerSubStationController.java b/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/storage/GregtechMetaTileEntity_PowerSubStationController.java
index d0ba0b44ab..c1e2666871 100644
--- a/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/storage/GregtechMetaTileEntity_PowerSubStationController.java
+++ b/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/storage/GregtechMetaTileEntity_PowerSubStationController.java
@@ -68,6 +68,7 @@ public class GregtechMetaTileEntity_PowerSubStationController extends GregtechMe
"Consumes " + this.ENERGY_TAX + "% of the average voltage of all energy type hatches",
"Can be built with variable height between " + (CELL_HEIGHT_MIN + 2) + "-" + (CELL_HEIGHT_MAX + 2) + "",
"Hatches can be placed nearly anywhere",
+ "HV Energy/Dynamo Hatches are the lowest tier you can use",
"Controller (Bottom, Centre)",
"Size(WxHxD): External 5xHx5, Sub-Station External Casings",
"Size(WxHxD): Internal 3x(H-2)x3, Vanadium Redox Power Cells",
@@ -266,6 +267,10 @@ public class GregtechMetaTileEntity_PowerSubStationController extends GregtechMe
checkMachineProblem("Energy hatch (tier " + tier + ") is too strong for cells (tier " + tOverallCellTier + ")");
return false;
}
+ if(tier < 512) {
+ checkMachineProblem("Energy hatch (tier " + tier + ") is too weak for cells (tier " + tOverallCellTier + ")");
+ return false;
+ }
totalEuThroughput += re.maxEUInput();
hatchCount++;
}
@@ -276,6 +281,10 @@ public class GregtechMetaTileEntity_PowerSubStationController extends GregtechMe
checkMachineProblem("Dynamo hatch (tier " + tier + ") is too strong for cells (tier " + tOverallCellTier + ")");
return false;
}
+ if(tier < 512) {
+ checkMachineProblem("Energy hatch (tier " + tier + ") is too weak for cells (tier " + tOverallCellTier + ")");
+ return false;
+ }
totalEuThroughput += re.maxEUOutput();
hatchCount++;
}