aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/xmod/gregtech/common/blocks/GregtechMetaCasingBlocks2.java
diff options
context:
space:
mode:
authorDavid Vierra <codewarrior@hawaii.rr.com>2018-04-05 22:26:38 -1000
committerDavid Vierra <codewarrior@hawaii.rr.com>2018-04-05 22:27:01 -1000
commit2cf95a2b3e82ceb3a8eec69e33262cf36b797ae6 (patch)
tree245d26f79c5eef76a126bab74168e1031968d7fb /src/Java/gtPlusPlus/xmod/gregtech/common/blocks/GregtechMetaCasingBlocks2.java
parentc461f50dcd3705a350012ab1f8ae8482c2290a18 (diff)
downloadGT5-Unofficial-2cf95a2b3e82ceb3a8eec69e33262cf36b797ae6.tar.gz
GT5-Unofficial-2cf95a2b3e82ceb3a8eec69e33262cf36b797ae6.tar.bz2
GT5-Unofficial-2cf95a2b3e82ceb3a8eec69e33262cf36b797ae6.zip
Add energy cell tiers up to MAX voltage, make lowest cell EV tier
Renamed cells to the voltage tiers Added textures for new cells, adjusted existing textures. Texture colors are vaguely similar to pump/robot arm colors Legacy power stations will have 1.8 billion EU storage
Diffstat (limited to 'src/Java/gtPlusPlus/xmod/gregtech/common/blocks/GregtechMetaCasingBlocks2.java')
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/common/blocks/GregtechMetaCasingBlocks2.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/common/blocks/GregtechMetaCasingBlocks2.java b/src/Java/gtPlusPlus/xmod/gregtech/common/blocks/GregtechMetaCasingBlocks2.java
index e80d9e2110..8dd52c7074 100644
--- a/src/Java/gtPlusPlus/xmod/gregtech/common/blocks/GregtechMetaCasingBlocks2.java
+++ b/src/Java/gtPlusPlus/xmod/gregtech/common/blocks/GregtechMetaCasingBlocks2.java
@@ -31,9 +31,9 @@ extends GregtechMetaCasingBlocksAbstract {
@Override
public void addInformation(ItemStack aStack, EntityPlayer aPlayer, List aList, boolean aF3_H) {
int meta = aStack.getItemDamage();
- long capacity = 0;
- if (meta == 7) {
- capacity = GregtechMetaTileEntity_PowerSubStationController.getCapacityFromCellTier(3);
+ int tier = GregtechMetaTileEntity_PowerSubStationController.getCellTier(field_150939_a, meta);
+ if (tier > 0) {
+ long capacity = GregtechMetaTileEntity_PowerSubStationController.getCapacityFromCellTier(tier);
aList.add("Energy Storage: " + GT_Utility.formatNumbers(capacity));
}
super.addInformation(aStack, aPlayer, aList, aF3_H);
@@ -52,7 +52,7 @@ extends GregtechMetaCasingBlocksAbstract {
GT_LanguageManager.addStringLocalization(this.getUnlocalizedName() + ".4.name", "Wash Plant Casing");
GT_LanguageManager.addStringLocalization(this.getUnlocalizedName() + ".5.name", "Industrial Sieve Casing");
GT_LanguageManager.addStringLocalization(this.getUnlocalizedName() + ".6.name", "Large Sieve Grate");
- GT_LanguageManager.addStringLocalization(this.getUnlocalizedName() + ".7.name", "Vanadium Redox Power Cell");
+ GT_LanguageManager.addStringLocalization(this.getUnlocalizedName() + ".7.name", "Vanadium Redox Power Cell (EV)");
GT_LanguageManager.addStringLocalization(this.getUnlocalizedName() + ".8.name", "Sub-Station External Casing");
GT_LanguageManager.addStringLocalization(this.getUnlocalizedName() + ".9.name", "Cyclotron Coil");
GT_LanguageManager.addStringLocalization(this.getUnlocalizedName() + ".10.name", "Cyclotron Outer Casing");