Module:Sandbox/User:Alsang/NodeDescriptionChecker: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
(set up table for leatherworker specifically)
m (downtime for leatherworker)
Line 163: Line 163:
item.profitPerXP = item.profit and item.XP and math.floor(item.profit / item.XP * 100) / 100
item.profitPerXP = item.profit and item.XP and math.floor(item.profit / item.XP * 100) / 100


-- potions made in 200 lots of 0.005, no downtime for passive activities
-- a lot of downtime in leatherworker
-- 1min 40s to go from hide stall to tannery, run round the tannery, run to leather stall, then back to hide stall
local batchSize = 200
local downtime = 0
local batchSize = 24
local downtime = 100
item.duration = item.duration and item.duration + downtime/batchSize
item.duration = item.duration and item.duration + downtime/batchSize
item.potionPerHour = item.duration and 1 / item.duration * 3600
item.potionPerHour = item.duration and 1 / item.duration * 3600