Module:MinerPassiveList: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
m (spacing around product image, and quantity number)
m (protection against partially complete entries crashing the module)
Line 58: Line 58:
-- profit from selling the items
-- profit from selling the items
if not item.givesCoins then
if not item.givesCoins then
-- protection against missing parameters
item.product = item.product or ''
-- query is: there is a shop object page that has this item AND has buy price cannot be "N/A"
-- query is: there is a shop object page that has this item AND has buy price cannot be "N/A"