Skip to content

Commit cddf500

Browse files
committed
fix(filter): updated faction db with toys only usable by alliance or horde
1 parent 615e8e3 commit cddf500

4 files changed

Lines changed: 71 additions & 86 deletions

File tree

Database/Database.lua

Lines changed: 0 additions & 86 deletions
Original file line numberDiff line numberDiff line change
@@ -342,92 +342,6 @@ ADDON.db.profession = {
342342
},
343343
}
344344

345-
ADDON.db.faction = {
346-
alliance = {
347-
[30690] = true, -- Power Converter
348-
[45011] = true, -- Stormwind Banner
349-
[45018] = true, -- Ironforge Banner
350-
[45019] = true, -- Gnomeregan Banner
351-
[45020] = true, -- Exodar Banner
352-
[45021] = true, -- Darnassus Banner
353-
[54651] = true, -- Gnomeregan Pride
354-
[63141] = true, -- Tol Barad Searchlight
355-
[89999] = true, -- Everlasting Alliance Firework
356-
[95567] = true, -- Kirin Tor Beacon
357-
[95589] = true, -- Glorious Standard of the Kirin Tor Offensive
358-
[116396] = true, -- LeBlanc's Recorder
359-
[119144] = true, -- Touch of the Naaru
360-
[119182] = true, -- Soul Evacuation Crystal
361-
[119217] = true, -- Alliance Flag of Victory
362-
[128462] = true, -- Karabor Councilor's Attire
363-
[115472] = true, -- Permanent Time Bubble
364-
[119421] = true, -- Sha'tari Defender's Medallion
365-
[150743] = true, -- Scouting Map: Surviving Kalimdor
366-
[150746] = true, -- Scouting Map: Modern Provisioning of the Eastern Kingdom
367-
[151343] = true, -- Hearthstation
368-
[151349] = true, -- Toy Weapon Set
369-
[162643] = true, -- Toy Armor Set
370-
[163607] = true, -- Lucille's Sewing Needle
371-
[163828] = true, -- Toy Siege Tower
372-
[166702] = true, -- Proudmoore Music Box -- Proudmoore Admiralty Supplies
373-
[166808] = true, -- Bewitching Tea Set -- Order of Embers Supplies
374-
[166744] = true, -- Glaive Tosser
375-
[163987] = true, -- Stormwind Champion's War Banner --Blizzcon 2018
376-
[166777] = true, -- Lion's Pride Firework
377-
[169275] = true, -- Alliance War Banner
378-
[169278] = true, -- Alliance War Standard
379-
[169297] = true, -- Stormpike Insignia
380-
[170155] = true, -- Carved Ankoan Charm
381-
[172223] = true, -- Crashin' Thrashin' Battleship
382-
},
383-
384-
horde = {
385-
[53057] = true, -- Faded Wizard Hat
386-
[54653] = true, -- Darkspear Pride
387-
[45013] = true, -- Thunder Bluff Banner
388-
[45014] = true, -- Orgrimmar Banner
389-
[45015] = true, -- Sen'jin Banner
390-
[45016] = true, -- Undercity Banner
391-
[45017] = true, -- Silvermoon City Banner
392-
[64997] = true, -- Tol Barad Searchlight
393-
[89205] = true, -- Mini Mana Bomb
394-
[90000] = true, -- Everlasting Horde Firework
395-
[95568] = true, -- Sunreaver Beacon
396-
[95590] = true, -- Glorious Standard of the Sunreaver Onslaught
397-
[115468] = true, -- Permanent Frost Essence
398-
[115503] = true, -- Blazing Diamond Pendant
399-
[115505] = true, -- LeBlanc's Recorder
400-
[119145] = true, -- Firefury Totem
401-
[119160] = true, -- Tickle Totem
402-
[119218] = true, -- Horde Flag of Victory
403-
[128471] = true, -- Frostwolf Grunt's Battlegear
404-
[150744] = true, -- Scouting Map: Walking Kalimdor with the Earthmother
405-
[150745] = true, -- Scouting Map: The Eastern Kingdoms Campaign
406-
[151344] = true, -- Hearthstation
407-
[151348] = true, -- Toy Weapon Set
408-
[162642] = true, -- Toy Armor Set
409-
[163829] = true, -- Toy War Machine
410-
[165791] = true, -- Worn Cloak
411-
[166544] = true, -- Dark Ranger's Spare Cowl
412-
[166678] = true, -- Brynja's Beacon
413-
[166703] = true, -- Goldtusk Inn Breakfast Buffet -- Voldunai Supplies
414-
[165021] = true, -- Words of Akunda -- Voldunai Supplies
415-
[166880] = true, -- Meerah's Jukebox -- Voldunai Supplies
416-
[166701] = true, -- Warbeast Kraal Dinner Bell -- Zandalari Empire Supplies
417-
[166308] = true, -- For da Blood God! -- Talanjis Expedition
418-
[166743] = true, -- Blight Bomber
419-
[163986] = true, -- Orgrimmar Hero's War Banner --Blizzcon 2018
420-
[166778] = true, -- Horde's Might Firework
421-
[169276] = true, -- Horde War Banner
422-
[169277] = true, -- Horde War Standard
423-
[169298] = true, -- Frostwolf Insignia
424-
[170154] = true, -- Book of the Unshackled
425-
[172222] = true, -- Crashin' Thrashin' Juggernaught
426-
[173727] = true, -- Nomi's Vintage
427-
[204170] = true, -- Clan Banner
428-
},
429-
}
430-
431345
ADDON.db.source = {
432346
["Treasure"] = {
433347
-- Draenor

Database/faction.db.lua

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
local _, ADDON = ...
2+
3+
ADDON.db.faction = {
4+
alliance = {
5+
[45011] = true, -- Stormwind Banner
6+
[45018] = true, -- Ironforge Banner
7+
[45019] = true, -- Gnomeregan Banner
8+
[45020] = true, -- Exodar Banner
9+
[45021] = true, -- Darnassus Banner
10+
[54651] = true, -- Gnomeregan Pride
11+
[63141] = true, -- Tol Barad Searchlight
12+
[89999] = true, -- Everlasting Alliance Firework
13+
[95567] = true, -- Kirin Tor Beacon
14+
[95589] = true, -- Glorious Standard of the Kirin Tor Offensive
15+
[115472] = true, -- Permanent Time Bubble
16+
[116396] = true, -- LeBlanc's Recorder
17+
[119144] = true, -- Touch of the Naaru
18+
[119217] = true, -- Alliance Flag of Victory
19+
[128462] = true, -- Karabor Councilor's Attire
20+
[150743] = true, -- Scouting Map: Surviving Kalimdor
21+
[150746] = true, -- Scouting Map: Modern Provisioning of the Eastern Kingdoms
22+
[151343] = true, -- Hearthstation
23+
[151349] = true, -- Toy Weapon Set
24+
[162643] = true, -- Toy Armor Set
25+
[163828] = true, -- Toy Siege Tower
26+
[163987] = true, -- Stormwind Champion's War Banner
27+
[166777] = true, -- Lion's Pride Firework
28+
[169275] = true, -- Alliance War Banner
29+
[169278] = true, -- Alliance War Standard
30+
[169297] = true, -- Stormpike Insignia
31+
[170155] = true, -- Carved Ankoan Charm
32+
[172223] = true, -- Crashin' Thrashin' Battleship
33+
[211788] = true, -- Tess's Peacebloom
34+
},
35+
horde = {
36+
[45013] = true, -- Thunder Bluff Banner
37+
[45014] = true, -- Orgrimmar Banner
38+
[45015] = true, -- Sen'jin Banner
39+
[45016] = true, -- Undercity Banner
40+
[45017] = true, -- Silvermoon City Banner
41+
[53057] = true, -- Faded Wizard Hat
42+
[54653] = true, -- Darkspear Pride
43+
[64997] = true, -- Tol Barad Searchlight
44+
[89205] = true, -- Mini Mana Bomb
45+
[90000] = true, -- Everlasting Horde Firework
46+
[95568] = true, -- Sunreaver Beacon
47+
[95590] = true, -- Glorious Standard of the Sunreaver Onslaught
48+
[115468] = true, -- Permanent Frost Essence
49+
[115505] = true, -- LeBlanc's Recorder
50+
[119145] = true, -- Firefury Totem
51+
[119218] = true, -- Horde Flag of Victory
52+
[128471] = true, -- Frostwolf Grunt's Battlegear
53+
[150744] = true, -- Scouting Map: Walking Kalimdor with the Earthmother
54+
[150745] = true, -- Scouting Map: The Eastern Kingdoms Campaign
55+
[151344] = true, -- Hearthstation
56+
[151348] = true, -- Toy Weapon Set
57+
[162642] = true, -- Toy Armor Set
58+
[163829] = true, -- Toy War Machine
59+
[163986] = true, -- Orgrimmar Hero's War Banner
60+
[165791] = true, -- Worn Cloak
61+
[166778] = true, -- Horde's Might Firework
62+
[169276] = true, -- Horde War Banner
63+
[169277] = true, -- Horde War Standard
64+
[169298] = true, -- Frostwolf Insignia
65+
[170154] = true, -- Book of the Unshackled
66+
[172222] = true, -- Crashin' Thrashin' Juggernaught
67+
[204170] = true, -- Clan Banner
68+
},
69+
}

ToyBoxEnhanced.toc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Libs\TaintLess\TaintLess.xml
1414
Locals.lua
1515
Database\Database.lua
1616
Database\toys.db.lua
17+
Database\faction.db.lua
1718

1819
Filters.lua
1920
Sort.lua

ToyBoxEnhanced_Cata.toc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Libs\TaintLess\TaintLess.xml
1313
Locals.lua
1414
Database\Database.lua
1515
Database\toys.db.lua
16+
Database\faction.db.lua
1617

1718
Filters.lua
1819
Sort.lua

0 commit comments

Comments
 (0)