Skip to content

Commit 9f2b621

Browse files
authored
Merge pull request #155 from Teteros/biodiesel-buff-and-recipes
Double Bio Diesel Fuel Value and add Mixer Recipes for Ethanol + Cooking Oils = Bio Diesel.
2 parents a41b019 + 51ac233 commit 9f2b621

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

src/main/java/gregtech/loaders/b/Loader_Fuels.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,8 @@ public void run() {
127127
FM.Engine .addRecipe0(T, - 16, 12, tFuel , FL.CarbonDioxide.make(1), ZL_IS);
128128
}
129129
for (FluidStack tFuel : FL.BioDiesel.list(1)) {
130-
FM.Burn .addRecipe0(T, - 16, 9, tFuel , FL.CarbonDioxide.make(1), ZL_IS);
131-
FM.Engine .addRecipe0(T, - 16, 12, tFuel , FL.CarbonDioxide.make(1), ZL_IS);
130+
FM.Burn .addRecipe0(T, - 16, 18, tFuel , FL.CarbonDioxide.make(1), ZL_IS);
131+
FM.Engine .addRecipe0(T, - 16, 24, tFuel , FL.CarbonDioxide.make(1), ZL_IS);
132132
}
133133
for (FluidStack tFuel : FL.BioFuel.list(1)) {
134134
FM.Burn .addRecipe0(T, - 64, 9, tFuel , FL.CarbonDioxide.make(1), ZL_IS);

src/main/java/gregtech/loaders/c/Loader_Recipes_Chem.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -560,5 +560,11 @@ public class Loader_Recipes_Chem implements Runnable {
560560
RM.Drying .addRecipe1(T, 16, 2000, OP.dust.mat(MT.OREMATS.Perlite , 1), NF, FL.DistW.make( 1000), OP.dust.mat(MT.Obsidian, 1));
561561
for (OreDictMaterial tMat : ANY.Clay.mToThis)
562562
RM.Drying .addRecipe1(T, 16, 1000, OP.dust.mat(tMat , 1), NF, FL.DistW.make( 500), OP.dust.mat(MT.Ceramic , 1));
563+
564+
if (FL.BioDiesel.exists() && FL.BioEthanol.exists()) {
565+
for (String tOil : FluidsGT.COOKING_OIL) if (FL.exists(tOil)) {
566+
RM.Mixer.addRecipe0(T, 16, 16, FL.array(FL.make(tOil, 8), FL.BioEthanol.make(8)), FL.BioDiesel.make(16), ZL_IS);
567+
}
568+
}
563569
}
564570
}

0 commit comments

Comments
 (0)