Module:RecipeDetails/Pull: Difference between revisions
From IdleOn MMO Wiki
Kiokurashi (talk | contribs) mNo edit summary |
Kiokurashi (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
local metat = mw.loadData("Module:RecipeDetails/data").allRecipes | local metat = mw.loadData("Module:RecipeDetails/data").allRecipes | ||
local t = {} | local t = {} | ||
function recFormat( | function recFormat(metat) | ||
for k, v in pairs(tab) do | for k, v in pairs(tab) do | ||
inner[k] = | local inner = {} | ||
for a, b in pairs(v) do | |||
inner[a] = b | |||
end | |||
t[k] = inner | |||
end | end | ||
end | end | ||
recFormat(metat) | |||
return t | return t |
Revision as of 00:57, 13 April 2024
Documentation for this module may be created at Module:RecipeDetails/Pull/doc