diff options
author | Alkalus <3060479+draknyte1@users.noreply.github.com> | 2019-03-28 15:20:32 +1000 |
---|---|---|
committer | Alkalus <3060479+draknyte1@users.noreply.github.com> | 2019-03-28 15:20:32 +1000 |
commit | 49010b5511dce4228d6e5ef6cf790d83e88c0a59 (patch) | |
tree | a948462e4a5ec7835162b88de68cdeb73f51f6fe /src/Java/gtPlusPlus/core/item | |
parent | f93d9fb323a5aee2ed5c30320998f26bc177d707 (diff) | |
download | GT5-Unofficial-49010b5511dce4228d6e5ef6cf790d83e88c0a59.tar.gz GT5-Unofficial-49010b5511dce4228d6e5ef6cf790d83e88c0a59.tar.bz2 GT5-Unofficial-49010b5511dce4228d6e5ef6cf790d83e88c0a59.zip |
% Rebalanced all auto-generated material machine recipes to use the correct voltages. Closes #428
$ Re-added Additional output %'s for Multiblocks.
$ Fixed Lathe recipes not giving two small dusts. Closes #449
$ Greatly improved flexibility of Multiblock recipe handling.
Diffstat (limited to 'src/Java/gtPlusPlus/core/item')
-rw-r--r-- | src/Java/gtPlusPlus/core/item/base/rods/BaseItemRod.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/Java/gtPlusPlus/core/item/base/rods/BaseItemRod.java b/src/Java/gtPlusPlus/core/item/base/rods/BaseItemRod.java index eaa0905c93..ef3266fe75 100644 --- a/src/Java/gtPlusPlus/core/item/base/rods/BaseItemRod.java +++ b/src/Java/gtPlusPlus/core/item/base/rods/BaseItemRod.java @@ -13,12 +13,12 @@ public class BaseItemRod extends BaseItemComponent{ public BaseItemRod(final Material material) { super(material, BaseItemComponent.ComponentTypes.ROD); - this.addExtruderRecipe(); - this.addLatheRecipe(); + this.addCutterRecipe(material); + this.addLatheRecipe(material); } - private void addExtruderRecipe(){ + private void addCutterRecipe(Material material){ Logger.WARNING("Adding cutter recipe for "+this.materialName+" Rods"); final ItemStack stackStick = this.componentMaterial.getRod(1); final ItemStack stackBolt = this.componentMaterial.getBolt(4); @@ -29,20 +29,20 @@ public class BaseItemRod extends BaseItemComponent{ stackBolt, null, (int) Math.max(this.componentMaterial.getMass() * 2L, 1L), - 4); + material.vVoltageMultiplier); } - private void addLatheRecipe(){ + private void addLatheRecipe(Material material){ Logger.WARNING("Adding recipe for "+this.materialName+" Rod"); ItemStack boltStack = this.componentMaterial.getIngot(1); if (ItemUtils.checkForInvalidItems(boltStack)){ GT_Values.RA.addLatheRecipe( boltStack, ItemUtils.getSimpleStack(this), - null, + material.getSmallDust(2), (int) Math.max(this.componentMaterial.getMass() / 8L, 1L), - 4); + material.vVoltageMultiplier); } } |