mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 08:24:44 +00:00
update
This commit is contained in:
+162
-8
@@ -60,20 +60,26 @@ E.Options.args.bags = {
|
||||
name = L["Clear Search On Close"],
|
||||
set = function(info, value) E.db.bags[ info[getn(info)] ] = value end
|
||||
},
|
||||
disableBagSort = {
|
||||
reverseSlots = {
|
||||
order = 3,
|
||||
type = "toggle",
|
||||
name = L["Reverse Bag Slots"],
|
||||
set = function(info, value) E.db.bags[info[getn(info)]] = value B:UpdateAll() end,
|
||||
},
|
||||
disableBagSort = {
|
||||
order = 4,
|
||||
type = "toggle",
|
||||
name = L["Disable Bag Sort"],
|
||||
set = function(info, value) E.db.bags[ info[getn(info)] ] = value; B:ToggleSortButtonState(false) end
|
||||
},
|
||||
disableBankSort = {
|
||||
order = 4,
|
||||
order = 5,
|
||||
type = "toggle",
|
||||
name = L["Disable Bank Sort"],
|
||||
set = function(info, value) E.db.bags[ info[getn(info)] ] = value; B:ToggleSortButtonState(true) end
|
||||
},
|
||||
countGroup = {
|
||||
order = 5,
|
||||
order = 6,
|
||||
type = "group",
|
||||
name = L["Item Count Font"],
|
||||
guiInline = true,
|
||||
@@ -123,7 +129,7 @@ E.Options.args.bags = {
|
||||
}
|
||||
},
|
||||
itemLevelGroup = {
|
||||
order = 6,
|
||||
order = 7,
|
||||
type = "group",
|
||||
name = L["Item Level"],
|
||||
guiInline = true,
|
||||
@@ -307,9 +313,152 @@ E.Options.args.bags = {
|
||||
}
|
||||
}
|
||||
},
|
||||
bagSortingGroup = {
|
||||
split = {
|
||||
order = 6,
|
||||
type = "group",
|
||||
name = L["Split"],
|
||||
get = function(info) return E.db.bags.split[ info[getn(info)] ] end,
|
||||
set = function(info, value) E.db.bags.split[ info[getn(info)] ] = value B:UpdateAll() end,
|
||||
disabled = function() return not E.bags end,
|
||||
args = {
|
||||
header = {
|
||||
order = 1,
|
||||
type = "header",
|
||||
name = L["Split"]
|
||||
},
|
||||
bagSpacing = {
|
||||
order = 2,
|
||||
type = "range",
|
||||
name = L["Bag Spacing"],
|
||||
min = 0, max = 20, step = 1
|
||||
},
|
||||
player = {
|
||||
order = 3,
|
||||
type = "toggle",
|
||||
set = function(info, value) E.db.bags.split[ info[getn(info)] ] = value B:Layout() end,
|
||||
name = L["Bag"]
|
||||
},
|
||||
bank = {
|
||||
order = 4,
|
||||
type = "toggle",
|
||||
set = function(info, value) E.db.bags.split[ info[getn(info)] ] = value B:Layout(true) end,
|
||||
name = L["Bank"]
|
||||
},
|
||||
splitbags = {
|
||||
order = 5,
|
||||
type = "group",
|
||||
name = L["Player"],
|
||||
get = function(info) return E.db.bags.split[ info[getn(info)] ] end,
|
||||
set = function(info, value) E.db.bags.split[ info[getn(info)] ] = value B:Layout() end,
|
||||
disabled = function() return not E.db.bags.split.player end,
|
||||
guiInline = true,
|
||||
args = {
|
||||
bag1 = {
|
||||
order = 2,
|
||||
type = "toggle",
|
||||
name = L["Bag 1"]
|
||||
},
|
||||
bag2 = {
|
||||
order = 3,
|
||||
type = "toggle",
|
||||
name = L["Bag 2"]
|
||||
},
|
||||
bag3 = {
|
||||
order = 4,
|
||||
type = "toggle",
|
||||
name = L["Bag 3"]
|
||||
},
|
||||
bag4 = {
|
||||
order = 5,
|
||||
type = "toggle",
|
||||
name = L["Bag 4"]
|
||||
}
|
||||
}
|
||||
},
|
||||
splitbank = {
|
||||
order = 6,
|
||||
type = "group",
|
||||
name = L["Bank"],
|
||||
get = function(info) return E.db.bags.split[ info[getn(info)] ] end,
|
||||
set = function(info, value) E.db.bags.split[ info[getn(info)] ] = value B:Layout(true) end,
|
||||
disabled = function() return not E.db.bags.split.bank end,
|
||||
guiInline = true,
|
||||
args = {
|
||||
bag5 = {
|
||||
order = 2,
|
||||
type = "toggle",
|
||||
name = L["Bank 1"]
|
||||
},
|
||||
bag6 = {
|
||||
order = 3,
|
||||
type = "toggle",
|
||||
name = L["Bank 2"]
|
||||
},
|
||||
bag7 = {
|
||||
order = 4,
|
||||
type = "toggle",
|
||||
name = L["Bank 3"]
|
||||
},
|
||||
bag8 = {
|
||||
order = 5,
|
||||
type = "toggle",
|
||||
name = L["Bank 4"]
|
||||
},
|
||||
bag9 = {
|
||||
order = 6,
|
||||
type = "toggle",
|
||||
name = L["Bank 5"]
|
||||
},
|
||||
bag10 = {
|
||||
order = 7,
|
||||
type = "toggle",
|
||||
name = L["Bank 6"]
|
||||
},
|
||||
bag11 = {
|
||||
order = 8,
|
||||
type = "toggle",
|
||||
name = L["Bank 7"]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
vendorGrays = {
|
||||
order = 7,
|
||||
type = "group",
|
||||
name = L["Vendor Grays"],
|
||||
get = function(info) return E.db.bags.vendorGrays[ info[getn(info)] ] end,
|
||||
set = function(info, value) E.db.bags.vendorGrays[ info[getn(info)] ] = value end,
|
||||
args = {
|
||||
header = {
|
||||
order = 1,
|
||||
type = "header",
|
||||
name = L["Vendor Grays"]
|
||||
},
|
||||
enable = {
|
||||
order = 2,
|
||||
type = "toggle",
|
||||
name = L["Enable"],
|
||||
desc = L["Automatically vendor gray items when visiting a vendor."]
|
||||
},
|
||||
interval = {
|
||||
order = 3,
|
||||
type = "range",
|
||||
name = L["Sell Interval"],
|
||||
desc = L["Will attempt to sell another item in set interval after previous one was sold."],
|
||||
min = 0.1, max = 1, step = 0.1
|
||||
},
|
||||
details = {
|
||||
order = 4,
|
||||
type = "toggle",
|
||||
name = L["Vendor Gray Detailed Report"],
|
||||
desc = L["Displays a detailed report of every item sold when enabled."]
|
||||
}
|
||||
}
|
||||
},
|
||||
bagSortingGroup = {
|
||||
order = 8,
|
||||
type = "group",
|
||||
name = L["Bag Sorting"],
|
||||
disabled = function() return not E.bags end,
|
||||
args = {
|
||||
@@ -347,7 +496,7 @@ E.Options.args.bags = {
|
||||
desc = L["Add an item or search syntax to the ignored list. Items matching the search syntax will be ignored."],
|
||||
get = function(info) return "" end,
|
||||
set = function(info, value)
|
||||
if(value == "" or gsub(value, "%s+", "") == "") then return end
|
||||
if value == "" or gsub(value, "%s+", "") == "" then return end
|
||||
|
||||
local itemID = match(value, "item:(%d+)")
|
||||
E.db.bags.ignoredItems[(itemID or value)] = value
|
||||
@@ -403,13 +552,18 @@ E.Options.args.bags = {
|
||||
}
|
||||
},
|
||||
search_syntax = {
|
||||
order = 7,
|
||||
order = 9,
|
||||
type = "group",
|
||||
name = L["Search Syntax"],
|
||||
disabled = function() return not E.bags end,
|
||||
args = {
|
||||
text = {
|
||||
header = {
|
||||
order = 1,
|
||||
type = "header",
|
||||
name = L["Search Syntax"]
|
||||
},
|
||||
text = {
|
||||
order = 2,
|
||||
type = "input",
|
||||
multiline = 30,
|
||||
width = "full",
|
||||
|
||||
+15
-21
@@ -81,21 +81,15 @@ E.Options.args.general = {
|
||||
name = L["Accept Invites"],
|
||||
desc = L["Automatically accept invites from guild/friends."]
|
||||
},
|
||||
vendorGrays = {
|
||||
order = 6,
|
||||
type = "toggle",
|
||||
name = L["Vendor Grays"],
|
||||
desc = L["Automatically vendor gray items when visiting a vendor."]
|
||||
},
|
||||
autoRoll = {
|
||||
order = 7,
|
||||
order = 6,
|
||||
type = "toggle",
|
||||
name = L["Auto Greed/DE"],
|
||||
desc = L["Automatically select greed or disenchant (when available) on green quality items. This will only work if you are the max level."],
|
||||
disabled = function() return not E.private.general.lootRoll; end
|
||||
},
|
||||
loot = {
|
||||
order = 8,
|
||||
order = 7,
|
||||
type = "toggle",
|
||||
name = L["Loot"],
|
||||
desc = L["Enable/Disable the loot frame."],
|
||||
@@ -103,7 +97,7 @@ E.Options.args.general = {
|
||||
set = function(info, value) E.private.general.loot = value; E:StaticPopup_Show("PRIVATE_RL"); end
|
||||
},
|
||||
lootRoll = {
|
||||
order = 9,
|
||||
order = 8,
|
||||
type = "toggle",
|
||||
name = L["Loot Roll"],
|
||||
desc = L["Enable/Disable the loot roll frame."],
|
||||
@@ -111,7 +105,7 @@ E.Options.args.general = {
|
||||
set = function(info, value) E.private.general.lootRoll = value; E:StaticPopup_Show("PRIVATE_RL"); end
|
||||
},
|
||||
lootUnderMouse = {
|
||||
order = 10,
|
||||
order = 9,
|
||||
type = "toggle",
|
||||
name = L["Loot Under Mouse"],
|
||||
desc = L["Enable/Disable loot frame under the mouse cursor."],
|
||||
@@ -120,7 +114,7 @@ E.Options.args.general = {
|
||||
disabled = function() return not E.private.general.loot; end
|
||||
},
|
||||
eyefinity = {
|
||||
order = 11,
|
||||
order = 10,
|
||||
name = L["Multi-Monitor Support"],
|
||||
desc = L["Attempt to support eyefinity/nvidia surround."],
|
||||
type = "toggle",
|
||||
@@ -128,13 +122,13 @@ E.Options.args.general = {
|
||||
set = function(info, value) E.global.general[ info[getn(info)] ] = value; E:StaticPopup_Show("GLOBAL_RL"); end
|
||||
},
|
||||
hideErrorFrame = {
|
||||
order = 12,
|
||||
order = 11,
|
||||
type = "toggle",
|
||||
name = L["Hide Error Text"],
|
||||
desc = L["Hides the red error text at the top of the screen while in combat."]
|
||||
},
|
||||
bottomPanel = {
|
||||
order = 13,
|
||||
order = 12,
|
||||
type = "toggle",
|
||||
name = L["Bottom Panel"],
|
||||
desc = L["Display a panel across the bottom of the screen. This is for cosmetic only."],
|
||||
@@ -142,7 +136,7 @@ E.Options.args.general = {
|
||||
set = function(info, value) E.db.general.bottomPanel = value; E:GetModule("Layout"):BottomPanelVisibility(); end
|
||||
},
|
||||
topPanel = {
|
||||
order = 14,
|
||||
order = 13,
|
||||
type = "toggle",
|
||||
name = L["Top Panel"],
|
||||
desc = L["Display a panel across the top of the screen. This is for cosmetic only."],
|
||||
@@ -150,7 +144,7 @@ E.Options.args.general = {
|
||||
set = function(info, value) E.db.general.topPanel = value; E:GetModule("Layout"):TopPanelVisibility(); end
|
||||
},
|
||||
afk = {
|
||||
order = 15,
|
||||
order = 14,
|
||||
type = "toggle",
|
||||
name = L["AFK Mode"],
|
||||
desc = L["When you go AFK display the AFK screen."],
|
||||
@@ -158,13 +152,13 @@ E.Options.args.general = {
|
||||
set = function(info, value) E.db.general.afk = value; E:GetModule("AFK"):Toggle(); end
|
||||
},
|
||||
enhancedPvpMessages = {
|
||||
order = 16,
|
||||
order = 15,
|
||||
type = "toggle",
|
||||
name = L["Enhanced PVP Messages"],
|
||||
desc = L["Display battleground messages in the middle of the screen."],
|
||||
},
|
||||
raidUtility = {
|
||||
order = 17,
|
||||
order = 16,
|
||||
type = "toggle",
|
||||
name = RAID_CONTROL,
|
||||
desc = L["Enables the ElvUI Raid Control panel."],
|
||||
@@ -172,7 +166,7 @@ E.Options.args.general = {
|
||||
set = function(info, value) E.private.general.raidUtility = value; E:StaticPopup_Show("PRIVATE_RL") end
|
||||
},
|
||||
autoScale = {
|
||||
order = 18,
|
||||
order = 17,
|
||||
name = L["Auto Scale"],
|
||||
desc = L["Automatically scale the User Interface based on your screen resolution"],
|
||||
type = "toggle",
|
||||
@@ -180,7 +174,7 @@ E.Options.args.general = {
|
||||
set = function(info, value) E.global.general[ info[getn(info)] ] = value; E:StaticPopup_Show("GLOBAL_RL") end
|
||||
},
|
||||
minUiScale = {
|
||||
order = 19,
|
||||
order = 18,
|
||||
type = "range",
|
||||
name = L["Lowest Allowed UI Scale"],
|
||||
min = 0.32, max = 0.64, step = 0.01,
|
||||
@@ -188,7 +182,7 @@ E.Options.args.general = {
|
||||
set = function(info, value) E.global.general.minUiScale = value; E:StaticPopup_Show("GLOBAL_RL"); end
|
||||
},
|
||||
numberPrefixStyle = {
|
||||
order = 20,
|
||||
order = 19,
|
||||
type = "select",
|
||||
name = L["Number Prefix"],
|
||||
get = function(info) return E.db.general.numberPrefixStyle; end,
|
||||
@@ -202,7 +196,7 @@ E.Options.args.general = {
|
||||
}
|
||||
},
|
||||
decimalLength = {
|
||||
order = 21,
|
||||
order = 20,
|
||||
type = "range",
|
||||
name = L["Decimal Length"],
|
||||
desc = L["Controls the amount of decimals used in values displayed on elements like NamePlates and UnitFrames."],
|
||||
|
||||
Reference in New Issue
Block a user