mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-25 22:44:44 +00:00
Added a config option to disable thaumcraft infusion stabilizing because some people are sadists, apparently.
This commit is contained in:
1 parent
a9ba227055
commit
74862b3438
7 files changed
+15
-6
No files matched your search
@@ -28,6 +28,7 @@ import vazkii.botania.api.lexicon.ILexiconable;
|
||||
import vazkii.botania.api.lexicon.LexiconEntry;
|
||||
import vazkii.botania.client.lib.LibRenderIDs;
|
||||
import vazkii.botania.common.block.tile.TilePylon;
|
||||
import vazkii.botania.common.core.handler.ConfigHandler;
|
||||
import vazkii.botania.common.item.block.ItemBlockWithMetadataAndName;
|
||||
import vazkii.botania.common.lexicon.LexiconData;
|
||||
import vazkii.botania.common.lib.LibBlockNames;
|
||||
@@ -111,6 +112,6 @@ public class BlockPylon extends BlockModContainer implements ILexiconable, IInfu
|
||||
}
|
||||
@Override
|
||||
public boolean canStabaliseInfusion(World world, int x, int y, int z) {
|
||||
return true;
|
||||
return ConfigHandler.enableThaumcraftStablizers;
|
||||
}
|
||||
}
|
||||
@@ -170,6 +170,6 @@ public class BlockFloatingFlower extends BlockModContainer implements ILexiconab
|
||||
|
||||
@Override
|
||||
public boolean canStabaliseInfusion(World world, int x, int y, int z) {
|
||||
return true;
|
||||
return ConfigHandler.enableThaumcraftStablizers;
|
||||
}
|
||||
}
|
||||
@@ -128,7 +128,7 @@ public class BlockModMushroom extends BlockMushroom implements IInfusionStabilis
|
||||
|
||||
@Override
|
||||
public boolean canStabaliseInfusion(World world, int x, int y, int z) {
|
||||
return true;
|
||||
return ConfigHandler.enableThaumcraftStablizers;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -71,7 +71,7 @@ public class BlockShinyFlower extends BlockModFlower implements IInfusionStabili
|
||||
|
||||
@Override
|
||||
public boolean canStabaliseInfusion(World world, int x, int y, int z) {
|
||||
return true;
|
||||
return ConfigHandler.enableThaumcraftStablizers;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -88,6 +88,8 @@ public final class ConfigHandler {
|
||||
public static boolean ringOfOdinFireResist = true;
|
||||
public static boolean enderStuff19Enabled = true;
|
||||
public static boolean invertMagnetRing = false;
|
||||
public static boolean enableThaumcraftStablizers = true;
|
||||
|
||||
public static int harvestLevelWeight = 2;
|
||||
public static int harvestLevelBore = 3;
|
||||
|
||||
@@ -247,6 +249,9 @@ public final class ConfigHandler {
|
||||
desc = "Set this to true to invert the Ring of Magnetization's controls (from shift to stop to shift to work)";
|
||||
invertMagnetRing = loadPropBool("magnetRing.invert", desc, invertMagnetRing);
|
||||
|
||||
desc = "Set this to false to disable Thaumcraft Infusion Stabilizing in botania blocks";
|
||||
enableThaumcraftStablizers = loadPropBool("thaumraftStabilizers.enabled", desc, enableThaumcraftStablizers);
|
||||
|
||||
desc = "The harvest level of the Mana Lens: Weight. 3 is diamond level. Defaults to 2 (iron level)";
|
||||
harvestLevelWeight = loadPropInt("harvestLevel.weightLens", desc, harvestLevelWeight);
|
||||
|
||||
|
||||
@@ -1100,7 +1100,10 @@ public final class LexiconData {
|
||||
|
||||
if(Botania.thaumcraftLoaded) {
|
||||
tcIntegration = new CLexiconEntry(LibLexicon.MISC_TC_INTEGRATION, BotaniaAPI.categoryMisc, "Thaumcraft");
|
||||
tcIntegration.setLexiconPages(new PageText("0"), new PageText("1"), new PageCraftingRecipe("2", ModCraftingRecipes.recipeHelmetOfRevealing), new PageText("3"), new PageManaInfusionRecipe("4", ModManaInfusionRecipes.manaInkwellRecipe), new PageText("5"), new PageBrew(ModBrewRecipes.warpWardBrew, "6a", "6b")).setIcon(new ItemStack(ModItems.manaInkwell));
|
||||
|
||||
if(ConfigHandler.enableThaumcraftStablizers)
|
||||
tcIntegration.setLexiconPages(new PageText("0"), new PageText("1"), new PageCraftingRecipe("2", ModCraftingRecipes.recipeHelmetOfRevealing), new PageText("3"), new PageManaInfusionRecipe("4", ModManaInfusionRecipes.manaInkwellRecipe), new PageText("5"), new PageBrew(ModBrewRecipes.warpWardBrew, "6a", "6b")).setIcon(new ItemStack(ModItems.manaInkwell));
|
||||
else tcIntegration.setLexiconPages(new PageText("0"), new PageText("1"), new PageCraftingRecipe("2", ModCraftingRecipes.recipeHelmetOfRevealing), new PageText("3"), new PageManaInfusionRecipe("4", ModManaInfusionRecipes.manaInkwellRecipe), new PageBrew(ModBrewRecipes.warpWardBrew, "6a", "6b")).setIcon(new ItemStack(ModItems.manaInkwell));
|
||||
}
|
||||
|
||||
if(Botania.etFuturumLoaded) {
|
||||
|
||||
@@ -3834,7 +3834,7 @@ botania.page.tcIntegration1=First and foremost, combining any of the &1Mana Meta
|
||||
botania.page.tcIntegration2=Helmets of Revealing (works with any Botania helm)
|
||||
botania.page.tcIntegration3=Carrying on, &4Mana&0 can also serve as an interesting type of Ink. Infusing a set of black &1Scribing Tools&0 with &4Mana&0 from a &1Mana Pool&0 allows for them to use said &4Mana&0 as their source of color.<br>Refilling these tools works similarly to a &1Mana Tablet&0, done by tossing it on top of the pool. It's to note that the tools do not come pre-filled.
|
||||
botania.page.tcIntegration4=Making the &1Botanurgist's Inkwell
|
||||
botania.page.tcIntegration5=Next off, there's a few varied resources or constructs that can work as paraphernalia for an &1Infusion Altar&0, to lower its' instability, these come in the form of &1Glimmering Flowers, Floating Flowers and any variety of Pylons&0.<br>Lastly, a special &4Brew&0 can be put together using typical thaumaturgic resources in order to apply a &4Warp Ward&0 effect.
|
||||
botania.page.tcIntegration5=Next off, there's a few varied resources or constructs that can work as paraphernalia for an &1Infusion Altar&0, to lower its' instability, these come in the form of &1Glimmering Flowers, Floating Flowers and any variety of Pylons&0.
|
||||
botania.page.tcIntegration6a=Perhaps insanity might not be the greatest tool in all of occasions. For those cases, a nice bath generally takes care of it. A brew might be a better format for such a task, though...
|
||||
botania.page.tcIntegration6b=The official frowny face
|
||||
|
||||
|
||||
Reference in new issue
Block a user