Skip to content

Commit 37106c1

Browse files
authored
feat(TheForbiddenReach): add forbidden reach primalist armor tokens (#16)
1 parent 6040772 commit 37106c1

29 files changed

+1200
-1
lines changed

.collab/raid_token_records/002_ForbiddenReach.md

Lines changed: 589 additions & 0 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ It _should_ work with tokens from the following sources:
1616
- Season 3 Raid: Amirdrassil, the Dream's Hope (including the Flame-Warped Curio)
1717
- Season 2 Raid: Aberrus, the Shadowed Crucible (including the Void-Touched Curio)
1818
- Season 1 Raid: Vault of the Incarnates
19+
- The Forbidden Reach (Primalist Armor Tokens only for now)
1920
- **Shadowlands** _9.x.x_
2021
- Season 3 Raid: Sepulcher of the First Ones
2122
- Season 1 Raid: Castle Nathria (Anima weapon tokens)
Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
{
2+
"folders": [
3+
{
4+
"path": ".",
5+
"Lua.diagnostics.globals": [
6+
"ITEM_CLASSES_ALLOWED",
7+
"class",
8+
"SlashCmdList",
9+
"TooltipDataProcessor",
10+
"GetItemInfoFromHyperlink",
11+
"TRANSMOG_SET_PARTIALLY_KNOWN_CLASS",
12+
"COLLECTED",
13+
"LinkUtil",
14+
"DEFAULT_CHAT_FRAME",
15+
"GameTooltip_AddColoredLine",
16+
"Event",
17+
"CollectionWardrobeUtil",
18+
"RunNextFrame",
19+
"EventRegistry",
20+
"LIGHTBLUE_FONT_COLOR",
21+
"CreateAtlasMarkup",
22+
"GREEN_FONT_COLOR",
23+
"INVSLOT_SHOULDER",
24+
"INVSLOT_HEAD",
25+
"INVSLOT_CHEST",
26+
"INVSLOT_WAIST",
27+
"INVSLOT_LEGS",
28+
"INVSLOT_FEET",
29+
"INVSLOT_WRIST",
30+
"INVSLOT_HAND",
31+
"ColorManager",
32+
"EncounterJournal",
33+
"EncounterJournal_LoadUI",
34+
"EncounterJournal_IsLootTabSelected",
35+
"EncounterJournalEncounterFrameInfo",
36+
"EncounterJournalEncounterFrameInfoLootTab",
37+
"EncounterJournalEncounterFrameInfoLootTabSelect",
38+
"EncounterJournalEncounterFrame"
39+
],
40+
"wowAPI.luals.frameXML": true,
41+
"wowAPI.luals.configurationScope": "User",
42+
"Lua.workspace.userThirdParty": [],
43+
"Lua.workspace.checkThirdParty": false,
44+
"Lua.workspace.ignoreSubmodules": true,
45+
"Lua.type.weakUnionCheck": true,
46+
"wowAPI.debugMode": false,
47+
},
48+
{
49+
"path": "../wow-ui-source",
50+
"Lua.diagnostics.enable": false,
51+
},
52+
],
53+
"settings": {
54+
"files.exclude": {
55+
"**/.git": true
56+
},
57+
"search.exclude": {
58+
"**/node_modules": true,
59+
"**/.release": true
60+
},
61+
"wowAPI.debugMode": true,
62+
"wowAPI.luals.configurationScope": "User",
63+
"Lua.diagnostics.enable": false,
64+
"Lua.diagnostics.disable": [
65+
"assign-type-mismatch",
66+
"ambiguity-1",
67+
"cast-local-type",
68+
"deprecated",
69+
"duplicate-set-field",
70+
"inject-field",
71+
"lowercase-global",
72+
"missing-fields",
73+
"missing-parameter",
74+
"missing-return",
75+
"need-check-nil",
76+
"param-type-mismatch",
77+
"redundant-parameter",
78+
"unbalanced-assignments",
79+
"undefined-field",
80+
"undefined-global"
81+
],
82+
"wowAPI.luals.frameXML": false,
83+
"chat.tools.terminal.autoApprove": {
84+
"make": true
85+
},
86+
}
87+
}

TokenTransmogTooltips/DataGenerator.lua

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ local DataGenerator = {}
77
local INVENTORY_SLOTS = {
88
{id = INVSLOT_HEAD, name = "HELM", constant = "INVSLOT_HEAD"},
99
{id = INVSLOT_SHOULDER, name = "SHOULDERS", constant = "INVSLOT_SHOULDER"},
10+
{id = INVSLOT_BACK, name = "CLOAK", constant = "INVSLOT_BACK"},
1011
{id = INVSLOT_CHEST, name = "CHEST", constant = "INVSLOT_CHEST"},
1112
{id = INVSLOT_WAIST, name = "BELT", constant = "INVSLOT_WAIST"},
1213
{id = INVSLOT_LEGS, name = "LEGGINGS", constant = "INVSLOT_LEGS"},
@@ -141,7 +142,8 @@ end
141142
-- Generate button
142143
frame.generateButton = CreateFrame("Button", nil, frame, "GameMenuButtonTemplate")
143144
frame.generateButton:SetSize(120, 30)
144-
frame.generateButton:SetPoint("TOPLEFT", frame.slotCheckboxes[#frame.slotCheckboxes - 1], "BOTTOMLEFT", 0, -15)
145+
local lastSlotLeftSide = #frame.slotCheckboxes % 2 == 0 and frame.slotCheckboxes[#frame.slotCheckboxes - 1] or frame.slotCheckboxes[#frame.slotCheckboxes]
146+
frame.generateButton:SetPoint("TOPLEFT", lastSlotLeftSide, "BOTTOMLEFT", 0, -15)
145147
frame.generateButton:SetText("Generate")
146148
frame.generateButton:SetNormalFontObject("GameFontNormal")
147149
frame.generateButton:SetHighlightFontObject("GameFontHighlight")
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
local addonName, ns = ...
2+
3+
ns._Gear.ForbiddenReach = {}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<Ui xsi:schemaLocation="http://www.blizzard.com/wow/ui/ ..\FrameXML\UI.xsd">
2+
<Script file="_index.lua"/>
3+
<Include file="cloth/_index.xml"/>
4+
<Include file="leather/_index.xml"/>
5+
<Include file="mail/_index.xml"/>
6+
<Include file="plate/_index.xml"/>
7+
<Script file="tokens.lua"/>
8+
</Ui>
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<Ui xsi:schemaLocation="http://www.blizzard.com/wow/ui/ ..\FrameXML\UI.xsd">
2+
<Script file="priest.lua"/>
3+
<Script file="mage.lua"/>
4+
<Script file="warlock.lua"/>
5+
<Script file="cloth.lua"/>
6+
</Ui>
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
local addonName, ns = ...
2+
3+
local gear = ns._Gear.ForbiddenReach
4+
5+
local priest = gear["PRIEST"]
6+
local mage = gear["MAGE"]
7+
local warlock = gear["WARLOCK"]
8+
9+
ns._Gear.ForbiddenReach["CLOTH"] = {
10+
["THE_FORBIDDEN_REACH"] = {
11+
["HELM"] = {
12+
["PRIEST"] = priest["THE_FORBIDDEN_REACH"]["HELM"],
13+
["MAGE"] = mage["THE_FORBIDDEN_REACH"]["HELM"],
14+
["WARLOCK"] = warlock["THE_FORBIDDEN_REACH"]["HELM"],
15+
},
16+
["SHOULDERS"] = {
17+
["PRIEST"] = priest["THE_FORBIDDEN_REACH"]["SHOULDERS"],
18+
["MAGE"] = mage["THE_FORBIDDEN_REACH"]["SHOULDERS"],
19+
["WARLOCK"] = warlock["THE_FORBIDDEN_REACH"]["SHOULDERS"],
20+
},
21+
["CLOAK"] = {
22+
["PRIEST"] = priest["THE_FORBIDDEN_REACH"]["CLOAK"],
23+
["MAGE"] = mage["THE_FORBIDDEN_REACH"]["CLOAK"],
24+
["WARLOCK"] = warlock["THE_FORBIDDEN_REACH"]["CLOAK"],
25+
},
26+
["CHEST"] = {
27+
["PRIEST"] = priest["THE_FORBIDDEN_REACH"]["CHEST"],
28+
["MAGE"] = mage["THE_FORBIDDEN_REACH"]["CHEST"],
29+
["WARLOCK"] = warlock["THE_FORBIDDEN_REACH"]["CHEST"],
30+
},
31+
["BELT"] = {
32+
["PRIEST"] = priest["THE_FORBIDDEN_REACH"]["BELT"],
33+
["MAGE"] = mage["THE_FORBIDDEN_REACH"]["BELT"],
34+
["WARLOCK"] = warlock["THE_FORBIDDEN_REACH"]["BELT"],
35+
},
36+
["LEGGINGS"] = {
37+
["PRIEST"] = priest["THE_FORBIDDEN_REACH"]["LEGGINGS"],
38+
["MAGE"] = mage["THE_FORBIDDEN_REACH"]["LEGGINGS"],
39+
["WARLOCK"] = warlock["THE_FORBIDDEN_REACH"]["LEGGINGS"],
40+
},
41+
["BOOTS"] = {
42+
["PRIEST"] = priest["THE_FORBIDDEN_REACH"]["BOOTS"],
43+
["MAGE"] = mage["THE_FORBIDDEN_REACH"]["BOOTS"],
44+
["WARLOCK"] = warlock["THE_FORBIDDEN_REACH"]["BOOTS"],
45+
},
46+
["BRACERS"] = {
47+
["PRIEST"] = priest["THE_FORBIDDEN_REACH"]["BRACERS"],
48+
["MAGE"] = mage["THE_FORBIDDEN_REACH"]["BRACERS"],
49+
["WARLOCK"] = warlock["THE_FORBIDDEN_REACH"]["BRACERS"],
50+
},
51+
["GAUNTLETS"] = {
52+
["PRIEST"] = priest["THE_FORBIDDEN_REACH"]["GAUNTLETS"],
53+
["MAGE"] = mage["THE_FORBIDDEN_REACH"]["GAUNTLETS"],
54+
["WARLOCK"] = warlock["THE_FORBIDDEN_REACH"]["GAUNTLETS"],
55+
},
56+
},
57+
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
local addonName, ns = ...
2+
3+
ns._Gear.ForbiddenReach["MAGE"] = {
4+
["THE_FORBIDDEN_REACH"] = {
5+
["HELM"] = { [77272] = { 185704, }, },
6+
["SHOULDERS"] = { [77273] = { 185706, }, },
7+
["CLOAK"] = { [77280] = { 185713, }, },
8+
["CHEST"] = { [77274] = { 185707, }, },
9+
["BELT"] = { [77275] = { 185708, }, },
10+
["LEGGINGS"] = { [77276] = { 185709, }, },
11+
["BOOTS"] = { [77277] = { 185710, }, },
12+
["BRACERS"] = { [77278] = { 185711, }, },
13+
["GAUNTLETS"] = { [77279] = { 185712, }, },
14+
},
15+
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
local addonName, ns = ...
2+
3+
ns._Gear.ForbiddenReach["PRIEST"] = {
4+
["THE_FORBIDDEN_REACH"] = {
5+
["HELM"] = { [77272] = { 185704, }, },
6+
["SHOULDERS"] = { [77273] = { 185706, }, },
7+
["CLOAK"] = { [77280] = { 185713, }, },
8+
["CHEST"] = { [77274] = { 185707, }, },
9+
["BELT"] = { [77275] = { 185708, }, },
10+
["LEGGINGS"] = { [77276] = { 185709, }, },
11+
["BOOTS"] = { [77277] = { 185710, }, },
12+
["BRACERS"] = { [77278] = { 185711, }, },
13+
["GAUNTLETS"] = { [77279] = { 185712, }, },
14+
},
15+
}

0 commit comments

Comments
 (0)