Module:Township: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 53: Line 53:
if skill == 'melvorD:Herblore' then
if skill == 'melvorD:Herblore' then
-- Iterate over the 4 potion tiers
-- Iterate over the 4 potion tiers
for _, potion in ipairs(recipe[productID]) do
for _, potionid in ipairs(recipe[productID]) do
if itemid == potion.id then
if itemid == potionid then
table.insert(results, Shared.clone(recipe))
table.insert(results, Shared.clone(recipe))
end
end
572

edits