Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add recipes for stocking buses/hatches #748

Merged
merged 1 commit into from
Oct 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dependencies.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Add your dependencies here

dependencies {
api("com.github.GTNewHorizons:GT5-Unofficial:5.09.44.68:dev")
api("com.github.GTNewHorizons:GT5-Unofficial:5.09.44.70-pre:dev")
api("com.github.GTNewHorizons:Yamcl:0.5.86:dev")
api("com.github.GTNewHorizons:Baubles:1.0.1.16:dev")

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3770,15 +3770,31 @@ private void makeAE2Recipes() {
.itemOutputs(ItemList.Hatch_Output_ME.get(1)).duration(15 * SECONDS).eut(TierEU.RECIPE_HV)
.addTo(sAssemblerRecipes);

// Stocking Input Bus (ME)
GT_Values.RA.stdBuilder()
.itemInputs(
ItemList.Hatch_Input_Bus_HV.get(1L),
GT_ModHandler.getModItem(AppliedEnergistics2.ID, "item.ItemMultiPart", 1L, 440),
GT_ModHandler.getModItem(AppliedEnergistics2.ID, "tile.BlockInterface", 1L),
// Acceleration Card
GT_ModHandler.getModItem(AppliedEnergistics2.ID, "item.ItemMultiMaterial", 4L, 30),
GT_Utility.getIntegratedCircuit(1))
.itemOutputs(ItemList.Hatch_Input_Bus_ME.get(1)).duration(15 * SECONDS).eut(TierEU.RECIPE_HV)
.addTo(sAssemblerRecipes);

// Stocking Input Hatch (ME)
GT_Values.RA.stdBuilder()
.itemInputs(
ItemList.Hatch_Input_Multi_2x2_UV.get(4L),
GT_ModHandler.getModItem(AE2FluidCraft.ID, "fluid_interface", 1L),
ItemList.Circuit_Chip_NeuroCPU.get(1L),
ItemList.Electric_Pump_UV.get(1L),
// 4096k Me Fluid Storage Component
GT_ModHandler.getModItem(AE2FluidCraft.ID, "fluid_part", 4L, 6),
// Hyper-Acceleration Card
GT_ModHandler.getModItem(AppliedEnergistics2.ID, "item.ItemMultiMaterial", 1L, 56))
.itemOutputs(ItemList.Hatch_Input_ME.get(1)).duration(15 * SECONDS).eut(TierEU.RECIPE_UV)
.addTo(sAssemblerRecipes);

// Cell Workbench
GT_Values.RA.stdBuilder()
.itemInputs(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,19 @@ public void run() {
.fluidInputs(new FluidStack(solderIndalloy, 720)).itemOutputs(ItemList.Energy_LapotronicOrb2.get(1L))
.eut(TierEU.RECIPE_ZPM).duration(50 * SECONDS).addTo(AssemblyLine);

// Advanced Stocking Input Bus (ME)
GT_Values.RA.stdBuilder().metadata(RESEARCH_ITEM, ItemList.Hatch_Input_Bus_ME.get(1L))
.metadata(RESEARCH_TIME, 1 * HOURS)
.itemInputs(
ItemList.Hatch_Input_Bus_LuV.get(1L),
GT_ModHandler.getModItem(AppliedEnergistics2.ID, "tile.BlockInterface", 1L),
ItemList.Conveyor_Module_IV.get(1L),
// Acceleration Card
GT_ModHandler.getModItem(AppliedEnergistics2.ID, "item.ItemMultiMaterial", 4L, 30))
.fluidInputs(new FluidStack(solderIndalloy, 288), FluidRegistry.getFluidStack("lubricant", 500))
.itemOutputs(ItemList.Hatch_Input_Bus_ME_Advanced.get(1L)).eut(TierEU.RECIPE_LuV).duration(15 * SECONDS)
.addTo(AssemblyLine);

if (TecTech.isModLoaded()) {
TT_recipeAdder.addResearchableAssemblylineRecipe(
ItemList.Hatch_CraftingInput_Bus_ME_ItemOnly.get(1L),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package com.dreammaster.gthandler.recipes;

import static gregtech.api.enums.Mods.AE2FluidCraft;
import static gregtech.api.enums.Mods.AppliedEnergistics2;
import static gregtech.api.enums.Mods.BartWorks;
import static gregtech.api.enums.Mods.GTNHIntergalactic;
import static gregtech.api.enums.Mods.GTPlusPlus;
Expand Down Expand Up @@ -230,6 +232,25 @@ public void run() {
(int) TierEU.RECIPE_UIV,
null,
null);

// Advanced Stocking Input Hatch (ME)
IG_RecipeAdder
.addSpaceAssemblerRecipe(
new ItemStack[] { ItemList.Hatch_Input_Multi_2x2_UEV.get(4L),
GT_ModHandler.getModItem(AE2FluidCraft.ID, "fluid_interface", 1L),
ItemList.Optically_Compatible_Memory.get(2), ItemList.Electric_Pump_UEV.get(1L),
// 16384k Me Fluid Storage Component
GT_ModHandler.getModItem(AE2FluidCraft.ID, "fluid_part", 4, 7),
// Hyper-Acceleration Card
GT_ModHandler
.getModItem(AppliedEnergistics2.ID, "item.ItemMultiMaterial", 4L, 56) },
new FluidStack[] { new FluidStack(solderUEV, 2304) },
ItemList.Hatch_Input_ME_Advanced.get(1),
1,
15 * 20,
(int) TierEU.RECIPE_UHV,
null,
null);
}
if (OpenComputers.isModLoaded()) {
// Memory Tier 3.5
Expand Down