diff --git a/MODSRC/vazkii/botania/common/crafting/ModCrafingRecipes.java b/MODSRC/vazkii/botania/common/crafting/ModCrafingRecipes.java index 818678d41..3bd622416 100644 --- a/MODSRC/vazkii/botania/common/crafting/ModCrafingRecipes.java +++ b/MODSRC/vazkii/botania/common/crafting/ModCrafingRecipes.java @@ -82,6 +82,15 @@ public final class ModCrafingRecipes { public static IRecipe recipeTerraformRod; public static IRecipe recipeRedstoneSpreader; public static IRecipe recipeManaMirror; + public static IRecipe recipeManasteelHelm; + public static IRecipe recipeManasteelChest; + public static IRecipe recipeManasteelLegs; + public static IRecipe recipeManasteelBoots; + public static IRecipe recipeManasteelPick; + public static IRecipe recipeManasteelShovel; + public static IRecipe recipeManasteelAxe; + public static IRecipe recipeManasteelShears; + public static IRecipe recipeManasteelSword; public static void init() { // Lexicon Recipe @@ -367,6 +376,48 @@ public final class ModCrafingRecipes { 'S', LibOreDict.LIVINGWOOD_TWIG, 'T', new ItemStack(ModItems.manaTablet, 1, -1)); recipeManaMirror = BotaniaAPI.getLatestAddedRecipe(); + + // Mana Armor & Tools Recipes + addOreDictRecipe(new ItemStack(ModItems.manasteelHelm), + "SSS", "S S", + 'S', LibOreDict.MANA_STEEL); + recipeManasteelHelm = BotaniaAPI.getLatestAddedRecipe(); + addOreDictRecipe(new ItemStack(ModItems.manasteelChest), + "S S", "SSS", "SSS", + 'S', LibOreDict.MANA_STEEL); + recipeManasteelChest = BotaniaAPI.getLatestAddedRecipe(); + addOreDictRecipe(new ItemStack(ModItems.manasteelLegs), + "SSS", "S S", "S S", + 'S', LibOreDict.MANA_STEEL); + recipeManasteelLegs = BotaniaAPI.getLatestAddedRecipe(); + addOreDictRecipe(new ItemStack(ModItems.manasteelBoots), + "S S", "S S", + 'S', LibOreDict.MANA_STEEL); + recipeManasteelBoots = BotaniaAPI.getLatestAddedRecipe(); + addOreDictRecipe(new ItemStack(ModItems.manasteelPick), + "SSS", " T ", " T ", + 'S', LibOreDict.MANA_STEEL, + 'T', LibOreDict.LIVINGWOOD_TWIG); + recipeManasteelPick = BotaniaAPI.getLatestAddedRecipe(); + addOreDictRecipe(new ItemStack(ModItems.manasteelShovel), + "S", "T", "T", + 'S', LibOreDict.MANA_STEEL, + 'T', LibOreDict.LIVINGWOOD_TWIG); + recipeManasteelShovel = BotaniaAPI.getLatestAddedRecipe(); + addOreDictRecipe(new ItemStack(ModItems.manasteelAxe), + "SS", "TS", "T ", + 'S', LibOreDict.MANA_STEEL, + 'T', LibOreDict.LIVINGWOOD_TWIG); + recipeManasteelAxe = BotaniaAPI.getLatestAddedRecipe(); + addOreDictRecipe(new ItemStack(ModItems.manasteelSword), + "S", "S", "T", + 'S', LibOreDict.MANA_STEEL, + 'T', LibOreDict.LIVINGWOOD_TWIG); + recipeManasteelSword = BotaniaAPI.getLatestAddedRecipe(); + addOreDictRecipe(new ItemStack(ModItems.manasteelShears), + "S ", " S", + 'S', LibOreDict.MANA_STEEL); + recipeManasteelShears = BotaniaAPI.getLatestAddedRecipe(); } private static void addOreDictRecipe(ItemStack output, Object... recipe) { diff --git a/MODSRC/vazkii/botania/common/lexicon/LexiconData.java b/MODSRC/vazkii/botania/common/lexicon/LexiconData.java index 76b54ba24..a5b54b9db 100644 --- a/MODSRC/vazkii/botania/common/lexicon/LexiconData.java +++ b/MODSRC/vazkii/botania/common/lexicon/LexiconData.java @@ -96,6 +96,7 @@ public final class LexiconData { public static LexiconEntry grassSeeds; public static LexiconEntry dirtRod; public static LexiconEntry terraformRod; + public static LexiconEntry manasteelGear; public static LexiconEntry unstableBlocks; public static LexiconEntry decorativeBlocks; @@ -276,6 +277,11 @@ public final class LexiconData { terraformRod = new BLexiconEntry(LibLexicon.TOOL_TERRAFORM_ROD, categoryTools); terraformRod.setLexiconPages(new PageText("0"), new PageText("1"), new PageText("2"), new PageCraftingRecipe("3", ModCrafingRecipes.recipeTerraformRod)); + manasteelGear = new BLexiconEntry(LibLexicon.TOOL_MANASTEEL_GEAR, categoryTools); + manasteelGear.setLexiconPages(new PageText("0"), new PageCraftingRecipe("1", ModCrafingRecipes.recipeManasteelPick), new PageCraftingRecipe("2", ModCrafingRecipes.recipeManasteelShovel), new PageCraftingRecipe("3", ModCrafingRecipes.recipeManasteelAxe), + new PageCraftingRecipe("4", ModCrafingRecipes.recipeManasteelShears), new PageCraftingRecipe("5", ModCrafingRecipes.recipeManasteelSword), + new PageCraftingRecipe("6", ModCrafingRecipes.recipeManasteelHelm), new PageCraftingRecipe("7", ModCrafingRecipes.recipeManasteelChest), new PageCraftingRecipe("8", ModCrafingRecipes.recipeManasteelLegs), new PageCraftingRecipe("9", ModCrafingRecipes.recipeManasteelBoots)); + // 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 d203bbab4..902850861 100644 --- a/MODSRC/vazkii/botania/common/lib/LibLexicon.java +++ b/MODSRC/vazkii/botania/common/lib/LibLexicon.java @@ -79,6 +79,7 @@ public final class LibLexicon { public static final String TOOL_GRASS_SEEDS = "grassSeeds"; public static final String TOOL_DIRT_ROD = "dirtRod"; public static final String TOOL_TERRAFORM_ROD = "terraformRod"; + public static final String TOOL_MANASTEEL_GEAR = "manaGear"; 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 39d10ba03..602b1c44b 100644 --- a/resources/assets/botania/lang/en_US.lang +++ b/resources/assets/botania/lang/en_US.lang @@ -613,6 +613,19 @@ botania.page.terraformRod1=This rod, will, at the cost of some &4Mana&0 from you botania.page.terraformRod2=Note that blocks removed by the rod are non-recuperable. The terrain will adapt to the changes as best as it can, up to a distance limit, to avoid cuts in hills and the like, for this, the flattening will work in the terrain's natural look. botania.page.terraformRod3=Quite a justicar +# -- MANASTEEL EQUIPMENT +botania.entry.manaGear=Manasteel Equipment +botania.page.manaGear0=&1Manasteel&0, alike other metals, can be shaped into tools and armor alike.
Tools or armor crafted from this material will share their properties with &1Iron&0, albeit somewhat superior in enchantability and durability. Whenever a &1Manasteel&0 item is to take damage, if there's &4Mana&0 available in the inventory (such as a &1Mana Tablet&0), it'll use that instead. +botania.page.manaGear1=The &1Manasteel Pick&0 +botania.page.manaGear2=The &1Manasteel Shovel&0 +botania.page.manaGear3=The &1Manasteel Axe&0 +botania.page.manaGear4=The &1Manasteel Shears&0 +botania.page.manaGear5=The &1Manasteel Sword&0 +botania.page.manaGear6=The &1Manasteel Helmet&0 +botania.page.manaGear7=The &1Manasteel Chestplate&0 +botania.page.manaGear8=The &1Manasteel Leggings&0 +botania.page.manaGear9=The &1Manasteel Boots&0 + # - MISCLANEOUS # -- UNSTABLE CUBE botania.entry.unstableBlocks=Unstable Cubes diff --git a/resources/assets/botania/textures/items/manasteelAxe.png b/resources/assets/botania/textures/items/manasteelAxe.png index b98044c34..5146cde4f 100644 Binary files a/resources/assets/botania/textures/items/manasteelAxe.png and b/resources/assets/botania/textures/items/manasteelAxe.png differ diff --git a/resources/assets/botania/textures/items/manasteelPick.png b/resources/assets/botania/textures/items/manasteelPick.png index 98929769d..9f82312e8 100644 Binary files a/resources/assets/botania/textures/items/manasteelPick.png and b/resources/assets/botania/textures/items/manasteelPick.png differ diff --git a/resources/assets/botania/textures/items/manasteelShears.png b/resources/assets/botania/textures/items/manasteelShears.png index ea3a3e0ec..32b6aee20 100644 Binary files a/resources/assets/botania/textures/items/manasteelShears.png and b/resources/assets/botania/textures/items/manasteelShears.png differ diff --git a/resources/assets/botania/textures/items/manasteelShovel.png b/resources/assets/botania/textures/items/manasteelShovel.png index 6ab0d251b..76e0b8253 100644 Binary files a/resources/assets/botania/textures/items/manasteelShovel.png and b/resources/assets/botania/textures/items/manasteelShovel.png differ diff --git a/resources/assets/botania/textures/items/manasteelSword.png b/resources/assets/botania/textures/items/manasteelSword.png index 3bba9cf6e..434657e0d 100644 Binary files a/resources/assets/botania/textures/items/manasteelSword.png and b/resources/assets/botania/textures/items/manasteelSword.png differ