DeconButton.enable=ACH:Toggle(L["Enable"],L["Create a button in your bag frame to switch to deconstruction mode allowing you to easily disenchant/mill/prospect and pick locks."],1,nil,nil,nil,function(info)returnE.private.sle.professions.deconButton[info[#info]]end,function(info,value)E.private.sle.professions.deconButton[info[#info]]=value;E:StaticPopup_Show('PRIVATE_RL')end)
DeconButton.buttonGlow=ACH:Toggle(L["Show glow on bag button"],L["Show glow on the deconstruction button in bag when deconstruction mode is enabled.\nApplies on next mode toggle."],3,nil,nil,nil,function(info)returnE.private.sle.professions.deconButton[info[#info]]end,function(info,value)E.private.sle.professions.deconButton[info[#info]]=valueend,function()returnnotE.private.sle.professions.deconButton.enableend)
Enchant.desc=ACH:Description(L["Following options are global and will be applied to all characters on account."],2)
Enchant.ignoreItems=ACH:Input(L["Deconstruction ignore"],L["Items listed here will be ignored in deconstruction mode. Add names or item links, entries must be separated by comma."],3,true,'full',function()returnE.global.sle.DE.Blacklistend,function(_,value)E.global.sle.DE.Blacklist=valuePr:Blacklisting('DE')end,function()returnnotE.private.sle.professions.deconButton.enableend)
Enchant.IgnoreTabards=ACH:Toggle(L["Ignore tabards"],L["Deconstruction mode will ignore tabards."],4,nil,nil,nil,function(info)returnE.global.sle.DE[info[#info]]end,function(info,value)E.global.sle.DE[info[#info]]=valueend,function()returnnotE.private.sle.professions.deconButton.enableend,function()returnnotE.global.sle.advanced.generalend)
Enchant.IgnorePanda=ACH:Toggle(L["Ignore Pandaria BoA"],L["Deconstruction mode will ignore BoA weapons from Pandaria."],5,nil,nil,nil,function(info)returnE.global.sle.DE[info[#info]]end,function(info,value)E.global.sle.DE[info[#info]]=valueend,function()returnnotE.private.sle.professions.deconButton.enableend,function()returnnotE.global.sle.advanced.generalend)
Enchant.IgnoreCooking=ACH:Toggle(L["Ignore Cooking"],L["Deconstruction mode will ignore cooking specific items."],6,nil,nil,nil,function(info)returnE.global.sle.DE[info[#info]]end,function(info,value)E.global.sle.DE[info[#info]]=valueend,function()returnnotE.private.sle.professions.deconButton.enableend,function()returnnotE.global.sle.advanced.generalend)
Enchant.IgnoreFishing=ACH:Toggle(L["Ignore Fishing"],L["Deconstruction mode will ignore fishing specific items."],7,nil,nil,nil,function(info)returnE.global.sle.DE[info[#info]]end,function(info,value)E.global.sle.DE[info[#info]]=valueend,function()returnnotE.private.sle.professions.deconButton.enableend,function()returnnotE.global.sle.advanced.generalend)
LockPick.desc=ACH:Description(L["Following options are global and will be applied to all characters on account."],1)
LockPick.ignoreItems=ACH:Input(L["Deconstruction ignore"],L["Items listed here will be ignored in deconstruction mode. Add names or item links, entries must be separated by comma."],2,true,'full',function()returnE.global.sle.LOCK.Blacklistend,function(_,value)E.global.sle.LOCK.Blacklist=valuePr:Blacklisting('LOCK')end,function()returnnotE.private.sle.professions.deconButton.enableend)
LockPick.TradeOpen=ACH:Toggle(L["Unlock in trade"],L["Apply unlocking skills in trade window the same way as in deconstruction mode for bags."],3,nil,nil,nil,function(info)returnE.global.sle.LOCK[info[#info]]end,function(info,value)E.global.sle.LOCK[info[#info]]=valueend,function()returnnotE.private.sle.professions.deconButton.enableend)
Fish.easyCast=ACH:Toggle(L["Easy Cast"],L["Allow to fish with double right-click."],1,nil,nil,nil,nil,function(info,value)E.db.sle.professions.fishing[info[#info]]=valueFishing:ToggleOptions()end)
Fish.fromMount=ACH:Toggle(L["While Mounted"],L["Start fishing even if you are mounted."],2,nil,nil,nil,nil,function(info)returnnotE.db.sle.professions.fishing[info[#info]]end)
Fish.autoLoot=ACH:Toggle(L["Auto Loot"],L["This will turn on Auto Loot while fishing if it is not on already."],3,nil,nil,nil,nil,function(info)returnnotE.db.sle.professions.fishing[info[#info]]end)
Fish.castKey=ACH:Select(L["Cast Key"],L["Hold this button while clicking to allow fishing action."],6,{shift=SHIFT_KEY,alt=ALT_KEY,control=CTRL_KEY},nil,nil,nil,function(info,value)E.db.sle.professions.fishing[info[#info]]=valueend,function()returnnotE.db.sle.professions.fishing.easyCastend)
Fish.mouseButton=ACH:Select(L["Mouse Button"],L["Double Click this mouse button to start fishing."],6,{right=L["Right"],button4=L["Button 4"],button5=L["Button 5"]},nil,nil,nil,function(info,value)E.db.sle.professions.fishing[info[#info]]=valueend,function()returnnotE.db.sle.professions.fishing.easyCastend)