comparison 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
comparison
equal deleted inserted replaced
100:dbb239fcc91b 101:6ae44d372360
1484 name = "Auto refill from (guild) bank", 1484 name = "Auto refill from (guild) bank",
1485 desc = "Automatically refill items from the bank (unless this is included in the local count) or guild bank when below the minimum local stock.", 1485 desc = "Automatically refill items from the bank (unless this is included in the local count) or guild bank when below the minimum local stock.",
1486 get = function() return addon.db.profile.defaults.autoRefill; end, 1486 get = function() return addon.db.profile.defaults.autoRefill; end,
1487 set = function(i, v) addon.db.profile.defaults.autoRefill = v; end, 1487 set = function(i, v) addon.db.profile.defaults.autoRefill = v; end,
1488 }, 1488 },
1489 autoRefillSkipConfirm = {
1490 order = 13,
1491 type = "toggle",
1492 name = "Skip confirmation",
1493 desc = "Automatically start moving items from the (guild) bank without showing the confirmation window.\n\n|cfffed000This option can not be overridden.|r",
1494 get = function() return addon.db.profile.defaults.autoRefillSkipConfirm; end,
1495 set = function(i, v) addon.db.profile.defaults.autoRefillSkipConfirm = v; end,
1496 },
1489 minGlobalStock = { 1497 minGlobalStock = {
1490 order = 20, 1498 order = 20,
1491 type = "range", 1499 type = "range",
1492 min = 0, 1500 min = 0,
1493 max = 100000, 1501 max = 100000,
1508 }, 1516 },
1509 summaryThresholdShow = { 1517 summaryThresholdShow = {
1510 order = 30, 1518 order = 30,
1511 type = "range", 1519 type = "range",
1512 min = 0, 1520 min = 0,
1513 max = 10, 1521 max = 100,
1514 softMax = 100, 1522 softMax = 100,
1515 step = 0.05, 1523 step = 0.05,
1516 isPercent = true, 1524 isPercent = true,
1517 name = "Show in summary when below", 1525 name = "Show in summary when below",
1518 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.", 1526 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.",
1519 get = function() return addon.db.profile.defaults.summaryThresholdShow; end, 1527 get = function() return addon.db.profile.defaults.summaryThresholdShow; end,
1520 set = function(i, v) addon.db.profile.defaults.summaryThresholdShow = v; end, 1528 set = function(i, v) addon.db.profile.defaults.summaryThresholdShow = v; end,
1521 }, 1529 },
1522 trackAtCharacters = { 1530 trackAtCharacters = {
1523 order = 40, 1531 order = 40,
1649 min = 0, 1657 min = 0,
1650 max = 1, 1658 max = 1,
1651 step = 0.01, 1659 step = 0.01,
1652 isPercent = true, 1660 isPercent = true,
1653 name = "|cff00ff00Green|r", 1661 name = "|cff00ff00Green|r",
1654 desc = "Show quantity in green when at least this much of the minimum stock is available.", 1662 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",
1655 get = function() return addon.db.profile.defaults.colors.green; end, 1663 get = function() return addon.db.profile.defaults.colors.green; end,
1656 set = function(i, v) addon.db.profile.defaults.colors.green = v; end, 1664 set = function(i, v) addon.db.profile.defaults.colors.green = v; end,
1657 }, 1665 },
1658 yellow = { 1666 yellow = {
1659 order = 20, 1667 order = 20,
1661 min = 0, 1669 min = 0,
1662 max = 1, 1670 max = 1,
1663 step = 0.01, 1671 step = 0.01,
1664 isPercent = true, 1672 isPercent = true,
1665 name = "|cffffff00Yellow|r", 1673 name = "|cffffff00Yellow|r",
1666 desc = "Show quantity in yellow when at least this much of the minimum stock is available.", 1674 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",
1667 get = function() return addon.db.profile.defaults.colors.yellow; end, 1675 get = function() return addon.db.profile.defaults.colors.yellow; end,
1668 set = function(i, v) addon.db.profile.defaults.colors.yellow = v; end, 1676 set = function(i, v) addon.db.profile.defaults.colors.yellow = v; end,
1669 }, 1677 },
1670 orange = { 1678 orange = {
1671 order = 30, 1679 order = 30,
1673 min = 0, 1681 min = 0,
1674 max = 1, 1682 max = 1,
1675 step = 0.01, 1683 step = 0.01,
1676 isPercent = true, 1684 isPercent = true,
1677 name = "|cffff9933Orange|r", 1685 name = "|cffff9933Orange|r",
1678 desc = "Show quantity in orange when at least this much of the minimum stock is available.", 1686 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",
1679 get = function() return addon.db.profile.defaults.colors.orange; end, 1687 get = function() return addon.db.profile.defaults.colors.orange; end,
1680 set = function(i, v) addon.db.profile.defaults.colors.orange = v; end, 1688 set = function(i, v) addon.db.profile.defaults.colors.orange = v; end,
1681 }, 1689 },
1682 red = { 1690 red = {
1683 order = 40, 1691 order = 40,
1685 min = 0, 1693 min = 0,
1686 max = 1, 1694 max = 1,
1687 step = 0.01, 1695 step = 0.01,
1688 isPercent = true, 1696 isPercent = true,
1689 name = "|cffff0000Red|r", 1697 name = "|cffff0000Red|r",
1690 desc = "Show quantity in red when at least this much of the minimum stock is available.", 1698 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",
1691 get = function() return addon.db.profile.defaults.colors.red; end, 1699 get = function() return addon.db.profile.defaults.colors.red; end,
1692 set = function(i, v) addon.db.profile.defaults.colors.red = v; end, 1700 set = function(i, v) addon.db.profile.defaults.colors.red = v; end,
1693 }, 1701 },
1694 }, 1702 },
1695 }, 1703 },