Module:FisherList: Difference between revisions

miscalculating fish per hour from duration and respawn
(flounder cannot be deposited, so they fish fewer per hour if selling)
(miscalculating fish per hour from duration and respawn)
Line 72:
-- products per hour
item.batch = 24
item.durationEffective = item.duration and item.respawn and (item.duration + item.respawn) / item.nodes
item.productPerHour = item.durationEffective and math.floor(1 / (item.durationEffective + item.downtime / item.batch) * 3600)
item.productPerHourDropping = item.durationEffective and 1 / (item.durationEffective) * 3600
21,690

edits