From 615764e82d24c4f4a9b3f63d43ad924ef18ce4d1 Mon Sep 17 00:00:00 2001 From: Lizbeth Rika Date: Sun, 21 Dec 2014 17:45:19 +0000 Subject: [PATCH] Flash Lens Recipe/docs. --- .../common/crafting/ModCraftingRecipes.java | 14 ++++++++++++++ .../vazkii/botania/common/lexicon/LexiconData.java | 3 ++- src/main/resources/assets/botania/lang/en_US.lang | 2 ++ 3 files changed, 18 insertions(+), 1 deletion(-) diff --git a/src/main/java/vazkii/botania/common/crafting/ModCraftingRecipes.java b/src/main/java/vazkii/botania/common/crafting/ModCraftingRecipes.java index b2fc26d18..f0e7a1943 100644 --- a/src/main/java/vazkii/botania/common/crafting/ModCraftingRecipes.java +++ b/src/main/java/vazkii/botania/common/crafting/ModCraftingRecipes.java @@ -213,6 +213,7 @@ public final class ModCraftingRecipes { public static IRecipe recipeHolyCloak; public static IRecipe recipeUnholyCloak; public static IRecipe recipeCraftingHalo; + public static List recipesLensFlash; public static void init() { // Lexicon Recipe @@ -1376,6 +1377,19 @@ public final class ModCraftingRecipes { 'C', new ItemStack(Blocks.crafting_table)); recipeCraftingHalo = BotaniaAPI.getLatestAddedRecipe(); + // Mana Lens: Flash Recipe + GameRegistry.addRecipe(new ItemStack(ModItems.lens, 1, 17), + "GFG", "FLF", "GFG", + 'G', new ItemStack(Blocks.glowstone), + 'F', new ItemStack(Items.fire_charge), + 'L', new ItemStack(ModItems.lens)); + GameRegistry.addRecipe(new ItemStack(ModItems.lens, 1, 17), + "FGF", "GLG", "FGF", + 'G', new ItemStack(Blocks.glowstone), + 'F', new ItemStack(Items.fire_charge), + 'L', new ItemStack(ModItems.lens)); + recipesLensFlash = BotaniaAPI.getLatestAddedRecipes(2); + // Mana and Terrasteel 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 b2e040dcd..d90d0da14 100644 --- a/src/main/java/vazkii/botania/common/lexicon/LexiconData.java +++ b/src/main/java/vazkii/botania/common/lexicon/LexiconData.java @@ -281,7 +281,8 @@ public final class LexiconData { new PageText("28"), new PageCraftingRecipe("29", ModCraftingRecipes.recipeLensInfluence), new PageText("30"), new PageCraftingRecipe("31", ModCraftingRecipes.recipeLensWeight), new PageText("32"), new PageCraftingRecipe("33", ModCraftingRecipes.recipeLensFire), - new PageText("34"), new PageCraftingRecipe("35", ModCraftingRecipes.recipeLensPiston)); + new PageText("34"), new PageCraftingRecipe("35", ModCraftingRecipes.recipeLensPiston), + new PageText("36"), new PageCraftingRecipe("37", ModCraftingRecipes.recipesLensFlash)); distributor = new BLexiconEntry(LibLexicon.MANA_DISTRIBUTOR, categoryMana); distributor.setLexiconPages(new PageText("0"), new PageCraftingRecipe("1", ModCraftingRecipes.recipeDistributor)); diff --git a/src/main/resources/assets/botania/lang/en_US.lang b/src/main/resources/assets/botania/lang/en_US.lang index 5a63b858c..9f4f90725 100644 --- a/src/main/resources/assets/botania/lang/en_US.lang +++ b/src/main/resources/assets/botania/lang/en_US.lang @@ -1035,6 +1035,8 @@ botania.page.lens32=The &1Kindle Lens&0 is infused with a burning spark, when it botania.page.lens33=Kindle Lens botania.page.lens34=The &1Force Lens&0 acts as a &1Piston&0, when it hits a block that a piston can move, it'll do just so. botania.page.lens35=Force Lens +botania.page.lens36=The &1Flash Lens&0, in contact with a block, creates a flame of the same color as the burst that caused it. The flame provides light and is purely decorative.
If it hits one of these flames, it puts it out instead. +botania.page.lens37=Flash Lens # -- PORTABLE MANA TRANSPORT botania.entry.manaTransport=Portable Mana Transport