Merge pull request #1289 from Dimach/diesel

Added large diesel repair status to NC info panel.
This commit is contained in:
Alkalus 2017-11-24 11:21:35 +10:00 committed by GitHub
commit c7edbf14ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -232,11 +232,12 @@ public class GT_MetaTileEntity_DieselEngine extends GT_MetaTileEntity_MultiBlock
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