2,875
edits
m (Add magic level requirement) |
m (Add temp code to invoke module via sandbox template) |
||
Line 1,227: | Line 1,227: | ||
function p.getItemSourceTables(frame) | function p.getItemSourceTables(frame) | ||
local itemName = frame.args ~= nil and frame.args[1] or frame | -- Temp | ||
local args = frame:getParent().args | |||
local itemName = args.item or args[1] | |||
--local itemName = frame.args ~= nil and frame.args[1] or frame | |||
local item = Items.getItem(itemName) | local item = Items.getItem(itemName) | ||
if item == nil then | if item == nil then |
edits