LibTradeSkillRecipes: The Ultimate Crafting Data Library for WoW

Unlock detailed crafting data with LibTradeSkillRecipes for World of Warcraft. Streamline your addon development and master every trade skill today!

Download LibTradeSkillRecipes for World of Warcraft 10.1.7, 3.4.2

Original name: LibTradeSkillRecipes

World of Warcraft: 10.1.7, 3.4.2

FileVersionLoaderSize
LibTradeSkillRecipes-v16.zip10.1.7—937 КБDownload
LibTradeSkillRecipes-v8.zip3.4.2—888 КБDownload
LibTradeSkillRecipes-v15.zip3.4.2—515 КБDownload
LibTradeSkillRecipes-v14.zip3.4.2—512 КБDownload
LibTradeSkillRecipes-v12.zip3.4.2—512 КБDownload
LibTradeSkillRecipes-v12.zip3.4.2—512 КБDownload
LibTradeSkillRecipes-v11.zip3.4.2—509 КБDownload
LibTradeSkillRecipes-v10.zip3.4.2—509 КБDownload
LibTradeSkillRecipes-v9.zip3.4.2—509 КБDownload
LibTradeSkillRecipes-v1-wrath.zip3.4.2—281 КБDownload
LibTradeSkillRecipes-v7.zip3.4.2—888 КБDownload
LibTradeSkillRecipes-v6.zip3.4.2—888 КБDownload
LibTradeSkillRecipes-v5.zip3.4.2—450 КБDownload
LibTradeSkillRecipes-v4.zip3.4.2—448 КБDownload
LibTradeSkillRecipes-v3.zip3.4.2—449 КБDownload
LibTradeSkillRecipes-v2.zip3.4.2—282 КБDownload
LibTradeSkillRecipes-v1-wrath.zip3.4.2—282 КБDownload
LibTradeSkillRecipes-v1-wrath.zip3.4.2—282 КБDownload

LibTradeSkillRecipes

In the complex ecosystem of World of Warcraft addon development, having access to accurate and structured data is paramount. For creators building tools around professions, LibTradeSkillRecipes stands out as an essential library. It serves as a robust aggregation of trade skill recipes, creating vital links between trade categories, specific recipes, skill spells, resulting items, item spells, and their subsequent effects. Whether you are a seasoned developer or a player looking to understand the backend of your favorite crafting addons, this library provides the foundational data needed to navigate the intricate web of Azeroth's professions.

Understanding the Core Functionality

The primary strength of this library lies in its ability to map relationships that are not immediately obvious in the default user interface. It connects a trade category directly to its associated recipes and further down the chain to the spell used to craft an item. Crucially, it also handles cases where items do not have spells or where item spells do not produce a tangible item, such as enchantments which create an effect instead. This distinction is vital for developers working on inspection tools or crafting assistants.

Because some trade skills are taught strictly by NPCs without a physical recipe item, the library accounts for these exceptions gracefully. In scenarios where multiple recipes exist for a single trade skill, the system utilizes a table of recipes rather than a single entry, ensuring comprehensive coverage. If no extra recipes exist, the result is simply an empty table or a singleton, maintaining consistency in data retrieval.

Compatibility Across Expansions

One of the most significant advantages of using LibTradeSkillRecipes for World of Warcraft is its extensive support across various game versions. The library is meticulously maintained to function seamlessly with Retail, Classic, The Burning Crusade, Wrath of the Lich King, Cataclysm, and Mists of Pandaria. Developers can easily integrate the correct version into their Table of Contents (TOC) file by referencing the specific XML path for their target expansion, such as lib-classic.xml for Classic or lib-retail.xml for the modern game. This ensures that crafting data remains accurate regardless of the era players choose to explore.

For those who prefer a streamlined setup process without manually editing TOC files or hunting down specific XML paths, the foxygame.net launcher offers a convenient alternative. By utilizing the launcher's extensive addon catalog, users can install LibTradeSkillRecipes with a single click, automatically detecting the correct game version and handling all necessary dependencies behind the scenes. This feature eliminates common installation errors and ensures that your crafting tools are always synchronized with the current game build.

How to Install and Utilize the API

If you are wondering how to install this library manually, the process is straightforward for those comfortable with file management. After you download LibTradeSkillRecipes from a trusted repository, you must place the folder within your addon's directory structure. Once included in your TOC file, you can reference it via LibStub by declaring local LibTradeSkillRecipes = LibStub("LibTradeSkillRecipes-1") in your Lua code. This grants immediate access to a powerful suite of functions designed to query crafting data efficiently.

The API offers several key methods for retrieving information. Developers can use GetEffect(effectId) to fetch the name of a specific effect or GetEffects() to retrieve a full table of all available effects. To explore trade categories, the GetCategories() function returns a comprehensive list of IDs and info tables, while GetCategorySpells(categoryId) isolates spells associated with a specific profession category.

Advanced Data Retrieval

For more granular control, the library provides the TradeSkillInfo class, which returns detailed objects based on recipe IDs, item IDs, or spell IDs. These objects contain critical fields such as the expansion ID (where Retail is 9 and WotLK is 2), the list of recipe IDs required to learn the skill, and any salvage or crafting data associated with the spell. It is important to note that expansion values are zero-indexed in Blizzard's internal tables, a nuance that this library handles abstractly to simplify development.

Whether you are building a tool to track missing recipes, analyze market values based on crafting components, or simply display enhanced tooltips, this library removes the guesswork. By centralizing complex data relationships, it allows addon authors to focus on user experience rather than data mining. With proper integration, your addons can offer unparalleled insights into the crafting systems of every supported expansion, from the original Classic era to the latest Retail content.

In conclusion, LibTradeSkillRecipes is an indispensable resource for anyone serious about developing profession-related addons. Its logical structure, broad expansion support, and precise API make it the gold standard for accessing trade skill data. By leveraging this library, developers can ensure their creations are both robust and reliable, providing the WoW community with the high-quality tools they need to master every trade skill in the game.