aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/com/github/technus/tectech/nei/TT_NEI_ResearchHandler.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/com/github/technus/tectech/nei/TT_NEI_ResearchHandler.java b/src/main/java/com/github/technus/tectech/nei/TT_NEI_ResearchHandler.java
index f541e47023..54035707ca 100644
--- a/src/main/java/com/github/technus/tectech/nei/TT_NEI_ResearchHandler.java
+++ b/src/main/java/com/github/technus/tectech/nei/TT_NEI_ResearchHandler.java
@@ -209,7 +209,7 @@ public class TT_NEI_ResearchHandler extends TemplateRecipeHandler {
int tSpecial = ((CachedDefaultRecipe) this.arecipes.get(aRecipeIndex)).mRecipe.mSpecialValue;
short ampere=(short) (tSpecial & 0xFFFF),minComputationPerSec=(short)(tSpecial>>>16);
if (tEUt != 0) {
- //drawText(10, 73, trans("152","Total: ") + computation * tEUt + " EU", -16777216);
+ drawText(10, 73, trans("152","Max Total: ") + ((1+((computation-minComputationPerSec)/minComputationPerSec)) * (long)tEUt * ampere * 20) + " EU", -16777216);
drawText(10, 83, trans("153","Usage: ") + ((long)tEUt*ampere) + " EU/t", -16777216);
if (this.mRecipeMap.mShowVoltageAmperageInNEI) {
drawText(10, 93, trans("154","Voltage: ") + tEUt + " EU", -16777216);
@@ -220,7 +220,7 @@ public class TT_NEI_ResearchHandler extends TemplateRecipeHandler {
}
}
drawText(10, 113, "Computation: "+computation, -16777216);
- drawText(10, 123, "Computation: "+minComputationPerSec + " /s", -16777216);
+ drawText(10, 123, "Min Computation: "+minComputationPerSec + " /s", -16777216);
} else {
int i = 0;
for (String descLine : recipeDesc) {