Mercurial > wow > inventory
comparison Core.lua @ 120:00cf4fc1697f
addon.Locations table is used at multiple modules, definition moved to Core.lua.
author | Zerotorescue |
---|---|
date | Sat, 15 Jan 2011 17:09:08 +0100 |
parents | 67bd5057ecb7 |
children | 6724bc8eface |
comparison
equal
deleted
inserted
replaced
119:dc6f405c1a5d | 120:00cf4fc1697f |
---|---|
15 -- All modules must be able to retrieve our supported addons database, thus keep it a part of the addon object rather than local | 15 -- All modules must be able to retrieve our supported addons database, thus keep it a part of the addon object rather than local |
16 addon.supportedAddons = {}; | 16 addon.supportedAddons = {}; |
17 addon.supportedAddons.auctionPricing = {}; | 17 addon.supportedAddons.auctionPricing = {}; |
18 addon.supportedAddons.itemCount = {}; | 18 addon.supportedAddons.itemCount = {}; |
19 addon.supportedAddons.crafting = {}; | 19 addon.supportedAddons.crafting = {}; |
20 | |
21 addon.Locations = { | |
22 ["Bag"] = "Bag", | |
23 ["Bank"] = "Bank", | |
24 ["Guild"] = "Guild", | |
25 ["Mailbox"] = "Mailbox", | |
26 ["Merchant"] = "Merchant", | |
27 }; | |
20 | 28 |
21 function addon:OnInitialize() | 29 function addon:OnInitialize() |
22 -- SAVED VARIABLES | 30 -- SAVED VARIABLES |
23 | 31 |
24 local defaults = { | 32 local defaults = { |