From fc9ebd66d9c72dbcc3aa2e30785f0c1cbf57f641 Mon Sep 17 00:00:00 2001 From: Quantumlyy Date: Tue, 12 Dec 2023 13:10:10 +0100 Subject: [PATCH] add phialing cabinet research --- .../main/utils/compat/ThaumcraftHelper.java | 21 +++++++++++++++++++ .../assets/magicbees/lang/en_US.lang | 4 ++++ 2 files changed, 25 insertions(+) diff --git a/src/main/java/magicbees/main/utils/compat/ThaumcraftHelper.java b/src/main/java/magicbees/main/utils/compat/ThaumcraftHelper.java index 37fcf6f..40fdc77 100644 --- a/src/main/java/magicbees/main/utils/compat/ThaumcraftHelper.java +++ b/src/main/java/magicbees/main/utils/compat/ThaumcraftHelper.java @@ -85,6 +85,7 @@ public class ThaumcraftHelper implements IModHelper { private static Object visAuraProvider; private static Object voidScoop; private static Object voidGrafter; + private static InfusionRecipe phialingCabinet; public static boolean isActive() { return isThaumcraftPresent; @@ -290,6 +291,14 @@ public class ThaumcraftHelper implements IModHelper { Items.stick, 'T', new ItemStack(miscResource, 1, MiscResource.VOID_INGOT.ordinal())); + + phialingCabinet = ThaumcraftApi.addInfusionCraftingRecipe( + "MB_PhialingCabinet", + new ItemStack(Config.phialingCabinet), + 6, + new AspectList().add(Aspect.ELDRITCH, 10).add(Aspect.EXCHANGE, 20).add(Aspect.VOID, 15), + Config.propolis.getStackForType(PropolisType.UNSTABLE), + new ItemStack[] { input, input, in2 }); } private static void setupResearch() { @@ -534,6 +543,18 @@ public class ThaumcraftHelper implements IModHelper { new ResearchPage((IArcaneRecipe) visAuraProvider)) .setParentsHidden("VISPOWER").registerResearchItem(); + new ResearchItem( + "MB_PhialingCabinet", + category, + new AspectList().add(Aspect.ELDRITCH, 1).add(Aspect.HARVEST, 1).add(Aspect.MAGIC, 1) + .add((Aspect) aspectTime, 1), + -3, + 5, + 4, + new ItemStack(Config.phialingCabinet)) + .setPages(getResearchPage("MB_PhialingCabinet.1"), new ResearchPage(phialingCabinet)) + .setParentsHidden("VOIDMETAL", "ESSENTIARESERVOIR").setConcealed().registerResearchItem(); + } private static ResearchPage getResearchPage(String ident) { diff --git a/src/main/resources/assets/magicbees/lang/en_US.lang b/src/main/resources/assets/magicbees/lang/en_US.lang index 0facfe0..3a6b5bd 100644 --- a/src/main/resources/assets/magicbees/lang/en_US.lang +++ b/src/main/resources/assets/magicbees/lang/en_US.lang @@ -685,6 +685,10 @@ tc.research_name.MB_VisAuraProvider=Vis Apiary Booster tc.research_text.MB_VisAuraProvider=Vis? What about Bis? tc.research_page.MB_VisAuraProvider.1=Infusing Unusual Pollen with vis and combining it with gold creates an unusual crystal that, when fed centivis from an aura node, creates an energizing aura that bees are naturally attracted to when attuned to the environment within a Magic Apiary.§3Aqua§0 CV will double mutation rate
§8Perditio§0 CV will halve lifespan
§6Aer§0 CV will double production rate +tc.research_name.MB_PhialingCabinet=Phialing Cabinet +tc.research_text.MB_PhialingCabinet=How long will your queen last? +tc.research_page.MB_PhialingCabinet.1= + tc.research_name.MB_ScoopVoid=Void Scoop tc.research_text.MB_ScoopVoid=The dark net tc.research_page.MB_ScoopVoid.1=Void metal is a curious thing, and it's time to see what it can bring to Apimancy. Its self-regenerative properties have seeped their way into the net as well, creating a most unsettling mesh.
Hopefully it won't affect the bees too much...