Module:Sandbox/Skills/Cartography: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 265: Line 265:
local itemNames = frame.args ~= nil and frame.args[1] or frame
local itemNames = frame.args ~= nil and frame.args[1] or frame
local items = {}
local items = {}
for itemName in string.gmatch(itemNames, "([^,]+),%s*") do
for itemName in string.gmatch(itemNames, "[^,]*") do
item = Items.getItem(itemName)
item = Items.getItem(itemName)
if item ~= nil then
if item ~= nil then
432

edits