Mercurial > wow > inventory
diff 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 |
line wrap: on
line diff
--- a/Config.lua Thu Jan 06 01:01:25 2011 +0100 +++ b/Config.lua Thu Jan 06 10:48:56 2011 +0100 @@ -512,6 +512,20 @@ desc = "Show an alert when an item in this group gets below the local minimum stock threshold.", arg = "overrideAlertBelowLocalMinimum", }, + overrideAutoRefill = { + order = 17, + type = "toggle", + name = "Override auto refill", + desc = "Allows you to override wether you want to automatically refill items when below the minimum local stock.", + arg = "autoRefill", + }, + autoRefill = { + order = 18, + type = "toggle", + name = "Auto refill from (guild) bank", + desc = "Automatically refill items from the bank (unless this is included in the local count) or guild bank when below the minimum local stock.", + arg = "overrideAutoRefill", + }, overrideMinGlobalStock = { order = 20, @@ -1463,6 +1477,14 @@ get = function() return addon.db.profile.defaults.alertBelowLocalMinimum; end, set = function(i, v) addon.db.profile.defaults.alertBelowLocalMinimum = v; end, }, + autoRefill = { + order = 12, + type = "toggle", + name = "Auto refill from (guild) bank", + desc = "Automatically refill items from the bank (unless this is included in the local count) or guild bank when below the minimum local stock.", + get = function() return addon.db.profile.defaults.autoRefill; end, + set = function(i, v) addon.db.profile.defaults.autoRefill = v; end, + }, minGlobalStock = { order = 20, type = "range",