17,101
edits
Falterfire (talk | contribs) (Added requirements code and made it work with slayer stuff) |
m (Remove console logging) |
||
Line 99: | Line 99: | ||
local addReqsToArray = function(reqArray, requirements) | local addReqsToArray = function(reqArray, requirements) | ||
for i, reqDetails in Shared.skpairs(requirements) do | for i, reqDetails in Shared.skpairs(requirements) do | ||
if reqDetails.type == 'Level' then | if reqDetails.type == 'Level' then | ||
for j, lvlDetails in Shared.skpairs(reqDetails.levels) do | for j, lvlDetails in Shared.skpairs(reqDetails.levels) do |