Merge pull request #1289 from Dimach/diesel
Added large diesel repair status to NC info panel.
This commit is contained in:
commit
c7edbf14ea
1 changed files with 9 additions and 8 deletions
|
@ -31,7 +31,7 @@ public class GT_MetaTileEntity_DieselEngine extends GT_MetaTileEntity_MultiBlock
|
||||||
public GT_MetaTileEntity_DieselEngine(int aID, String aName, String aNameRegional) {
|
public GT_MetaTileEntity_DieselEngine(int aID, String aName, String aNameRegional) {
|
||||||
super(aID, aName, aNameRegional);
|
super(aID, aName, aNameRegional);
|
||||||
}
|
}
|
||||||
|
|
||||||
public GT_MetaTileEntity_DieselEngine(String aName) {
|
public GT_MetaTileEntity_DieselEngine(String aName) {
|
||||||
super(aName);
|
super(aName);
|
||||||
}
|
}
|
||||||
|
@ -222,7 +222,7 @@ public class GT_MetaTileEntity_DieselEngine extends GT_MetaTileEntity_MultiBlock
|
||||||
public int getPollutionPerTick(ItemStack aStack) {
|
public int getPollutionPerTick(ItemStack aStack) {
|
||||||
return 16;
|
return 16;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean explodesOnComponentBreak(ItemStack aStack) {
|
public boolean explodesOnComponentBreak(ItemStack aStack) {
|
||||||
return true;
|
return true;
|
||||||
|
@ -231,12 +231,13 @@ public class GT_MetaTileEntity_DieselEngine extends GT_MetaTileEntity_MultiBlock
|
||||||
@Override
|
@Override
|
||||||
public String[] getInfoData() {
|
public String[] getInfoData() {
|
||||||
return new String[]{
|
return new String[]{
|
||||||
"Diesel Engine",
|
"Diesel Engine",
|
||||||
"Current Output: "+mEUt*mEfficiency/10000 +" EU/t",
|
"Current Output: " + mEUt * mEfficiency / 10000 + " EU/t",
|
||||||
"Fuel Consumption: "+fuelConsumption+"L/t",
|
"Fuel Consumption: " + fuelConsumption + "L/t",
|
||||||
"Fuel Value: "+fuelValue+" EU/L",
|
"Fuel Value: " + fuelValue + " EU/L",
|
||||||
"Fuel Remaining: "+fuelRemaining+" Litres",
|
"Fuel Remaining: " + fuelRemaining + " Litres",
|
||||||
"Current Efficiency: "+(mEfficiency/100)+"%"};
|
"Current Efficiency: " + (mEfficiency / 100) + "%",
|
||||||
|
getIdealStatus() == getRepairStatus() ? "No Maintainance issues" : "Needs Maintainance"};
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue