Module:GathererList: Difference between revisions

194 bytes removed ,  Tuesday at 19:38
move from calculating actions per hour to specifying actions per hour, so people can import values from strategy guides
m (femur 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,'Globeplant') then
item.downtimeproductPerHour = 40372
item.nodesproductPerHourDropping = 8450
elseif string.find(item.pageName,'Dandelion') then
item.downtimeproductPerHour = 20407
item.nodesproductPerHourDropping = 8450
elseif string.find(item.pageName,'Goat Horn') then
item.downtimeproductPerHour = 60342
item.nodesproductPerHourDropping = 8450
elseif string.find(item.pageName,'Apple') then
item.downtimeproductPerHour = 80257
item.nodesproductPerHourDropping = 6337
elseif string.find(item.pageName,'Leek') then
item.downtimeproductPerHour = 40372
item.nodesproductPerHourDropping = 8450
elseif string.find(item.pageName,'Haleberries') then
item.productPerHour = 357
item.downtime = 50 -- portal back after depositing
item.nodesproductPerHourDropping = 8450
elseif string.find(item.pageName,'Rams Horn') then
item.downtimeproductPerHour = 100295
item.nodesproductPerHourDropping = 8450
elseif string.find(item.pageName,'Bitterfruit') then
item.productPerHour = 245
item.downtime = 160 -- cannot be banked, must be sold
item.nodesproductPerHourDropping = 8450
elseif string.find(item.pageName,'Chestnut') then
item.downtimeproductPerHour = 80 257
item.nodesproductPerHourDropping = 6337
elseif string.find(item.pageName,'Bone Spike') then
item.downtimeproductPerHour = 0450
item.nodesproductPerHourDropping = 8450
elseif string.find(item.pageName,'Tangfruit') then
item.productPerHour = 212
item.downtime = 150 -- cannot be banked, must be sold
item.nodesproductPerHourDropping = 6450
elseif string.find(item.pageName,'Catkin') then
item.downtimeproductPerHour = 60273
item.nodesproductPerHourDropping = 6337
elseif string.find(item.pageName,'Femur Shard') then
item.downtimeproductPerHour = 60342
item.nodesproductPerHourDropping = 8450
elseif string.find(item.pageName,'Clover') then
item.downtimeproductPerHour = 40372
item.nodesproductPerHourDropping = 8450
elseif string.find(item.pageName,'Snake Scale') then
item.downtimeproductPerHour = 60342
item.nodesproductPerHourDropping = 8450
elseif string.find(item.pageName,'Orchid') then
item.downtimeproductPerHour = 60342
item.nodesproductPerHourDropping = 8450
elseif string.find(item.pageName,'Dock Leaf') then
item.productPerHour = nil
item.downtime = 80 -- portal back after depositing
item.nodesproductPerHourDropping = 8nil
elseif string.find(item.pageName,'Sage') then
item.productPerHour = nil
item.downtime = 120 -- portal to deposit then run back
item.nodesproductPerHourDropping = 6nil
elseif string.find(item.pageName,'Thistle') then
item.downtimeproductPerHour = 100291
item.nodesproductPerHourDropping = 6440
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,688

edits