diff --git a/src/main/java/vazkii/botania/common/crafting/ModCraftingRecipes.java b/src/main/java/vazkii/botania/common/crafting/ModCraftingRecipes.java index 2bea47c2b..84360be66 100644 --- a/src/main/java/vazkii/botania/common/crafting/ModCraftingRecipes.java +++ b/src/main/java/vazkii/botania/common/crafting/ModCraftingRecipes.java @@ -239,7 +239,8 @@ public final class ModCraftingRecipes { public static IRecipe recipeCrystalBow; public static List recipesCosmeticItems; public static List recipesMushrooms; - + public static IRecipe recipeSwapRing; + public static void init() { // Lexicon Recipe addShapelessOreDictRecipe(new ItemStack(ModItems.lexicon), "treeSapling", Items.book); @@ -1578,6 +1579,13 @@ public final class ModCraftingRecipes { recipesMushrooms = BotaniaAPI.getLatestAddedRecipes(32); GameRegistry.addShapelessRecipe(new ItemStack(Items.mushroom_stew), new ItemStack(ModBlocks.mushroom, 1, Short.MAX_VALUE), new ItemStack(ModBlocks.mushroom, 1, Short.MAX_VALUE), new ItemStack(Items.bowl)); + // Ring of Correction Recipe + addOreDictRecipe(new ItemStack(ModItems.swapRing), + "CM ", "M M", " M ", + 'C', new ItemStack(Blocks.clay), + 'M', LibOreDict.MANA_STEEL); + recipeSwapRing = BotaniaAPI.getLatestAddedRecipe(); + // Storage Block Recipes addOreDictRecipe(new ItemStack(ModBlocks.storage, 1, 0), "III", "III", "III", diff --git a/src/main/java/vazkii/botania/common/lexicon/LexiconData.java b/src/main/java/vazkii/botania/common/lexicon/LexiconData.java index c65512dd3..6b00d93a7 100644 --- a/src/main/java/vazkii/botania/common/lexicon/LexiconData.java +++ b/src/main/java/vazkii/botania/common/lexicon/LexiconData.java @@ -207,6 +207,7 @@ public final class LexiconData { public static LexiconEntry bloodPendant; public static LexiconEntry judgementCloaks; public static LexiconEntry monocle; + public static LexiconEntry swapRing; public static LexiconEntry alfhomancyIntro; public static LexiconEntry elvenMessage; @@ -766,6 +767,9 @@ public final class LexiconData { monocle = new BLexiconEntry(LibLexicon.BAUBLE_MONOCLE, categoryBaubles); monocle.setLexiconPages(new PageText("0"), new PageCraftingRecipe("1", ModCraftingRecipes.recipeMonocle)); + swapRing = new BLexiconEntry(LibLexicon.BAUBLE_SWAP_RING, categoryBaubles); + swapRing.setLexiconPages(new PageText("0"), new PageCraftingRecipe("1", ModCraftingRecipes.recipeSwapRing)); + // ALFHOMANCY ENTRIES alfhomancyIntro = new BLexiconEntry(LibLexicon.ALF_INTRO, categoryAlfhomancy); alfhomancyIntro.setPriority().setLexiconPages(new PageText("0"), new PageText("1"), new PageCraftingRecipe("2", ModCraftingRecipes.recipeAlfPortal), new PageCraftingRecipe("3", ModCraftingRecipes.recipeNaturaPylon), diff --git a/src/main/java/vazkii/botania/common/lib/LibLexicon.java b/src/main/java/vazkii/botania/common/lib/LibLexicon.java index ad0f82af4..8d96fe570 100644 --- a/src/main/java/vazkii/botania/common/lib/LibLexicon.java +++ b/src/main/java/vazkii/botania/common/lib/LibLexicon.java @@ -181,6 +181,7 @@ public final class LibLexicon { public static final String BAUBLE_BLOOD_PENDANT = "bloodPendant"; public static final String BAUBLE_JUDGEMENT_CLOAKS = "judgementCloaks"; public static final String BAUBLE_MONOCLE = "monocle"; + public static final String BAUBLE_SWAP_RING = "swapRing"; public static final String ALF_INTRO = "aIntro"; public static final String ALF_MESSAGE = "elfMessage"; diff --git a/src/main/resources/assets/botania/lang/en_US.lang b/src/main/resources/assets/botania/lang/en_US.lang index 6e5648dec..7bb3b017f 100644 --- a/src/main/resources/assets/botania/lang/en_US.lang +++ b/src/main/resources/assets/botania/lang/en_US.lang @@ -2220,6 +2220,11 @@ botania.entry.monocle=Manaseer Monocle botania.page.monocle0=A handy acessory for one who requires a thorough window into where their &4Mana Bursts&0 are going is the &1Manaseer Monocle&0. Not only is it a rather fancy eyepiece but it also allows the wearer to see all nearby &4Mana Bursts&0, even if their line of sight towards them is blocked by something. botania.page.monocle1=Why hello there old chap +# -- RING OF CORRECTION +botania.entry.swapRing=Ring of Correction +botania.page.swapRing0=Switching tools is a pain. People often find themselves shoveling away at dirt with... a pick? Using the &1Ring of Correction&0 is a great way to, well, correct that.
While this ring is worn, the tool in hand will always be the right one for the block being broken, be it a pick, axe or shovel. This only works with tools that can use &4Mana&0. +botania.page.swapRing1=Use the right tools + # - ALFHOMANCY # -- THE PORTAL TO ALFHEIM botania.entry.aIntro=The Portal to Alfheim