Module:Sandbox/User:Alsang: Difference between revisions

no edit summary
No edit summary
Tag: Manual revert
No edit summary
Line 37:
-- Query for data
local smw_data = mw.smw.ask{
'[[UsesActivity itemInput::' .. item .. ']]',
'?UsesActivity itemInput',
'?RecipeActivity JSON',
showValues and '?Value',
limit = limit
Line 52:
local produced_items = {}
for _, product in ipairs(smw_data) do
local jsons = product['RecipeActivity JSON']
if type(jsons) == 'string' then
jsons = { jsons }
11,305

edits