Module:FisherList: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
m (cod bank time)
(change from calculating fish per hour to specifying fish per hour, so that people can write strategy guides and then import the numbers)
 
Line 39: Line 39:


-- downtime is very important for gathering-type professions
-- downtime is very important for gathering-type professions
-- initial guesses
-- initial values to see if there's an error
item.downtime = 60
item.productPerHour = 1
item.productPerHourDropping = 1
-- these numbers are based roughly on how far the nodes are from a storage rift or shop or bank
-- these numbers from the strategy guides for each type of node
-- 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.productPerHour = 317
item.downtime = 80 -- flounder cannot be deposited, only sold
item.nodes = 6
item.productPerHourDropping = 464
elseif string.find(item.pageName,'Eel') then
elseif string.find(item.pageName,'Eel') then
item.downtime = 20
item.productPerHour = 407
item.nodes = 6
item.productPerHourDropping = 464
elseif string.find(item.pageName,'Pufferfish') then
elseif string.find(item.pageName,'Pufferfish') then
item.productPerHour = 407
item.downtime = 20 -- pufferfish cannot be deposited, only sold
item.nodes = 6
item.productPerHourDropping = 464
elseif string.find(item.pageName,'Gurnard') then
elseif string.find(item.pageName,'Gurnard') then
item.downtime = 120
item.productPerHour = 276
item.nodes = 6
item.productPerHourDropping = 464
elseif string.find(item.pageName,'Bass') then
elseif string.find(item.pageName,'Bass') then
item.downtime = 40
item.productPerHour = 258
item.nodes = 3
item.productPerHourDropping = 307
elseif string.find(item.pageName,'Ray') then
elseif string.find(item.pageName,'Ray') then
item.downtime = 100
item.productPerHour = 295
item.nodes = 6
item.productPerHourDropping = 464
elseif string.find(item.pageName,'Cod') then
elseif string.find(item.pageName,'Cod') then
item.downtime = 80
item.productPerHour = 238
item.nodes = 3
item.productPerHourDropping = 306
end
end


-- profitability
-- profitability
item.profit = item.sellPrice
item.profit = item.sellPrice
-- 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


-- properties per hour
-- properties per hour