From 27bf948069e241ffd2960605f920f0775411690f Mon Sep 17 00:00:00 2001 From: Vasco Lavos Date: Sun, 9 Feb 2014 15:54:23 +0000 Subject: [PATCH] Mana Pool documentation. --- .../vazkii/botania/common/crafting/ModCrafingRecipes.java | 7 ++++++- MODSRC/vazkii/botania/common/lexicon/LexiconData.java | 4 ++-- resources/assets/botania/lang/en_US.lang | 6 ++++++ 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/MODSRC/vazkii/botania/common/crafting/ModCrafingRecipes.java b/MODSRC/vazkii/botania/common/crafting/ModCrafingRecipes.java index 90f3cbc31..8c65586b0 100644 --- a/MODSRC/vazkii/botania/common/crafting/ModCrafingRecipes.java +++ b/MODSRC/vazkii/botania/common/crafting/ModCrafingRecipes.java @@ -39,7 +39,8 @@ public final class ModCrafingRecipes { public static IRecipe recipeManaLens; public static List recipesLensDying; public static IRecipe recipeRainbowLens; - + public static IRecipe recipePool; + public static void init() { // Lexicon Recipe addShapelessOreDictRecipe(new ItemStack(ModItems.lexicon), "treeSapling", Item.book); @@ -113,6 +114,10 @@ public final class ModCrafingRecipes { for(int i = 1; i < ItemLens.SUBTYPES; i++) addShapelessOreDictRecipe(ItemLens.setLensColor(new ItemStack(ModItems.lens, 1, i), 16), new ItemStack(ModItems.lens, 1, i), LibOreDict.DYE[i]); + addOreDictRecipe(new ItemStack(ModBlocks.pool), + "R R", "RRR", + 'R', LibOreDict.LIVING_ROCK); + recipePool = 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 0996ca8bc..0e9f64c0f 100644 --- a/MODSRC/vazkii/botania/common/lexicon/LexiconData.java +++ b/MODSRC/vazkii/botania/common/lexicon/LexiconData.java @@ -75,8 +75,8 @@ public final class LexiconData { spreader = new BLexiconEntry(LibLexicon.MANA_SPREADER, categoryMana); spreader.setPriority().setLexiconPages(new PageText("0"), new PageImage("1", LibResources.ENTRY_SPREADER), new PageText("2"), new PageText("3"), new PageText("4"), new PageCraftingRecipe("5", ModCrafingRecipes.recipesSpreader), new PageText("6"), new PageCraftingRecipe("7", ModCrafingRecipes.recipeManaLens), new PageCraftingRecipe("8", ModCrafingRecipes.recipesLensDying), new PageCraftingRecipe("9", ModCrafingRecipes.recipeRainbowLens)); - // pool = new BLexiconEntry(LibLexicon.MANA_POOL, categoryMana); - // pool.setPriority().setLexiconPages(new PageText("0"), new PageManaInfusionRecipe("1", ModManaInfusionRecipes.manaPetalRecipes), new PagePetalRecipe("2", ModPetalRecipes.pureDaisyRecipe), new PageRuneRecipe("3", ModRuneRecipes.recipeDebug)); + pool = new BLexiconEntry(LibLexicon.MANA_POOL, categoryMana); + pool.setPriority().setLexiconPages(new PageText("0"), new PageCraftingRecipe("1", ModCrafingRecipes.recipePool)); } } diff --git a/resources/assets/botania/lang/en_US.lang b/resources/assets/botania/lang/en_US.lang index 0aaca29cb..a45ee7296 100644 --- a/resources/assets/botania/lang/en_US.lang +++ b/resources/assets/botania/lang/en_US.lang @@ -205,11 +205,13 @@ botania.page.wand0=The general multi use tool for a botanist is the &1Wand of th botania.page.wand1=The petals use determine the colors. # - MANA +# -- INTRODUCTION TO MANA botania.entry.mIntro=Introduction to Mana botania.page.mIntro0=&4Mana&0 is an ethereal substance, in layman's terms, it's a form of &4mystical energy&0. It's sensorial existance is inconstant, and it's color depends on the environment it's put on.
Mastering &4Mana&0 is one of the most important skills a Botanist needs to master. botania.page.mIntro1=In order to create &4Mana&0, one would require a set of &4Generating Flowers&0 (read the respective section). This &4Mana&0 can be dispersed utilizing &1Mana Spreaders&0 and stored in &1Mana Pools&0. &4Mana&0 can be used for a myriad of different things, for starters, it can be used for &4Functional Flowers&0 (read the respective section). botania.page.mIntro2=To get started with mastering the art of &4Mana&0, one would start by learning how to use &1Dayblooms&0, &1Mana Spreaders&0 and &1Mana Pools&0.
These form a basic infrastructure for mana, which can be used for all sorts of purposes. Have a read at the &4Functional Flora&0 and &4Magical Apparatus&0 sections of this Lexicon. +# -- MANA SPREADER botania.entry.spreader=Mana Spreader botania.page.spreader0=The &1Mana Spreader&0 is the most inportant component in manipulating &4Mana&0.
This is the block that allows &4Mana&0 to travel from point A to point B. When this block is placed on the ground, it'll face one of 6 basic directions. By shift-right clicking it with a &1Wand of the Forest&0, one can orient it to the opposite of where it was clicked. botania.page.spreader1=Holding a &1Wand of the Forest&0 @@ -222,6 +224,10 @@ botania.page.spreader7=The basic lens, it doesn't do anything... botania.page.spreader8=&4Dying&0 lenses! botania.page.spreader9=&1Rainbow Lens&0 all the way +botania.entry.pool=Mana Pool +botania.page.pool0=The &1Mana Pool&0 is, simply put, a storage of &4Mana&0.
Mana can be inserted into it by usage of a &1Mana Spreader&0, and any adjacent &1Mana Spreaders&0 will pull mana from it to increase their internal buffer automatically.
Any &4Functional Flowers&0 require a nearby &1Mana Pool&0 to draw power from. +botania.page.pool1=Making the &1Mana Pool&0. + # - FUNCTIONAL FLOWERS # - GENERATING FLOWERS \ No newline at end of file