Added UI elements for #962, making electrolytic separators dump excess gas

This commit is contained in:
spookydonut (Ash Wiren) 2014-02-04 17:07:37 +08:00
parent 6400dfe3bb
commit a15d964a8a
2 changed files with 6 additions and 0 deletions

View file

@ -86,6 +86,9 @@ public class GuiElectrolyticSeparator extends GuiMekanism
name = tileEntity.dumpRight ? "Dumping..." : tileEntity.rightTank.getGas() == null ? MekanismUtils.localize("gui.none") : tileEntity.rightTank.getGas().getGas().getLocalizedName();
fontRenderer.drawString(name, 156-fontRenderer.getStringWidth(name), 73, 0x404040);
name = tileEntity.dumpExcess ? "Dumping Excess" : "Stop when full";
fontRenderer.drawString(name, 97, 6, 0x404040);
if(xAxis >= 6 && xAxis <= 22 && yAxis >= 11 && yAxis <= 69)
{
@ -123,6 +126,9 @@ public class GuiElectrolyticSeparator extends GuiMekanism
int rightDisplay = tileEntity.dumpRight ? 60 : 52;
drawTexturedModalRect(guiWidth + 160, guiHeight + 73, 176, rightDisplay, 8, 8);
int dumpDisplay = tileEntity.dumpExcess ? 60 : 52;
drawTexturedModalRect(guiWidth + 84, guiHeight + 6, 176, dumpDisplay, 8, 8);
int displayInt;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 4.7 KiB