From 26c8af8314973ba4ffd702c760a1b72a59cc2288 Mon Sep 17 00:00:00 2001 From: ackis Date: Thu, 19 Mar 2009 19:38:45 +0000 Subject: [PATCH] Remove the minedata function. --- AckisRecipeList.lua | 30 ------------------------------ 1 file changed, 30 deletions(-) diff --git a/AckisRecipeList.lua b/AckisRecipeList.lua index 1be551f..72988c6 100644 --- a/AckisRecipeList.lua +++ b/AckisRecipeList.lua @@ -1350,8 +1350,6 @@ function addon:ChatCommand(input) InterfaceOptionsFrame_OpenToCategory(self.optionsFrame["Documentation"]) elseif (input == tolower(L["Scan"])) then self:AckisRecipeList_Command(false) - elseif (input == tolower("minedata")) then - self:MineSkillLevelData() elseif (input == tolower("scandata")) then self:ScanSkillLevelData() else @@ -2156,34 +2154,6 @@ function addon:GetTextDump(RecipeDB, profession) end --- Description: Parses a trainer and gets the names of all skills with their levels --- Expected result: Pop up window with the code needed for skill levels --- Input: None --- Output: Copy box with code for me to use - -function addon:MineSkillLevelData() - - if (IsTradeskillTrainer()) then - SetTrainerServiceTypeFilter("available", 1) - SetTrainerServiceTypeFilter("unavailable", 1) - SetTrainerServiceTypeFilter("used", 1) - local t = {} - for i=1,GetNumTrainerServices(),1 do - local name = GetTrainerServiceInfo(i) - local _,skilllevel = GetTrainerServiceSkillReq(i) - if not skilllevel then - skilllevel = 0 - end - local skillleveltext = "\"" .. name .. "\" => " .. skilllevel .. "," - tinsert(t,skillleveltext) - end - self:DisplayTextDump(nil,nil,tconcat(t,"\n")) - else - self:Print("This can only be used for a trade skill trainer. Dumbass.") - end - -end - -- Description: Parses a trainer, comparing skill levels internal to those on the trainer. -- Expected result: Trade skills with a skill level different are output. -- Input: None -- 1.7.9.5