From a3cae0f71be37e923a9b3c872292d8d51e01eb1c Mon Sep 17 00:00:00 2001 From: Lizbeth Rika Date: Thu, 31 Jul 2014 17:48:26 +0100 Subject: [PATCH] Recipe/Docs for the Spectator. --- .../botania/common/crafting/ModCrafingRecipes.java | 9 +++++++++ MODSRC/vazkii/botania/common/lexicon/LexiconData.java | 4 ++++ MODSRC/vazkii/botania/common/lib/LibLexicon.java | 1 + resources/assets/botania/lang/en_US.lang | 7 +++++++ 4 files changed, 21 insertions(+) diff --git a/MODSRC/vazkii/botania/common/crafting/ModCrafingRecipes.java b/MODSRC/vazkii/botania/common/crafting/ModCrafingRecipes.java index 72d3f1b47..282dedb57 100644 --- a/MODSRC/vazkii/botania/common/crafting/ModCrafingRecipes.java +++ b/MODSRC/vazkii/botania/common/crafting/ModCrafingRecipes.java @@ -181,6 +181,7 @@ public final class ModCrafingRecipes { public static IRecipe recipeAzulejo; public static List recipesAzulejoCycling; public static IRecipe recipeEnderEyeBlock; + public static IRecipe recipeItemFinder; public static void init() { // Lexicon Recipe @@ -1117,6 +1118,14 @@ public final class ModCrafingRecipes { 'O', new ItemStack(Blocks.obsidian)); recipeEnderEyeBlock = BotaniaAPI.getLatestAddedRecipe(); + // The Spectator Recipe + addOreDictRecipe(new ItemStack(ModItems.itemFinder), + " I ", "IYI", "IEI", + 'I', "ingotIron", + 'Y', new ItemStack(Items.ender_eye), + 'E', new ItemStack(Items.emerald)); + recipeItemFinder = BotaniaAPI.getLatestAddedRecipe(); + // Mana and Terrasteel Block Recipes addOreDictRecipe(new ItemStack(ModBlocks.storage, 1, 0), "III", "III", "III", diff --git a/MODSRC/vazkii/botania/common/lexicon/LexiconData.java b/MODSRC/vazkii/botania/common/lexicon/LexiconData.java index 9fbeeb49f..137cbb84b 100644 --- a/MODSRC/vazkii/botania/common/lexicon/LexiconData.java +++ b/MODSRC/vazkii/botania/common/lexicon/LexiconData.java @@ -158,6 +158,7 @@ public final class LexiconData { public static LexiconEntry pixieRing; public static LexiconEntry superTravelBelt; public static LexiconEntry reachRing; + public static LexiconEntry itemFinder; public static LexiconEntry alfhomancyIntro; public static LexiconEntry elvenMessage; @@ -536,6 +537,9 @@ public final class LexiconData { reachRing = new ALexiconEntry(LibLexicon.BAUBLE_REACH_RING, categoryBaubles); reachRing.setLexiconPages(new PageText("0"), new PageCraftingRecipe("1", ModCrafingRecipes.recipeReachRing)); + itemFinder = new BLexiconEntry(LibLexicon.BAUBLE_ITEM_FINDER, categoryBaubles); + itemFinder.setLexiconPages(new PageText("0"), new PageText("1"), new PageCraftingRecipe("2", ModCrafingRecipes.recipeItemFinder)); + // ALFHOMANCY ENTRIES alfhomancyIntro = new BLexiconEntry(LibLexicon.ALF_INTRO, categoryAlfhomancy); alfhomancyIntro.setPriority().setLexiconPages(new PageText("0"), new PageText("1"), new PageCraftingRecipe("2", ModCrafingRecipes.recipeAlfPortal), new PageCraftingRecipe("3", ModCrafingRecipes.recipeNaturaPylon), diff --git a/MODSRC/vazkii/botania/common/lib/LibLexicon.java b/MODSRC/vazkii/botania/common/lib/LibLexicon.java index a8d72ab62..e41d44a1f 100644 --- a/MODSRC/vazkii/botania/common/lib/LibLexicon.java +++ b/MODSRC/vazkii/botania/common/lib/LibLexicon.java @@ -135,6 +135,7 @@ public final class LibLexicon { public static final String BAUBLE_PIXIE_RING = "pixieRing"; public static final String BAUBLE_SUPER_TRAVEL_BELT = "superTravelBelt"; public static final String BAUBLE_REACH_RING = "reachRing"; + public static final String BAUBLE_ITEM_FINDER = "itemFinder"; public static final String ALF_INTRO = "aIntro"; public static final String ALF_MESSAGE = "elfMessage"; diff --git a/resources/assets/botania/lang/en_US.lang b/resources/assets/botania/lang/en_US.lang index aabc7419a..adaf02dee 100644 --- a/resources/assets/botania/lang/en_US.lang +++ b/resources/assets/botania/lang/en_US.lang @@ -652,6 +652,7 @@ item.botania:placeholder.name=Crafting Placeholder item.botania:manasteelHelmReveal.name=Manasteel Helmet of Revealing item.botania:terrasteelHelmReveal.name=Terrasteel Helmet of Revealing item.botania:elementiumHelmReveal.name=Elementium Helmet of Revealing +item.botania:itemFinder.name=The Spectator # GUI TEXT botania.gui.lexicon.header=Lexica Botania, %s Edition's Index - Pick which category you would like to study: @@ -1381,6 +1382,12 @@ botania.entry.superTravelBelt=Globetrotter's Sash botania.page.superTravelBelt0=The &1Globetrotter's Sash&0 is, in layman's terms, an upgrade to then &1Soujourner's Sash&0, by using &1Gaia Spirits&0 and some Elven resources, this new belt allows the wearer to reach incredible speeds to which the &1Soujourner's Sash&0 doesn't stand a chance. botania.page.superTravelBelt1=No time for guessing, follow my plan instead +# -- THE SPECTATOR +botania.entry.itemFinder=The Spectator +botania.page.itemFinder0=&1The Spectator&0 is a headband that allows the wearer to have a better perception of the world. While holding an item, any &4containers&0 (chests, minecarts, donkeys with chests, furnaces, etc...) that have an item of that type, &4dropped items&0 of that type, &4mobs&0 who have that item equipped &o(...)&r +botania.page.itemFinder1=&o(...)&r &4players&0 who have the item in their inventory and &4villagers&0 who want to trade either with or for that item will shine with a green glow, allowing them to be easily spotted.
While sneaking, all dropped items around the wearer will shine, regardless of the item. +botania.page.itemFinder2=Do you hear their voices? + # - ALFHOMANCY # -- THE PORTAL TO ALFHEIM botania.entry.aIntro=The Portal to Alfheim