Would it be possible for you to create a zip file for this? (easier for the manual installation).
And it doesn't change the direction of the english version, I hope? (tabs still on the right, common/rare etc on the bottom).
Thanks, very interested ^_^
__________________ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Words to Remember:
"You never really learn much from hearing yourself talk." ~ George Clooney
**Jeania/Anjelie ~ Dalaran** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Originally posted by EnSabahNur Hi. With this code it should work with all languages. No need to translate categories. It gets the name from auction categories.
Code:
local CombuctorSet = Combuctor:GetModule('Sets')
local Tabname = "Gesammeltes"
local TradeGood = select(6, GetAuctionItemClasses())
local ore, _, herb = select(4, GetAuctionItemSubClasses(6))
local function isGather(player, bagType, name, link, quality, level, ilvl, type, subType, stackCount, equipLoc)
return ((subType == herb or subType==ore) and type==TradeGood)
end
CombuctorSet:Register(Tabname, 'Interface/Icons/INV_Misc_EngGizmos_19', isGather)
local function isMetal(player, bagType, name, link, quality, level, ilvl, type, subType, stackCount, equipLoc)
return (subType == ore and type==TradeGood)
end
local function isHerb(player, bagType, name, link, quality, level, ilvl, type, subType, stackCount, equipLoc)
return (subType == herb and type==TradeGood)
end
CombuctorSet:RegisterSubSet('All',Tabname,nil,isGather)
CombuctorSet:RegisterSubSet(ore,Tabname,nil,isMetal)
CombuctorSet:RegisterSubSet(herb,Tabname,nil,isHerb)
Thank you for your idea but i have translated all words.
Your idea is so good. So i will try it.
Hi. With this code it should work with all languages. No need to translate categories. It gets the name from auction categories.
Code:
local CombuctorSet = Combuctor:GetModule('Sets')
local Tabname = "Gesammeltes"
local TradeGood = select(6, GetAuctionItemClasses())
local ore, _, herb = select(4, GetAuctionItemSubClasses(6))
local function isGather(player, bagType, name, link, quality, level, ilvl, type, subType, stackCount, equipLoc)
return ((subType == herb or subType==ore) and type==TradeGood)
end
CombuctorSet:Register(Tabname, 'Interface/Icons/INV_Misc_EngGizmos_19', isGather)
local function isMetal(player, bagType, name, link, quality, level, ilvl, type, subType, stackCount, equipLoc)
return (subType == ore and type==TradeGood)
end
local function isHerb(player, bagType, name, link, quality, level, ilvl, type, subType, stackCount, equipLoc)
return (subType == herb and type==TradeGood)
end
CombuctorSet:RegisterSubSet('All',Tabname,nil,isGather)
CombuctorSet:RegisterSubSet(ore,Tabname,nil,isMetal)
CombuctorSet:RegisterSubSet(herb,Tabname,nil,isHerb)