aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorTechnus <daniel112092@gmail.com>2017-08-14 14:45:14 +0200
committerTechnus <daniel112092@gmail.com>2017-08-14 14:45:40 +0200
commit996907e8f0feb1e97f3556a84bb9feb53c9eb3ab (patch)
treed83e8a4f24ba4a4175bb69f63bcf5f31af61c7b9 /src/main
parent313ee2e2fcddba2e2147bbd88d669a59dc95da56 (diff)
downloadGT5-Unofficial-996907e8f0feb1e97f3556a84bb9feb53c9eb3ab.tar.gz
GT5-Unofficial-996907e8f0feb1e97f3556a84bb9feb53c9eb3ab.tar.bz2
GT5-Unofficial-996907e8f0feb1e97f3556a84bb9feb53c9eb3ab.zip
Tweak NEI some more
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) {