comparison Config.lua @ 82:f885805da5d6

Added options to toggle the automatic refilling. This defaults to true. Normalized property amount names; a move has a ?num? that must be moved and a location has a ?count? indicating the amount of items at that slot. Target/source item verification should now be working properly for guilds. When ?bank? is included in the local item count, we will skip trying to auto refill from this.
author Zerotorescue
date Thu, 06 Jan 2011 10:48:56 +0100
parents 958aba5f3297
children
comparison
equal deleted inserted replaced
81:58617c7827fa 82:f885805da5d6
510 type = "toggle", 510 type = "toggle",
511 name = "Alert when below local minimum (NYI)", 511 name = "Alert when below local minimum (NYI)",
512 desc = "Show an alert when an item in this group gets below the local minimum stock threshold.", 512 desc = "Show an alert when an item in this group gets below the local minimum stock threshold.",
513 arg = "overrideAlertBelowLocalMinimum", 513 arg = "overrideAlertBelowLocalMinimum",
514 }, 514 },
515 overrideAutoRefill = {
516 order = 17,
517 type = "toggle",
518 name = "Override auto refill",
519 desc = "Allows you to override wether you want to automatically refill items when below the minimum local stock.",
520 arg = "autoRefill",
521 },
522 autoRefill = {
523 order = 18,
524 type = "toggle",
525 name = "Auto refill from (guild) bank",
526 desc = "Automatically refill items from the bank (unless this is included in the local count) or guild bank when below the minimum local stock.",
527 arg = "overrideAutoRefill",
528 },
515 529
516 overrideMinGlobalStock = { 530 overrideMinGlobalStock = {
517 order = 20, 531 order = 20,
518 type = "toggle", 532 type = "toggle",
519 name = "Override min global stock", 533 name = "Override min global stock",
1460 type = "toggle", 1474 type = "toggle",
1461 name = "Alert when below local minimum (NYI)", 1475 name = "Alert when below local minimum (NYI)",
1462 desc = "Show an alert when this item gets below this threshold.", 1476 desc = "Show an alert when this item gets below this threshold.",
1463 get = function() return addon.db.profile.defaults.alertBelowLocalMinimum; end, 1477 get = function() return addon.db.profile.defaults.alertBelowLocalMinimum; end,
1464 set = function(i, v) addon.db.profile.defaults.alertBelowLocalMinimum = v; end, 1478 set = function(i, v) addon.db.profile.defaults.alertBelowLocalMinimum = v; end,
1479 },
1480 autoRefill = {
1481 order = 12,
1482 type = "toggle",
1483 name = "Auto refill from (guild) bank",
1484 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 get = function() return addon.db.profile.defaults.autoRefill; end,
1486 set = function(i, v) addon.db.profile.defaults.autoRefill = v; end,
1465 }, 1487 },
1466 minGlobalStock = { 1488 minGlobalStock = {
1467 order = 20, 1489 order = 20,
1468 type = "range", 1490 type = "range",
1469 min = 0, 1491 min = 0,