diff --git a/compacting-storage.lua b/compacting-storage.lua index 7d46c52..07d9ca9 100644 --- a/compacting-storage.lua +++ b/compacting-storage.lua @@ -85,7 +85,7 @@ function dist_to_num (dist) end 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 } for item, count in pairs(items) do local type, form = item:match":(%l-)_(%l*)"