mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-22 04:52:25 +00:00
Started work on the new upgrade system, as well as the new GUI
This commit is contained in:
1 parent
0416e2e904
commit
d16483f4b1
21 files changed
+259
-108
No files matched your search
@@ -0,0 +1,26 @@
|
||||
package mekanism.common;
|
||||
|
||||
import mekanism.common.util.MekanismUtils;
|
||||
|
||||
public enum Upgrade
|
||||
{
|
||||
SPEED("speed"),
|
||||
ENERGY("energy");
|
||||
|
||||
private String name;
|
||||
|
||||
private Upgrade(String s)
|
||||
{
|
||||
name = s;
|
||||
}
|
||||
|
||||
public String getName()
|
||||
{
|
||||
return MekanismUtils.localize("upgrade." + name);
|
||||
}
|
||||
|
||||
public String getDescription()
|
||||
{
|
||||
return MekanismUtils.localize("upgrade." + name + ".desc");
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user