aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/loaders
diff options
context:
space:
mode:
authorDaniel Mendes <70096037+Steelux8@users.noreply.github.com>2024-08-09 11:40:57 +0100
committerGitHub <noreply@github.com>2024-08-09 17:40:57 +0700
commit63deffda98c6773e05fc6b4daddd4236d4e61c1f (patch)
treedbef72c2f127bba7aae5008375b378e205a28eca /src/main/java/gregtech/loaders
parentd88e7b6f6c882579fb0dd000cbfbcc6859e8640a (diff)
downloadGT5-Unofficial-63deffda98c6773e05fc6b4daddd4236d4e61c1f.tar.gz
GT5-Unofficial-63deffda98c6773e05fc6b4daddd4236d4e61c1f.tar.bz2
GT5-Unofficial-63deffda98c6773e05fc6b4daddd4236d4e61c1f.zip
Add New Butane Crafting Option for Anti-Knock Agent (#2762)
* Add new butane option for Anti-Knock -> Add new alternative MTBE fluid made from Butane instead of Butene, to prevent mixing the two fluids; -> Add equivalent recipes for the new fluid, with Butane instead of Butene. * Spotless apply for branch Butane_For_AntiKnock for #2762 (#2763) spotlessApply Co-authored-by: GitHub GTNH Actions <> * duct tape fix (cherry picked from commit 7cfb3923d6ff6abe6d56d6bbab3d05eb5529bb64) (cherry picked from commit 670b21508b9f429eace6bee29b7426dd30c4dd00) (cherry picked from commit 881dcefd8d2e6d72d1fa4970ee9704adfbf68c4c) --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Dream Master <dream-master@gmx.net>
Diffstat (limited to 'src/main/java/gregtech/loaders')
-rw-r--r--src/main/java/gregtech/loaders/postload/recipes/ChemicalRecipes.java8
-rw-r--r--src/main/java/gregtech/loaders/postload/recipes/DistilleryRecipes.java10
-rw-r--r--src/main/java/gregtech/loaders/postload/recipes/MixerRecipes.java7
3 files changed, 25 insertions, 0 deletions
diff --git a/src/main/java/gregtech/loaders/postload/recipes/ChemicalRecipes.java b/src/main/java/gregtech/loaders/postload/recipes/ChemicalRecipes.java
index 5add456f34..9a8ce44947 100644
--- a/src/main/java/gregtech/loaders/postload/recipes/ChemicalRecipes.java
+++ b/src/main/java/gregtech/loaders/postload/recipes/ChemicalRecipes.java
@@ -5610,6 +5610,14 @@ public class ChemicalRecipes implements Runnable {
GT_Values.RA.stdBuilder()
.itemInputs(GT_Utility.getIntegratedCircuit(24))
+ .fluidInputs(Materials.Methanol.getFluid(1000), Materials.Butane.getGas(1000))
+ .fluidOutputs(Materials.MTBEMixtureAlt.getGas(1000))
+ .duration(20 * TICKS)
+ .eut(TierEU.RECIPE_HV)
+ .addTo(multiblockChemicalReactorRecipes);
+
+ GT_Values.RA.stdBuilder()
+ .itemInputs(GT_Utility.getIntegratedCircuit(24))
.fluidInputs(
Materials.Naquadria.getMolten(4608),
Materials.ElectrumFlux.getMolten(4608),
diff --git a/src/main/java/gregtech/loaders/postload/recipes/DistilleryRecipes.java b/src/main/java/gregtech/loaders/postload/recipes/DistilleryRecipes.java
index 1cae357f24..449bda7b27 100644
--- a/src/main/java/gregtech/loaders/postload/recipes/DistilleryRecipes.java
+++ b/src/main/java/gregtech/loaders/postload/recipes/DistilleryRecipes.java
@@ -568,6 +568,16 @@ public class DistilleryRecipes implements Runnable {
.addTo(distillationTowerRecipes);
GT_Values.RA.stdBuilder()
+ .fluidInputs(Materials.MTBEMixtureAlt.getGas(900L))
+ .fluidOutputs(
+ Materials.AntiKnock.getFluid(400L),
+ Materials.Methanol.getFluid(500L),
+ Materials.Butane.getGas(400L))
+ .duration(2 * SECONDS)
+ .eut(TierEU.RECIPE_MV)
+ .addTo(distillationTowerRecipes);
+
+ GT_Values.RA.stdBuilder()
.itemOutputs(ItemList.IC2_Fertilizer.get(1))
.fluidInputs(Materials.FermentedBiomass.getFluid(1000))
.fluidOutputs(
diff --git a/src/main/java/gregtech/loaders/postload/recipes/MixerRecipes.java b/src/main/java/gregtech/loaders/postload/recipes/MixerRecipes.java
index 6f2de1d6b3..3974dd2b68 100644
--- a/src/main/java/gregtech/loaders/postload/recipes/MixerRecipes.java
+++ b/src/main/java/gregtech/loaders/postload/recipes/MixerRecipes.java
@@ -1489,6 +1489,13 @@ public class MixerRecipes implements Runnable {
.addTo(mixerRecipes);
GT_Values.RA.stdBuilder()
+ .itemInputs(Materials.Methanol.getCells(1), Materials.Butane.getCells(1))
+ .itemOutputs(Materials.MTBEMixtureAlt.getCells(1), Materials.Empty.getCells(1))
+ .duration(20 * TICKS)
+ .eut(TierEU.RECIPE_HV)
+ .addTo(mixerRecipes);
+
+ GT_Values.RA.stdBuilder()
.itemInputs(
Materials.Naphtha.getCells(16),
Materials.Gas.getCells(2),