Anonymous

Module:Items/SourceTables: Difference between revisions

From Melvor Idle
m
Resolve cookingInterval being interpreted as seconds instead of milliseconds
(Substitute links with Icons.Icon() where possible to benefit from ambiguous link handling)
m (Resolve cookingInterval being interpreted as seconds instead of milliseconds)
Line 86: Line 86:
    req = reqSet
    req = reqSet
    qty = item.cookingQty
    qty = item.cookingQty
    time = item.cookingInterval
    time = item.cookingInterval / 1000
    table.insert(tables, p.buildCreationTable(skill, lvl, xp, req, qty, time))
    table.insert(tables, p.buildCreationTable(skill, lvl, xp, req, qty, time))
   end
   end
Line 159: Line 159:
    req = reqSet
    req = reqSet
    qty = item2.cookingQty
    qty = item2.cookingQty
    time = item2.cookingInterval
    time = item2.cookingInterval / 1000
    table.insert(tables, p.buildCreationTable(skill, lvl, xp, req, qty, time))
    table.insert(tables, p.buildCreationTable(skill, lvl, xp, req, qty, time))
end
end