Anonymous

Module:Items/SourceTables: Difference between revisions

From Melvor Idle
_getSuperheatTable: Further fixes for v1.0.2 data
(Update for v1.0.2)
(_getSuperheatTable: Further fixes for v1.0.2 data)
Line 901: Line 901:


local oreStringPart, coalString = {}, ''
local oreStringPart, coalString = {}, ''
for i, mat in ipairs(item.smithReq) do
for i, mat in ipairs(smithRecipe.itemCosts) do
local thisMat = Items.getItemByID(mat.id)
local thisMat = Items.getItemByID(mat.id)
if thisMat.name == 'Coal Ore' then
if thisMat.name == 'Coal Ore' then