Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added large diesel repair status to NC info panel. #1289

Merged
merged 1 commit into from
Nov 24, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class GT_MetaTileEntity_DieselEngine extends GT_MetaTileEntity_MultiBlock
public GT_MetaTileEntity_DieselEngine(int aID, String aName, String aNameRegional) {
super(aID, aName, aNameRegional);
}

public GT_MetaTileEntity_DieselEngine(String aName) {
super(aName);
}
Expand Down Expand Up @@ -222,7 +222,7 @@ public int getMaxEfficiency(ItemStack aStack) {
public int getPollutionPerTick(ItemStack aStack) {
return 16;
}

@Override
public boolean explodesOnComponentBreak(ItemStack aStack) {
return true;
Expand All @@ -231,12 +231,13 @@ public boolean explodesOnComponentBreak(ItemStack aStack) {
@Override
public String[] getInfoData() {
return new String[]{
"Diesel Engine",
"Current Output: "+mEUt*mEfficiency/10000 +" EU/t",
"Fuel Consumption: "+fuelConsumption+"L/t",
"Fuel Value: "+fuelValue+" EU/L",
"Fuel Remaining: "+fuelRemaining+" Litres",
"Current Efficiency: "+(mEfficiency/100)+"%"};
"Diesel Engine",
"Current Output: " + mEUt * mEfficiency / 10000 + " EU/t",
"Fuel Consumption: " + fuelConsumption + "L/t",
"Fuel Value: " + fuelValue + " EU/L",
"Fuel Remaining: " + fuelRemaining + " Litres",
"Current Efficiency: " + (mEfficiency / 100) + "%",
getIdealStatus() == getRepairStatus() ? "No Maintainance issues" : "Needs Maintainance"};
}

@Override
Expand Down