Module:FisherList: Difference between revisions

371 bytes removed ,  Tuesday at 19:25
change from calculating fish per hour to specifying fish per hour, so that people can write strategy guides and then import the numbers
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:
 
-- downtime is very important for gathering-type professions
-- initial guessesvalues to see if there's an error
item.downtimeproductPerHour = 601
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
item.productPerHour = 317
item.downtime = 80 -- flounder cannot be deposited, only sold
item.nodesproductPerHourDropping = 6464
elseif string.find(item.pageName,'Eel') then
item.downtimeproductPerHour = 20407
item.nodesproductPerHourDropping = 6464
elseif string.find(item.pageName,'Pufferfish') then
item.productPerHour = 407
item.downtime = 20 -- pufferfish cannot be deposited, only sold
item.nodesproductPerHourDropping = 6464
elseif string.find(item.pageName,'Gurnard') then
item.downtimeproductPerHour = 120276
item.nodesproductPerHourDropping = 6464
elseif string.find(item.pageName,'Bass') then
item.downtimeproductPerHour = 40258
item.nodesproductPerHourDropping = 3307
elseif string.find(item.pageName,'Ray') then
item.downtimeproductPerHour = 100295
item.nodesproductPerHourDropping = 6464
elseif string.find(item.pageName,'Cod') then
item.downtimeproductPerHour = 80238
item.nodesproductPerHourDropping = 3306
end
 
-- profitability
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
21,687

edits