Difference between revisions of "Module:TNT"

Jump to navigation Jump to search
no edit summary
en>Yurik
(implement p.doc)
en>Yurik
Line 67: Line 67:
local params = {}
local params = {}
local paramOrder = {}
local paramOrder = {}
local index = 1
     for _, row in pairs(data.data) do
     for _, row in pairs(data.data) do
     local newVal = {}
     local newVal = {}
Line 81: Line 80:
     if name then
     if name then
     params[name] = newVal
     params[name] = newVal
     table.insert(paramOrder, index)
     table.insert(paramOrder, name)
    index = index + 1
     end
     end
     end
     end
Anonymous user

Navigation menu