Skip to content

Commit

Permalink
Add a few midgame recipes (#2137)
Browse files Browse the repository at this point in the history
  • Loading branch information
serenibyss authored Oct 31, 2023
1 parent 65c482c commit 90b4b9d
Show file tree
Hide file tree
Showing 2 changed files with 75 additions and 3 deletions.
65 changes: 62 additions & 3 deletions src/main/java/gregtech/loaders/recipe/MachineRecipeLoader.java
Original file line number Diff line number Diff line change
Expand Up @@ -711,16 +711,75 @@ private static void registerAssemblerRecipes() {
}

private static void registerBlastFurnaceRecipes() {
// Steel
BLAST_RECIPES.recipeBuilder().duration(500).EUt(VA[MV])
.input(ingot, Iron)
.fluidInputs(Oxygen.getFluid(200))
.output(ingot, Steel)
.output(dustTiny, Ash)
.blastFurnaceTemp(1000)
.buildAndRegister();

BLAST_RECIPES.recipeBuilder().duration(400).EUt(VA[MV])
.input(dust, Iron)
.fluidInputs(Oxygen.getFluid(200))
.output(ingot, Steel)
.output(dustTiny, Ash)
.circuitMeta(2)
.blastFurnaceTemp(1000)
.buildAndRegister();

BLAST_RECIPES.recipeBuilder().duration(300).EUt(VA[MV])
.input(ingot, WroughtIron)
.fluidInputs(Oxygen.getFluid(200))
.output(ingot, Steel)
.output(dustTiny, Ash)
.blastFurnaceTemp(1000)
.buildAndRegister();

BLAST_RECIPES.recipeBuilder().duration(100).EUt(VA[MV])
.input(dust, WroughtIron)
.fluidInputs(Oxygen.getFluid(200))
.output(ingot, Steel)
.output(dustTiny, Ash)
.circuitMeta(2)
.blastFurnaceTemp(1000)
.buildAndRegister();

BLAST_RECIPES.recipeBuilder().duration(250).EUt(VA[EV])
.input(dust, Iron, 4)
.input(dust, Carbon)
.output(ingot, Steel, 4)
.output(dustTiny, Ash)
.blastFurnaceTemp(2000)
.buildAndRegister();

BLAST_RECIPES.recipeBuilder().duration(50).EUt(VA[EV])
.input(dust, WroughtIron, 4)
.input(dust, Carbon)
.output(ingot, Steel, 4)
.output(dustTiny, Ash)
.blastFurnaceTemp(2000)
.buildAndRegister();

// Aluminium from aluminium oxide gems
BLAST_RECIPES.recipeBuilder().duration(400).EUt(100).input(dust, Ruby).output(nugget, Aluminium, 3).output(dustTiny, DarkAsh).blastFurnaceTemp(1200).buildAndRegister();
BLAST_RECIPES.recipeBuilder().duration(320).EUt(100).input(gem, Ruby).output(nugget, Aluminium, 3).output(dustTiny, DarkAsh).blastFurnaceTemp(1200).buildAndRegister();
BLAST_RECIPES.recipeBuilder().duration(400).EUt(100).input(dust, GreenSapphire).output(nugget, Aluminium, 3).output(dustTiny, DarkAsh).blastFurnaceTemp(1200).buildAndRegister();
BLAST_RECIPES.recipeBuilder().duration(320).EUt(100).input(gem, GreenSapphire).output(nugget, Aluminium, 3).output(dustTiny, DarkAsh).blastFurnaceTemp(1200).buildAndRegister();
BLAST_RECIPES.recipeBuilder().duration(400).EUt(100).input(dust, Sapphire).output(nugget, Aluminium, 3).blastFurnaceTemp(1200).buildAndRegister();
BLAST_RECIPES.recipeBuilder().duration(320).EUt(100).input(gem, Sapphire).output(nugget, Aluminium, 3).blastFurnaceTemp(1200).buildAndRegister();
BLAST_RECIPES.recipeBuilder().duration(800).EUt(VA[HV]).input(dust, Magnesium, 2).fluidInputs(TitaniumTetrachloride.getFluid(1000)).outputs(OreDictUnifier.get(OrePrefix.ingotHot, Materials.Titanium), OreDictUnifier.get(OrePrefix.dust, Materials.MagnesiumChloride, 6)).blastFurnaceTemp(Materials.Titanium.getBlastTemperature() + 200).buildAndRegister();
BLAST_RECIPES.recipeBuilder().duration(500).EUt(VA[MV]).input(ingot, Iron).fluidInputs(Oxygen.getFluid(200)).output(ingot, Steel).output(dustTiny, Ash).blastFurnaceTemp(1000).buildAndRegister();
BLAST_RECIPES.recipeBuilder().duration(300).EUt(VA[MV]).input(ingot, WroughtIron).fluidInputs(Oxygen.getFluid(200)).output(ingot, Steel).output(dustTiny, Ash).blastFurnaceTemp(1000).buildAndRegister();

// Titanium tetrachloride
BLAST_RECIPES.recipeBuilder().duration(800).EUt(VA[HV])
.input(dust, Magnesium, 2)
.fluidInputs(TitaniumTetrachloride.getFluid(1000))
.output(ingotHot, Titanium)
.output(dust, MagnesiumChloride, 6)
.blastFurnaceTemp(Titanium.getBlastTemperature() + 200)
.buildAndRegister();

// Rutile from ilmenite
BLAST_RECIPES.recipeBuilder()
.input(dust, Ilmenite, 10)
.input(dust, Carbon, 4)
Expand Down
13 changes: 13 additions & 0 deletions src/main/java/gregtech/loaders/recipe/chemistry/MixerRecipes.java
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,19 @@ public static void init() {
.output(dust, BlackSteel, 5)
.buildAndRegister();

// Black Steel shortcut
// Normal recipe would be 125 ticks per recipe at HV overclock, plus 125 ticks for the Black Bronze step,
// for a total of 750 ticks. This recipe is 5 batches at once, so is equivalent time but saves a step.
MIXER_RECIPES.recipeBuilder().duration(750).EUt(VA[HV])
.input(dust, Copper, 3)
.input(dust, Gold)
.input(dust, Silver)
.input(dust, Nickel, 5)
.input(dust, Steel, 15)
.circuitMeta(2)
.output(dust, BlackSteel, 25)
.buildAndRegister();

MIXER_RECIPES.recipeBuilder().duration(600).EUt(VA[ULV])
.input(dust, Saltpeter, 2)
.input(dust, Sulfur)
Expand Down

0 comments on commit 90b4b9d

Please sign in to comment.