Module:ChefList: Difference between revisions

wasnt correctly parsing the names of shops, so wasnt including time spent buying materials on the xp/hr column
m (catch situations where recipe.JSON is nil)
(wasnt correctly parsing the names of shops, so wasnt including time spent buying materials on the xp/hr column)
Line 94:
-- query which shop sold it, add to running total
local shopNameQuery = '[[:+]][[Sold item::' .. material.name .. ']]|?Sold by #-|mainlabel=' .. material.name
local shopNameResult = mw.smw.ask(shopNameQuery) or {}
local shopName = ''
21,753

edits