@@ -54,8 +54,8 @@ This hides gems with a minimum level requirement above your character level, pre
5454
5555local showSupportGemTypeList = {
5656 { label = " All" , show = " ALL" },
57- { label = " Non-Awakened " , show = " NORMAL" },
58- { label = " Awakened " , show = " AWAKENED " },
57+ { label = " Non-Exceptional " , show = " NORMAL" },
58+ { label = " Exceptional " , show = " EXCEPTIONAL " },
5959}
6060
6161local sortGemTypeList = {
@@ -90,6 +90,7 @@ local SkillsTabClass = newClass("SkillsTab", "UndoHandler", "ControlHost", "Cont
9090 self .sortGemsByDPSField = " CombinedDPS"
9191 self .showSupportGemTypes = " ALL"
9292 self .showAltQualityGems = false
93+ self .showLegacyGems = false
9394 self .defaultGemLevel = " normalMaximum"
9495 self .defaultGemQuality = main .defaultGemQuality
9596
@@ -122,7 +123,7 @@ local SkillsTabClass = newClass("SkillsTab", "UndoHandler", "ControlHost", "Cont
122123 -- Gem options
123124 local optionInputsX = 170
124125 local optionInputsY = 45
125- self .controls .optionSection = new (" SectionControl" , { " TOPLEFT" , self .controls .groupList , " BOTTOMLEFT" }, { 0 , optionInputsY + 50 , 360 , 156 }, " Gem Options" )
126+ self .controls .optionSection = new (" SectionControl" , { " TOPLEFT" , self .controls .groupList , " BOTTOMLEFT" }, { 0 , optionInputsY + 50 , 360 , 180 }, " Gem Options" )
126127 self .controls .sortGemsByDPS = new (" CheckBoxControl" , { " TOPLEFT" , self .controls .groupList , " BOTTOMLEFT" }, { optionInputsX , optionInputsY + 70 , 20 }, " Sort gems by DPS:" , function (state )
127128 self .sortGemsByDPS = state
128129 end , nil , true )
@@ -150,6 +151,9 @@ local SkillsTabClass = newClass("SkillsTab", "UndoHandler", "ControlHost", "Cont
150151 self .controls .showAltQualityGems = new (" CheckBoxControl" , { " TOPLEFT" , self .controls .groupList , " BOTTOMLEFT" }, { optionInputsX , optionInputsY + 166 , 20 }, " ^7Show quality variants:" , function (state )
151152 self .showAltQualityGems = state
152153 end )
154+ self .controls .showLegacyGems = new (" CheckBoxControl" , { " TOPLEFT" , self .controls .groupList , " BOTTOMLEFT" }, { optionInputsX , optionInputsY + 190 , 20 }, " ^7Show legacy gems:" , function (state )
155+ self .showLegacyGems = state
156+ end )
153157
154158 -- Socket group details
155159 if main .portraitMode then
@@ -397,6 +401,10 @@ function SkillsTabClass:Load(xml, fileName)
397401 self .showAltQualityGems = xml .attrib .showAltQualityGems == " true"
398402 end
399403 self .controls .showAltQualityGems .state = self .showAltQualityGems
404+ if xml .attrib .showLegacyGems then
405+ self .showLegacyGems = xml .attrib .showLegacyGems == " true"
406+ end
407+ self .controls .showLegacyGems .state = self .showLegacyGems
400408 self .controls .showSupportGemTypes :SelByValue (xml .attrib .showSupportGemTypes or " ALL" , " show" )
401409 self .controls .sortGemsByDPSFieldControl :SelByValue (xml .attrib .sortGemsByDPSField or " CombinedDPS" , " type" )
402410 self .showSupportGemTypes = self .controls .showSupportGemTypes :GetSelValueByKey (" show" )
@@ -432,7 +440,8 @@ function SkillsTabClass:Save(xml)
432440 sortGemsByDPS = tostring (self .sortGemsByDPS ),
433441 showSupportGemTypes = self .showSupportGemTypes ,
434442 sortGemsByDPSField = self .sortGemsByDPSField ,
435- showAltQualityGems = tostring (self .showAltQualityGems )
443+ showAltQualityGems = tostring (self .showAltQualityGems ),
444+ showLegacyGems = tostring (self .showLegacyGems )
436445 }
437446 for _ , skillSetId in ipairs (self .skillSetOrderList ) do
438447 local skillSet = self .skillSets [skillSetId ]
0 commit comments