Module:Items/SourceTables: Difference between revisions

Fix Stardust itembox sources
(Fixed junk not showing in sources and Abyssal loot showing regular skill req)
(Fix Stardust itembox sources)
Line 597: Line 597:
end
end


--AstrologyCheck (Just a brute force for now because only two items)
--AstrologyCheck
if Shared.contains({SkillData.Astrology.stardustItemID, SkillData.Astrology.goldenStardustItemID}, item.id) then
for i, dustDrop in ipairs(SkillData.Astrology.baseRandomItemChances) do
table.insert(lineArray, Icons.Icon({SkillData.Astrology.name, type='skill'}))
if dustDrop.itemID == item.id then
table.insert(lineArray, Icons.Icon({SkillData.Astrology.name, type='skill'}))
end
end
end