forked from MagicBane/Server
mine production added to type
This commit is contained in:
+26
-24
@@ -2663,40 +2663,42 @@ public class Enum {
|
||||
|
||||
public enum ResourceType implements EnumBitSetHelper<ResourceType> {
|
||||
|
||||
GOLD(7, 2308551, 100000000),
|
||||
ADAMANT(1580003, -1741189964, 1000),
|
||||
AGATE(1580009, 75173057, 2000),
|
||||
ANTIMONY(1580014, 452320058, 1000),
|
||||
AZOTH(1580012, 78329697, 2000),
|
||||
BLOODSTONE(1580020, -1569826353, 500),
|
||||
BRONZEWOOD(1580006, 1334770447, 500),
|
||||
COAL(1580008, 2559427, 3000),
|
||||
DIAMOND(1580010, -1730704107, 2000),
|
||||
GALVOR(1580017, -1596311545, 2000),
|
||||
IRON(1580002, 2504297, 2000),
|
||||
LUMBER(1580004, -1603256692, 10000),
|
||||
MANDRAKE(1580007, 1191391799, 1000),
|
||||
MITHRIL(1580021, -1761257186, 500),
|
||||
OAK(1580005, 74767, 3000),
|
||||
OBSIDIAN(1580019, -697973233, 500),
|
||||
ONYX(1580011, 2977263, 1000),
|
||||
ORICHALK(1580013, -2036290524, 3000),
|
||||
QUICKSILVER(1580016, -472884509, 1000),
|
||||
STONE(1580000, 74856115, 10000),
|
||||
SULFUR(1580015, -1586349421, 1000),
|
||||
TRUESTEEL(1580001, -317484979, 2000),
|
||||
WORMWOOD(1580018, 1532478436, 500);
|
||||
GOLD(7, 2308551, 100000000, 10),
|
||||
ADAMANT(1580003, -1741189964, 1000, 10),
|
||||
AGATE(1580009, 75173057, 2000, 10),
|
||||
ANTIMONY(1580014, 452320058, 1000, 10),
|
||||
AZOTH(1580012, 78329697, 2000, 10),
|
||||
BLOODSTONE(1580020, -1569826353, 500, 10),
|
||||
BRONZEWOOD(1580006, 1334770447, 500, 10),
|
||||
COAL(1580008, 2559427, 3000, 10),
|
||||
DIAMOND(1580010, -1730704107, 2000, 10),
|
||||
GALVOR(1580017, -1596311545, 2000, 10),
|
||||
IRON(1580002, 2504297, 2000, 10),
|
||||
LUMBER(1580004, -1603256692, 10000, 10),
|
||||
MANDRAKE(1580007, 1191391799, 1000, 10),
|
||||
MITHRIL(1580021, -1761257186, 500, 10),
|
||||
OAK(1580005, 74767, 3000, 10),
|
||||
OBSIDIAN(1580019, -697973233, 500, 10),
|
||||
ONYX(1580011, 2977263, 1000, 10),
|
||||
ORICHALK(1580013, -2036290524, 3000, 10),
|
||||
QUICKSILVER(1580016, -472884509, 1000, 10),
|
||||
STONE(1580000, 74856115, 10000, 10),
|
||||
SULFUR(1580015, -1586349421, 1000, 10),
|
||||
TRUESTEEL(1580001, -317484979, 2000, 10),
|
||||
WORMWOOD(1580018, 1532478436, 500, 10);
|
||||
|
||||
public static HashMap<Integer, ResourceType> resourceLookup = new HashMap<>();
|
||||
public static HashMap<Integer, ResourceType> hashLookup = new HashMap<>();
|
||||
public int templateID;
|
||||
public int hash;
|
||||
public int deposit_limit;
|
||||
public int mine_production;
|
||||
|
||||
ResourceType(int templateID, int hash, int deposit_limit) {
|
||||
ResourceType(int templateID, int hash, int deposit_limit, int mine_production) {
|
||||
this.templateID = templateID;
|
||||
this.hash = hash;
|
||||
this.deposit_limit = deposit_limit;
|
||||
this.mine_production = mine_production;
|
||||
}
|
||||
|
||||
public static void InitializeResourceTypes() {
|
||||
|
||||
Reference in New Issue
Block a user