From e10b856199bf2d60b9a8d02cb73a50ed0475c871 Mon Sep 17 00:00:00 2001 From: Vasco Lavos Date: Sun, 11 Oct 2015 18:57:41 +0100 Subject: [PATCH] Rafflowsia recipe/docs --- .../block/subtile/generating/SubTileRafflowsia.java | 5 +++++ .../vazkii/botania/common/crafting/ModPetalRecipes.java | 2 ++ .../java/vazkii/botania/common/lexicon/LexiconData.java | 4 ++++ src/main/java/vazkii/botania/common/lib/LibLexicon.java | 1 + src/main/resources/assets/botania/lang/en_US.lang | 8 ++++++++ 5 files changed, 20 insertions(+) diff --git a/src/main/java/vazkii/botania/common/block/subtile/generating/SubTileRafflowsia.java b/src/main/java/vazkii/botania/common/block/subtile/generating/SubTileRafflowsia.java index 55ca70d46..93e59bfd9 100644 --- a/src/main/java/vazkii/botania/common/block/subtile/generating/SubTileRafflowsia.java +++ b/src/main/java/vazkii/botania/common/block/subtile/generating/SubTileRafflowsia.java @@ -127,4 +127,9 @@ public class SubTileRafflowsia extends SubTileGenerating { return 6000; } + @Override + public LexiconEntry getEntry() { + return LexiconData.rafflowsia; + } + } diff --git a/src/main/java/vazkii/botania/common/crafting/ModPetalRecipes.java b/src/main/java/vazkii/botania/common/crafting/ModPetalRecipes.java index 9dd2a935a..484dcf76a 100644 --- a/src/main/java/vazkii/botania/common/crafting/ModPetalRecipes.java +++ b/src/main/java/vazkii/botania/common/crafting/ModPetalRecipes.java @@ -47,6 +47,7 @@ public final class ModPetalRecipes { public static RecipePetals gourmaryllisRecipe; public static RecipePetals narslimmusRecipe; public static RecipePetals spectrolusRecipe; + public static RecipePetals rafflowsiaRecipe; public static RecipePetals dandelifeonRecipe; public static RecipePetals jadedAmaranthusRecipe; @@ -91,6 +92,7 @@ public final class ModPetalRecipes { gourmaryllisRecipe = BotaniaAPI.registerPetalRecipe(ItemBlockSpecialFlower.ofType(LibBlockNames.SUBTILE_GOURMARYLLIS), lightGray, lightGrayMana, yellowMana, yellow, yellowMana, red, runeFire, runeSummer); narslimmusRecipe = BotaniaAPI.registerPetalRecipe(ItemBlockSpecialFlower.ofType(LibBlockNames.SUBTILE_NARSLIMMUS), lime, limeMana, green, greenMana, black, runeSummer, runeWater); spectrolusRecipe = BotaniaAPI.registerPetalRecipe(ItemBlockSpecialFlower.ofType(LibBlockNames.SUBTILE_SPECTROLUS), redMana, orangeMana, yellowMana, greenMana, blueMana, cyanMana, purpleMana, white, runeWinter, runeAir, pixieDust); + rafflowsiaRecipe = BotaniaAPI.registerPetalRecipe(ItemBlockSpecialFlower.ofType(LibBlockNames.SUBTILE_RAFFLOWSIA), purpleMana, purpleMana, blackMana, green, greenMana, runeEarth, runePride, pixieDust); dandelifeonRecipe = BotaniaAPI.registerPetalRecipe(ItemBlockSpecialFlower.ofType(LibBlockNames.SUBTILE_DANDELIFEON), purpleMana, purpleMana, limeMana, greenMana, runeWater, runeFire, runeEarth, runeAir, gaiaSpirit); jadedAmaranthusRecipe = BotaniaAPI.registerPetalRecipe(ItemBlockSpecialFlower.ofType(LibBlockNames.SUBTILE_JADED_AMARANTHUS), purpleMana, purpleMana, lime, purple, green, runeSpring, redstoneRoot); diff --git a/src/main/java/vazkii/botania/common/lexicon/LexiconData.java b/src/main/java/vazkii/botania/common/lexicon/LexiconData.java index fb2d0ddaf..1fb231555 100644 --- a/src/main/java/vazkii/botania/common/lexicon/LexiconData.java +++ b/src/main/java/vazkii/botania/common/lexicon/LexiconData.java @@ -136,6 +136,7 @@ public final class LexiconData { public static LexiconEntry gourmaryllis; public static LexiconEntry narslimmus; public static LexiconEntry spectrolus; + public static LexiconEntry rafflowsia; public static LexiconEntry dandelifeon; public static LexiconEntry pylon; @@ -570,6 +571,9 @@ public final class LexiconData { spectrolus = new ALexiconEntry(LibLexicon.GFLOWER_SPECTROLUS, categoryGenerationFlowers); spectrolus.setLexiconPages(new PageText("0"), new PageText("1"), new PagePetalRecipe("2", ModPetalRecipes.spectrolusRecipe)); + rafflowsia = new ALexiconEntry(LibLexicon.GFLOWER_RAFFLOWSIA, categoryGenerationFlowers); + rafflowsia.setLexiconPages(new PageText("0"), new PageText("1"), new PageText("2"), new PageText("3"), new PagePetalRecipe("4", ModPetalRecipes.rafflowsiaRecipe)); + dandelifeon = new ALexiconEntry(LibLexicon.GFLOWER_DANDELIFEON, categoryGenerationFlowers); dandelifeon.setLexiconPages(new PageText("_w"), new PageText("0"), new PageText("1"), new PageText("2"), new PageText("3"), new PageText("4"), new PageText("5"), new PageText("6"), new PageText("10"), new PageText("7"), new PagePetalRecipe("8", ModPetalRecipes.dandelifeonRecipe), new PageCraftingRecipe("9", ModCraftingRecipes.recipeCellBlock)); diff --git a/src/main/java/vazkii/botania/common/lib/LibLexicon.java b/src/main/java/vazkii/botania/common/lib/LibLexicon.java index 72beed003..a3512b403 100644 --- a/src/main/java/vazkii/botania/common/lib/LibLexicon.java +++ b/src/main/java/vazkii/botania/common/lib/LibLexicon.java @@ -105,6 +105,7 @@ public final class LibLexicon { public static final String GFLOWER_GOURMARYLLIS = "gourmaryllis"; public static final String GFLOWER_NARSLIMMUS = "narslimmus"; public static final String GFLOWER_SPECTROLUS = "spectrolus"; + public static final String GFLOWER_RAFFLOWSIA = "rafflowsia"; public static final String GFLOWER_DANDELIFEON = "dandelifeon"; public static final String DEVICE_PYLON = "pylon"; diff --git a/src/main/resources/assets/botania/lang/en_US.lang b/src/main/resources/assets/botania/lang/en_US.lang index bfaff5ebd..34def5767 100644 --- a/src/main/resources/assets/botania/lang/en_US.lang +++ b/src/main/resources/assets/botania/lang/en_US.lang @@ -2446,6 +2446,14 @@ botania.page.spectrolus0=The &1Spectrolus&0 is a flower that's particularly fond botania.page.spectrolus1=While it consumes all &1Wool&0 around, it'll only create any mana if its of the color it wants, so haphazardly tossing &1Wool&0 at it is a wasteful strategy.
The color it'll absorb properly next can be seen by hovering over the flower with a &1Wand of the Forest&0. botania.page.spectrolus2=&oTaste the Rainbow&r. +# -- RAFFLOWSIA +botania.entry.rafflowsia=Rafflowsia +botania.page.rafflowsia0=Once upon a time, the peasants of the nation found joy in planting enormous fields of &1Dayblooms&0, &1Nightshades&0 and &1Hydroangeas&0. The lowly citizens relished in the free intake of &4Mana&0 provenient of the various elements.
They were happy with their ignorance. +botania.page.rafflowsia1=One day, however, the plebians woke up to their prized gardens withered away, all of their hard work turned into &1Dead Bushes&0.
Revolted at the betrayal of their Gods, the men and woman of the nation exclaimed in a single voice: "Passive flowers are useless now!" +botania.page.rafflowsia2=Or so they believed. Soon enough, ingenious sages of the nobility would find out the recipe for a flower that can make use of these so said, deprecated flowers.
This flower was, therefore, dubbed the &1Rafflowsia&0. +botania.page.rafflowsia3=The &1Rafflowsia&0 functions in a matter similar to the &1Kekimurus&0, with any sort of &4passive flowers&0, as in, it'll find any nearby placed on the floor and destroy them, creating &4Mana&0.
However, there are diminishing returns applied to this procedure, for the most effective usage, the same type of flower should not be destroyed multiple times in a row. +botania.page.rafflowsia4=&oA New Dawn, you could say&r. + # -- DANDELIFEON botania.entry.dandelifeon=Dandelifeon botania.page.dandelifeon_w=Warning: This feature is experimental.
It may, and probably will change in the future. Do not get too attached to it.