Register new account
Ackis Recipe List
**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. \\Function called when the scan button is clicked. Parses recipes and displays output === 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 <<code lua>> AckisRecipeList:AckisRecipeList_Command(true) <</code>> \\ == AckisRecipeList:AddRecipeData(profession) API for external addons to 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 <<code lua>> AckisRecipeList:AddRecipeData(GetSpellInfo(51304)) <</code>> \\ == 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() API for external addons to initialize the recipe database === Return values # Boolean indicating if the operation was successful. The recipe database will be populated with appropriate data. # Arrays containing the RecipeList, MobList, TrainerList, VendorList, QuestList, ReputationList, SeasonalList. === Usage <<code lua>> AckisRecipeList:InitRecipeData() <</code>> \\ == 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 <<code lua>> AckisRecipeList:addLookupList:(VendorDB,NPC ID, NPC Name, NPC Location, X Coord, Y Coord, Faction) <</code>> \\ == 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 <<code lua>> AckisRecipeList:addTradeFlags(RecipeDB,2329,1,2,3,21,22,23,24,25,26,27,28,29,30,36,41,51,52) <</code>> \\ == AckisRecipeList:addTradeSkill(RecipeDB, SpellID, SkillLevel, ItemID, Rarity, Profession, Specialty, Game, Orange, Yellow, Green, Grey) 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 ; Game : Game version recipe was found in, for example, Original, BC, or Wrath. ; Orange : Level at which recipe is considered orange. ; Yellow : Level at which recipe is considered yellow. ; Green : Level at which recipe is considered green. ; Grey : Level at which recipe is considered greay. === Return value None, array is passed as a reference. === Usage <<code lua>> AckisRecipeList:addTradeSkill(RecipeDB,2329,1,2454,1,2259,0,1,55,75,95) <</code>> \\ == GetKnownProfessions(ProfTable) Scans first 25 spellbook slots to identify all applicable professions === Parameters ; ProfTable \\ == InitDatabases() Initalizes all the recipe databases to their initial \\ == InitializeRecipes(RecipeDB, playerProfession) Determines which profession we are dealing with and loads up the recipe information for it. === Parameters ; RecipeDB ; playerProfession \\ == PopulateRepFilters(RepTable) Creates an array of which factions we want to include in our display and which ones to ignore === Parameters ; RepTable \\ == addon:ChatCommand(input) Determines what to do when the slash command is called. === Parameters ; input \\ == addon:CheckDisplayRecipe(Recipe, AllSpecialtiesTable, playerProfessionLevel, playerProfession, playerSpecialty, playerFaction, playerClass) Scans a specific recpie to determine if it is to be displayed or not. === Parameters ; Recipe ; AllSpecialtiesTable ; playerProfessionLevel ; playerProfession ; playerSpecialty ; playerFaction ; playerClass \\ == addon:ClearSavedSkills() Clears all saved tradeskills \\ == addon:CloseTradeWindow() Toggles the flag that a trade window is opened \\ == addon:DumpRecipe(SpellID) Dumps all the info about a recipe out to chat === Parameters ; SpellID \\ == addon:GetExclusions(RecipeDB, prof) Marks all exclusions in the recipe database to not be displayed === Parameters ; RecipeDB ; prof \\ == addon:GetFactionLevels(RepTable) Scans all reputations to get reputation levels to determine if the player can learn a reputation recipe === Parameters ; RepTable \\ == addon:GetRecipeLocations(SpellID) Determines all the locations a given recipe can be obtained === Parameters ; SpellID \\ == addon:GetTextDump(RecipeDB, profession) Scans through the recipe database providing a string of comma seperated values for all recipe information === Parameters ; RecipeDB ; profession \\ == addon:OnDisable() Run when the addon is disabled. \\Ace3 takes care of unregistering events, etc. \\ == addon:OnEnable() Function run when the addon is enabled. \\Registers events and pre-loads certain variables. \\ == addon:OnInitialize() Function run when the addon is initialized. \\Registers the slash commands, options, and database \\ == addon:ResetSearch(RecipeDB) Goes through the recipe database and resets all the search flags === Parameters ; RecipeDB \\ == addon:ScanForKnownRecipes(RecipeDB, playerData) Scans the recipe listing and marks known recipes as true in the database === Parameters ; RecipeDB ; playerData \\ == addon:SearchRecipeDB(RecipeDB, searchstring) Scans through the recipe database and toggles the flag on if the item is in the search criteria === Parameters ; RecipeDB ; searchstring \\ == addon:SetRepDB() Updates the reputation table. \\This only happens seldomly so I'm not worried about effeciency \\ == addon:TRAINER_SHOW() Event handling functions \\ == addon:ToggleExcludeRecipe(SpellID) Removes or adds a recipe to the exclusion list. === Parameters ; SpellID \\ == addon:UpdateFilters(RecipeDB, AllSpecialtiesTable, playerData) Scans the recipe listing and updates the filters according to user preferences === Parameters ; RecipeDB ; AllSpecialtiesTable ; playerData \\ == addon:ViewExclusionList() Prints all the ID's in the exclusion list out into chat. \\ == playerData ; totalknownpets : Total number of known mini-pets. ; totalknownmounts : Total number of known mounts. ; totalpets : Total number of mini-pets. ; totalmounts : Total number of mounts. ; total : Total number of items in the scan. ; known : Total number of items known in the scan. ; total_filtered : Total number of items filtered during the scan. ; known_filtered : Total number of items known filtered during the scan. ; playerFaction : Players faction ; playerClass : Players class ; excluded_unknown : Number of unknown items excluded. ; excluded_known : Number of known items excluded. \\
The type of markup for this entry.
Click here for details
<div><img src="//secure-us.imrworldwide.com/cgi-bin/m?ci=us-603339h&cg=0&cc=1&ts=noscript" width="1" height="1" alt="" /></div>