Ackis Recipe List

API / Recipe

AckisRecipeList:AddRecipe(spell_id, profession, genesis, quality)

Adds a tradeskill recipe into the specified recipe database

Parameters

spell_id
The Spell ID of the recipe being added to the database
profession
The profession ID that uses the recipe. See API/database-documentation for a listing of profession IDs
genesis
Game version that the recipe was first introduced in, for example, Original, BC, WoTLK, or Cata
quality
The quality/rarity of the recipe

Return value

Resultant recipe table.

Usage

AckisRecipeList:AddRecipe(28927, 23109, V.TBC, Q.UNCOMMON)


AckisRecipeList:GetRecipeData(spell_id, data)

Public API function for retrieving specific information about a recipe.

Parameters

spell_id
The Spell ID of the recipe being queried.
data
Which member of the recipe table is being queried.

Return value

Variable, depending upon which member of the recipe table is queried.

Usage

AckisRecipeList:GetRecipeData(28972, "profession")


recipe_prototype:SetRecipeItem(item_id, binding_type)

Recipe methods.

Parameters

item_id
binding_type


You must login to post a comment. Don't have an account? Register to get one!