Module:ItemsByStat: Difference between revisionsGive feedback
SerpentofSet (talk | contribs) No edit summary |
SerpentofSet (talk | contribs) No edit summary |
||
| Line 23: | Line 23: | ||
local stat = frame.args[1] | local stat = frame.args[1] | ||
local tabledata = selectByStat(stat) | local tabledata = selectByStat(stat) | ||
Item = tabledata[1] | |||
Value = tabledata[2] | |||
output = "" | output = "" | ||
for i, | for i=1,#Item do | ||
output = output.."Name: ".. | output = output.."Name: "..Item[i].." Value: "..Value[i].."\n" | ||
end | end | ||
return output | return output | ||