Skip to content

Commit

Permalink
Recipe for quantum ring card
Browse files Browse the repository at this point in the history
Add recipe for quantum ring card
Change inf card to use QR cards
  • Loading branch information
EnderProyects committed Jan 20, 2025
1 parent 1db9dc1 commit c4adac3
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 2 deletions.
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.51.83:dev")
api("com.github.GTNewHorizons:GT5-Unofficial:5.09.51.85:dev")
api("com.github.GTNewHorizons:Yamcl:0.6.0:dev")
api("com.github.GTNewHorizons:Baubles:1.0.4:dev")

Expand Down
19 changes: 19 additions & 0 deletions src/main/java/com/dreammaster/scripts/ScriptAE2FC.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.dreammaster.scripts;

import static goodgenerator.api.recipe.GoodGeneratorRecipeMaps.preciseAssemblerRecipes;
import static gregtech.api.enums.Mods.AE2FluidCraft;
import static gregtech.api.enums.Mods.AppliedEnergistics2;
import static gregtech.api.enums.Mods.Avaritia;
Expand All @@ -13,6 +14,7 @@
import static gregtech.api.recipe.RecipeMaps.circuitAssemblerRecipes;
import static gregtech.api.util.GTModHandler.getModItem;
import static gregtech.api.util.GTRecipeBuilder.SECONDS;
import static gregtech.api.util.GTRecipeConstants.PRECISE_ASSEMBLER_CASING_TIER;

import java.util.Arrays;
import java.util.HashMap;
Expand All @@ -31,6 +33,7 @@

import cpw.mods.fml.common.registry.GameRegistry;
import fox.spiteful.avaritia.crafting.ExtremeCraftingManager;
import goodgenerator.items.GGMaterial;
import goodgenerator.loader.Loaders;
import gregtech.api.enums.GTValues;
import gregtech.api.enums.ItemList;
Expand Down Expand Up @@ -1085,5 +1088,21 @@ public void loadRecipes() {
GameRegistry.addShapelessRecipe(AE2FC_INTERFACE_P2P, AE2_P2P_ME, AE2FC_INTERFACE);
GameRegistry.addShapelessRecipe(AE2FC_INTERFACE_P2P, AE2_P2P_ME, AE2FC_INTERFACE_SMALL);
GameRegistry.addShapelessRecipe(AE2FC_ENERGY_CARD, AE2_ADV_CARD, AE2_NEUTRONIUM_ENERGY_CELL);
// Quantum bridge card
GTValues.RA.stdBuilder()
.itemInputs(
GTModHandler.getModItem(AppliedEnergistics2.ID, "item.ItemMultiMaterial", 16, 42, missing),
GTModHandler.getModItem(AppliedEnergistics2.ID, "tile.BlockQuantumRing", 8),
GTModHandler.getModItem(AppliedEnergistics2.ID, "item.ItemPaintBall", 6, 2, missing),
GTModHandler.getModItem(OpenComputers.ID, "item.ae", 1, 2))
.itemOutputs(getModItem(AE2FluidCraft.ID, "quantum_bridge_card", 1, missing))
.fluidInputs(
Materials.Quantium.getMolten(576),
GGMaterial.artheriumSn.getMolten(144),
GGMaterial.titaniumBetaC.getMolten(288),
Materials.Enderium.getMolten(144))
.duration(5 * SECONDS).eut(TierEU.RECIPE_LuV).metadata(PRECISE_ASSEMBLER_CASING_TIER, 2).noOptimize()
.addTo(preciseAssemblerRecipes);

}
}
3 changes: 2 additions & 1 deletion src/main/java/com/dreammaster/scripts/ScriptAE2WC.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.dreammaster.scripts;

import static gregtech.api.enums.Mods.AE2FluidCraft;
import static gregtech.api.enums.Mods.AE2WCT;
import static gregtech.api.enums.Mods.AppliedEnergistics2;
import static gregtech.api.enums.Mods.Avaritia;
Expand Down Expand Up @@ -59,7 +60,7 @@ public void loadRecipes() {
"abcbabcba",
"aaaaaaaaa",
'a',
getModItem(AppliedEnergistics2.ID, "item.ItemMultiMaterial", 1, 42, missing),
getModItem(AE2FluidCraft.ID, "quantum_bridge_card", 1, missing),
'b',
getModItem(Avaritia.ID, "Resource", 1, 6, missing),
'c',
Expand Down

0 comments on commit c4adac3

Please sign in to comment.