Editing Module:ItemsByStat
Revision as of 06:39, 27 September 2024 by SerpentofSet (talk | contribs) (Created page with "local p = {}; local data = mw.loadJsonData("Data:ItemData.json") p.select = function(frame) local stat = frame.args[1] local Item,Value = {},{} local i = 1 for m,v in pairs(data) do for n,w in pairs(v) do if n == stat then Item[i] = v["Name"] Value[i] = v[stat] i = i+1 break end end end local b = {Item, Value} return b end return p")
Warning: You are editing an out-of-date revision of this page.
If you publish it, any changes made since this revision will be lost.
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
Retrieved from "https://deadlocked.wiki/Module:ItemsByStat"