8,756
edits
mNo edit summary |
mNo edit summary |
||
Line 102: | Line 102: | ||
local tableRows = '' | local tableRows = '' | ||
local headerhtml = '' | local headerhtml = '' | ||
for _, entry in ipairs(final) do | for _, entry in ipairs(final) do | ||
if bHideQuantity then | if bHideQuantity then | ||
tableRows = tableRows .. | tableRows = tableRows .. ('<tr><td>%s</td><td>%s</td><td>%s</td></tr>'):format(entry.item, entry.weight, entry.chance) | ||
else | else | ||
tableRows = tableRows .. | tableRows = tableRows .. ('<tr><td>%s</td><td>%s</td><td>%s</td><td>%s</td></tr>'):format(entry.item, entry.quantity, entry.weight, entry.chance) | ||
end | end | ||
end | end |