From fbbfb0b6a1b2688d546309f87410a147ef78b4e9 Mon Sep 17 00:00:00 2001 From: Mary Hopson Date: Sat, 7 Sep 2024 09:16:46 -0400 Subject: [PATCH] Neutronium Compressor casings --- .../gthandler/GT_CraftingRecipeLoader.java | 7 +++++++ .../gthandler/GT_MachineRecipeLoader.java | 2 ++ .../gthandler/recipes/AssemblerRecipes.java | 18 ++++++++++++++++++ .../gthandler/recipes/ChemicalBathRecipes.java | 5 +++++ .../gthandler/recipes/PolarizerRecipes.java | 18 ++++++++++++++++++ 5 files changed, 50 insertions(+) create mode 100644 src/main/java/com/dreammaster/gthandler/recipes/PolarizerRecipes.java diff --git a/src/main/java/com/dreammaster/gthandler/GT_CraftingRecipeLoader.java b/src/main/java/com/dreammaster/gthandler/GT_CraftingRecipeLoader.java index c4590d40c..1ed412f06 100644 --- a/src/main/java/com/dreammaster/gthandler/GT_CraftingRecipeLoader.java +++ b/src/main/java/com/dreammaster/gthandler/GT_CraftingRecipeLoader.java @@ -746,6 +746,13 @@ public void run() { GGMaterial.incoloy903.get(OrePrefixes.pipeMedium), 'F', GGMaterial.incoloy903.get(OrePrefixes.gearGt) }); + // Neutronium Stabilization Casing + GTModHandler.addCraftingRecipe( + ItemList.Neutronium_Stable_Casing.get(1), + bits, + new Object[] { "PQP", "QFQ", "PQP", 'P', ItemList.Casing_Coil_NaquadahAlloy.get(1), 'Q', + ItemList.Field_Generator_ZPM.get(1), 'F', ItemList.Casing_MAX.get(1) }); + // Industrial Precision Lathe GTModHandler.addCraftingRecipe( ItemList.Machine_Multi_Lathe.get(1), diff --git a/src/main/java/com/dreammaster/gthandler/GT_MachineRecipeLoader.java b/src/main/java/com/dreammaster/gthandler/GT_MachineRecipeLoader.java index bb84ea165..5563918c9 100644 --- a/src/main/java/com/dreammaster/gthandler/GT_MachineRecipeLoader.java +++ b/src/main/java/com/dreammaster/gthandler/GT_MachineRecipeLoader.java @@ -33,6 +33,7 @@ import com.dreammaster.gthandler.recipes.MaceratorRecipes; import com.dreammaster.gthandler.recipes.MixerRecipes; import com.dreammaster.gthandler.recipes.NeutroniumCompressorRecipes; +import com.dreammaster.gthandler.recipes.PolarizerRecipes; import com.dreammaster.gthandler.recipes.RecipeRemoval; import com.dreammaster.gthandler.recipes.SifterRecipes; import com.dreammaster.gthandler.recipes.SpaceAssemblerRecipes; @@ -84,6 +85,7 @@ public void run() { new CrackingRecipes().run(); new SpaceAssemblerRecipes().run(); new VacuumFurnaceRecipes().run(); + new PolarizerRecipes().run(); } } diff --git a/src/main/java/com/dreammaster/gthandler/recipes/AssemblerRecipes.java b/src/main/java/com/dreammaster/gthandler/recipes/AssemblerRecipes.java index c9805b447..f62f90ba1 100644 --- a/src/main/java/com/dreammaster/gthandler/recipes/AssemblerRecipes.java +++ b/src/main/java/com/dreammaster/gthandler/recipes/AssemblerRecipes.java @@ -2278,6 +2278,24 @@ public void run() { .itemOutputs(ItemList.Casing_Electromagnetic_Separator.get(1)).duration(2 * SECONDS + 10 * TICKS) .eut(16).addTo(assemblerRecipes); + // Neutronium Stabilization Casing + GTValues.RA.stdBuilder() + .itemInputs( + ItemList.Field_Generator_ZPM.get(4), + ItemList.Casing_Coil_NaquadahAlloy.get(4), + ItemList.Casing_MAX.get(1), + GTUtility.getIntegratedCircuit(16)) + .itemOutputs(ItemList.Neutronium_Stable_Casing.get(1)).duration(2 * SECONDS + 10 * TICKS).eut(16) + .addTo(assemblerRecipes); + + // Neutronium Compressor conversion + GTValues.RA.stdBuilder() + .itemInputs( + getModItem(Avaritia.ID, "Neutronium_Compressor", 1, 0, missing), + GTUtility.getIntegratedCircuit(16)) + .itemOutputs(ItemList.Machine_Multi_NeutroniumCompressor.get(1)).duration(2 * SECONDS + 10 * TICKS) + .eut(16).addTo(assemblerRecipes); + // Laser Containment Casing GTValues.RA.stdBuilder().itemInputs(STELLITE.getPlate(6), NITINOL_60.getFrameBox(1)) .itemOutputs(ItemList.Casing_Laser.get(1)).duration(2 * SECONDS + 10 * TICKS).eut(16) diff --git a/src/main/java/com/dreammaster/gthandler/recipes/ChemicalBathRecipes.java b/src/main/java/com/dreammaster/gthandler/recipes/ChemicalBathRecipes.java index 2ef42a42c..3195509a8 100644 --- a/src/main/java/com/dreammaster/gthandler/recipes/ChemicalBathRecipes.java +++ b/src/main/java/com/dreammaster/gthandler/recipes/ChemicalBathRecipes.java @@ -174,6 +174,11 @@ public void run() { .fluidInputs(FluidRegistry.getFluidStack("molten.hastelloyx", 1152)).duration(15 * SECONDS) .eut(TierEU.RECIPE_IV).addTo(chemicalBathRecipes); + // Neutronium Casing + GTValues.RA.stdBuilder().itemInputs(ItemList.Casing_AdvancedRadiationProof.get(1)) + .itemOutputs(ItemList.Neutronium_Casing.get(1)).fluidInputs(Materials.Neutronium.getMolten(8064)) + .duration(10 * SECONDS).eut(TierEU.RECIPE_UV).addTo(chemicalBathRecipes); + // Superplasticizer-treated high strength concrete Fluid naphthalene = FluidRegistry.getFluid("fluid.naphthalene"); GTValues.RA.stdBuilder().itemInputs(GTModHandler.getIC2Item("reinforcedStone", 1)) diff --git a/src/main/java/com/dreammaster/gthandler/recipes/PolarizerRecipes.java b/src/main/java/com/dreammaster/gthandler/recipes/PolarizerRecipes.java new file mode 100644 index 000000000..0eacb9b7e --- /dev/null +++ b/src/main/java/com/dreammaster/gthandler/recipes/PolarizerRecipes.java @@ -0,0 +1,18 @@ +package com.dreammaster.gthandler.recipes; + +import static gregtech.api.recipe.RecipeMaps.polarizerRecipes; +import static gregtech.api.util.GTRecipeBuilder.SECONDS; + +import gregtech.api.enums.GTValues; +import gregtech.api.enums.ItemList; +import gregtech.api.enums.TierEU; + +public class PolarizerRecipes implements Runnable { + + @Override + public void run() { + GTValues.RA.stdBuilder().itemInputs(ItemList.Neutronium_Casing.get(1)) + .itemOutputs(ItemList.Neutronium_Active_Casing.get(1)).duration(20 * SECONDS).eut(TierEU.RECIPE_UV) + .addTo(polarizerRecipes); + } +}