Module:AlchemistList: Difference between revisions
for multi-step recipes, generate multi-line edit buttons
(offload much of the search, screen, and format functions to the new ProfessionList module, so they work the same for all table) |
(for multi-step recipes, generate multi-line edit buttons) |
||
Line 38:
-- iterate through products
for _, item in ipairs(results) do
-- list of all pages to edit, if edit is needed
item.allPageEdits = { item.pageName }
for _,intermediate in ipairs(item.intermediateMaterials) do
table.insert(item.allPageEdits,intermediate.name)
end
-- profitability
Line 145 ⟶ 151:
:done()
:ELSE()
:node(plist.
:END()
|