From a33bb0c6e7533ae85485ce092306c6aea8799d39 Mon Sep 17 00:00:00 2001 From: Vasco Lavos Date: Fri, 16 May 2014 21:20:24 +0100 Subject: [PATCH] Recipe/docs for the Drum of the Wild. --- .../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 | 6 ++++++ 4 files changed, 20 insertions(+) diff --git a/MODSRC/vazkii/botania/common/crafting/ModCrafingRecipes.java b/MODSRC/vazkii/botania/common/crafting/ModCrafingRecipes.java index 314fca8eb..88e35fc64 100644 --- a/MODSRC/vazkii/botania/common/crafting/ModCrafingRecipes.java +++ b/MODSRC/vazkii/botania/common/crafting/ModCrafingRecipes.java @@ -111,6 +111,7 @@ public final class ModCrafingRecipes { public static IRecipe recipeOpenCrate; public static IRecipe recipeForestEye; public static IRecipe recipeRedstoneRoot; + public static IRecipe recipeForestDrum; public static void init() { // Lexicon Recipe @@ -590,6 +591,14 @@ public final class ModCrafingRecipes { GameRegistry.addShapelessRecipe(new ItemStack(ModItems.manaResource, 1, 6), new ItemStack(Items.redstone), new ItemStack(Blocks.tallgrass, 1, 1)); recipeRedstoneRoot = BotaniaAPI.getLatestAddedRecipe(); + // Drum of the Wild Recipe + addOreDictRecipe(new ItemStack(ModBlocks.forestDrum), + "WLW", "WHW", "WLW", + 'W', LibOreDict.LIVING_WOOD, + 'L', new ItemStack(Items.leather), + 'H', new ItemStack(ModItems.grassHorn)); + recipeForestDrum = 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 28f68bca1..3cef2de57 100644 --- a/MODSRC/vazkii/botania/common/lexicon/LexiconData.java +++ b/MODSRC/vazkii/botania/common/lexicon/LexiconData.java @@ -105,6 +105,7 @@ public final class LexiconData { public static LexiconEntry alchemy; public static LexiconEntry openCrate; public static LexiconEntry forestEye; + public static LexiconEntry forestDrum; public static LexiconEntry manaBlaster; public static LexiconEntry grassSeeds; @@ -329,6 +330,9 @@ public final class LexiconData { forestEye = new BLexiconEntry(LibLexicon.DEVICE_FOREST_EYE, categoryDevices); forestEye.setLexiconPages(new PageText("0"), new PageText("1"), new PageCraftingRecipe("2", ModCrafingRecipes.recipeForestEye)); + forestDrum = new BLexiconEntry(LibLexicon.DEVICE_FOREST_DRUM, categoryDevices); + forestDrum.setLexiconPages(new PageText("0"), new PageText("1"), new PageCraftingRecipe("2", ModCrafingRecipes.recipeForestDrum)); + // TOOLS ENTRIES manaBlaster = new BLexiconEntry(LibLexicon.TOOL_MANA_BLASTER, categoryTools); manaBlaster.setLexiconPages(new PageText("0"), new PageText("1"), new PageText("2"), new PageCraftingRecipe("3", ModCrafingRecipes.recipeManaBlaster)); diff --git a/MODSRC/vazkii/botania/common/lib/LibLexicon.java b/MODSRC/vazkii/botania/common/lib/LibLexicon.java index a8a13bf6d..f6c425d9c 100644 --- a/MODSRC/vazkii/botania/common/lib/LibLexicon.java +++ b/MODSRC/vazkii/botania/common/lib/LibLexicon.java @@ -86,6 +86,7 @@ public final class LibLexicon { public static final String DEVICE_ALCHEMY = "manaAlchemy"; public static final String DEVICE_OPEN_CRATE = "openCrate"; public static final String DEVICE_FOREST_EYE = "forestEye"; + public static final String DEVICE_FOREST_DRUM = "forestDrum"; public static final String TOOL_MANA_BLASTER = "manaBlaster"; public static final String TOOL_GRASS_SEEDS = "grassSeeds"; diff --git a/resources/assets/botania/lang/en_US.lang b/resources/assets/botania/lang/en_US.lang index b4cd9a764..05ab5cc30 100644 --- a/resources/assets/botania/lang/en_US.lang +++ b/resources/assets/botania/lang/en_US.lang @@ -717,6 +717,12 @@ botania.page.openCrate0=Sometimes devices like &1Droppers&0 or &1Dispensers&0 ar botania.page.openCrate1=A little interesting effect the &1Open Crate&0 can do is that, when given a redstone signal, any items it drops are prevented from being caught by flowers like the &1Hopperhock&0, &1Rannuncarpus&0 or &1Pollidisiac&0 for around ten seconds more than usual. botania.page.openCrate2=A super crate box +# -- DRUM OF THE WILD +botania.entry.forestDrum=Drum of the Wild +botania.page.forestDrum0=The &1Drum of the Wild&0 is, in layman's terms, the percussion counterpart of the &1Horn of the Wild&0. It serves the exact same purpose as the handheld horn, but is placed in world.
To trigger a beat and break nearby folliage, one would fire a &4Mana Burst&0 at the drum. +botania.page.forestDrum1=It's to note that the drum does not store mana, hence, in order to trigger it, a &1Redstone Mana Spreader&0 or a &1Mana Blaster&0 is required. +botania.page.forestDrum2=But if you close your eyes... + # - MYSTICAL INSTRUMENTS # -- MANA BLASTER botania.entry.manaBlaster=Mana Blaster