diff --git a/ARLDatamine.lua b/ARLDatamine.lua index 4d1ec82..27a9737 100644 --- a/ARLDatamine.lua +++ b/ARLDatamine.lua @@ -1525,6 +1525,7 @@ do end local flags = scan_data.recipe_list[spellid]["Flags"] + local acquire = scan_data.recipe_list[spellid]["Acquire"] twipe(missing_flags) twipe(extra_flags) @@ -1627,8 +1628,16 @@ do -- Reputations local repid = scan_data.repid - if repid and not flags[repid] then + if ((repid) and (not flags[repid])) then tinsert(missing_flags,repid) + for i,j in pairs(acquire) do + if (acquire[j]["Type"] == 6) then + local tmpacquire = acquire[j] + if (tmpacquire["RepLevel"] ~= scan_data.repidlevel) then + tinsert(t,"Rep level wrong. " .. recipe_name .. " (" .. spellid .. ")\n") + end + end + end end if (#missing_flags > 0) or (#extra_flags > 0) then @@ -1685,7 +1694,11 @@ do tinsert(t,"Recipe " .. recipe_name .. " (" .. spellid .. ") Extra Specialty: " .. scan_data.recipe_list[spellid]["Specialty"]) end - return tconcat(t,"\n") + if (#t > 0) then + return tconcat(t,"\n") + else + return "" + end end diff --git a/Docs/Documentation.txt b/Docs/Documentation.txt index 5fa0ac8..e6916af 100644 --- a/Docs/Documentation.txt +++ b/Docs/Documentation.txt @@ -36,245 +36,6 @@ The first line is a human readabile comment, which states the recipe name, with Please see the [[api]] page for detailed documentation on the database methods. -==SavedVariable Structure== -This identifies the overall database structure for the saved variables. Italics are the default options. - -*addon.db.profile -**tradeskill -***''{}'' -**frameopts -***offsetx -****''0'' -***offsety -****''0'' -***anchorTo -****''""'' -***anchorFrom -****''""'' -***uiscale -****''1'' -***tooltipscale -****''.9'' -***fontsize -****''11'' -**sorting -***''"SkillAsc"'' -**includefiltered -***''false'' -**includeexcluded -***''false'' -**closeguionskillclose -***''false'' -**ignoreexlcusionlist -***''false'' -**scanbuttonlocation -***''"TR"'' -**spelltooltiplocation -***''"Right"'' -**acquiretooltiplocation -***''"Mouse"'' -**hidepopup -***''false'' -**minimap -***''true'' -**worldmap -***''true'' -**autoscanmap -***''false'' -**exclusionlist -***''{}'' -**filters -***general -****faction -*****''true'' -****specialty -*****''false'' -****skill -*****''true'' -****known -*****''false'' -****unknown -*****''true'' -***obtain -****trainer -*****''true'' -****vendor -*****''true'' -****instance -*****''true'' -****raid -*****''true'' -****seasonal -*****''true'' -****quest -*****''true'' -****pvp -*****''true'' -****discovery -*****''true'' -****worlddrop -*****''true'' -****mobdrop -*****''true'' -***item -****armor -*****cloth -******''true'' -*****leather -******''true'' -*****mail -******''true'' -*****plate -******''true'' -*****trinket -******''true'' -*****cloak -******''true'' -*****ring -******''true'' -*****necklace -******''true'' -*****shield -******''true'' -****weapon -*****onehand -******''true'' -*****twohand -******''true'' -*****axe -******''true'' -*****sword -******''true'' -*****mace -******''true'' -*****polearm -******''true'' -*****dagger -******''true'' -*****fist -******''true'' -*****staff -******''true'' -*****wand -******''true'' -*****thrown -******''true'' -*****bow -******''true'' -*****crossbow -******''true'' -*****ammo -******''true'' -***binding -****itemboe -*****''true'' -****itembop -*****''true'' -****recipebop -*****''true'' -****recipeboe -*****''true'' -***player -****melee -*****''true'' -****tank -*****''true'' -****healer -*****''true'' -****caster -*****''true'' -***rep -****scryer -*****''true'' -****argentdawn -*****''true'' -****ashtonguedeathsworn -*****''true'' -****cenarioncircle -*****''true'' -****cenarionexpedition -*****''true'' -****consortium -*****''true'' -****hellfire -*****''true'' -****keepersoftime -*****''true'' -****nagrand -*****''true'' -****lowercity -*****''true'' -****scaleofthesands -*****''true'' -****shatar -*****''true'' -****shatteredsun -*****''true'' -****sporeggar -*****''true'' -****thoriumbrotherhood -*****''true'' -****timbermaw -*****''true'' -****violeteye -*****''true'' -****zandalar -*****''true'' -****argentcrusade -*****''true'' -****frenzyheart -*****''true'' -****ebonblade -*****''true'' -****kirintor -*****''true'' -****sonsofhodir -*****''true'' -****kaluak -*****''true'' -****oracles -*****''true'' -****wyrmrest -*****''true'' -****silvercovenant -*****''true'' -****sunreavers -*****''true'' -****explorersleague -*****''true'' -****valiance -*****''true'' -****handofvengeance -*****''true'' -****taunka -*****''true'' -****warsongoffensive -*****''true'' -****wrathcommon1 -*****''true'' -***classes -****deathknight -*****''true'' -****druid -*****''true'' -****hunter -*****''true'' -****mage -*****''true'' -****paladin -*****''true'' -****priest -*****''true'' -****rogue -*****''true'' -****shaman -*****''true'' -****warlock -*****''true'' -****warrior -*****''true'' - - ==Filter Method== Filters can be divided into two general categories: @@ -581,4 +342,242 @@ Defined below is the specification for the arguments passed back into addTradeAc :::Location -- Location (zone) :::Coordx -- Vendor X coordinate :::Coordy -- Vendor Y coordinate -:::Faction -- Vendor Faction ID ** \ No newline at end of file +:::Faction -- Vendor Faction ID ** + +==SavedVariable Structure== +This identifies the overall database structure for the saved variables. Italics are the default options. + +*addon.db.profile +**tradeskill +***''{}'' +**frameopts +***offsetx +****''0'' +***offsety +****''0'' +***anchorTo +****''""'' +***anchorFrom +****''""'' +***uiscale +****''1'' +***tooltipscale +****''.9'' +***fontsize +****''11'' +**sorting +***''"SkillAsc"'' +**includefiltered +***''false'' +**includeexcluded +***''false'' +**closeguionskillclose +***''false'' +**ignoreexlcusionlist +***''false'' +**scanbuttonlocation +***''"TR"'' +**spelltooltiplocation +***''"Right"'' +**acquiretooltiplocation +***''"Mouse"'' +**hidepopup +***''false'' +**minimap +***''true'' +**worldmap +***''true'' +**autoscanmap +***''false'' +**exclusionlist +***''{}'' +**filters +***general +****faction +*****''true'' +****specialty +*****''false'' +****skill +*****''true'' +****known +*****''false'' +****unknown +*****''true'' +***obtain +****trainer +*****''true'' +****vendor +*****''true'' +****instance +*****''true'' +****raid +*****''true'' +****seasonal +*****''true'' +****quest +*****''true'' +****pvp +*****''true'' +****discovery +*****''true'' +****worlddrop +*****''true'' +****mobdrop +*****''true'' +***item +****armor +*****cloth +******''true'' +*****leather +******''true'' +*****mail +******''true'' +*****plate +******''true'' +*****trinket +******''true'' +*****cloak +******''true'' +*****ring +******''true'' +*****necklace +******''true'' +*****shield +******''true'' +****weapon +*****onehand +******''true'' +*****twohand +******''true'' +*****axe +******''true'' +*****sword +******''true'' +*****mace +******''true'' +*****polearm +******''true'' +*****dagger +******''true'' +*****fist +******''true'' +*****staff +******''true'' +*****wand +******''true'' +*****thrown +******''true'' +*****bow +******''true'' +*****crossbow +******''true'' +*****ammo +******''true'' +***binding +****itemboe +*****''true'' +****itembop +*****''true'' +****recipebop +*****''true'' +****recipeboe +*****''true'' +***player +****melee +*****''true'' +****tank +*****''true'' +****healer +*****''true'' +****caster +*****''true'' +***rep +****scryer +*****''true'' +****argentdawn +*****''true'' +****ashtonguedeathsworn +*****''true'' +****cenarioncircle +*****''true'' +****cenarionexpedition +*****''true'' +****consortium +*****''true'' +****hellfire +*****''true'' +****keepersoftime +*****''true'' +****nagrand +*****''true'' +****lowercity +*****''true'' +****scaleofthesands +*****''true'' +****shatar +*****''true'' +****shatteredsun +*****''true'' +****sporeggar +*****''true'' +****thoriumbrotherhood +*****''true'' +****timbermaw +*****''true'' +****violeteye +*****''true'' +****zandalar +*****''true'' +****argentcrusade +*****''true'' +****frenzyheart +*****''true'' +****ebonblade +*****''true'' +****kirintor +*****''true'' +****sonsofhodir +*****''true'' +****kaluak +*****''true'' +****oracles +*****''true'' +****wyrmrest +*****''true'' +****silvercovenant +*****''true'' +****sunreavers +*****''true'' +****explorersleague +*****''true'' +****valiance +*****''true'' +****handofvengeance +*****''true'' +****taunka +*****''true'' +****warsongoffensive +*****''true'' +****wrathcommon1 +*****''true'' +***classes +****deathknight +*****''true'' +****druid +*****''true'' +****hunter +*****''true'' +****mage +*****''true'' +****paladin +*****''true'' +****priest +*****''true'' +****rogue +*****''true'' +****shaman +*****''true'' +****warlock +*****''true'' +****warrior +*****''true'' \ No newline at end of file diff --git a/RecipeDB/ARL-Tailor.lua b/RecipeDB/ARL-Tailor.lua index 756035c..db81a5e 100644 --- a/RecipeDB/ARL-Tailor.lua +++ b/RecipeDB/ARL-Tailor.lua @@ -2025,7 +2025,7 @@ function addon:InitTailoring(RecipeDB) self:addTradeAcquire(RecipeDB,60994,1,26914,1,26964,1,26969,1,27001,1,28699,1,33580) -- Duskweave Boots -- 55924 - self:addTradeSkill(RecipeDB,55924,410,41544,1,3908,nil) + self:addTradeSkill(RecipeDB,55924,410,41544,1,3908,nil,2,410,410,410,420) self:addTradeFlags(RecipeDB,55924,1,2,3,21,22,23,24,25,26,27,28,29,30,36,41,53,54,56) self:addTradeAcquire(RecipeDB,55924,1,26914,1,26964,1,26969,1,27001,1,28699,1,33580)