misc: change todo
This commit is contained in:
parent
4481b8e7fa
commit
9b17cd22fe
1 changed files with 1 additions and 1 deletions
|
|
@ -85,7 +85,7 @@ function dist_to_num (dist)
|
||||||
end
|
end
|
||||||
|
|
||||||
function get_dist (item_type, items)
|
function get_dist (item_type, items)
|
||||||
-- TODO redo, incorporate sum_items. DRY!
|
-- TODO change plurals to singulars to match mc
|
||||||
local dist = { nuggets = 0, ingots = 0, blocks = 0 }
|
local dist = { nuggets = 0, ingots = 0, blocks = 0 }
|
||||||
for item, count in pairs(items) do
|
for item, count in pairs(items) do
|
||||||
local type, form = item:match":(%l-)_(%l*)"
|
local type, form = item:match":(%l-)_(%l*)"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue