aboutsummaryrefslogtreecommitdiff
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
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.
-rw-r--r--src/Java/gtPlusPlus/core/handler/BookHandler.java8
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/storage/GregtechMetaTileEntity_PowerSubStationController.java9
2 files changed, 16 insertions, 1 deletions
diff --git a/src/Java/gtPlusPlus/core/handler/BookHandler.java b/src/Java/gtPlusPlus/core/handler/BookHandler.java
index 41757bf680..462cbd8cdb 100644
--- a/src/Java/gtPlusPlus/core/handler/BookHandler.java
+++ b/src/Java/gtPlusPlus/core/handler/BookHandler.java
@@ -81,6 +81,12 @@ public class BookHandler {
"Allows Insertation/Removal of power from the rear face of the controller, swap with a screwdriver."+"\n"+
"Variable Height Structure, between 4-16Y. Inserted Redox Cells dictate max energy tier of structure."+"\n",
//Page 6
+ "Redox Cells cannot be placed into the Top or Bottom layer and only take up 3xhx3 internally."+"\n"+
+ "Different Tier cells CANNOT be mixed together."+"\n",
+ //Page 7
+ "All Hatches Must be HV at a Minimum, this minimum tier is in place to stop people abusing ULV/LV hatches to lower the avg/t."+"\n"+
+ "Currently the GUI will NOT display anything at all until the structure forms, this is a known bug."+"\n",
+ //Page 8
"Valid Hatches:\n"+
"Energy Hatch,\n"+
"Dynamo Hatch,\n"+
@@ -88,7 +94,7 @@ public class BookHandler {
"Discharging Bus,\n"+
"Dynamo Buffer,\n"+
"Multi-Amp Dynamo Hatch.\n\n\n"+
- "Structure MUST contain at least one input and one output hatch."
+ "Structure MUST contain at least one energy input and one energy output hatch."
});
//Test Novel
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++;
}