Better tooltips

This commit is contained in:
aidancbrady committed 2016-07-06 17:53:14 -04:00
1 parent 42f27058c2
commit 52daff9f67
5 files changed
+18 -5

No files matched your search

@@ -122,11 +122,13 @@ public class ItemBlockGasTank extends ItemBlock implements IGasItem, ISustainedI
if(gasStack == null)
{
list.add(LangUtils.localize("tooltip.noGas") + ".");
list.add(EnumColor.DARK_RED + LangUtils.localize("gui.empty") + ".");
}
else {
list.add(LangUtils.localize("tooltip.stored") + " " + gasStack.getGas().getLocalizedName() + ": " + gasStack.amount);
list.add(EnumColor.ORANGE + gasStack.getGas().getLocalizedName() + ": " + EnumColor.GREY + gasStack.amount);
}
list.add(EnumColor.INDIGO + LangUtils.localize("tooltip.capacity") + ": " + EnumColor.GREY + GasTankTier.values()[getBaseTier(itemstack).ordinal()].storage);
if(!MekKeyHandler.getIsKeyPressed(MekanismKeyHandler.sneakKey))
{