diff --git a/ElvUI_SLE/locales/english.lua b/ElvUI_SLE/locales/english.lua
index c5ac08c..57071fb 100755
--- a/ElvUI_SLE/locales/english.lua
+++ b/ElvUI_SLE/locales/english.lua
@@ -179,6 +179,7 @@ L["Equip this set after entering battlegrounds or arens."] = true
--Farm--
L['Farm'] = true
+L["Farm Options"] = true
L["FARM_DESC"] = [[Additional actionbars for the Sunsong Ranch containing seeds, tools and portals.
They will appear only if you are on the Ranch or The Halfhill Market.]]
L['Only active buttons'] = true
diff --git a/ElvUI_SLE/modules/equipmanager/options.lua b/ElvUI_SLE/modules/equipmanager/options.lua
index 653815e..18de8fe 100755
--- a/ElvUI_SLE/modules/equipmanager/options.lua
+++ b/ElvUI_SLE/modules/equipmanager/options.lua
@@ -1,90 +1,95 @@
-local E, L, V, P, G, _ = unpack(ElvUI); --Inport: Engine, Locales, PrivateDB, ProfileDB, GlobalDB, Localize Underscore
-local EM = E:GetModule('EquipManager')
-
-local function configTable()
-
-E.Options.args.sle.args.equipmanager = {
- type = 'group',
- order = 13,
- name = L['Equipment Manager'],
- args = {
- intro = {
- order = 1,
- type = 'description',
- name = L["EM_DESC"],
- },
- enable = {
- type = "toggle",
- order = 2,
- name = L['Enable'],
- get = function(info) return E.private.sle.equip.enable end,
- set = function(info, value) E.private.sle.equip.enable = value; E:StaticPopup_Show("PRIVATE_RL") end
- },
- spam = {
- type = "toggle",
- order = 3,
- name = L['Spam Throttling'],
- desc = L["Removes the spam from chat stating what talents were learned or unlearned during spec change."],
- get = function(info) return E.private.sle.equip.spam end,
- set = function(info, value) E.private.sle.equip.spam = value; EM:SpamThrottle() end
- },
- equipsets = {
- type = "group",
- name = PAPERDOLL_EQUIPMENTMANAGER,
- order = 4,
- disabled = function() return not E.private.sle.equip.enable end,
- guiInline = true,
- args = {
- intro = {
- order = 1,
- type = 'description',
- name = L["Here you can choose what equipment sets to use in different situations."],
- },
- primary = {
- order = 2,
- type = "select",
- name = SPECIALIZATION_PRIMARY,
- desc = L["Equip this set when switching to primary talents."],
- get = function(info) return E.private.sle.equip.primary end,
- set = function(info, value) E.private.sle.equip.primary = value; end,
- values = EM.equipSets
- },
- secondary = {
- order = 3,
- type = "select",
- name = SPECIALIZATION_SECONDARY,
- desc = L["Equip this set when switching to secondary talents."],
- get = function(info) return E.private.sle.equip.secondary end,
- set = function(info, value) E.private.sle.equip.secondary = value end,
- values = EM.equipSets
- },
- spacer = {
- type = "description",
- order = 4,
- name = "",
- },
- instance = {
- order = 5,
- type = "select",
- name = DUNGEONS,
- desc = L["Equip this set after entering dungeons or raids."],
- get = function(info) return E.private.sle.equip.instance end,
- set = function(info, value) E.private.sle.equip.instance = value end,
- values = EM.equipSets
- },
- pvp = {
- order = 6,
- type = "select",
- name = PVP,
- desc = L["Equip this set after entering battlegrounds or arens."],
- get = function(info) return E.private.sle.equip.pvp end,
- set = function(info, value) E.private.sle.equip.pvp = value end,
- values = EM.equipSets
- },
- },
- },
- },
-}
-end
-
+local E, L, V, P, G, _ = unpack(ElvUI); --Inport: Engine, Locales, PrivateDB, ProfileDB, GlobalDB, Localize Underscore
+local EM = E:GetModule('EquipManager')
+
+local function configTable()
+
+E.Options.args.sle.args.equipmanager = {
+ type = 'group',
+ order = 13,
+ name = L['Equipment Manager'],
+ args = {
+ header = {
+ order = 1,
+ type = "header",
+ name = L["Equipment Manager"],
+ },
+ intro = {
+ order = 2,
+ type = 'description',
+ name = L["EM_DESC"],
+ },
+ enable = {
+ type = "toggle",
+ order = 3,
+ name = L['Enable'],
+ get = function(info) return E.private.sle.equip.enable end,
+ set = function(info, value) E.private.sle.equip.enable = value; E:StaticPopup_Show("PRIVATE_RL") end
+ },
+ spam = {
+ type = "toggle",
+ order = 4,
+ name = L['Spam Throttling'],
+ desc = L["Removes the spam from chat stating what talents were learned or unlearned during spec change."],
+ get = function(info) return E.private.sle.equip.spam end,
+ set = function(info, value) E.private.sle.equip.spam = value; EM:SpamThrottle() end
+ },
+ equipsets = {
+ type = "group",
+ name = PAPERDOLL_EQUIPMENTMANAGER,
+ order = 5,
+ disabled = function() return not E.private.sle.equip.enable end,
+ guiInline = true,
+ args = {
+ intro = {
+ order = 1,
+ type = 'description',
+ name = L["Here you can choose what equipment sets to use in different situations."],
+ },
+ primary = {
+ order = 2,
+ type = "select",
+ name = SPECIALIZATION_PRIMARY,
+ desc = L["Equip this set when switching to primary talents."],
+ get = function(info) return E.private.sle.equip.primary end,
+ set = function(info, value) E.private.sle.equip.primary = value; end,
+ values = EM.equipSets
+ },
+ secondary = {
+ order = 3,
+ type = "select",
+ name = SPECIALIZATION_SECONDARY,
+ desc = L["Equip this set when switching to secondary talents."],
+ get = function(info) return E.private.sle.equip.secondary end,
+ set = function(info, value) E.private.sle.equip.secondary = value end,
+ values = EM.equipSets
+ },
+ spacer = {
+ type = "description",
+ order = 4,
+ name = "",
+ },
+ instance = {
+ order = 5,
+ type = "select",
+ name = DUNGEONS,
+ desc = L["Equip this set after entering dungeons or raids."],
+ get = function(info) return E.private.sle.equip.instance end,
+ set = function(info, value) E.private.sle.equip.instance = value end,
+ values = EM.equipSets
+ },
+ pvp = {
+ order = 6,
+ type = "select",
+ name = PVP,
+ desc = L["Equip this set after entering battlegrounds or arens."],
+ get = function(info) return E.private.sle.equip.pvp end,
+ set = function(info, value) E.private.sle.equip.pvp = value end,
+ values = EM.equipSets
+ },
+ },
+ },
+ },
+}
+end
+
table.insert(E.SLEConfigs, configTable)
\ No newline at end of file
diff --git a/ElvUI_SLE/modules/farm/options.lua b/ElvUI_SLE/modules/farm/options.lua
index 56dbc57..45da4c8 100755
--- a/ElvUI_SLE/modules/farm/options.lua
+++ b/ElvUI_SLE/modules/farm/options.lua
@@ -1,92 +1,97 @@
-local E, L, V, P, G, _ = unpack(ElvUI); --Inport: Engine, Locales, PrivateDB, ProfileDB, GlobalDB
-local F = E:GetModule('Farm')
-local function configTable()
-
-E.Options.args.sle.args.farm = {
- type = 'group',
- order = 14,
- name = L['Farm'],
- args = {
- intro = {
- order = 1,
- type = 'description',
- name = L["FARM_DESC"],
- },
- enable = {
- type = "toggle",
- order = 2,
- name = L['Enable'],
- get = function(info) return E.private.sle.farm.enable end,
- set = function(info, value) E.private.sle.farm.enable = value; E:StaticPopup_Show("PRIVATE_RL") end
- },
- active = {
- order = 3,
- type = 'toggle',
- name = L['Only active buttons'],
- desc = L['Only show the buttons for the seeds, portals, tools you have in your bags.'],
- disabled = function() return not E.private.sle.farm.enable end,
- get = function(info) return E.db.sle.farm.active end,
- set = function(info, value) E.db.sle.farm.active = value; if SeedAnchor then F:UpdateLayout() end end,
- },
- size = {
- order = 4,
- type = "range",
- name = L["Button Size"],
- disabled = function() return not E.private.sle.farm.enable end,
- min = 15, max = 60, step = 1,
- get = function(info) return E.db.sle.farm.size end,
- set = function(info, value) E.db.sle.farm.size = value; F:UpdateLayout() end,
- },
- seedbar = {
- type = "group",
- order = 5,
- name = L["Seed Bars"],
- disabled = function() return not E.private.sle.farm.enable end,
- guiInline = true,
- args = {
- autotarget = {
- type = "toggle",
- order = 1,
- name = L["Auto Planting"],
- desc = L["Automatically plant seeds to the nearest tilled soil if one is not already selected."],
- get = function(info) return E.db.sle.farm.autotarget end,
- set = function(info, value) E.db.sle.farm.autotarget = value; end
- },
- trash = {
- type = "toggle",
- order = 2,
- name = L["Drop Seeds"],
- desc = L["Allow seeds to be destroyed from seed bars."],
- get = function(info) return E.private.sle.farm.seedtrash end,
- set = function(info, value) E.private.sle.farm.seedtrash = value; E:StaticPopup_Show("PRIVATE_RL") end
- },
- quest = {
- type = "toggle",
- order = 3,
- name = L["Quest Glow"],
- desc = L["Show glowing border on seeds needed for any quest in your log."],
- get = function(info) return E.db.sle.farm.quest end,
- set = function(info, value) E.db.sle.farm.quest = value; if SeedAnchor then F:UpdateLayout() end end
- },
- growth = {
- order = 8,
- type = "select",
- name = L["Dock Buttons To"],
- desc = L["Change the position from where seed bars will grow."],
- disabled = function() return not E.private.sle.farm end,
- get = function(info) return E.db.sle.farm.seedor end,
- set = function(info, value) E.db.sle.farm.seedor = value; if SeedAnchor then F:UpdateLayout() end end,
- values = {
- ['RIGHT'] = L["Right"],
- ['LEFT'] = L["Left"],
- ['BOTTOM'] = L["Bottom"],
- ['TOP'] = L["Top"],
- },
- },
- },
- },
- },
-}
-end
-
+local E, L, V, P, G, _ = unpack(ElvUI); --Inport: Engine, Locales, PrivateDB, ProfileDB, GlobalDB
+local F = E:GetModule('Farm')
+local function configTable()
+
+E.Options.args.sle.args.farm = {
+ type = 'group',
+ order = 14,
+ name = L['Farm'],
+ args = {
+ header = {
+ order = 1,
+ type = "header",
+ name = L["Farm Options"],
+ },
+ intro = {
+ order = 2,
+ type = 'description',
+ name = L["FARM_DESC"],
+ },
+ enable = {
+ type = "toggle",
+ order = 3,
+ name = L['Enable'],
+ get = function(info) return E.private.sle.farm.enable end,
+ set = function(info, value) E.private.sle.farm.enable = value; E:StaticPopup_Show("PRIVATE_RL") end
+ },
+ active = {
+ order = 4,
+ type = 'toggle',
+ name = L['Only active buttons'],
+ desc = L['Only show the buttons for the seeds, portals, tools you have in your bags.'],
+ disabled = function() return not E.private.sle.farm.enable end,
+ get = function(info) return E.db.sle.farm.active end,
+ set = function(info, value) E.db.sle.farm.active = value; if SeedAnchor then F:UpdateLayout() end end,
+ },
+ size = {
+ order = 5,
+ type = "range",
+ name = L["Button Size"],
+ disabled = function() return not E.private.sle.farm.enable end,
+ min = 15, max = 60, step = 1,
+ get = function(info) return E.db.sle.farm.size end,
+ set = function(info, value) E.db.sle.farm.size = value; F:UpdateLayout() end,
+ },
+ seedbar = {
+ type = "group",
+ order = 6,
+ name = L["Seed Bars"],
+ disabled = function() return not E.private.sle.farm.enable end,
+ guiInline = true,
+ args = {
+ autotarget = {
+ type = "toggle",
+ order = 1,
+ name = L["Auto Planting"],
+ desc = L["Automatically plant seeds to the nearest tilled soil if one is not already selected."],
+ get = function(info) return E.db.sle.farm.autotarget end,
+ set = function(info, value) E.db.sle.farm.autotarget = value; end
+ },
+ trash = {
+ type = "toggle",
+ order = 2,
+ name = L["Drop Seeds"],
+ desc = L["Allow seeds to be destroyed from seed bars."],
+ get = function(info) return E.private.sle.farm.seedtrash end,
+ set = function(info, value) E.private.sle.farm.seedtrash = value; E:StaticPopup_Show("PRIVATE_RL") end
+ },
+ quest = {
+ type = "toggle",
+ order = 3,
+ name = L["Quest Glow"],
+ desc = L["Show glowing border on seeds needed for any quest in your log."],
+ get = function(info) return E.db.sle.farm.quest end,
+ set = function(info, value) E.db.sle.farm.quest = value; if SeedAnchor then F:UpdateLayout() end end
+ },
+ growth = {
+ order = 8,
+ type = "select",
+ name = L["Dock Buttons To"],
+ desc = L["Change the position from where seed bars will grow."],
+ disabled = function() return not E.private.sle.farm end,
+ get = function(info) return E.db.sle.farm.seedor end,
+ set = function(info, value) E.db.sle.farm.seedor = value; if SeedAnchor then F:UpdateLayout() end end,
+ values = {
+ ['RIGHT'] = L["Right"],
+ ['LEFT'] = L["Left"],
+ ['BOTTOM'] = L["Bottom"],
+ ['TOP'] = L["Top"],
+ },
+ },
+ },
+ },
+ },
+}
+end
+
table.insert(E.SLEConfigs, configTable)
\ No newline at end of file