From 378b9f0e9c674690e9b22db4180e089ef0d95008 Mon Sep 17 00:00:00 2001 From: Progwml6 Date: Tue, 26 Nov 2013 05:26:25 -0500 Subject: [PATCH] add flux modifier to book, warning about electric being deprecated --- resources/assets/tinker/manuals/materials.xml | 39 ++++++++++++++++++- src/tconstruct/client/TProxyClient.java | 3 +- src/tconstruct/common/TContent.java | 5 +++ 3 files changed, 45 insertions(+), 2 deletions(-) diff --git a/resources/assets/tinker/manuals/materials.xml b/resources/assets/tinker/manuals/materials.xml index b2bf4097..7cfb46c0 100644 --- a/resources/assets/tinker/manuals/materials.xml +++ b/resources/assets/tinker/manuals/materials.xml @@ -1007,7 +1007,8 @@ Effects: - Available from IndustrialCraft 2 Type: Single-use -Stackable: No +Stackable: No +Note: this modifier will be removed in Minecraft 1.7 @@ -1015,6 +1016,42 @@ Stackable: No electricmod + +Flux +Adding a Hardened Flux Capacitor or Leadstone Energy Cell gives a tool energy. The tool still functions properly when the Cell/Capacitor has no charge. + +Effects: +- Allows the tool to be charged with Redstone Flux +- Uses energy instead of durability while charged +- Available from Thermal Expansion 3 + +Type: Single-use +Stackable: No + + + +tool +fluxmod + + + +Flux +Adding a Hardened Flux Capacitor or Leadstone Energy Cell gives a tool energy. The tool still functions properly when the Cell/Capacitor has no charge. + +Effects: +- Allows the tool to be charged with Redstone Flux +- Uses energy instead of durability while charged +- Available from Thermal Expansion 3 + +Type: Single-use +Stackable: No + + + +tool +fluxmod2 + + Additional Modifiers Working the tool with a block of gold and a diamond makes the tool more malleable, allowing for more modification. diff --git a/src/tconstruct/client/TProxyClient.java b/src/tconstruct/client/TProxyClient.java index 61706c3a..5e49dcd0 100644 --- a/src/tconstruct/client/TProxyClient.java +++ b/src/tconstruct/client/TProxyClient.java @@ -539,7 +539,8 @@ public class TProxyClient extends TProxyCommon TConstructClientRegistry.registerManualModifier("smitemod", ironlongsword.copy(), new ItemStack(TContent.craftedSoil, 1, 4)); TConstructClientRegistry.registerManualModifier("electricmod", ironpick.copy(), new ItemStack(Block.dirt), new ItemStack(Block.dirt)); - TConstructClientRegistry.registerManualModifier("fluxmod", ironpick.copy(), new ItemStack(Block.dirt), new ItemStack(Block.dirt)); + TConstructClientRegistry.registerManualModifier("fluxmod", ironpick.copy(), new ItemStack(Block.dirt)); + TConstructClientRegistry.registerManualModifier("fluxmod2", ironpick.copy(), new ItemStack(Block.dirt)); TConstructClientRegistry.registerManualModifier("tier1free", ironpick.copy(), new ItemStack(Item.diamond), new ItemStack(Block.blockGold)); TConstructClientRegistry.registerManualModifier("tier2free", ironpick.copy(), new ItemStack(Item.netherStar)); diff --git a/src/tconstruct/common/TContent.java b/src/tconstruct/common/TContent.java index 90c25663..93473e2b 100644 --- a/src/tconstruct/common/TContent.java +++ b/src/tconstruct/common/TContent.java @@ -2260,6 +2260,11 @@ public class TContent implements IFuelHandler { modF.batteries.add(basicCell); } + if (batHardened != null) + TConstructClientRegistry.registerManualModifier("fluxmod", ironpick.copy(), (ItemStack) batHardened); + if (basicCell != null) + TConstructClientRegistry.registerManualModifier("fluxmod2", ironpick.copy(), (ItemStack) basicCell); + /* IC2 */ //ItemStack reBattery = ic2.api.item.Items.getItem("reBattery");