Anonymous

Module:CombatAreas: Difference between revisions

From Melvor Idle
m
Remove console logging
(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
        mw.log(reqDetails.type)
         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