Ackis Recipe List

API

r18

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(GetSpellInfo(51304))


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:addLookupList(DB, ID, Name, Loc, Coordx, Coordy, Faction)

Adds an item to a specific database listing (ie: vendor, mob, etc)

Parameters

DB
Database which the entry will be stored.
ID
Unique identified for the entry.
Name
Name of the entry.
Loc
Location of the entry in the world.
Coordx
X coordinate of where the entry is found.
Coordy
Y coordinate of where the entry is found.
Faction
Faction identifier for the entry.

Return value

None, array is passed as a reference.

Usage

AckisRecipeList:addLookupList:(VendorDB,NPC ID, NPC Name, NPC Location, X Coord, Y Coord, Faction)


AckisRecipeList:addTradeAcquire(RecipeDB, SpellID, ...)

Adds acquire methods to a specific tradeskill.

Parameters

RecipeDB
The database (array) which you wish to add acquire methods too.
SpellID
The [http://www.wowwiki.com/SpellLink Spell ID] of the recipe which acquire methods are being added to.
...
A listing of acquire methods. See database-documentation for a listing of acquire methods and how they behave.

Return value

None, array is passed as a reference.

Usage

AckisRecipeList:addTradeAcquire:(RecipeDB,2329,8,8)


AckisRecipeList:addTradeFlags(RecipeDB, SpellID, ...)

Adds filtering flags to a specific tradeskill.

Parameters

RecipeDB
The database (array) which you wish to add flags too.
SpellID
The [http://www.wowwiki.com/SpellLink Spell ID] of the recipe which flags are being added to.
...
A listing of filtering flags. See database-documentation for a listing of filtering flags.

Return value

None, array is passed as a reference.

Usage

AckisRecipeList:addTradeFlags(RecipeDB,2329,1,2,3,21,22,23,24,25,26,27,28,29,30,36,41,51,52)


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

Adds a tradeskill recipe into the specified recipe database.

Parameters

RecipeDB
The database (array) which you wish to add data too.
SpellID
The [http://www.wowwiki.com/SpellLink Spell ID] of the recipe being added to the database.
SkillLevel
The skill level at which the recipe may be learned.
ItemID
The [http://www.wowwiki.com/ItemLink 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 for a listing of profession IDs.
Specialty
The specialty 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)