aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/common/itemBlocks/IB_LapotronicEnergyUnit.java
diff options
context:
space:
mode:
authorConnor-Colenso <52056774+Connor-Colenso@users.noreply.github.com>2023-03-22 20:26:20 +0000
committerGitHub <noreply@github.com>2023-03-22 20:26:20 +0000
commitd1ec4f813c7182eda8bd9bb00feb2462e537f12e (patch)
tree813342735fe4aeb5ae21d6ea049c7610543c2418 /src/main/java/common/itemBlocks/IB_LapotronicEnergyUnit.java
parentfb2500045d1baa1ec5686b139efab560e23f97a1 (diff)
parent044e05cf3527a1701795b4f40629bac94d01ade8 (diff)
downloadGT5-Unofficial-d1ec4f813c7182eda8bd9bb00feb2462e537f12e.tar.gz
GT5-Unofficial-d1ec4f813c7182eda8bd9bb00feb2462e537f12e.tar.bz2
GT5-Unofficial-d1ec4f813c7182eda8bd9bb00feb2462e537f12e.zip
Merge pull request #63 from GTNewHorizons/UIV&UMV_Cap
UIV & UMV capacitor
Diffstat (limited to 'src/main/java/common/itemBlocks/IB_LapotronicEnergyUnit.java')
-rw-r--r--src/main/java/common/itemBlocks/IB_LapotronicEnergyUnit.java48
1 files changed, 48 insertions, 0 deletions
diff --git a/src/main/java/common/itemBlocks/IB_LapotronicEnergyUnit.java b/src/main/java/common/itemBlocks/IB_LapotronicEnergyUnit.java
index c66e6a40de..37f597b5ae 100644
--- a/src/main/java/common/itemBlocks/IB_LapotronicEnergyUnit.java
+++ b/src/main/java/common/itemBlocks/IB_LapotronicEnergyUnit.java
@@ -53,6 +53,20 @@ public class IB_LapotronicEnergyUnit extends ItemBlock {
private static BigInteger UEV_cap_eu_per_tick = UEV_wireless_eu_cap
.divide(BigInteger.valueOf(LSC_time_between_wireless_rebalance_in_ticks));
+ // 600 Quadrillion EU.
+ public static BigInteger UIV_wireless_eu_cap = BigInteger.valueOf(60 * pow(10, 16));
+
+ // 100 Trillion EU/t
+ private static BigInteger UIV_cap_eu_per_tick = UIV_wireless_eu_cap
+ .divide(BigInteger.valueOf(LSC_time_between_wireless_rebalance_in_ticks));
+
+ // 60 Quintillion EU.
+ public static BigInteger UMV_wireless_eu_cap = UIV_wireless_eu_cap.multiply(BigInteger.valueOf(100));
+
+ // 10 Quadrillion EU/t
+ private static BigInteger UMV_cap_eu_per_tick = UMV_wireless_eu_cap
+ .divide(BigInteger.valueOf(LSC_time_between_wireless_rebalance_in_ticks));
+
public static long EV_cap_storage = 60_000_000L;
public static long IV_cap_storage = 600_000_000L;
public static long LuV_cap_storage = 6_000_000_000L;
@@ -60,6 +74,8 @@ public class IB_LapotronicEnergyUnit extends ItemBlock {
public static long UV_cap_storage = 600_000_000_000L;
public static long UHV_cap_storage = Long.MAX_VALUE;
public static long UEV_cap_storage = Long.MAX_VALUE;
+ public static long UIV_cap_storage = Long.MAX_VALUE;
+ public static BigInteger UMV_cap_storage = BigInteger.valueOf(UIV_cap_storage).pow(2);
@SuppressWarnings("unchecked")
@Override
@@ -136,6 +152,38 @@ public class IB_LapotronicEnergyUnit extends ItemBlock {
+ EnumChatFormatting.GRAY
+ " capacitor.");
break;
+ case 9:
+ lines.add(
+ "Capacity: " + EnumChatFormatting.RED
+ + GT_Utility.formatNumbers(UIV_cap_storage)
+ + EnumChatFormatting.GRAY
+ + "EU");
+ lines.add(
+ "Supports up to " + EnumChatFormatting.RED
+ + GT_Utility.formatNumbers(UIV_cap_eu_per_tick)
+ + EnumChatFormatting.GRAY
+ + "EU/t of wireless transfer per "
+ + GT_Values.TIER_COLORS[11]
+ + GT_Values.VN[11]
+ + EnumChatFormatting.GRAY
+ + " capacitor.");
+ break;
+ case 10:
+ lines.add(
+ "Capacity: " + EnumChatFormatting.RED
+ + GT_Utility.formatNumbers(UMV_cap_storage)
+ + EnumChatFormatting.GRAY
+ + "EU");
+ lines.add(
+ "Supports up to " + EnumChatFormatting.RED
+ + GT_Utility.formatNumbers(UMV_cap_eu_per_tick)
+ + EnumChatFormatting.GRAY
+ + "EU/t of wireless transfer per "
+ + GT_Values.TIER_COLORS[12]
+ + GT_Values.VN[12]
+ + EnumChatFormatting.GRAY
+ + " capacitor.");
+ break;
}
}
}