80,735
edits
(Module:Luacard2) |
(Module:Luacard2) |
||
Line 34: | Line 34: | ||
table[#table+1] = value | table[#table+1] = value | ||
return table | return table | ||
end | |||
function extend(table1, table2) | |||
for k,v in pairs(table2) do | |||
append(table1, v) | |||
end | |||
end | end | ||
Line 251: | Line 257: | ||
if(#ruling_results>0) then append(vars.categories, 'FFG Rulings') end | if(#ruling_results>0) then append(vars.categories, 'FFG Rulings') end | ||
extend(official_results, ruling_results) | |||
local commentary_results = rulequery('Commentary', vars.cardname_e) | local commentary_results = rulequery('Commentary', vars.cardname_e) |