aboutsummaryrefslogtreecommitdiff
path: root/src/Java
diff options
context:
space:
mode:
authorAlkalus <draknyte1@hotmail.com>2017-08-06 23:03:25 +0000
committerAlkalus <draknyte1@hotmail.com>2017-08-06 23:03:25 +0000
commit93c9ee3450e17bba9c667c9251fe699d503d8101 (patch)
treec486c1217cacc75006ac07cd1e5a63cad3edaab4 /src/Java
parent6287c02d9d0114595424ffa585a55d5b133451ad (diff)
downloadGT5-Unofficial-93c9ee3450e17bba9c667c9251fe699d503d8101.tar.gz
GT5-Unofficial-93c9ee3450e17bba9c667c9251fe699d503d8101.tar.bz2
GT5-Unofficial-93c9ee3450e17bba9c667c9251fe699d503d8101.zip
% Changed RTG handling of Days/Hours remaining.
- Removed some logging.
Diffstat (limited to 'src/Java')
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/generators/GregtechMetaTileEntity_RTG.java9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/generators/GregtechMetaTileEntity_RTG.java b/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/generators/GregtechMetaTileEntity_RTG.java
index 51569953e4..8897251334 100644
--- a/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/generators/GregtechMetaTileEntity_RTG.java
+++ b/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/generators/GregtechMetaTileEntity_RTG.java
@@ -105,7 +105,6 @@ public class GregtechMetaTileEntity_RTG extends GT_MetaTileEntity_BasicGenerator
if ((aBaseMetaTileEntity.isServerSide()) && (aBaseMetaTileEntity.isAllowedToWork()) && (aTick % 10L == 0L)) {
long tProducedEU = 0L;
- //Utils.LOG_INFO("Output Voltage:"+this.getOutputTier()+"eu/t");
if (this.mFluid == null) {
if (aBaseMetaTileEntity.getUniversalEnergyStored() < maxEUOutput() + getMinimumStoredEU()) {
this.mInventory[getStackDisplaySlot()] = null;
@@ -155,7 +154,7 @@ public class GregtechMetaTileEntity_RTG extends GT_MetaTileEntity_BasicGenerator
@Override
public String[] getDescription() {
return new String[]{this.mDescription,
- "Fuel is measured in minecraft days",
+ "Fuel is measured in minecraft days (Check with Scanner)",
"RTG changes output voltage depending on fuel",
"Generates power at " + this.getEfficiency() + "% Efficiency per tick",
"Output Voltage: "+this.getOutputTier()+" EU/t",
@@ -329,11 +328,9 @@ public class GregtechMetaTileEntity_RTG extends GT_MetaTileEntity_BasicGenerator
@Override
public long getOutputTier() {
- //Utils.LOG_INFO(""+this.mVoltage + " | " + (this.mCurrentRecipe == null));
if (this.mCurrentRecipe != null){
return this.mVoltage = this.mCurrentRecipe.mEUt;
}
- //Utils.LOG_INFO("x");
return 0;
}
@@ -345,8 +342,8 @@ public class GregtechMetaTileEntity_RTG extends GT_MetaTileEntity_BasicGenerator
@Override
public String[] getInfoData() {
return new String[] { "RTG", "Active:"+this.getBaseMetaTileEntity().isActive(), "Current Output: " + this.mVoltage + " EU/t",
- "Days of Fuel remaining: "+this.mDaysRemaining*365,
- "Hours of Fuel remaining: "+(this.mDaysRemaining*365/3f),
+ "Days of Fuel remaining: "+(mTicksToBurnFor/20/60/20)),
+ "Hours of Fuel remaining: "+(mTicksToBurnFor/20/60/60),
"Current Recipe input: "+ this.mCurrentRecipe != null ? this.mCurrentRecipe.mInputs[0].getDisplayName() + " x1" : "NUll"
};
}