Module:FisherList: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
m (remove vestigal reference to "hideCells" which is not needed for fisher)
(replace relocation time with a calculation based on respawn time)
Line 41: Line 41:
-- initial guesses
-- initial guesses
item.downtime = 60
item.downtime = 60
item.relocate = 5
-- these numbers are based roughly on how far the nodes are from a storage rift or shop or bank
-- these numbers are based roughly on how far the nodes are from a storage rift or shop or bank
-- 20s per room to traverse
-- 20s per room to traverse
-- duration and relocation times arent used for fisher, only respawn time and number of nodes
if string.find(item.pageName,'Flounder') then
if string.find(item.pageName,'Flounder') then
item.downtime = 20
item.downtime = 20
item.nodes = 6
elseif string.find(item.pageName,'Eel') then
elseif string.find(item.pageName,'Eel') then
item.downtime = 20
item.downtime = 20
item.nodes = 6
elseif string.find(item.pageName,'Pufferfish') then
elseif string.find(item.pageName,'Pufferfish') then
item.downtime = 20
item.downtime = 20
item.nodes = 6
elseif string.find(item.pageName,'Gurnard') then
elseif string.find(item.pageName,'Gurnard') then
item.downtime = 120
item.downtime = 120
item.nodes = 6
elseif string.find(item.pageName,'Bass') then
elseif string.find(item.pageName,'Bass') then
item.downtime = 40
item.downtime = 40
item.nodes = 3
elseif string.find(item.pageName,'Ray') then
elseif string.find(item.pageName,'Ray') then
item.downtime = 100
item.downtime = 100
item.nodes = 6
elseif string.find(item.pageName,'Cod') then
elseif string.find(item.pageName,'Cod') then
item.downtime = 120
item.downtime = 120
item.nodes = 3
end
end


Line 65: Line 72:
-- products per hour
-- products per hour
item.batch = 24
item.batch = 24
item.productPerHour = item.duration and math.floor(1 / (item.duration + item.relocate + item.downtime / item.batch) * 3600)
item.durationEffective = item.respawn and item.respawn / item.nodes
item.productPerHourDropping = item.duration and 1 / (item.duration + item.relocate) * 3600
item.productPerHour = item.durationEffective and math.floor(1 / (item.durationEffective + item.downtime / item.batch) * 3600)
item.productPerHourDropping = item.durationEffective and 1 / (item.durationEffective) * 3600


-- properties per hour
-- properties per hour