From e862939b7b4129b020b4f5f0431b70c410d78765 Mon Sep 17 00:00:00 2001 From: Vasco Lavos Date: Sun, 2 Oct 2016 20:27:33 +0100 Subject: [PATCH] Recipe/docs for the tripwire lens --- .../vazkii/botania/common/crafting/ModCraftingRecipes.java | 5 +++++ src/main/java/vazkii/botania/common/lexicon/LexiconData.java | 3 ++- src/main/resources/assets/botania/lang/en_US.lang | 4 +++- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/main/java/vazkii/botania/common/crafting/ModCraftingRecipes.java b/src/main/java/vazkii/botania/common/crafting/ModCraftingRecipes.java index 6de1148f1..a70728f9e 100644 --- a/src/main/java/vazkii/botania/common/crafting/ModCraftingRecipes.java +++ b/src/main/java/vazkii/botania/common/crafting/ModCraftingRecipes.java @@ -171,6 +171,7 @@ public final class ModCraftingRecipes { public static IRecipe recipeLensFirework; public static IRecipe recipeLensFlare; public static IRecipe recipeLensMessenger; + public static IRecipe recipeLensTripwire; public static List recipesMiniIsland; public static IRecipe recipeGaiaPylon; public static IRecipe recipeGatherDrum; @@ -1133,6 +1134,10 @@ public final class ModCraftingRecipes { 'L', new ItemStack(ModItems.lens)); recipeLensMessenger = BotaniaAPI.getLatestAddedRecipe(); + // Tripwire Lens Recipe + addShapelessOreDictRecipe(new ItemStack(ModItems.lens, 1, 23), new ItemStack(ModItems.lens), new ItemStack(Blocks.TRIPWIRE_HOOK), LibOreDict.ELEMENTIUM); + recipeLensTripwire = BotaniaAPI.getLatestAddedRecipe(); + // Mini Island for(int i = 0; i < 16; i++) GameRegistry.addRecipe(new ItemStack(ModBlocks.floatingFlower, 1, i), diff --git a/src/main/java/vazkii/botania/common/lexicon/LexiconData.java b/src/main/java/vazkii/botania/common/lexicon/LexiconData.java index 8491c9001..2ff182a00 100644 --- a/src/main/java/vazkii/botania/common/lexicon/LexiconData.java +++ b/src/main/java/vazkii/botania/common/lexicon/LexiconData.java @@ -501,7 +501,8 @@ public final class LexiconData { new PageCraftingRecipe("4", ModCraftingRecipes.recipeLensWarp), new PageText("5"), new PageCraftingRecipe("6", ModCraftingRecipes.recipeLensRedirect), new PageText("7"), new PageCraftingRecipe("8", ModCraftingRecipes.recipeLensFirework), new PageText("9"), - new PageCraftingRecipe("10", ModCraftingRecipes.recipeLensFlare)); + new PageCraftingRecipe("10", ModCraftingRecipes.recipeLensFlare), new PageText("11"), + new PageCraftingRecipe("12", ModCraftingRecipes.recipeLensTripwire)); prism = new AlfheimLexiconEntry(LibLexicon.MANA_PRISM, categoryMana); prism.setLexiconPages(new PageText("0"), new PageText("1"), new PageText("2"), diff --git a/src/main/resources/assets/botania/lang/en_US.lang b/src/main/resources/assets/botania/lang/en_US.lang index 0c1217f62..80625db22 100644 --- a/src/main/resources/assets/botania/lang/en_US.lang +++ b/src/main/resources/assets/botania/lang/en_US.lang @@ -2228,8 +2228,10 @@ botania.page.elvenLenses5=The &1Redirective Lens&0 will only work when fired fro botania.page.elvenLenses6=Redirective Lens botania.page.elvenLenses7=The &1Celebratory Lens&0 functions much akin to the common &1Entropic Lens&0, however, instead of exploding, it creates a festive firework dyed the color of the burst. botania.page.elvenLenses8=Celebratory Lens -botania.page.elvenLenses9=The &1Flare Lens&0 takes over a &1Mana Spreader&0's functionality, preventing it from firing any bursts. Instead, the spreader becomes a continuous particle burst of the color the lens is dyed, in the direction the spreader is firing.
There's surely plenty of decorative uses for this. +botania.page.elvenLenses9=The &1Flare Lens&0 takes over a &1Mana Spreader&0's functionality, preventing it from firing any bursts. This type of lens is called a &4Control Lens&0.
The effect of this &4Control Lens&0 in particular, is to make the spreader become a continuous particle burst of the color the lens is dyed, in the direction the spreader is firing. There's surely plenty of decorative uses for this. botania.page.elvenLenses10=Flare Lens +botania.page.elvenLenses11=The &1Tripwire Lens&0 is another &4Control Lens&0.
A spreader that has it attached will only be allowed to fire if there is one or more mobs, or players, in the path described by the &4mana burst&0 that the spreader would shoot. +botania.page.elvenLenses12=Tripwire Lenss # -- MANA PRISM botania.entry.prism=Mana Prism