Module:GathererPassiveList: 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 table)
m (helper modules were updates to include output quantity, so make use of that)
Line 43: Line 43:
-- no downtime for passives
-- no downtime for passives
item.profit = item.sellPrice and item.sellPrice * 0.005
item.profit = item.sellPrice
item.productPerHour = item.duration and 1 / item.duration * 3600
item.productPerHour = item.duration and 1 / item.duration * 3600


Line 108: Line 108:


: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))