Fix drill tier and charge configs and add chainsaws
This commit is contained in:
parent
ec054e09f6
commit
4efb322ccd
5 changed files with 63 additions and 7 deletions
|
@ -93,7 +93,12 @@ public class ConfigTechReborn {
|
|||
public static int aesuMaxOutput;
|
||||
public static int aesuMaxStorage;
|
||||
// Charge
|
||||
public static int IronDrillCharge;
|
||||
public static int DiamondDrillCharge;
|
||||
public static int AdvancedDrillCharge;
|
||||
public static int IronChainsawCharge;
|
||||
public static int DiamondChainsawCharge;
|
||||
public static int AdvancedChainsawCharge;
|
||||
public static int LapotronPackCharge;
|
||||
public static int LithiumBatpackCharge;
|
||||
public static int LapotronicOrbMaxCharge;
|
||||
|
@ -103,7 +108,12 @@ public class ConfigTechReborn {
|
|||
public static int CentrifugeCharge;
|
||||
public static int ThermalGeneratorCharge;
|
||||
// Tier
|
||||
public static int IronDrillTier;
|
||||
public static int DiamondDrillTier;
|
||||
public static int AdvancedDrillTier;
|
||||
public static int IronChainsawTier;
|
||||
public static int DiamondChainsawTier;
|
||||
public static int AdvancedChainsawTier;
|
||||
public static int LapotronPackTier;
|
||||
public static int LapotronicOrbTier;
|
||||
public static int LithiumBatpackTier;
|
||||
|
@ -374,8 +384,28 @@ public class ConfigTechReborn {
|
|||
|
||||
|
||||
// Charge
|
||||
IronDrillCharge = config
|
||||
.get(CATEGORY_POWER, "IronDrill MaxCharge", 10000, "Set the max charge for the iron drill")
|
||||
.getInt();
|
||||
|
||||
DiamondDrillCharge = config
|
||||
.get(CATEGORY_POWER, "DiamondDrill MaxCharge", 100000, "Set the max charge for the diamond drill")
|
||||
.getInt();
|
||||
|
||||
AdvancedDrillCharge = config
|
||||
.get(CATEGORY_POWER, "AdvancedDrill MaxCharge", 60000, "Set the max charge for the advanced drill")
|
||||
.get(CATEGORY_POWER, "AdvancedDrill MaxCharge", 1000000, "Set the max charge for the advanced drill")
|
||||
.getInt();
|
||||
|
||||
IronChainsawCharge = config
|
||||
.get(CATEGORY_POWER, "IronChainsaw MaxCharge", 10000, "Set the max charge for the iron chainsaw")
|
||||
.getInt();
|
||||
|
||||
DiamondChainsawCharge = config
|
||||
.get(CATEGORY_POWER, "DiamondChainsaw MaxCharge", 100000, "Set the max charge for the diamond chainsaw")
|
||||
.getInt();
|
||||
|
||||
AdvancedChainsawCharge = config
|
||||
.get(CATEGORY_POWER, "AdvancedChainsaw MaxCharge", 1000000, "Set the max charge for the advanced chainsaw")
|
||||
.getInt();
|
||||
|
||||
LapotronPackCharge = config
|
||||
|
@ -419,10 +449,25 @@ public class ConfigTechReborn {
|
|||
|
||||
farmEu = config.get(CATEGORY_POWER, "farmeu", 32, "").getInt();
|
||||
|
||||
// Teir
|
||||
// Tier
|
||||
IronDrillTier = config.get(CATEGORY_POWER, "IronDrill Tier", 2, "Set the Tier of the iron drill")
|
||||
.getInt();
|
||||
|
||||
DiamondDrillTier = config.get(CATEGORY_POWER, "DiamondDrill Tier", 2, "Set the Tier of the diamond drill")
|
||||
.getInt();
|
||||
|
||||
AdvancedDrillTier = config.get(CATEGORY_POWER, "AdvancedDrill Tier", 2, "Set the Tier of the advanced drill")
|
||||
.getInt();
|
||||
|
||||
IronChainsawTier = config.get(CATEGORY_POWER, "IronChainsaw Tier", 2, "Set the Tier of the iron chainsaw")
|
||||
.getInt();
|
||||
|
||||
DiamondChainsawTier = config.get(CATEGORY_POWER, "DiamondChainsaw Tier", 2, "Set the Tier of the diamond chainsaw")
|
||||
.getInt();
|
||||
|
||||
AdvancedChainsawTier = config.get(CATEGORY_POWER, "AdvancedChainsaw Tier", 2, "Set the Tier of the advanced chainsaw")
|
||||
.getInt();
|
||||
|
||||
LapotronPackTier = config.get(CATEGORY_POWER, "LapotronPack Tier", 2, "Set the Tier of the LapotronPack")
|
||||
.getInt();
|
||||
|
||||
|
|
|
@ -76,6 +76,9 @@ public class ModItems {
|
|||
public static Item ironDrill;
|
||||
public static Item diamondDrill;
|
||||
public static Item advancedDrill;
|
||||
public static Item ironChainsaw;
|
||||
public static Item diamondChainsaw;
|
||||
public static Item advancedChainsaw;
|
||||
public static Item hammer;
|
||||
|
||||
public static Item upgrades;
|
||||
|
@ -137,6 +140,14 @@ public class ModItems {
|
|||
GameRegistry.registerItem(diamondDrill, "diamonddrill");
|
||||
advancedDrill = PoweredItem.createItem(ItemAdvancedDrill.class);
|
||||
GameRegistry.registerItem(advancedDrill, "advanceddrill");
|
||||
|
||||
ironChainsaw = PoweredItem.createItem(ItemChainsaw.class);
|
||||
GameRegistry.registerItem(ironChainsaw, "ironchainsaw");
|
||||
diamondChainsaw = PoweredItem.createItem(ItemDiamondChainsaw.class);
|
||||
GameRegistry.registerItem(diamondChainsaw, "diamondchainsaw");
|
||||
advancedChainsaw = PoweredItem.createItem(ItemAdvancedChainsaw.class);
|
||||
GameRegistry.registerItem(advancedChainsaw, "advancedchainsaw");
|
||||
|
||||
hammer = new ItemHammer(100);
|
||||
GameRegistry.registerItem(hammer, "hammer");
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ import java.util.List;
|
|||
|
||||
public class ItemAdvancedDrill extends ItemPickaxe implements IEnergyItemInfo, ITexturedItem {
|
||||
|
||||
public int maxCharge = 1000000;
|
||||
public int maxCharge = ConfigTechReborn.AdvancedDrillCharge;
|
||||
public int cost = 250;
|
||||
public static final int tier = ConfigTechReborn.AdvancedDrillTier;
|
||||
public double transferLimit = 100;
|
||||
|
|
|
@ -26,9 +26,9 @@ import java.util.List;
|
|||
|
||||
public class ItemDiamondDrill extends ItemPickaxe implements IEnergyItemInfo, ITexturedItem {
|
||||
|
||||
public int maxCharge = 100000;
|
||||
public int maxCharge = ConfigTechReborn.DiamondDrillCharge;
|
||||
public int cost = 250;
|
||||
public static final int tier = ConfigTechReborn.AdvancedDrillTier;
|
||||
public static final int tier = ConfigTechReborn.DiamondDrillTier;
|
||||
public double transferLimit = 100;
|
||||
|
||||
public ItemDiamondDrill() {
|
||||
|
|
|
@ -26,9 +26,9 @@ import java.util.List;
|
|||
|
||||
public class ItemDrill extends ItemPickaxe implements IEnergyItemInfo, ITexturedItem {
|
||||
|
||||
public int maxCharge = 10000;
|
||||
public int maxCharge = ConfigTechReborn.IronDrillCharge;
|
||||
public int cost = 250;
|
||||
public static final int tier = ConfigTechReborn.AdvancedDrillTier;
|
||||
public static final int tier = ConfigTechReborn.IronDrillTier;
|
||||
public double transferLimit = 100;
|
||||
|
||||
public ItemDrill() {
|
||||
|
|
Loading…
Add table
Reference in a new issue