Even more configs !!
This commit is contained in:
parent
7d48b81baf
commit
b51a1d498c
7 changed files with 47 additions and 5 deletions
|
@ -26,11 +26,20 @@ public class ConfigTechReborn {
|
||||||
|
|
||||||
//Power
|
//Power
|
||||||
public static int ThermalGenertaorOutput;
|
public static int ThermalGenertaorOutput;
|
||||||
|
//Charge
|
||||||
public static int AdvancedDrillCharge;
|
public static int AdvancedDrillCharge;
|
||||||
public static int LapotronPackCharge;
|
public static int LapotronPackCharge;
|
||||||
public static int LithiumBatpackCharge;
|
public static int LithiumBatpackCharge;
|
||||||
public static int OmniToolCharge;
|
public static int OmniToolCharge;
|
||||||
public static int RockCutterCharge;
|
public static int RockCutterCharge;
|
||||||
|
public static int GravityCharge;
|
||||||
|
//Teir
|
||||||
|
public static int AdvancedDrillTier;
|
||||||
|
public static int LapotronPackTier;
|
||||||
|
public static int LithiumBatpackTier;
|
||||||
|
public static int OmniToolTier;
|
||||||
|
public static int RockCutterTier;
|
||||||
|
public static int GravityTier;
|
||||||
|
|
||||||
//Crafting
|
//Crafting
|
||||||
public static boolean ExpensiveMacerator;
|
public static boolean ExpensiveMacerator;
|
||||||
|
@ -133,6 +142,7 @@ public class ConfigTechReborn {
|
||||||
"Thermal Generator Power", 30,
|
"Thermal Generator Power", 30,
|
||||||
"The amount of power that the thermal generator makes for 1mb of lava")
|
"The amount of power that the thermal generator makes for 1mb of lava")
|
||||||
.getInt();
|
.getInt();
|
||||||
|
//Charge
|
||||||
AdvancedDrillCharge = config.get(CATEGORY_POWER,
|
AdvancedDrillCharge = config.get(CATEGORY_POWER,
|
||||||
"Advanced drill max charge", 60000,
|
"Advanced drill max charge", 60000,
|
||||||
"The amount of power that the anvanced drill can hold")
|
"The amount of power that the anvanced drill can hold")
|
||||||
|
@ -153,6 +163,36 @@ public class ConfigTechReborn {
|
||||||
"RockCutter max charge", 10000,
|
"RockCutter max charge", 10000,
|
||||||
"The amount of power that the RockCutter can hold")
|
"The amount of power that the RockCutter can hold")
|
||||||
.getInt();
|
.getInt();
|
||||||
|
GravityCharge = config.get(CATEGORY_POWER,
|
||||||
|
"Gravity Chestplate max charge", 100000,
|
||||||
|
"The amount of power that the Gravity Chestplate can hold")
|
||||||
|
.getInt();
|
||||||
|
//Teir
|
||||||
|
AdvancedDrillTier = config.get(CATEGORY_POWER,
|
||||||
|
"Advanced drill Tier", 2,
|
||||||
|
"The tier of the Advanced Drill")
|
||||||
|
.getInt();
|
||||||
|
LapotronPackTier = config.get(CATEGORY_POWER,
|
||||||
|
"Lapotron pack tier", 2,
|
||||||
|
"The tier of the Lapotron Pack")
|
||||||
|
.getInt();
|
||||||
|
LithiumBatpackTier = config.get(CATEGORY_POWER,
|
||||||
|
"Lithium Batpack tier", 3,
|
||||||
|
"The tier of the Lithium Batpack")
|
||||||
|
.getInt();
|
||||||
|
OmniToolTier = config.get(CATEGORY_POWER,
|
||||||
|
"Omni Tool tier", 3,
|
||||||
|
"The tier of the OmniTool")
|
||||||
|
.getInt();
|
||||||
|
RockCutterTier = config.get(CATEGORY_POWER,
|
||||||
|
"Rock Cutter tier", 3,
|
||||||
|
"The tier of the RockCutter")
|
||||||
|
.getInt();
|
||||||
|
GravityTier = config.get(CATEGORY_POWER,
|
||||||
|
"GravityChestplate tier", 3,
|
||||||
|
"The tier of the GravityChestplate")
|
||||||
|
.getInt();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//Crafting
|
//Crafting
|
||||||
|
|
|
@ -18,12 +18,13 @@ import net.minecraft.util.DamageSource;
|
||||||
import net.minecraft.world.World;
|
import net.minecraft.world.World;
|
||||||
import net.minecraftforge.common.ISpecialArmor;
|
import net.minecraftforge.common.ISpecialArmor;
|
||||||
import techreborn.client.TechRebornCreativeTab;
|
import techreborn.client.TechRebornCreativeTab;
|
||||||
|
import techreborn.config.ConfigTechReborn;
|
||||||
import cpw.mods.fml.relauncher.Side;
|
import cpw.mods.fml.relauncher.Side;
|
||||||
import cpw.mods.fml.relauncher.SideOnly;
|
import cpw.mods.fml.relauncher.SideOnly;
|
||||||
|
|
||||||
public class ItemGravityChest extends ItemArmor implements IElectricItem, ISpecialArmor{
|
public class ItemGravityChest extends ItemArmor implements IElectricItem, ISpecialArmor{
|
||||||
|
|
||||||
public int maxCharge = 100000;
|
public static int maxCharge = ConfigTechReborn.GravityCharge;
|
||||||
public int tier = 3;
|
public int tier = 3;
|
||||||
public int cost = 100;
|
public int cost = 100;
|
||||||
public double transferLimit = 1000;
|
public double transferLimit = 1000;
|
||||||
|
|
|
@ -18,7 +18,7 @@ import net.minecraft.item.ItemStack;
|
||||||
public class ItemLapotronPack extends ItemArmor implements IElectricItem{
|
public class ItemLapotronPack extends ItemArmor implements IElectricItem{
|
||||||
|
|
||||||
public static final int maxCharge = ConfigTechReborn.LapotronPackCharge;
|
public static final int maxCharge = ConfigTechReborn.LapotronPackCharge;
|
||||||
public int tier = 3;
|
public static final int tier = ConfigTechReborn.LapotronPackTier;
|
||||||
public double transferLimit = 100000;
|
public double transferLimit = 100000;
|
||||||
|
|
||||||
public ItemLapotronPack(ArmorMaterial armormaterial, int par2, int par3)
|
public ItemLapotronPack(ArmorMaterial armormaterial, int par2, int par3)
|
||||||
|
|
|
@ -18,7 +18,7 @@ import cpw.mods.fml.relauncher.SideOnly;
|
||||||
public class ItemLithiumBatpack extends ItemArmor implements IElectricItem{
|
public class ItemLithiumBatpack extends ItemArmor implements IElectricItem{
|
||||||
|
|
||||||
public static final int maxCharge = ConfigTechReborn.LithiumBatpackCharge;
|
public static final int maxCharge = ConfigTechReborn.LithiumBatpackCharge;
|
||||||
public int tier = 3;
|
public static final int tier = ConfigTechReborn.LithiumBatpackTier;
|
||||||
public double transferLimit = 10000;
|
public double transferLimit = 10000;
|
||||||
|
|
||||||
public ItemLithiumBatpack(ArmorMaterial armorMaterial, int par3, int par4)
|
public ItemLithiumBatpack(ArmorMaterial armorMaterial, int par3, int par4)
|
||||||
|
|
|
@ -28,7 +28,7 @@ public class ItemAdvancedDrill extends ItemPickaxe implements IElectricItem{
|
||||||
|
|
||||||
public static final int maxCharge = ConfigTechReborn.AdvancedDrillCharge;
|
public static final int maxCharge = ConfigTechReborn.AdvancedDrillCharge;
|
||||||
public int cost = 250;;
|
public int cost = 250;;
|
||||||
public int tier = 2;
|
public static final int tier = ConfigTechReborn.AdvancedDrillTier;
|
||||||
public double transferLimit = 100;
|
public double transferLimit = 100;
|
||||||
|
|
||||||
public ItemAdvancedDrill()
|
public ItemAdvancedDrill()
|
||||||
|
|
|
@ -26,6 +26,7 @@ import net.minecraftforge.event.ForgeEventFactory;
|
||||||
public class ItemOmniTool extends ItemPickaxe implements IElectricItem{
|
public class ItemOmniTool extends ItemPickaxe implements IElectricItem{
|
||||||
|
|
||||||
public static final int maxCharge = ConfigTechReborn.OmniToolCharge;
|
public static final int maxCharge = ConfigTechReborn.OmniToolCharge;
|
||||||
|
public static final int tier = ConfigTechReborn.OmniToolTier;
|
||||||
public int cost = 100;
|
public int cost = 100;
|
||||||
public int hitCost = 125;
|
public int hitCost = 125;
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@ public class ItemRockCutter extends ItemPickaxe implements IElectricItem{
|
||||||
|
|
||||||
public static final int maxCharge = ConfigTechReborn.RockCutterCharge;
|
public static final int maxCharge = ConfigTechReborn.RockCutterCharge;
|
||||||
public int cost = 500;
|
public int cost = 500;
|
||||||
public int tier = 2;
|
public static final int tier = ConfigTechReborn.RockCutterTier;
|
||||||
|
|
||||||
public ItemRockCutter(ToolMaterial toolMaterial)
|
public ItemRockCutter(ToolMaterial toolMaterial)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue