FANDOM


local p = {}
 
local function dump(obj, maxDepth, depth)
    depth = depth or 1
    for k, v in pairs(obj) do
        if k ~= '_G' then
            mw.log(string.format('%s%s (%s) = %s', string.rep('    ', depth-1), k, type(v), tostring(v)))
            if type(v) == 'table' and depth < maxDepth then
                dump(v, maxDepth, depth+1)
            end
        end
    end
end
function p.d(frame)
    dump(frame, 6)
end
 
return p

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.