Skip to content

Commit

Permalink
Recipe for Portable Shower (#1048)
Browse files Browse the repository at this point in the history
Co-authored-by: Martin Robertz <[email protected]>
  • Loading branch information
OmdaCZ and Dream-Master authored Nov 23, 2024
1 parent 42e4ebe commit 1ab1888
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions src/main/java/com/dreammaster/scripts/ScriptWarpTheory.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,11 @@
import static gregtech.api.enums.Mods.BiomesOPlenty;
import static gregtech.api.enums.Mods.BloodMagic;
import static gregtech.api.enums.Mods.Minecraft;
import static gregtech.api.enums.Mods.OpenBlocks;
import static gregtech.api.enums.Mods.Thaumcraft;
import static gregtech.api.enums.Mods.ThaumicBases;
import static gregtech.api.enums.Mods.ThaumicExploration;
import static gregtech.api.enums.Mods.ThaumicTinkerer;
import static gregtech.api.enums.Mods.WarpTheory;
import static gregtech.api.enums.Mods.Witchery;
import static gregtech.api.util.GTModHandler.getModItem;
Expand Down Expand Up @@ -52,6 +55,7 @@ public void loadRecipes() {
TCHelper.removeInfusionRecipe(getModItem(WarpTheory.ID, "item.warptheory.cleanserminor", 1, 0, missing));
TCHelper.removeInfusionRecipe(getModItem(WarpTheory.ID, "item.warptheory.cleanser", 1, 0, missing));
TCHelper.removeInfusionRecipe(getModItem(WarpTheory.ID, "item.warptheory.amulet", 1, 0, missing));
TCHelper.removeInfusionRecipe(getModItem(WarpTheory.ID, "item.warptheory.portableshower", 1, 0, missing));
TCHelper.clearPrereq("warptheory.paper");
TCHelper.addResearchPrereq("warptheory.paper", "RESEARCHER2", false);
TCHelper.clearPages("warptheory.paper");
Expand Down Expand Up @@ -202,8 +206,38 @@ public void loadRecipes() {
.add(Aspect.getAspect("potentia"), 12).add(Aspect.getAspect("praecantatio"), 9)
.add(Aspect.getAspect("permutatio"), 6).add(Aspect.getAspect("terra"), 3));
TCHelper.setResearchComplexity("warptheory.amulet", 4);

TCHelper.orphanResearch("warptheory.portableshower");
TCHelper.clearPrereq("warptheory.portableshower");
TCHelper.addResearchPrereq("warptheory.portableshower", "PURETEAR", false);
ThaumcraftApi.addInfusionCraftingRecipe(
"warptheory.portableshower",
getModItem(WarpTheory.ID, "item.warptheory.portableshower", 1, 0, missing),
64,
new AspectList().add(Aspect.getAspect("custom1"), 16).add(Aspect.getAspect("custom5"), 16)
.add(Aspect.getAspect("aer"), 1024).add(Aspect.getAspect("aqua"), 1024)
.add(Aspect.getAspect("praecantatio"), 256).add(Aspect.getAspect("tutamen"), 256)
.add(Aspect.getAspect("cognitio"), 256).add(Aspect.getAspect("tutamen"), 256)
.add(Aspect.getAspect("sano"), 1024),
getModItem(WarpTheory.ID, "item.warptheory.amulet", 1, 0, missing),
new ItemStack[] { getModItem(ThaumicTinkerer.ID, "kamiResource", 1, 1, missing),
getModItem(Thaumcraft.ID, "blockStoneDevice", 1, 12, missing),
getModItem(ThaumicExploration.ID, "everfullUrn", 1, 0, missing),
getModItem(Thaumcraft.ID, "ItemGolemCore", 1, 0, missing),
getModItem(OpenBlocks.ID, "sprinkler", 1, 0, missing),
GTOreDictUnificator.get(OrePrefixes.pipeTiny, Materials.Neutronium, 1L),
getModItem(OpenBlocks.ID, "xpshower", 1, 0, missing),
getModItem(Thaumcraft.ID, "ItemEldritchObject", 1L, 3),
GTOreDictUnificator.get(OrePrefixes.plateSuperdense, Materials.Ichorium, 1L) });
TCHelper.setResearchAspects(
"warptheory.portableshower",
new AspectList().add(Aspect.getAspect("custom1"), 5).add(Aspect.getAspect("custom3"), 5)
.add(Aspect.getAspect("potentia"), 32).add(Aspect.getAspect("praecantatio"), 20)
.add(Aspect.getAspect("aqua"), 32).add(Aspect.getAspect("aer"), 32));
TCHelper.setResearchComplexity("warptheory.portableshower", 4);
TCHelper.refreshResearchPages("warptheory.paper");
TCHelper.refreshResearchPages("warptheory.something");
TCHelper.refreshResearchPages("warptheory.amulet");
TCHelper.refreshResearchPages("warptheory.portableshower");
}
}

0 comments on commit 1ab1888

Please sign in to comment.