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.private.sle.professions.fishing[info[#info]]=valueE:StaticPopup_Show('PRIVATE_RL')end)
Fish.FromMount=ACH:Toggle(L["From Mount"],L["Start fishing even if you are mounted."],2,nil,nil,nil,nil,nil,function(info)returnnotE.private.sle.professions.fishing[info[#info]]end)
Fish.relureThreshold=ACH:Range(L["Re-lure Threshold"],L["Time after the previous attemp to apply a lure before the next attempt will occure."],4,{min=1,max=15,step=1},nil,nil,nil,function()returnnotE.private.sle.professions.fishing.EasyCastornotE.private.sle.professions.fishing.UseLuresend)
Fish.IgnorePole=ACH:Toggle(L["Ignore Poles"],L["If enabled will start fishing even if you don't have fishing pole equipped. Will not work if you have fish key set to \"None\"."],5,nil,nil,nil,nil,nil,function()returnnotE.private.sle.professions.fishing.EasyCastorE.private.sle.professions.fishing.CastButton=='None'end)
Fish.CastButton=ACH:Select(L["Fish 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.private.sle.professions.fishing[info[#info]]=valueE:StaticPopup_Show('PRIVATE_RL')end,function()returnnotE.private.sle.professions.fishing.EasyCastend)