diff --git a/resources/assets/tinker/lang/en_US.lang b/resources/assets/tinker/lang/en_US.lang
index 2fbfdb43..9aab17f2 100644
--- a/resources/assets/tinker/lang/en_US.lang
+++ b/resources/assets/tinker/lang/en_US.lang
@@ -571,7 +571,7 @@ achievement.tconstruct.proTinkerer=Pro Tinkerer
achievement.tconstruct.smelteryMaker=Smeltery Creator
achievement.tconstruct.preparedFight=Prepared to Fight
achievement.tconstruct.enemySlayer=Enemy Slayer
-achievement.tconstruct.convenientDuo=Convenient Duo(NYI)
+achievement.tconstruct.dualConvenience=Dual Convenience
achievement.tconstruct.beginner.desc=Open the "Materials and You" manual
achievement.tconstruct.pattern.desc=Craft your first blank pattern
@@ -579,5 +579,5 @@ achievement.tconstruct.tinkerer.desc=Create your first tool
achievement.tconstruct.proTinkerer.desc=Craft your first tier 2 tool
achievement.tconstruct.smelteryMaker.desc=Craft a smeltery component
achievement.tconstruct.preparedFight.desc=Create your first weapon
-achievement.tconstruct.enemySlayer.desc=Slay an enemy
-achievement.tconstruct.convenientDuo=Kill an enemy with a frying pan, and then cook their meat in it
+achievement.tconstruct.enemySlayer.desc=Slay a mob
+achievement.tconstruct.dualConvenience.desc=Kill a mob with a frying pan, and then cook their meat in it
diff --git a/resources/assets/tinker/manuals/smeltery.xml b/resources/assets/tinker/manuals/smeltery.xml
index 8186eddf..17af75c5 100644
--- a/resources/assets/tinker/manuals/smeltery.xml
+++ b/resources/assets/tinker/manuals/smeltery.xml
@@ -209,6 +209,14 @@ Part casts must be created by pouring metal around existing parts, like a pickax
+
+Casting Channel
+
+ castingchannel
+ three
+
+
+
Casting Table
@@ -245,20 +253,4 @@ Part casts must be created by pouring metal around existing parts, like a pickax
endstone
-
-Drawbridge
-
- drawbridge
- three
-
-
-
-
-Igniter
-
- igniter
- three
-
-
-
diff --git a/resources/assets/tinker/textures/items/achievementIcons/dualConvenience.png b/resources/assets/tinker/textures/items/achievementIcons/dualConvenience.png
new file mode 100644
index 00000000..e5ec5ae2
Binary files /dev/null and b/resources/assets/tinker/textures/items/achievementIcons/dualConvenience.png differ
diff --git a/src/tconstruct/blocks/logic/CastingChannelLogic.java b/src/tconstruct/blocks/logic/CastingChannelLogic.java
index 9e7d08b4..2ac85d10 100644
--- a/src/tconstruct/blocks/logic/CastingChannelLogic.java
+++ b/src/tconstruct/blocks/logic/CastingChannelLogic.java
@@ -14,6 +14,7 @@ import net.minecraftforge.fluids.FluidStack;
import net.minecraftforge.fluids.FluidTankInfo;
import net.minecraftforge.fluids.IFluidHandler;
import net.minecraftforge.fluids.IFluidTank;
+import tconstruct.TConstruct;
import tconstruct.library.util.IActiveLogic;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
@@ -24,8 +25,8 @@ import cpw.mods.fml.relauncher.SideOnly;
public class CastingChannelLogic extends TileEntity implements IFluidTank, IFluidHandler, IActiveLogic
{
- public final static int fillMax = 288;
- public final static int outputMax = 48;
+ public final static int fillMax = TConstruct.ingotLiquidValue*5;
+ public final static int outputMax = TConstruct.ingotLiquidValue;
public FluidStack liquid;
public ForgeDirection lastProvider;
private int ticks = 0;
diff --git a/src/tconstruct/blocks/logic/FrypanLogic.java b/src/tconstruct/blocks/logic/FrypanLogic.java
index 69042dbd..dcbaba5d 100644
--- a/src/tconstruct/blocks/logic/FrypanLogic.java
+++ b/src/tconstruct/blocks/logic/FrypanLogic.java
@@ -287,7 +287,7 @@ public class FrypanLogic extends EquipLogic implements IActiveLogic
@Override
public Container getGuiContainer (InventoryPlayer inventoryplayer, World world, int x, int y, int z)
{
- return new FrypanContainer(inventoryplayer, this);
+ return new FrypanContainer(inventoryplayer.player, this);
}
/*@Override
diff --git a/src/tconstruct/client/TProxyClient.java b/src/tconstruct/client/TProxyClient.java
index 7a12430c..1335ba03 100644
--- a/src/tconstruct/client/TProxyClient.java
+++ b/src/tconstruct/client/TProxyClient.java
@@ -486,6 +486,7 @@ public class TProxyClient extends TProxyCommon
TConstructClientRegistry.registerManualLargeRecipe("smelterytable", new ItemStack(TContent.searedBlock, 1, 0), searedbrick, searedbrick, searedbrick, searedbrick, null, searedbrick,
searedbrick, null, searedbrick);
TConstructClientRegistry.registerManualLargeRecipe("smelteryfaucet", new ItemStack(TContent.searedBlock, 1, 1), searedbrick, null, searedbrick, null, searedbrick, null, null, null, null);
+ TConstructClientRegistry.registerManualLargeRecipe("castingchannel", new ItemStack(TContent.castingChannel), null, null, null, searedbrick, null, searedbrick, searedbrick, searedbrick, searedbrick);
TConstructClientRegistry.registerManualLargeRecipe("smelterybasin", new ItemStack(TContent.searedBlock, 1, 2), searedbrick, null, searedbrick, searedbrick, null, searedbrick, searedbrick,
searedbrick, searedbrick);
diff --git a/src/tconstruct/common/TContent.java b/src/tconstruct/common/TContent.java
index d44de802..aea73ca9 100644
--- a/src/tconstruct/common/TContent.java
+++ b/src/tconstruct/common/TContent.java
@@ -1646,19 +1646,15 @@ public class TContent implements IFuelHandler
private void addRecipesForSmeltery ()
{
- //Alloys Smelting
- if (PHConstruct.harderBronze)
- Smeltery.addAlloyMixing(new FluidStack(moltenBronzeFluid, TConstruct.ingotLiquidValue * 2), new FluidStack(moltenCopperFluid, TConstruct.ingotLiquidValue * 3), new FluidStack(
- moltenTinFluid, TConstruct.ingotLiquidValue)); //Bronze
- else
- Smeltery.addAlloyMixing(new FluidStack(moltenBronzeFluid, TConstruct.ingotLiquidValue * 3), new FluidStack(moltenCopperFluid, TConstruct.ingotLiquidValue * 3), new FluidStack(
- moltenTinFluid, TConstruct.ingotLiquidValue)); //Bronze
- Smeltery.addAlloyMixing(new FluidStack(moltenAlubrassFluid, TConstruct.ingotLiquidValue * 4), new FluidStack(moltenAluminumFluid, TConstruct.ingotLiquidValue * 3), new FluidStack(
- moltenCopperFluid, TConstruct.ingotLiquidValue * 1)); //Aluminum Brass
- Smeltery.addAlloyMixing(new FluidStack(moltenManyullynFluid, TConstruct.ingotLiquidValue), new FluidStack(moltenCobaltFluid, TConstruct.ingotLiquidValue * 2), new FluidStack(
- moltenArditeFluid, TConstruct.ingotLiquidValue * 2)); //Manyullyn
- Smeltery.addAlloyMixing(new FluidStack(moltenAlumiteFluid, TConstruct.ingotLiquidValue * 3), new FluidStack(moltenAluminumFluid, TConstruct.ingotLiquidValue * 5), new FluidStack(
- moltenIronFluid, TConstruct.ingotLiquidValue * 2), new FluidStack(moltenObsidianFluid, TConstruct.ingotLiquidValue * 2)); //Alumite
+ //Alloy Smelting
+ Smeltery.addAlloyMixing(new FluidStack(moltenBronzeFluid, TConstruct.ingotLiquidValue * PHConstruct.ingotsBronzeAlloy), new FluidStack(moltenCopperFluid, TConstruct.ingotLiquidValue * 3), new FluidStack(
+ moltenTinFluid, TConstruct.ingotLiquidValue)); //Bronze
+ Smeltery.addAlloyMixing(new FluidStack(moltenAlubrassFluid, TConstruct.ingotLiquidValue * PHConstruct.ingotsAluminumBrassAlloy), new FluidStack(moltenAluminumFluid, TConstruct.ingotLiquidValue * 3), new FluidStack(
+ moltenCopperFluid, TConstruct.ingotLiquidValue * 1)); //Aluminum Brass
+ Smeltery.addAlloyMixing(new FluidStack(moltenAlumiteFluid, TConstruct.ingotLiquidValue * PHConstruct.ingotsAlumiteAlloy), new FluidStack(moltenAluminumFluid, TConstruct.ingotLiquidValue * 5), new FluidStack(
+ moltenIronFluid, TConstruct.ingotLiquidValue * 2), new FluidStack(moltenObsidianFluid, TConstruct.ingotLiquidValue * 2)); //Alumite
+ Smeltery.addAlloyMixing(new FluidStack(moltenManyullynFluid, TConstruct.ingotLiquidValue * PHConstruct.ingotsManyullynAlloy), new FluidStack(moltenCobaltFluid, TConstruct.ingotLiquidValue), new FluidStack(
+ moltenArditeFluid, TConstruct.ingotLiquidValue)); //Manyullyn
// Stone parts
for (int sc = 0; sc < patternOutputs.length; sc++)
@@ -1698,7 +1694,7 @@ public class TContent implements IFuelHandler
Smeltery.addMelting(FluidType.Iron, new ItemStack(Item.minecartHopper), 50, TConstruct.ingotLiquidValue * 10);
Smeltery.addMelting(FluidType.Iron, new ItemStack(Item.doorIron), 0, TConstruct.ingotLiquidValue * 6);
Smeltery.addMelting(FluidType.Iron, new ItemStack(Item.cauldron), 0, TConstruct.ingotLiquidValue * 7);
- Smeltery.addMelting(FluidType.Iron, new ItemStack(Item.shears), 0, TConstruct.oreLiquidValue);
+ Smeltery.addMelting(FluidType.Iron, new ItemStack(Item.shears), 0, TConstruct.ingotLiquidValue * 2);
// Smeltery.addMelting(FluidType.Slime, new ItemStack(slimeGel, 1, 0), 0, TConstruct.ingotLiquidValue * 4);
// Smeltery.addMelting(FluidType.Slime, new ItemStack(strangeFood, 1, 0), 0, TConstruct.ingotLiquidValue);
@@ -1707,10 +1703,11 @@ public class TContent implements IFuelHandler
//Blocks melt at themselves!
//Ore
- Smeltery.addMelting(Block.oreIron, 0, 600, new FluidStack(moltenIronFluid, TConstruct.ingotLiquidValue * 2));
- Smeltery.addMelting(Block.oreGold, 0, 400, new FluidStack(moltenGoldFluid, TConstruct.ingotLiquidValue * 2));
- Smeltery.addMelting(oreGravel, 0, 600, new FluidStack(moltenIronFluid, TConstruct.ingotLiquidValue * 2));
- Smeltery.addMelting(oreGravel, 1, 400, new FluidStack(moltenGoldFluid, TConstruct.ingotLiquidValue * 2));
+
+ // Smeltery.addMelting(Block.oreIron, 0, 600, new FluidStack(moltenIronFluid, TConstruct.ingotLiquidValue * 2));
+ // Smeltery.addMelting(Block.oreGold, 0, 400, new FluidStack(moltenGoldFluid, TConstruct.ingotLiquidValue * 2));
+ // Smeltery.addMelting(oreGravel, 0, 600, new FluidStack(moltenIronFluid, TConstruct.ingotLiquidValue * 2));
+ // Smeltery.addMelting(oreGravel, 1, 400, new FluidStack(moltenGoldFluid, TConstruct.ingotLiquidValue * 2));
//Blocks
Smeltery.addMelting(Block.blockIron, 0, 600, new FluidStack(moltenIronFluid, TConstruct.ingotLiquidValue * 9));
@@ -2352,19 +2349,24 @@ public class TContent implements IFuelHandler
// Nuggets
Smeltery.addDictionaryMelting("nugget" + ft.toString(), ft, -100, TConstruct.nuggetLiquidValue);
+
// Ingots, Dust
registerIngotCasting(ft);
Smeltery.addDictionaryMelting("ingot" + ft.toString(), ft, -50, TConstruct.ingotLiquidValue);
Smeltery.addDictionaryMelting("dust" + ft.toString(), ft, -75, TConstruct.ingotLiquidValue);
+
// Factorization support
Smeltery.addDictionaryMelting("crystalline" + ft.toString(), ft, -50, TConstruct.ingotLiquidValue);
// Ores
- Smeltery.addDictionaryMelting("ore" + ft.toString(), ft, 0, TConstruct.oreLiquidValue);
+ Smeltery.addDictionaryMelting("ore" + ft.toString(), ft, 0, TConstruct.ingotLiquidValue * PHConstruct.ingotsPerOre);
+
// NetherOres support
- Smeltery.addDictionaryMelting("oreNether" + ft.toString(), ft, 75, TConstruct.oreLiquidValue * 2);
+ Smeltery.addDictionaryMelting("oreNether" + ft.toString(), ft, 75, TConstruct.ingotLiquidValue * PHConstruct.ingotsPerOre * 2);
+
// Blocks
Smeltery.addDictionaryMelting("block" + ft.toString(), ft, 100, TConstruct.blockLiquidValue);
+
if (ft.isToolpart)
{
registerPatternMaterial("ingot" + ft.toString(), 2, ft.toString());
@@ -2413,8 +2415,9 @@ public class TContent implements IFuelHandler
achievements.put("tconstruct.pattern", new Achievement(2002, "tconstruct.pattern", 2, 1, blankPattern, achievements.get("tconstruct.beginner")).registerAchievement());
achievements.put("tconstruct.tinkerer", new Achievement(2003, "tconstruct.tinkerer", 2, 2, new ItemStack(titleIcon, 1, 4096), achievements.get("tconstruct.pattern")).registerAchievement());
achievements.put("tconstruct.preparedFight", new Achievement(2004, "tconstruct.preparedFight", 1, 3, new ItemStack(titleIcon, 1, 4097), achievements.get("tconstruct.tinkerer")).registerAchievement());
- achievements.put("tconstruct.proTinkerer", new Achievement(2005, "tconstruct.proTinkerer", 4, 3, new ItemStack(titleIcon, 1, 4098), achievements.get("tconstruct.tinkerer")).setSpecial().registerAchievement());
+ achievements.put("tconstruct.proTinkerer", new Achievement(2005, "tconstruct.proTinkerer", 4, 4, new ItemStack(titleIcon, 1, 4098), achievements.get("tconstruct.tinkerer")).setSpecial().registerAchievement());
achievements.put("tconstruct.smelteryMaker", new Achievement(2006, "tconstruct.smelteryMaker", -2, -1, smeltery, achievements.get("tconstruct.beginner")).registerAchievement());
achievements.put("tconstruct.enemySlayer", new Achievement(2007, "tconstruct.enemySlayer", 0, 5, new ItemStack(titleIcon, 1, 4099), achievements.get("tconstruct.preparedFight")).registerAchievement());
+ achievements.put("tconstruct.dualConvenience", new Achievement(2008, "tconstruct.dualConvenience", 0, 7, new ItemStack(titleIcon, 1, 4100), achievements.get("tconstruct.enemySlayer")).setSpecial().registerAchievement());
}
}
diff --git a/src/tconstruct/inventory/FrypanContainer.java b/src/tconstruct/inventory/FrypanContainer.java
index 09f9f4eb..9d39308d 100644
--- a/src/tconstruct/inventory/FrypanContainer.java
+++ b/src/tconstruct/inventory/FrypanContainer.java
@@ -1,12 +1,9 @@
package tconstruct.inventory;
-import tconstruct.blocks.logic.FrypanLogic;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.entity.player.InventoryPlayer;
-import net.minecraft.inventory.Container;
-import net.minecraft.inventory.ICrafting;
-import net.minecraft.inventory.Slot;
+import net.minecraft.entity.player.*;
+import net.minecraft.inventory.*;
import net.minecraft.item.ItemStack;
+import tconstruct.blocks.logic.FrypanLogic;
public class FrypanContainer extends Container
{
@@ -15,13 +12,14 @@ public class FrypanContainer extends Container
public int fuel = 0;
public int fuelGague = 0;
- public FrypanContainer(InventoryPlayer inventoryplayer, FrypanLogic frypan)
+ public FrypanContainer(EntityPlayer player, FrypanLogic frypan)
{
+ InventoryPlayer inventoryplayer = player.inventory;
logic = frypan;
this.addSlotToContainer(new Slot(frypan, 1, 26, 45));
for (int y = 0; y < 2; y++)
for (int x = 0; x < 4; x++)
- this.addSlotToContainer(new Slot(frypan, 2 + x + y * 4, 70 + x * 18, 27 + y * 18));
+ this.addSlotToContainer(new SlotFrypan(frypan, 2 + x + y * 4, 70 + x * 18, 27 + y * 18, player));
/* Player inventory */
for (int column = 0; column < 3; column++)
diff --git a/src/tconstruct/inventory/SlotFrypan.java b/src/tconstruct/inventory/SlotFrypan.java
new file mode 100644
index 00000000..d12113d9
--- /dev/null
+++ b/src/tconstruct/inventory/SlotFrypan.java
@@ -0,0 +1,30 @@
+package tconstruct.inventory;
+
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.inventory.*;
+import net.minecraft.item.*;
+import net.minecraft.nbt.NBTTagCompound;
+import tconstruct.achievements.TAchievements;
+
+public class SlotFrypan extends Slot{
+
+ public EntityPlayer player;
+
+ public SlotFrypan(IInventory par1IInventory, int par2, int par3, int par4, EntityPlayer player) {
+ super(par1IInventory, par2, par3, par4);
+ this.player = player;
+ }
+
+ @Override
+ public void putStack(ItemStack par1ItemStack){
+ super.putStack(par1ItemStack);
+ if(par1ItemStack != null && par1ItemStack.getItem() != null && par1ItemStack.getItem() instanceof ItemFood && par1ItemStack.hasTagCompound()){
+ NBTTagCompound stackTagCompound = par1ItemStack.getTagCompound();
+ if(stackTagCompound == null || !stackTagCompound.getBoolean("frypanKill")){
+ return;
+ }
+ player.addStat(TAchievements.achievements.get("tconstruct.dualConvenience"), 1);
+ }
+ }
+
+}
diff --git a/src/tconstruct/items/TitleIcon.java b/src/tconstruct/items/TitleIcon.java
index a83218c8..af8dcb97 100644
--- a/src/tconstruct/items/TitleIcon.java
+++ b/src/tconstruct/items/TitleIcon.java
@@ -27,7 +27,7 @@ public class TitleIcon extends Item
int[] secondaryColor = { 0x1567BF, 0xFFEC6E };
String[] mobNames = { "TConstruct.EdibleSlime", "TConstruct.KingSlime" };
- String[] achievementIconNames = new String[] {"tinkerer", "preparedFight", "proTinkerer", "enemySlayer"};
+ String[] achievementIconNames = new String[] {"tinkerer", "preparedFight", "proTinkerer", "enemySlayer", "dualConvenience"};
Icon[] achievementIcons = new Icon[achievementIconNames.length];
public TitleIcon(int par1)
diff --git a/src/tconstruct/modifiers/ModFlux.java b/src/tconstruct/modifiers/ModFlux.java
index 757990bc..e271a8d2 100644
--- a/src/tconstruct/modifiers/ModFlux.java
+++ b/src/tconstruct/modifiers/ModFlux.java
@@ -54,16 +54,6 @@ public class ModFlux extends ModBoolean
return false;
}
- /*@Override
- protected boolean canModify (ItemStack tool, ItemStack[] input)
- {
- NBTTagCompound tags = tool.getTagCompound().getCompoundTag("InfiTool");
- if (!tags.hasKey(key))
- return tags.getInteger("Modifiers") > 0;
-
- return false;
- }*/
-
@Override
public void modify (ItemStack[] input, ItemStack tool)
{
@@ -77,9 +67,9 @@ public class ModFlux extends ModBoolean
modifiers -= 1;
tags.getCompoundTag("InfiTool").setInteger("Modifiers", modifiers);
int charge = 0;
- if (input[0]!= null && input[0].getItem() != null && input[0].getItem() instanceof IEnergyContainerItem && input[0].hasTagCompound())
+ if (input[0] != null && input[0].getItem() != null && input[0].getItem() instanceof IEnergyContainerItem && input[0].hasTagCompound())
charge = input[0].getTagCompound().getInteger("Energy");
- if (input[1]!= null && input[1].getItem()!= null && input[1].getItem() instanceof IEnergyContainerItem && input[1].hasTagCompound())
+ if (input[1] != null && input[1].getItem() != null && input[1].getItem() instanceof IEnergyContainerItem && input[1].hasTagCompound())
charge = input[1].getTagCompound().getInteger("Energy");
tags.setInteger("Energy", charge);
tags.setInteger(key, 1);
diff --git a/src/tconstruct/util/TEventHandler.java b/src/tconstruct/util/TEventHandler.java
index 2074937d..a516f648 100644
--- a/src/tconstruct/util/TEventHandler.java
+++ b/src/tconstruct/util/TEventHandler.java
@@ -1,9 +1,8 @@
package tconstruct.util;
-import tconstruct.achievements.TAchievements;
+import net.minecraft.item.crafting.FurnaceRecipes;
import java.util.Random;
-
import net.minecraft.block.Block;
import net.minecraft.entity.*;
import net.minecraft.entity.boss.EntityWither;
@@ -23,8 +22,10 @@ import net.minecraftforge.event.entity.player.*;
import net.minecraftforge.event.entity.player.PlayerInteractEvent.Action;
import net.minecraftforge.oredict.OreDictionary.OreRegisterEvent;
import tconstruct.TConstruct;
+import tconstruct.achievements.TAchievements;
import tconstruct.blocks.*;
import tconstruct.common.TContent;
+import tconstruct.items.tools.FryingPan;
import tconstruct.library.TConstructRegistry;
import tconstruct.library.crafting.ToolBuilder;
import tconstruct.library.event.*;
@@ -223,6 +224,23 @@ public class TEventHandler
@ForgeSubscribe
public void onLivingDrop (LivingDropsEvent event)
{
+ if(event.source.getEntity() != null && event.source.getEntity() instanceof EntityPlayer){
+ EntityPlayer player = (EntityPlayer)event.source.getEntity();
+ if(player.getHeldItem() != null && player.getHeldItem().getItem() instanceof FryingPan){
+ for(int i = 0; i < event.drops.size(); i++){
+ ItemStack is = event.drops.get(i).getEntityItem();
+ if(FurnaceRecipes.smelting().getSmeltingResult(is) != null && FurnaceRecipes.smelting().getSmeltingResult(is).getItem() instanceof ItemFood){
+ NBTTagCompound stackCompound = is.getTagCompound();
+ if(stackCompound == null){
+ stackCompound = new NBTTagCompound();
+ }
+ stackCompound.setBoolean("frypanKill", true);
+ is.setTagCompound(stackCompound);
+ }
+ }
+ }
+ }
+
if (random.nextInt(500) == 0 && event.entityLiving instanceof IMob && event.entityLiving.dimension == 0)
{
ItemStack dropStack = new ItemStack(TContent.heartCanister, 1, 1);
diff --git a/src/tconstruct/util/config/PHConstruct.java b/src/tconstruct/util/config/PHConstruct.java
index 8ef95b29..5858e9b5 100644
--- a/src/tconstruct/util/config/PHConstruct.java
+++ b/src/tconstruct/util/config/PHConstruct.java
@@ -40,11 +40,12 @@ public class PHConstruct
/* Define the mod's IDs.
* Avoid values below 4096 for items and in the 250-450 range for blocks
*/
+
+ superfunWorld = config.get("Superfun", "All the world is Superfun", false).getBoolean(false);
keepHunger = config.get("Difficulty Changes", "Keep hunger on death", true).getBoolean(true);
keepLevels = config.get("Difficulty Changes", "Keep levels on death", true).getBoolean(true);
beginnerBook = config.get("Difficulty Changes", "Spawn beginner book", true).getBoolean(true);
- superfunWorld = config.get("Superfun", "All the world is Superfun", false).getBoolean(false);
enableTWood = config.get("Difficulty Changes", "Enable mod wooden tools", true).getBoolean(true);
enableTStone = config.get("Difficulty Changes", "Enable mod stone tools", true).getBoolean(true);
@@ -60,14 +61,16 @@ public class PHConstruct
vanillaMetalBlocks = config.get("Difficulty Changes", "Craft vanilla metal blocks", true).getBoolean(true);
lavaFortuneInteraction = config.get("Difficulty Changes", "Enable Auto-Smelt and Fortune interaction", true).getBoolean(true);
removeVanillaToolRecipes = config.get("Difficulty Changes", "Remove Vanilla Tool Recipes", false).getBoolean(false);
- harderBronze = config.get("Difficulty Changes", "Lower bronze output to 2 ingots", false).getBoolean(false);
stencilTableCrafting = config.get("Difficulty Changes", "Craft Stencil Tables", true).getBoolean(true);
miningLevelIncrease = config.get("Difficulty Changes", "Modifiers increase Mining Level", true).getBoolean(true);
denyMattock = config.get("Difficulty Changes", "Deny creation of non-metal mattocks", false).getBoolean(false);
- harderBronze = config.get("Difficulty Changes", "Lower bronze output to 2 ingots", false).getBoolean(false);
- stencilTableCrafting = config.get("Difficulty Changes", "Craft Stencil Tables", true).getBoolean(true);
- denyMattock = config.get("Difficulty Changes", "Deny creation of non-metal mattocks", false).getBoolean(false);
-
+
+ ingotsPerOre = config.get("Smeltery Output Modification", "Ingots per ore", 2, "Number of ingots returned from smelting ores in the smeltery").getInt(2);
+ ingotsBronzeAlloy = config.get("Smeltery Output Modification", "Bronze ingot return", 3, "Number of ingots returned from smelting Bronze in the smeltery").getInt(3);
+ ingotsAluminumBrassAlloy = config.get("Smeltery Output Modification", "Aluminum Brass ingot return", 4, "Number of ingots returned from smelting Aluminum Brass in the smeltery").getInt(4);
+ ingotsAlumiteAlloy = config.get("Smeltery Output Modification", "Alumite ingot return", 3, "Number of ingots returned from smelting Alumite in the smeltery").getInt(3);
+ ingotsManyullynAlloy = config.get("Smeltery Output Modification", "Manyullyn ingot return", 1, "Number of ingots returned from smelting Manyullyn in the smeltery").getInt(1);
+
//1467-1489
woodStation = config.getBlock("Wood Tool Station", 1471).getInt(1471);
heldItemBlock = config.getBlock("Held Item Block", 1472).getInt(1472);
@@ -677,11 +680,17 @@ public class PHConstruct
public static boolean craftMetalTools;
public static boolean vanillaMetalBlocks;
public static boolean removeVanillaToolRecipes;
- public static boolean harderBronze;
public static boolean stencilTableCrafting;
public static boolean miningLevelIncrease;
public static boolean denyMattock;
+ //Smeltery Output Modification
+ public static int ingotsPerOre;
+ public static int ingotsBronzeAlloy;
+ public static int ingotsAluminumBrassAlloy;
+ public static int ingotsAlumiteAlloy;
+ public static int ingotsManyullynAlloy;
+
//Ultra Hardcore modifiers
public static boolean enableHealthRegen;
public static boolean goldAppleRecipe;