Module:WoodcutterPassiveList: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
(offload much of the search, screen, and format functions to the new ProfessionList module, so they work the same for all tables)
m (helper modules were updates to include output quantity, so make use of that)
Line 42: Line 42:
item.profit = item.coins and tonumber(item.coins)
item.profit = item.coins and tonumber(item.coins)
else
else
item.profit = item.sellPrice*0.005
item.profit = item.sellPrice
end
end


Line 131: Line 131:
:done()
:done()
:ELSE()
:ELSE()
:node(plist.three_column_image_text(item.product,0.005,'File:'..item.product..'.png',item.product,item.product))
:node(plist.three_column_image_text(item.product,item.output[1].quantity,'File:'..item.product..'.png',item.product,item.product))
:END()
:END()