Gas Upgrades.

This commit is contained in:
Ben Spiers committed 2015-03-21 19:13:04 +00:00
1 parent 0658e04880
commit 2e8edb281c
8 files changed
+46 -13

No files matched your search

+4 -2
View File
@@ -19,12 +19,12 @@ public enum Upgrade
{
SPEED("speed", 8, EnumColor.RED),
ENERGY("energy", 8, EnumColor.BRIGHT_GREEN),
FILTER("filter", 1, EnumColor.DARK_AQUA);
FILTER("filter", 1, EnumColor.DARK_AQUA),
GAS("gas", 8, EnumColor.YELLOW);
private String name;
private int maxStack;
private EnumColor color;
private boolean canMultiply;
private Upgrade(String s, int max, EnumColor c)
{
@@ -68,6 +68,8 @@ public enum Upgrade
return new ItemStack(MekanismItems.EnergyUpgrade);
case FILTER:
return new ItemStack(MekanismItems.FilterUpgrade);
case GAS:
return new ItemStack(MekanismItems.GasUpgrade);
}
return null;