Ackis Recipe List

API

r11

AckisRecipeList provides an interface for scanning professions for missing recipes.
There are a set of functions which allow you make use of the ARL database outside of ARL.
ARL supports all professions currently in World of Warcraft 3.1.


AckisRecipeList:AckisRecipeList_Command(textdump)

Causes a scan of the tradeskill to be conducted.

Parameters

textdump
Boolean indicating if we want the output to be a text dump, or if we want to use the ARL GUI.

Return value

A frame with either the text dump, or the ARL frame.

Usage

AckisRecipeList:AckisRecipeList_Command(true)


AckisRecipeList:AddRecipeData(profession)

Initialize the recipe database with a specific profession.

Parameters

profession
Spell ID of the profession which you want to populate the database with.

Return value

Boolean indicating if the operation was successful. The recipe database will be populated with appropriate data.

Usage

AckisRecipeList:AddRecipeData(2259)


AckisRecipeList:GetRecipeData(spellID)

API for external addons to get recipe information from ARL

Parameters

spellID
The spell ID of the recipe you want information about.

Return value

Table containing all spell ID information or nil if it's not found.


AckisRecipeList:GetRecipeTable()

API for external addons to get recipe database from ARL

Return value

Table containing all recipe information or nil if it's not found.


AckisRecipeList:InitRecipeData()

Initialize the recipe database

Return values

  1. Boolean indicating if the operation was successful. The recipe database will be populated with appropriate data.
  2. Arrays containing the RecipeList, MobList, TrainerList, VendorList, QuestList, ReputationList, SeasonalList.

Usage

AckisRecipeList:InitRecipeData()


AckisRecipeList:addTradeSkill(RecipeDB, SpellID, SkillLevel, ItemID, Rarity, Profession, Specialty, Speciality)

Adds a tradeskill recipe into the specified recipe database.

Parameters

RecipeDB
RecipeDB The database (array) which you wish to add data too.
SpellID
The spell ID of the recipe being added to the database.
SkillLevel
The skill level at which the recipe may be learned.
ItemID
The item ID that is created by the recipe, or nil
Rarity
The rarity of the recipe.
Profession
The profession ID that uses the recipe. See database-documentation/#w_profession-ids for a listing.
Specialty
Speciality
The speciality that uses the recipe (ie: goblin engineering) or nil or blank

Return value

None, array is passed as a reference.

Usage

AckisRecipeList:addTradeSkill(RecipeDB,2329,1,2454,1,2259)