diff --git a/MODSRC/vazkii/botania/common/crafting/ModCrafingRecipes.java b/MODSRC/vazkii/botania/common/crafting/ModCrafingRecipes.java index 88e35fc64..e9483bfd0 100644 --- a/MODSRC/vazkii/botania/common/crafting/ModCrafingRecipes.java +++ b/MODSRC/vazkii/botania/common/crafting/ModCrafingRecipes.java @@ -112,6 +112,9 @@ public final class ModCrafingRecipes { public static IRecipe recipeForestEye; public static IRecipe recipeRedstoneRoot; public static IRecipe recipeForestDrum; + public static IRecipe recipeWaterRing; + public static IRecipe recipeMiningRing; + public static IRecipe recipeMagnetRing; public static void init() { // Lexicon Recipe @@ -599,6 +602,30 @@ public final class ModCrafingRecipes { 'H', new ItemStack(ModItems.grassHorn)); recipeForestDrum = BotaniaAPI.getLatestAddedRecipe(); + // Ring of Chordata Recipe + addOreDictRecipe(new ItemStack(ModItems.waterRing), + "WMP", "M M", "SM ", + 'W', LibOreDict.RUNE[0], + 'M', LibOreDict.MANA_STEEL, + 'P', new ItemStack(Items.fish, 1, 3), + 'S', new ItemStack(Items.fish, 1, 1)); + recipeWaterRing = BotaniaAPI.getLatestAddedRecipe(); + + // Ring of the Mantle Recipe + addOreDictRecipe(new ItemStack(ModItems.miningRing), + "EMP", "M M", " M ", + 'E', LibOreDict.RUNE[2], + 'M', LibOreDict.MANA_STEEL, + 'P', new ItemStack(Items.golden_pickaxe)); + recipeMiningRing = BotaniaAPI.getLatestAddedRecipe(); + + // Ring of Magnetization Recipe + addOreDictRecipe(new ItemStack(ModItems.magnetRing), + "LM ", "M M", " M ", + 'L', new ItemStack(ModItems.lens, 1, 10), + 'M', LibOreDict.MANA_STEEL); + recipeMagnetRing = BotaniaAPI.getLatestAddedRecipe(); + // Mana and Terrasteel Block Recipes addOreDictRecipe(new ItemStack(ModBlocks.storage, 1, 0), "III", "III", "III", diff --git a/MODSRC/vazkii/botania/common/item/equipment/bauble/ItemMiningRing.java b/MODSRC/vazkii/botania/common/item/equipment/bauble/ItemMiningRing.java index 87e1df8ab..20059a0e8 100644 --- a/MODSRC/vazkii/botania/common/item/equipment/bauble/ItemMiningRing.java +++ b/MODSRC/vazkii/botania/common/item/equipment/bauble/ItemMiningRing.java @@ -44,9 +44,8 @@ public class ItemMiningRing extends ItemBauble { player.addPotionEffect(new PotionEffect(Potion.digSpeed.id, Integer.MAX_VALUE, 1, true)); } - if(player.swingProgress == 0.25F) { + if(player.swingProgress == 0.25F) ManaItemHandler.requestManaExact(stack, (EntityPlayer) player, manaCost, true); - } } } diff --git a/MODSRC/vazkii/botania/common/lexicon/LexiconData.java b/MODSRC/vazkii/botania/common/lexicon/LexiconData.java index f57bafe57..c89ead73e 100644 --- a/MODSRC/vazkii/botania/common/lexicon/LexiconData.java +++ b/MODSRC/vazkii/botania/common/lexicon/LexiconData.java @@ -126,6 +126,9 @@ public final class LexiconData { public static LexiconEntry icePendant; public static LexiconEntry lavaPendant; public static LexiconEntry goldLaurel; + public static LexiconEntry waterRing; + public static LexiconEntry miningRing; + public static LexiconEntry magnetRing; public static LexiconEntry unstableBlocks; public static LexiconEntry decorativeBlocks; @@ -393,6 +396,15 @@ public final class LexiconData { goldLaurel = new BLexiconEntry(LibLexicon.BAUBLE_GOLDEN_LAUREL, categoryBaubles); goldLaurel.setLexiconPages(new PageText("0"), new PageCraftingRecipe("1", ModCrafingRecipes.recipeGoldenLaurel)); + waterRing = new BLexiconEntry(LibLexicon.BAUBLE_WATER_RING, categoryBaubles); + waterRing.setLexiconPages(new PageText("0"), new PageCraftingRecipe("1", ModCrafingRecipes.recipeWaterRing)); + + miningRing = new BLexiconEntry(LibLexicon.BAUBLE_MINING_RING, categoryBaubles); + miningRing.setLexiconPages(new PageText("0"), new PageCraftingRecipe("1", ModCrafingRecipes.recipeMiningRing)); + + magnetRing = new BLexiconEntry(LibLexicon.BAUBLE_MAGNET_RING, categoryBaubles); + magnetRing.setLexiconPages(new PageText("0"), new PageCraftingRecipe("1", ModCrafingRecipes.recipeMagnetRing)); + // MISCLENAEOUS ENTRIES unstableBlocks = new BLexiconEntry(LibLexicon.MISC_UNSTABLE_BLOCKS, categoryMisc); unstableBlocks.setLexiconPages(new PageText("0"), new PageImage("1", LibResources.ENTRY_UNSTABLE_BLOCK), new PageCraftingRecipe("2", ModCrafingRecipes.recipesUnstableBlocks), new PageText("3"), new PageImage("4", LibResources.ENTRY_UNSTABLE_BEACON), new PageCraftingRecipe("5", ModCrafingRecipes.recipesManaBeacons), new PageText("6"), new PageCraftingRecipe("7", ModCrafingRecipes.recipesSignalFlares)); diff --git a/MODSRC/vazkii/botania/common/lib/LibLexicon.java b/MODSRC/vazkii/botania/common/lib/LibLexicon.java index 81a445c2c..7955ca881 100644 --- a/MODSRC/vazkii/botania/common/lib/LibLexicon.java +++ b/MODSRC/vazkii/botania/common/lib/LibLexicon.java @@ -107,6 +107,9 @@ public final class LibLexicon { public static final String BAUBLE_ICE_PENDANT = "icePendant"; public static final String BAUBLE_LAVA_PENDANT = "lavaPendant"; public static final String BAUBLE_GOLDEN_LAUREL = "goldenLaurel"; + public static final String BAUBLE_WATER_RING = "waterRing"; + public static final String BAUBLE_MINING_RING = "miningRing"; + public static final String BAUBLE_MAGNET_RING = "magnetRing"; public static final String MISC_UNSTABLE_BLOCKS = "unstableBlocks"; public static final String MISC_DECORATIVE_BLOCKS = "decorativeBlocks"; diff --git a/resources/assets/botania/lang/en_US.lang b/resources/assets/botania/lang/en_US.lang index d73171c79..592dfe259 100644 --- a/resources/assets/botania/lang/en_US.lang +++ b/resources/assets/botania/lang/en_US.lang @@ -739,7 +739,7 @@ botania.entry.manaBlaster=Mana Blaster botania.page.manaBlaster0=The &1Mana Blaster&0 is like a portable &1Mana Spreader&0, while shaped like a pistol for easy handling, it's not exactly a firearm, as much as it is just a portable spreader.
By utilizing &4Mana&0 from &4Mana carrying items&0 in the holder's inventory, it can shoot a mana burst when one is looking at. botania.page.manaBlaster1=This burst is a bit different from the one fired from speaders, as it's faster, but carries only three quarters of the mana a spreader burst would. There's also a short cooldown period after firing the blaster until another burst can be shot. botania.page.manaBlaster2=&1Mana Lenses&0 also function with the blaster, to attach one to it, put them side by side on a crafting table, to remove it, simply shift-right click the blaster. -botania.page.manaBlaster3=Crafting the blaster +botania.page.manaBlaster3=We need more dakka # -- PASTURE SEEDS botania.entry.grassSeeds=Pasture Seeds @@ -841,6 +841,21 @@ botania.entry.goldenLaurel=Golden Laurel Crown botania.page.goldenLaurel0=One of the uses for &1Essence of Eternal Life&0 is to, of course, grant a layer of immortality to one that uses it, while wearing a &1Golden Laurel Crown&0, if the wearer were to die, the crown will shatter, regenerating all of their health and giving them a short period of invincibility. botania.page.goldenLaurel1=Given the theme, probably Viridi +# -- RING OF CHORDATA +botania.entry.waterRing=Ring of Chordata +botania.page.waterRing0=The &1Ring of Chordata&0 allows the wearer to swim like a fish. While it's equipped, the wearer is bestowed with the ability to accelarate to a decent speed while underwater. It also gives the wearer good sight underwater and, if &4Mana&0 is present, at the cost of some of it, the ability to breathe indefinitely. +botania.page.waterRing1=Go swim with the fishes + +# -- RING OF THE MANTLE +botania.entry.miningRing=Ring of the Mantle +botania.page.miningRing0=The &1Ring of the Mantle&0 allows one to mine faster, while equipped and &4Mana&0 is present in the inventory, it'll give a &4Haste&0 effect to the wearer. Some &4Mana&0 is used while the wearer swings their arm or equipped item, be it for attacking, mining or just flailing. +botania.page.miningRing1=Diggy diggy hole + +# -- RING OF MAGNETIZATION +botania.entry.magnetRing=Ring of Magnetization +botania.page.magnetRing0=By turning a &1Magnetizing Lens&0 into a wearable ring, one can use it to magnetize nearby items.
While equipped, this ring will make any nearby items magnetize towards the wearer, case they aren't sneaking. +botania.page.magnetRing1=How do they work? + # - MISCLANEOUS # -- UNSTABLE CUBE botania.entry.unstableBlocks=Unstable Cubes