17,101
edits
(getThievingSourcesForItem: Fix area unique drops) |
(getSmithingTable: Amend category determination) |
||
Line 338: | Line 338: | ||
-- Accepts 1 parameter, being either: | -- Accepts 1 parameter, being either: | ||
-- ' | -- 'Bars', for which a table of all bars is generated, or | ||
-- A bar or tier name, which if valid generates a table of all smithing recipes using that bar/tier | -- A bar or tier name, which if valid generates a table of all smithing recipes using that bar/tier | ||
function p.getSmithingTable(frame) | function p.getSmithingTable(frame) | ||
local tableType = frame.args ~= nil and frame.args[1] or frame | local tableType = frame.args ~= nil and frame.args[1] or frame | ||
-- Has a valid category been passed (by name)? | -- Has a valid category been passed (by name)? |