diff options
author | Steelux <70096037+Steelux8@users.noreply.github.com> | 2022-06-24 18:10:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-24 19:10:28 +0200 |
commit | 796b55c9b1dacce64b3312d0c16bc198b8007543 (patch) | |
tree | 08501e0126cfdf0dbd6dd9478669d4054db80bf2 /src/main/java/gtPlusPlus/xmod/gregtech/common | |
parent | d30fe31cbf40a972ebfa4b8a9efba2df9b71cd13 (diff) | |
download | GT5-Unofficial-796b55c9b1dacce64b3312d0c16bc198b8007543.tar.gz GT5-Unofficial-796b55c9b1dacce64b3312d0c16bc198b8007543.tar.bz2 GT5-Unofficial-796b55c9b1dacce64b3312d0c16bc198b8007543.zip |
Add UHV Soldering Alloy for Endgame Recipes (#196)
* Added Endgame Soldering Alloy
- Adder recipe for Mutated Living Solder, an endgame soldering alloy meant for the bioware circuit line and content after it;
- Added a new, very expensive catalyst for this recipe, which favors the usage of Awakened Draconium Coils to prevent losing durability on the catalyst;
- Changed the Chemical Plant so that using Awakened Draconium Coils with Tungstensteel Pipe Casings removes the chance of consuming catalyst durability.
* Lowered Recipe Energy Tier by 1
Diffstat (limited to 'src/main/java/gtPlusPlus/xmod/gregtech/common')
-rw-r--r-- | src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/chemplant/GregtechMTE_ChemicalPlant.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/chemplant/GregtechMTE_ChemicalPlant.java b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/chemplant/GregtechMTE_ChemicalPlant.java index 7f9889c52e..f0d3eace77 100644 --- a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/chemplant/GregtechMTE_ChemicalPlant.java +++ b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/chemplant/GregtechMTE_ChemicalPlant.java @@ -930,7 +930,11 @@ public class GregtechMTE_ChemicalPlant extends GregtechMeta_MultiBlockBase<Gregt private void damageCatalyst(ItemStack aStack, int parallelRecipes) { for (int i=0; i<parallelRecipes; i++){ - if (MathUtils.randFloat(0, 10000000)/10000000f < (1.2f - (0.2 * this.mPipeCasingTier))) { + // Awakened Draconium Coils with Tungstensteel Pipe Casings (or above) no longer consume catalysts. + if (this.mCoilTier >= 11 && this.mPipeCasingTier >= 4) { + log("not consuming catalyst"); + } + else if (MathUtils.randFloat(0, 10000000)/10000000f < (1.2f - (0.2 * this.mPipeCasingTier))) { int damage = getDamage(aStack) + 1; log("damage catalyst "+damage); if (damage >= getMaxCatalystDurability()) { |