Mercurial > wow > itemauditor
comparison Core.lua @ 20:ff9a698caebc
Added options for the crafting threshold and auction threshold. I also fixed the queue to use the item cost to determine if there is enough profit instead of the auction (QA) threshold which already has profit built in.
author | Asa Ayers <Asa.Ayers@Gmail.com> |
---|---|
date | Sun, 04 Jul 2010 09:33:25 -0700 |
parents | 67f4151d535c |
children | d7f02c84994c |
comparison
equal
deleted
inserted
replaced
19:67f4151d535c | 20:ff9a698caebc |
---|---|
17 function addon:OnInitialize() | 17 function addon:OnInitialize() |
18 local DB_defaults = { | 18 local DB_defaults = { |
19 char = { | 19 char = { |
20 ah = 1, | 20 ah = 1, |
21 use_quick_auctions = false, | 21 use_quick_auctions = false, |
22 crafting_threshold = 1, | |
23 auction_threshold = 0.15, | |
22 }, | 24 }, |
23 profile = { | 25 profile = { |
24 messages = { | 26 messages = { |
25 debug = false, | 27 debug = false, |
26 cost_updates = true, | 28 cost_updates = true, |
29 queue_skip = false, | |
27 } | 30 } |
28 }, | 31 }, |
29 factionrealm = { | 32 factionrealm = { |
30 item_account = {}, | 33 item_account = {}, |
31 items = {}, | 34 items = {}, |