2,875
edits
(Fix currency function calls) |
No edit summary |
||
Line 13: | Line 13: | ||
local Icons = require('Module:Icons') | local Icons = require('Module:Icons') | ||
local Cartography = require('Module:Skills/Cartography') | local Cartography = require('Module:Skills/Cartography') | ||
local Num = require('Module:Number') | |||
local sizes = {'small', 'tiny', 'medium', 'large'} | local sizes = {'small', 'tiny', 'medium', 'large'} | ||
Line 96: | Line 97: | ||
table.insert(result, '||style="text-align:right" data-sort-value="'..row.maxQuantity..'"|') | table.insert(result, '||style="text-align:right" data-sort-value="'..row.maxQuantity..'"|') | ||
if row.maxQuantity > row.minQuantity then | if row.maxQuantity > row.minQuantity then | ||
table.insert(result, | table.insert(result, Num.formatnum(row.minQuantity) .. ' - ') | ||
end | end | ||
table.insert(result, | table.insert(result, Num.formatnum(row.maxQuantity)) | ||
local dropChance = row.weight / totalWt | local dropChance = row.weight / totalWt |
edits