Editing Module:FisherList
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 39: | Line 39: | ||
-- downtime is very important for gathering-type professions |
-- downtime is very important for gathering-type professions |
||
-- initial |
-- initial guesses |
||
item. |
item.downtime = 60 |
||
-- these numbers are based roughly on how far the nodes are from a storage rift or shop or bank |
|||
item.productPerHourDropping = 1 |
|||
-- 20s per room to traverse |
|||
-- these numbers from the strategy guides for each type of node |
|||
-- 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 = 80 -- flounder cannot be deposited, only sold |
|||
item.productPerHour = 317 |
|||
item. |
item.nodes = 6 |
||
elseif string.find(item.pageName,'Eel') then |
elseif string.find(item.pageName,'Eel') then |
||
item. |
item.downtime = 20 |
||
item. |
item.nodes = 6 |
||
elseif string.find(item.pageName,'Pufferfish') then |
elseif string.find(item.pageName,'Pufferfish') then |
||
item.downtime = 20 -- pufferfish cannot be deposited, only sold |
|||
item.productPerHour = 407 |
|||
item. |
item.nodes = 6 |
||
elseif string.find(item.pageName,'Gurnard') then |
elseif string.find(item.pageName,'Gurnard') then |
||
item. |
item.downtime = 120 |
||
item. |
item.nodes = 6 |
||
elseif string.find(item.pageName,'Bass') then |
elseif string.find(item.pageName,'Bass') then |
||
item. |
item.downtime = 40 |
||
item. |
item.nodes = 3 |
||
elseif string.find(item.pageName,'Ray') then |
elseif string.find(item.pageName,'Ray') then |
||
item. |
item.downtime = 100 |
||
item. |
item.nodes = 6 |
||
elseif string.find(item.pageName,'Cod') then |
elseif string.find(item.pageName,'Cod') then |
||
item. |
item.downtime = 120 |
||
item. |
item.nodes = 3 |
||
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 |