More Configs!!!!!

This commit is contained in:
Gig 2015-04-13 19:50:35 +01:00
parent dbb6a9edf2
commit 6dec53208e
6 changed files with 36 additions and 6 deletions

View file

@ -26,6 +26,11 @@ public class ConfigTechReborn {
//Power
public static int ThermalGenertaorOutput;
public static int AdvancedDrillCharge;
public static int LapotronPackCharge;
public static int LithiumBatpackCharge;
public static int OmniToolCharge;
public static int RockCutterCharge;
//Crafting
public static boolean ExpensiveMacerator;
@ -128,6 +133,26 @@ public class ConfigTechReborn {
"Thermal Generator Power", 30,
"The amount of power that the thermal generator makes for 1mb of lava")
.getInt();
AdvancedDrillCharge = config.get(CATEGORY_POWER,
"Advanced drill max charge", 60000,
"The amount of power that the anvanced drill can hold")
.getInt();
LapotronPackCharge = config.get(CATEGORY_POWER,
"Lapotron Pack max charge", 100000000,
"The amount of power that the Lapotron Pack can hold")
.getInt();
LithiumBatpackCharge = config.get(CATEGORY_POWER,
"Lithium Batpack max charge", 4000000,
"The amount of power that the Lithium Batpack can hold")
.getInt();
OmniToolCharge = config.get(CATEGORY_POWER,
"OmniTool max charge", 20000,
"The amount of power that the OmniTool can hold")
.getInt();
RockCutterCharge = config.get(CATEGORY_POWER,
"RockCutter max charge", 10000,
"The amount of power that the RockCutter can hold")
.getInt();
//Crafting

View file

@ -19,13 +19,14 @@ import net.minecraft.item.ItemStack;
import net.minecraft.world.World;
import net.minecraftforge.event.ForgeEventFactory;
import techreborn.client.TechRebornCreativeTab;
import techreborn.config.ConfigTechReborn;
import techreborn.util.TorchHelper;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
public class ItemAdvancedDrill extends ItemPickaxe implements IElectricItem{
public int maxCharge = 60000;
public static final int maxCharge = ConfigTechReborn.AdvancedDrillCharge;
public int cost = 250;;
public int tier = 2;
public double transferLimit = 100;

View file

@ -7,6 +7,7 @@ import cpw.mods.fml.relauncher.SideOnly;
import ic2.api.item.ElectricItem;
import ic2.api.item.IElectricItem;
import techreborn.client.TechRebornCreativeTab;
import techreborn.config.ConfigTechReborn;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.entity.Entity;
@ -16,7 +17,7 @@ import net.minecraft.item.ItemStack;
public class ItemLapotronPack extends ItemArmor implements IElectricItem{
public int maxCharge = 100000000;
public static final int maxCharge = ConfigTechReborn.LapotronPackCharge;
public int tier = 3;
public double transferLimit = 100000;

View file

@ -11,14 +11,15 @@ import net.minecraft.item.Item;
import net.minecraft.item.ItemArmor;
import net.minecraft.item.ItemStack;
import techreborn.client.TechRebornCreativeTab;
import techreborn.config.ConfigTechReborn;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
public class ItemLithiumBatpack extends ItemArmor implements IElectricItem{
public int maxCharge = 40000000;
public static final int maxCharge = ConfigTechReborn.LithiumBatpackCharge;
public int tier = 3;
public double transferLimit = 100000;
public double transferLimit = 10000;
public ItemLithiumBatpack(ArmorMaterial armorMaterial, int par3, int par4)
{

View file

@ -7,6 +7,7 @@ import cpw.mods.fml.relauncher.SideOnly;
import ic2.api.item.ElectricItem;
import ic2.api.item.IElectricItem;
import techreborn.client.TechRebornCreativeTab;
import techreborn.config.ConfigTechReborn;
import techreborn.util.TorchHelper;
import net.minecraft.block.Block;
import net.minecraft.client.renderer.texture.IIconRegister;
@ -24,7 +25,7 @@ import net.minecraftforge.event.ForgeEventFactory;
public class ItemOmniTool extends ItemPickaxe implements IElectricItem{
public int maxCharge = 20000;
public static final int maxCharge = ConfigTechReborn.OmniToolCharge;
public int cost = 100;
public int hitCost = 125;

View file

@ -15,12 +15,13 @@ import net.minecraft.item.ItemPickaxe;
import net.minecraft.item.ItemStack;
import net.minecraft.world.World;
import techreborn.client.TechRebornCreativeTab;
import techreborn.config.ConfigTechReborn;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
public class ItemRockCutter extends ItemPickaxe implements IElectricItem{
public int maxCharge = 10000;
public static final int maxCharge = ConfigTechReborn.RockCutterCharge;
public int cost = 500;
public int tier = 2;