Skip to content

Commit 6f7889d

Browse files
committed
Added token data for SL S4
1 parent 463a154 commit 6f7889d

File tree

1 file changed

+33
-12
lines changed

1 file changed

+33
-12
lines changed

data.lua

Lines changed: 33 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,40 @@ data.catalystItems = {
209209
},
210210
}
211211

212+
--- @type table<number, number> # [itemID] = seasonID
213+
data.catalystItemByID = {};
214+
do
215+
for seasonID, classes in pairs(data.catalystItems) do
216+
for _, slots in pairs(classes) do
217+
for _, itemID in pairs(slots) do
218+
data.catalystItemByID[itemID] = seasonID;
219+
end
220+
end
221+
end
222+
end
223+
212224
data.tokens = {
225+
-- SL S4 (season 8)
226+
[191010] = { season = 8, slot = Enum.InventoryType.IndexChestType, classList = { [6] = true, [12] = true, [9] = true } }, -- Dreadful Chest Module
227+
[191014] = { season = 8, slot = Enum.InventoryType.IndexHandType, classList = { [6] = true, [12] = true, [9] = true } }, -- Dreadful Hand Module
228+
[191005] = { season = 8, slot = Enum.InventoryType.IndexHeadType, classList = { [6] = true, [12] = true, [9] = true } }, -- Dreadful Helm Module
229+
[191018] = { season = 8, slot = Enum.InventoryType.IndexLegsType, classList = { [6] = true, [12] = true, [9] = true } }, -- Dreadful Leg Module
230+
[191006] = { season = 8, slot = Enum.InventoryType.IndexShoulderType, classList = { [6] = true, [12] = true, [9] = true } }, -- Dreadful Shoulder Module
231+
[191011] = { season = 8, slot = Enum.InventoryType.IndexChestType, classList = { [11] = true, [3] = true, [8] = true } }, -- Mystic Chest Module
232+
[191015] = { season = 8, slot = Enum.InventoryType.IndexHandType, classList = { [11] = true, [3] = true, [8] = true } }, -- Mystic Hand Module
233+
[191002] = { season = 8, slot = Enum.InventoryType.IndexHeadType, classList = { [11] = true, [3] = true, [8] = true } }, -- Mystic Helm Module
234+
[191019] = { season = 8, slot = Enum.InventoryType.IndexLegsType, classList = { [11] = true, [3] = true, [8] = true } }, -- Mystic Leg Module
235+
[191007] = { season = 8, slot = Enum.InventoryType.IndexShoulderType, classList = { [11] = true, [3] = true, [8] = true } }, -- Mystic Shoulder Module
236+
[191012] = { season = 8, slot = Enum.InventoryType.IndexChestType, classList = { [2] = true, [5] = true, [7] = true } }, -- Venerated Chest Module
237+
[191016] = { season = 8, slot = Enum.InventoryType.IndexHandType, classList = { [2] = true, [5] = true, [7] = true } }, -- Venerated Hand Module
238+
[191003] = { season = 8, slot = Enum.InventoryType.IndexHeadType, classList = { [2] = true, [5] = true, [7] = true } }, -- Venerated Helm Module
239+
[191020] = { season = 8, slot = Enum.InventoryType.IndexLegsType, classList = { [2] = true, [5] = true, [7] = true } }, -- Venerated Leg Module
240+
[191008] = { season = 8, slot = Enum.InventoryType.IndexShoulderType, classList = { [2] = true, [5] = true, [7] = true } }, -- Venerated Shoulder Module
241+
[191013] = { season = 8, slot = Enum.InventoryType.IndexChestType, classList = { [13] = true, [10] = true, [4] = true, [1] = true } }, -- Zenith Chest Module
242+
[191017] = { season = 8, slot = Enum.InventoryType.IndexHandType, classList = { [13] = true, [10] = true, [4] = true, [1] = true } }, -- Zenith Hand Module
243+
[191004] = { season = 8, slot = Enum.InventoryType.IndexHeadType, classList = { [13] = true, [10] = true, [4] = true, [1] = true } }, -- Zenith Helm Module
244+
[191021] = { season = 8, slot = Enum.InventoryType.IndexLegsType, classList = { [13] = true, [10] = true, [4] = true, [1] = true } }, -- Zenith Leg Module
245+
[191009] = { season = 8, slot = Enum.InventoryType.IndexShoulderType, classList = { [13] = true, [10] = true, [4] = true, [1] = true } }, -- Zenith Shoulder Module
213246
-- TWW S2
214247
[228799] = { season = 14, slot = Enum.InventoryType.IndexChestType, classList = { [6] = true, [12] = true, [9] = true } }, -- Dreadful Greased Gallybux
215248
[228803] = { season = 14, slot = Enum.InventoryType.IndexHandType, classList = { [6] = true, [12] = true, [9] = true } }, -- Dreadful Bloody Gallybux
@@ -233,15 +266,3 @@ data.tokens = {
233266
[228818] = { season = 14, slot = Enum.InventoryType.IndexShoulderType, classList = { [13] = true, [10] = true, [4] = true, [1] = true } }, -- Zenith Polished Gallybux
234267
};
235268

236-
--- @type table<number, number> # [itemID] = seasonID
237-
data.catalystItemByID = {};
238-
do
239-
for seasonID, classes in pairs(data.catalystItems) do
240-
for _, slots in pairs(classes) do
241-
for _, itemID in pairs(slots) do
242-
data.catalystItemByID[itemID] = seasonID;
243-
end
244-
end
245-
end
246-
end
247-

0 commit comments

Comments
 (0)