Module:CreateModuleGridData

From The First Descendant Wiki
Revision as of 12:01, 3 June 2024 by Communos (talk | contribs)

currently does not work correctly


local p = {}

function p.getModuleData(frame)
    local data = mw.loadData("Module:Modules/data")
    local module_name = frame:getParent():getParent():getTitle()
    data = data["Modules"][module_name][frame.args[1]]
    if not(data == nil) then
        return data
    end
    return
end
return p