Difference between revisions of "ModTweaker:Thaumcraft 4 Support:Research"

From MineTweaker 3
Jump to: navigation, search
Line 24: Line 24:
 
  * FORBIDDEN (Apocrypha)
 
  * FORBIDDEN (Apocrypha)
 
  * TT_CATEGORY (Thaumic Tinkering)
 
  * TT_CATEGORY (Thaumic Tinkering)
 +
* TX (Thaumic Esoterica)
 
  * RAILCRAFT (Traheremagy)
 
  * RAILCRAFT (Traheremagy)
 +
 +
Removing a research tab also removes all research in the tab, which can cause crashes if they're prerequisites for anything.  Use orphanResearch() to cut all ties to researches in the tab, or stick to removing small tabs with nothing in them like Traheremagy.
 +
 +
Example:
 +
//TabKey
 +
mods.thaumcraft.Research.removeTab("RAILCRAFT");
  
 
{{ModTweakerNavigation}}
 
{{ModTweakerNavigation}}

Revision as of 11:18, 17 July 2014

The Basics

Each research is identified by a unique string called its Key. The general naming scheme is for the Key to be in all caps. Exceptions to this are wand parts, which tend to come in the ROD_blah or CAP_blahblah format. If you want to alter an existing research, you'll need to know its key.

Removing Research

Research can be removed with the removeResearch() method. However, if the research was used as prerequisite for anything, the Thaumonomicon will cause the game to crash when opened to that research's tab. You can use orphanResearch() to cut all ties to a research to make it safe to remove, or use clearPrereqs() to clear the prerequisites off of specific researches.

Example:

//ResearchKey
mods.thaumcraft.Research.orphanResearch("ROD_greatwood");
mods.thaumcraft.Research.removeResearch("ROD_greatwood");

Research Tabs

Each research tab is also identified with its own unique string. These are important to know if you want to remove a tab or place a new research in one.

Known Tab Keys:

* BASICS
* THAUMATURGY
* ALCHEMY
* ARTIFICE
* GOLEMANCY
* FORBIDDEN (Apocrypha)
* TT_CATEGORY (Thaumic Tinkering)
* TX (Thaumic Esoterica)
* RAILCRAFT (Traheremagy)

Removing a research tab also removes all research in the tab, which can cause crashes if they're prerequisites for anything. Use orphanResearch() to cut all ties to researches in the tab, or stick to removing small tabs with nothing in them like Traheremagy.

Example:
//TabKey
mods.thaumcraft.Research.removeTab("RAILCRAFT");



ModTweaker Supported Mods

Applied Energistics 2 | Aura Cascade | Botania | Chisel 2 | Ex Nihilo | Extra Utilities | Factorization | Flaxbeard's Steam Power Support | Forestry | Mariculture | Mekanism | Metallurgy 4 | PneumaticCraft | Railcraft | Thaumcraft 4 | Thermal Expansion | Tinker's Construct