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 |
||
-- |
-- 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 |
local batchSize = 24 |
||
⚫ | |||
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 |