Module:ForagerList: Difference between revisions

153 bytes removed ,  Tuesday at 19:31
move from calculating actions per hour to specifying actions per hour, so people can import values from strategy guides
m (potato bank time)
(move from calculating actions per hour to specifying actions per hour, so people can import values from strategy guides)
 
Line 40:
-- downtime is very important for gathering-type professions
-- initial values, it will be obvious if these get used
item.downtimeproductPerHour = 100001
item.nodesproductPerHourDropping = 1
-- these numbers are based roughly on how farfrom the nodes are from a storage riftstrategy orguides shopfor oreach banknode
-- 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,'Kelp') then
item.downtimeproductPerHour = 20313
item.nodesproductPerHourDropping = 6337
elseif string.find(item.pageName,'Wallplant') then
item.downtimeproductPerHour = 40366
item.nodesproductPerHourDropping = 6440
elseif string.find(item.pageName,'Periwinkle') then
item.downtimeproductPerHour = 40366
item.nodesproductPerHourDropping = 6440
elseif string.find(item.pageName,'Shell') then
item.downtimeproductPerHour = 20313
item.nodesproductPerHourDropping = 6337
elseif string.find(item.pageName,'Potato') then
item.downtimeproductPerHour = 60273
item.nodesproductPerHourDropping = 6337
elseif string.find(item.pageName,'Pond Weed') then
item.downtimeproductPerHour = 40366
item.nodesproductPerHourDropping = 6440
elseif string.find(item.pageName,'Bellplant') then
item.downtimeproductPerHour = 40291
item.nodesproductPerHourDropping = 6337
elseif string.find(item.pageName,'Monument Piece') then
item.downtimeproductPerHour = 20407
item.nodesproductPerHourDropping = 8450
elseif string.find(item.pageName,'Water Lily') then
item.downtimeproductPerHour = 40288
item.nodesproductPerHourDropping = 6337
elseif string.find(item.pageName,'Starfish') then
item.downtimeproductPerHour = 60273
item.nodesproductPerHourDropping = 6337
elseif string.find(item.pageName,'Hogberries') then
item.downtimeproductPerHour = 80257
item.nodesproductPerHourDropping = 6337
elseif string.find(item.pageName,'Limpet') then
item.downtimeproductPerHour = 100242
item.nodesproductPerHourDropping = 6337
elseif string.find(item.pageName,'Nettle') then
item.downtimeproductPerHour = 20313
item.nodesproductPerHourDropping = 6337
elseif string.find(item.pageName,'Wrack') then
item.downtimeproductPerHour = 80257
item.nodesproductPerHourDropping = 6337
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,580

edits