-
Notifications
You must be signed in to change notification settings - Fork 0
/
DifficultBulletinBoardDefaults.lua
72 lines (66 loc) · 5.34 KB
/
DifficultBulletinBoardDefaults.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
DifficultBulletinBoard = DifficultBulletinBoard or {}
DifficultBulletinBoard.version = 1
DifficultBulletinBoard.defaultNumberOfPlaceholders = 3
DifficultBulletinBoard.defaultTopics = {
{ name = "Alchemy", selected = true, tags = { "alchemist", "alchemy", "alch" } },
{ name = "Blacksmithing", selected = true, tags = { "blacksmithing", "blacksmith", "bs" } },
{ name = "Enchanting", selected = true, tags = { "enchanting", "enchanter", "enchant" } },
{ name = "Engineering", selected = true, tags = { "engineering", "engineer", "eng" } },
{ name = "Herbalism", selected = true, tags = { "herbalism", "herbalist", "herb" } },
{ name = "Leatherworking", selected = true, tags = { "leatherworking", "leatherworker", "lw" } },
{ name = "Mining", selected = true, tags = { "mining", "miner" } },
{ name = "Tailoring", selected = true, tags = { "tailoring", "tailor" } },
{ name = "Jewelcrafting", selected = true, tags = { "jewelcrafting", "jeweler", "jewel", "jc" } },
{ name = "Cooking", selected = true, tags = { "cooking", "cook" } },
{ name = "Naxxramas", selected = true, tags = { "naxxramas", "naxx" } },
{ name = "Temple of Ahn'Qiraj", selected = true, tags = { "ahn'qiraj", "ahnqiraj", "aq40", "aq" } },
{ name = "Emerald Sanctum", selected = true, tags = { "emerald", "sanctum", "es" } },
{ name = "Blackwing Lair", selected = true, tags = { "blackwing", "bwl" } },
{ name = "Lower Karazhan Halls", selected = true, tags = { "karazhan", "kara", "kara10" } },
{ name = "Onyxia's Lair", selected = true, tags = { "onyxia", "ony" } },
{ name = "Molten Core", selected = true, tags = { "molten", "mc" } },
{ name = "Ruins of Ahn'Qiraj", selected = true, tags = { "ruins", "ahn'qiraj", "ahnqiraj", "aq20", "aq" } },
{ name = "Zul'Gurub", selected = true, tags = { "zul'gurub", "zulgurub", "zg" } },
{ name = "Stormwind Vault", selected = true, tags = { "vault", "swvault" } },
{ name = "Caverns of Time: Black Morass", selected = true, tags = { "cot", "morass", "cavern", "cot:bm", "bm" } },
{ name = "Karazhan Crypt", selected = true, tags = { "crypt", "kara", "karazhan" } },
{ name = "Upper Blackrock Spire", selected = true, tags = { "ubrs", "blackrock", "upper", "spire" } },
{ name = "Lower Blackrock Spire", selected = true, tags = { "lbrs", "blackrock", "lower", "spire" } },
{ name = "Stratholme", selected = true, tags = { "strat", "stratholme" } },
{ name = "Scholomance", selected = true, tags = { "scholo", "scholomance" } },
{ name = "Dire Maul", selected = true, tags = { "dire", "maul", "dm", "dm:e", "dm:w", "dm:n", "dmw", "dmn", "dme" } },
{ name = "Blackrock Depths", selected = true, tags = { "brd", "blackrock", "depths" } },
{ name = "Hateforge Quarry", selected = true, tags = { "hateforge", "quarry", "hq", "hfq" } },
{ name = "The Sunken Temple", selected = true, tags = { "st", "sunken", "temple" } },
{ name = "Zul'Farrak", selected = true, tags = { "zf", "zul'farrak", "zulfarrak" } },
{ name = "Maraudon", selected = true, tags = { "mara", "maraudon" } },
{ name = "Gilneas City", selected = true, tags = { "gilneas" } },
{ name = "Uldaman", selected = true, tags = { "uldaman" } },
{ name = "Razorfen Downs", selected = true, tags = { "razorfen", "downs", "rfd" } },
{ name = "Scarlet Monastery", selected = true, tags = { "scarlet", "monastery", "sm", "armory", "cathedral", "library", "graveyard" } },
{ name = "The Crescent Grove", selected = true, tags = { "crescent", "grove" } },
{ name = "Razorfen Kraul", selected = true, tags = { "razorfen", "kraul" } },
{ name = "Gnomeregan", selected = true, tags = { "gnomeregan", "gnomer" } },
{ name = "The Stockade", selected = true, tags = { "stockade", "stockades", "stock", "stocks" } },
{ name = "Blackfathom Deeps", selected = true, tags = { "bfd", "blackfathom" } },
{ name = "Shadowfang Keep", selected = true, tags = { "sfk", "shadowfang" } },
{ name = "The Deadmines", selected = true, tags = { "vc", "dm", "deadmine", "deadmines" } },
{ name = "Wailing Caverns", selected = true, tags = { "wc", "wailing", "caverns" } },
{ name = "Ragefire Chasm", selected = true, tags = { "rfc", "ragefire", "chasm" } }
}
function DifficultBulletinBoard.deepCopy(original)
local copy = {}
for key, value in pairs(original) do
if type(value) == "table" then
copy[key] = DifficultBulletinBoard.deepCopy(value)
else
copy[key] = value
end
end
return copy
end
function DifficultBulletinBoard.printDefaultTopics()
for _, topic in ipairs(DifficultBulletinBoard.defaultTopics) do
DEFAULT_CHAT_FRAME:AddMessage(topic.name)
end
end