diff --git a/ARLDataminer.rb b/ARLDataminer.rb
index 21f7d4b..4610b8b 100644
--- a/ARLDataminer.rb
+++ b/ARLDataminer.rb
@@ -146,7 +146,7 @@ end
# Creates a database file for the specific recipe
# TODO: Optimize the code for this function
-def create_profession_db(file,profession,db,maps,funcstub,recipes,ignorerecipe,pvplist,discoverylist,seasonallist,wrathignore)
+def create_profession_db(file,profession,db,maps,funcstub,recipes,ignorerecipe,pvplist,discoverylist,seasonallist,wrathignore,specialhandling)
factionlevels = {"Neutral" => 0,"Friendly" => 1,"Honored" => 2,"Revered" => 3,"Exalted" => 4}
classes = {"Deathknight" => 21,"Druid" => 22,"Hunter" => 23,"Mage"=> 24,"Paladin"=>25,"Priest"=>26,"Shaman"=>27,"Rogue"=> 28,"Warlock"=>29,"Warrior"=>30}
@@ -235,7 +235,6 @@ EOF
details = recipes[name]
proflua.puts "\t-- #{name} -- #{details[:spellid]}"
- # skip nps with ID 0, as that is a place holder provided by the WoWDBRecepie miner
details[:method].split(",").each do |method|
case method
@@ -243,6 +242,7 @@ EOF
when 'taught-by'
data = details[:method_trainers]
+
flags << 3
if details[:learned] == 1
@@ -1095,44 +1095,44 @@ $proftable = {"Alchemy" => 2259,
# Discovery: 28583, 28580, 28584, 28585, 28582, 28581, 28587, 28588, 28589, 28590, 28591, 28586, 41458, 41500, 41501, 41502, 41503
# Seasonal: 21923 - 1
alchemy = recipes.get_alchemy_list
-create_profession_db("./RecipeDB/ARL-Alchemy.lua","Alchemy",recipes,maps,"InitAlchemy",alchemy,[2336,6619,11447,17579,22430],[],[28583, 28580, 28584, 28585, 28582, 28581, 28587, 28588, 28589, 28590, 28591, 28586, 41458, 41500, 41501, 41502, 41503],{21923 => 1},[53771,53773,53774,53775,53776,53777,53779,53780,53781,53782,53783,53784,53812,53836,53837,53838,53839,53840,53841,53842,53847,53895,53899,53905])
+create_profession_db("./RecipeDB/ARL-Alchemy.lua","Alchemy",recipes,maps,"InitAlchemy",alchemy,[2336,6619,11447,17579,22430],[],[28583, 28580, 28584, 28585, 28582, 28581, 28587, 28588, 28589, 28590, 28591, 28586, 41458, 41500, 41501, 41502, 41503],{21923 => 1},[53771,53773,53774,53775,53776,53777,53779,53780,53781,53782,53783,53784,53812,53836,53837,53838,53839,53840,53841,53842,53847,53895,53899,53905],{})
# Seasonal: 21913 - 1
blacksmithing = recipes.get_blacksmithing_list
-create_profession_db("./RecipeDB/ARL-BlackSmith.lua","Blacksmithing",recipes,maps,"InitBlacksmithing",blacksmithing,[],[],[],{21913 => 1},[52567,52568,52569,52570,52571,52572])
+create_profession_db("./RecipeDB/ARL-BlackSmith.lua","Blacksmithing",recipes,maps,"InitBlacksmithing",blacksmithing,[],[],[],{21913 => 1},[52567,52568,52569,52570,52571,52572],{})
# Seasonal: 21143 - 1, 21144 - 1, 45022 - 1
cooking = recipes.get_cooking_list
-create_profession_db("./RecipeDB/ARL-Cook.lua","Cooking",recipes,maps,"InitCooking",cooking,[30047],[],[],{21143 => 1,21144 => 1,45022 => 1},[44438, 45547, 45559,45571, 53056])
+create_profession_db("./RecipeDB/ARL-Cook.lua","Cooking",recipes,maps,"InitCooking",cooking,[30047],[],[],{21143 => 1,21144 => 1,45022 => 1},[44438, 45547, 45559,45571, 53056],{})
# Seasonal: 21931 - 1, 46578 - 4
enchanting = recipes.get_enchanting_list
-create_profession_db("./RecipeDB/ARL-Enchant.lua","Enchanting",recipes,maps,"InitEnchanting",enchanting,[22434],[],[],{21931 => 1, 46578 => 4},[44558,44613,44632,44633,44634,44635,44636,44637,44638,44645,47898,47899,47901,44582,44584,44588,44589,44590,44591,44592,44595,44596,44597,44598,44612,44613,44616,44621,44623,44625,44629,44630,44631,44529,44555,44556,44528,44524,44513,44383,44483,44484,44488,44489,44492,44494,44496,44497,44500,44506,44508,44509,44510,44575])
+create_profession_db("./RecipeDB/ARL-Enchant.lua","Enchanting",recipes,maps,"InitEnchanting",enchanting,[22434],[],[],{21931 => 1, 46578 => 4},[44558,44613,44632,44633,44634,44635,44636,44637,44638,44645,47898,47899,47901,44582,44584,44588,44589,44590,44591,44592,44595,44596,44597,44598,44612,44613,44616,44621,44623,44625,44629,44630,44631,44529,44555,44556,44528,44524,44513,44383,44483,44484,44488,44489,44492,44494,44496,44497,44500,44506,44508,44509,44510,44575],{})
# Seasonal: 21940 - 1, 26416, 26417, 26418, 26420, 26421, 26422, 26423, 26424, 26425, 26442, 26426, 26427, 26428, 26443 - 2
eng = recipes.get_engineering_list
-create_profession_db("./RecipeDB/ARL-Engineer.lua","Engineering",recipes,maps,"InitEngineering",eng,[],[],[],{21940 => 1,26416 => 2,26417 => 2,26418 => 2,26420 => 2,26421 => 2,26422 => 2,26423 => 2,26424 => 2,26425 => 2,26426 => 2,26427 => 2,26428 => 2,26442 => 2,26443 => 2},[53280,53281])
+create_profession_db("./RecipeDB/ARL-Engineer.lua","Engineering",recipes,maps,"InitEngineering",eng,[],[],[],{21940 => 1,26416 => 2,26417 => 2,26418 => 2,26420 => 2,26421 => 2,26422 => 2,26423 => 2,26424 => 2,26425 => 2,26426 => 2,26427 => 2,26428 => 2,26442 => 2,26443 => 2},[53280,53281],{})
firstaid = recipes.get_firstaid_list
-create_profession_db("./RecipeDB/ARL-FirstAid.lua","First Aid",recipes,maps,"InitFirstAid",firstaid,[30021],[],[],{},[45545, 45546, 51801])
+create_profession_db("./RecipeDB/ARL-FirstAid.lua","First Aid",recipes,maps,"InitFirstAid",firstaid,[30021],[],[],{},[45545, 45546, 51801],{})
inscription = recipes.get_inscription_list
-create_profession_db("./RecipeDB/ARL-Inscription.lua","Inscription",recipes,maps,"InitInscription",inscription,[50598,50599,50600,50601,50602,50605,50606,50607,50608,50609,50612,50614,50616,50617,50618],[],[],{},[])
+create_profession_db("./RecipeDB/ARL-Inscription.lua","Inscription",recipes,maps,"InitInscription",inscription,[50598,50599,50600,50601,50602,50605,50606,50607,50608,50609,50612,50614,50616,50617,50618],[],[],{},[],{})
# PVP: 31101, 43493
jewelcrafting = recipes.get_jewelcrafting_list
-create_profession_db("./RecipeDB/ARL-Jewelcraft.lua","Jewelcrafting",recipes,maps,"InitJewelcrafting",jewelcrafting,[53844],[31101, 43493],[],{},(53830..54023).to_a)
+create_profession_db("./RecipeDB/ARL-Jewelcraft.lua","Jewelcrafting",recipes,maps,"InitJewelcrafting",jewelcrafting,[53844],[31101, 43493],[],{},(53830..54023).to_a,{})
# Seasonal: 21943 - 1, 44953 - 1
leatherworking = recipes.get_leatherworking_list
-create_profession_db("./RecipeDB/ARL-LeatherWork.lua","Leatherworking",recipes,maps,"InitLeatherworking",leatherworking,[],[],[],{21943 => 1,44953 => 1},(50935..53690).to_a)
+create_profession_db("./RecipeDB/ARL-LeatherWork.lua","Leatherworking",recipes,maps,"InitLeatherworking",leatherworking,[],[],[],{21943 => 1,44953 => 1},(50935..53690).to_a,{})
smelting = recipes.get_mining_list
-create_profession_db("./RecipeDB/ARL-Smelt.lua","Smelting",recipes,maps,"InitSmelting",smelting,[],[],[],{},[49252, 49258, 53417])
+create_profession_db("./RecipeDB/ARL-Smelt.lua","Smelting",recipes,maps,"InitSmelting",smelting,[],[],[],{},[49252, 49258, 53417],{})
# Seasonal: 21945 - 1, 44958 - 1, 44950 - 1, 26407 - 1, 26403 - 2
tailoring = recipes.get_tailoring_list
-create_profession_db("./RecipeDB/ARL-Tailor.lua","Tailoring",recipes,maps,"InitTailoring",tailoring,[],[],[],{21945 => 1, 44958 => 1, 44950 => 1, 26407 => 1, 26403 => 2},[])
+create_profession_db("./RecipeDB/ARL-Tailor.lua","Tailoring",recipes,maps,"InitTailoring",tailoring,[7636,12062,12063,12068,12083,12087,12090],[],[],{21945 => 1, 44958 => 1, 44950 => 1, 26407 => 1, 26403 => 2},[],{})
create_lookup_db("./RecipeDB/ARL-Trainer.lua","Trainer","TrainerDB","InitTrainer",$trainers,maps,[])
diff --git a/RecipeDB/ARL-Tailor.lua b/RecipeDB/ARL-Tailor.lua
index efc3e85..b419a12 100644
--- a/RecipeDB/ARL-Tailor.lua
+++ b/RecipeDB/ARL-Tailor.lua
@@ -696,9 +696,9 @@ function addon:InitTailoring(RecipeDB)
-- Flags: All classes, Item BoE, Recipe BoP, Armor, Cloth,
-- Item Stats:
-- Item Stats: val2id3val3id4val3id5val32id6
- recipecount = recipecount + 1
- self:addTradeSkill(RecipeDB, 7636, 80, 6243, 2, 3908)
- self:addTradeFlags(RecipeDB, 7636, 3,21,22,23,24,25,26,27,28,29,30,36,41,47,56)
+ --recipecount = recipecount + 1
+ --self:addTradeSkill(RecipeDB, 7636, 80, 6243, 2, 3908)
+ --self:addTradeFlags(RecipeDB, 7636, 3,21,22,23,24,25,26,27,28,29,30,36,41,47,56)
-- No acquire information
-- Blue Overalls -- 7639
@@ -1140,9 +1140,9 @@ function addon:InitTailoring(RecipeDB)
-- Flags: All classes, Item BoE, Recipe BoP, Armor, Cloth,
-- Item Stats:
-- Item Stats: val15id5val51id6val10id19
- recipecount = recipecount + 1
- self:addTradeSkill(RecipeDB, 12062, 205, 10010, 2, 3908)
- self:addTradeFlags(RecipeDB, 12062, 3,21,22,23,24,25,26,27,28,29,30,36,41,47,56)
+ --recipecount = recipecount + 1
+ --self:addTradeSkill(RecipeDB, 12062, 205, 10010, 2, 3908)
+ --self:addTradeFlags(RecipeDB, 12062, 3,21,22,23,24,25,26,27,28,29,30,36,41,47,56)
-- No acquire information
-- Stormcloth Gloves -- 12063
@@ -1150,9 +1150,9 @@ function addon:InitTailoring(RecipeDB)
-- Flags: All classes, Item BoE, Recipe BoP, Armor, Cloth,
-- Item Stats: Caster DPS,
-- Item Stats: val36id6val16id19val16id20
- recipecount = recipecount + 1
- self:addTradeSkill(RecipeDB, 12063, 205, 10011, 2, 3908)
- self:addTradeFlags(RecipeDB, 12063, 3,21,22,23,24,25,26,27,28,29,30,36,41,47,54,56)
+ --recipecount = recipecount + 1
+ --self:addTradeSkill(RecipeDB, 12063, 205, 10011, 2, 3908)
+ --self:addTradeFlags(RecipeDB, 12063, 3,21,22,23,24,25,26,27,28,29,30,36,41,47,54,56)
-- No acquire information
-- Orange Martial Shirt -- 12064
@@ -1198,9 +1198,9 @@ function addon:InitTailoring(RecipeDB)
-- Flags: All classes, Item BoE, Recipe BoP, Armor, Cloth,
-- Item Stats: Healing,
-- Item Stats: val8id3val8id5val59id6val10id19val29id20
- recipecount = recipecount + 1
- self:addTradeSkill(RecipeDB, 12068, 210, 10020, 2, 3908)
- self:addTradeFlags(RecipeDB, 12068, 3,21,22,23,24,25,26,27,28,29,30,36,41,47,53,56)
+ --recipecount = recipecount + 1
+ --self:addTradeSkill(RecipeDB, 12068, 210, 10020, 2, 3908)
+ --self:addTradeFlags(RecipeDB, 12068, 3,21,22,23,24,25,26,27,28,29,30,36,41,47,53,56)
-- No acquire information
-- Cindercloth Robe -- 12069
@@ -1344,9 +1344,9 @@ function addon:InitTailoring(RecipeDB)
-- Flags: All classes, Item BoE, Recipe BoP, Armor, Cloth,
-- Item Stats:
-- Item Stats: val10id4val10id5val51id6val14id19
- recipecount = recipecount + 1
- self:addTradeSkill(RecipeDB, 12083, 225, 10032, 2, 3908)
- self:addTradeFlags(RecipeDB, 12083, 3,21,22,23,24,25,26,27,28,29,30,36,41,47,56)
+ --recipecount = recipecount + 1
+ --self:addTradeSkill(RecipeDB, 12083, 225, 10032, 2, 3908)
+ --self:addTradeFlags(RecipeDB, 12083, 3,21,22,23,24,25,26,27,28,29,30,36,41,47,56)
-- No acquire information
-- Red Mageweave Headband -- 12084
@@ -1383,9 +1383,9 @@ function addon:InitTailoring(RecipeDB)
-- Flags: All classes, Item BoE, Recipe BoP, Armor, Cloth,
-- Item Stats:
-- Item Stats: val48id6val21id19
- recipecount = recipecount + 1
- self:addTradeSkill(RecipeDB, 12087, 230, 10038, 2, 3908)
- self:addTradeFlags(RecipeDB, 12087, 3,21,22,23,24,25,26,27,28,29,30,36,41,47,56)
+ --recipecount = recipecount + 1
+ --self:addTradeSkill(RecipeDB, 12087, 230, 10038, 2, 3908)
+ --self:addTradeFlags(RecipeDB, 12087, 3,21,22,23,24,25,26,27,28,29,30,36,41,47,56)
-- No acquire information
-- Cindercloth Boots -- 12088
@@ -1413,9 +1413,9 @@ function addon:InitTailoring(RecipeDB)
-- Flags: All classes, Item BoE, Recipe BoP, Armor, Cloth,
-- Item Stats:
-- Item Stats: val10id3val45id6val16id19
- recipecount = recipecount + 1
- self:addTradeSkill(RecipeDB, 12090, 235, 10039, 2, 3908)
- self:addTradeFlags(RecipeDB, 12090, 3,21,22,23,24,25,26,27,28,29,30,36,41,47,56)
+ --recipecount = recipecount + 1
+ --self:addTradeSkill(RecipeDB, 12090, 235, 10039, 2, 3908)
+ --self:addTradeFlags(RecipeDB, 12090, 3,21,22,23,24,25,26,27,28,29,30,36,41,47,56)
-- No acquire information
-- White Wedding Dress -- 12091