diff Modules/Config.lua @ 101:6ae44d372360

The confirmation window when refilling from the (guild) bank is enabled can now be skipped at the general config. It defaults to false. Added a window displaying a list of movable items when at least one is available at the (guild) bank. Resetting the queue when closing the storage.
author Zerotorescue
date Tue, 11 Jan 2011 19:48:35 +0100
parents 252292b703ce
children d3fbb5676a5e
line wrap: on
line diff
--- a/Modules/Config.lua	Sun Jan 09 17:52:02 2011 +0100
+++ b/Modules/Config.lua	Tue Jan 11 19:48:35 2011 +0100
@@ -1486,6 +1486,14 @@
 						get = function() return addon.db.profile.defaults.autoRefill; end,
 						set = function(i, v) addon.db.profile.defaults.autoRefill = v; end,
 					},
+					autoRefillSkipConfirm = {
+						order = 13,
+						type = "toggle",
+						name = "Skip confirmation",
+						desc = "Automatically start moving items from the (guild) bank without showing the confirmation window.\n\n|cfffed000This option can not be overridden.|r",
+						get = function() return addon.db.profile.defaults.autoRefillSkipConfirm; end,
+						set = function(i, v) addon.db.profile.defaults.autoRefillSkipConfirm = v; end,
+					},
 					minGlobalStock = {
 						order = 20,
 						type = "range",
@@ -1510,12 +1518,12 @@
 						order = 30,
 						type = "range",
 						min = 0,
-						max = 10,
+						max = 100,
 						softMax = 100,
 						step = 0.05,
 						isPercent = true,
 						name = "Show in summary when below",
-						desc = "Show items in the summary when below this percentage of the minimum stock. This can be either below the minimum or the global stock.\n\nYou can manually enter a value between 1.000% and 10.000% in the edit box if the provided range is insufficient.",
+						desc = "Show items in the summary when below this percentage of the minimum stock. This can be either below the minimum or the global stock.",
 						get = function() return addon.db.profile.defaults.summaryThresholdShow; end,
 						set = function(i, v) addon.db.profile.defaults.summaryThresholdShow = v; end,
 					},
@@ -1651,7 +1659,7 @@
 						step = 0.01,
 						isPercent = true,
 						name = "|cff00ff00Green|r",
-						desc = "Show quantity in green when at least this much of the minimum stock is available.",
+						desc = "Show quantity in green when at least this much of the minimum stock is available.\n\n|cfffed000This option can not be overridden.|r",
 						get = function() return addon.db.profile.defaults.colors.green; end,
 						set = function(i, v) addon.db.profile.defaults.colors.green = v; end,
 					},
@@ -1663,7 +1671,7 @@
 						step = 0.01,
 						isPercent = true,
 						name = "|cffffff00Yellow|r",
-						desc = "Show quantity in yellow when at least this much of the minimum stock is available.",
+						desc = "Show quantity in yellow when at least this much of the minimum stock is available.\n\n|cfffed000This option can not be overridden.|r",
 						get = function() return addon.db.profile.defaults.colors.yellow; end,
 						set = function(i, v) addon.db.profile.defaults.colors.yellow = v; end,
 					},
@@ -1675,7 +1683,7 @@
 						step = 0.01,
 						isPercent = true,
 						name = "|cffff9933Orange|r",
-						desc = "Show quantity in orange when at least this much of the minimum stock is available.",
+						desc = "Show quantity in orange when at least this much of the minimum stock is available.\n\n|cfffed000This option can not be overridden.|r",
 						get = function() return addon.db.profile.defaults.colors.orange; end,
 						set = function(i, v) addon.db.profile.defaults.colors.orange = v; end,
 					},
@@ -1687,7 +1695,7 @@
 						step = 0.01,
 						isPercent = true,
 						name = "|cffff0000Red|r",
-						desc = "Show quantity in red when at least this much of the minimum stock is available.",
+						desc = "Show quantity in red when at least this much of the minimum stock is available.\n\n|cfffed000This option can not be overridden.|r",
 						get = function() return addon.db.profile.defaults.colors.red; end,
 						set = function(i, v) addon.db.profile.defaults.colors.red = v; end,
 					},