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

Jump to navigation Jump to search
Content added Content deleted
(Initialise for Carpenter list to track exactly how little I need to change)
 
(Only have to change the station name, manually exclude posts, and change the downtime. Table is lacking because information is lacking.)
Line 13: Line 13:
-- other parameters are determined by subqueries of chained pages
-- other parameters are determined by subqueries of chained pages
local query = {
local query = {
'[[Uses facility::Standard Potion Station||Potent Potion Station]]',
'[[Uses facility::Circular Saw||Wood Lathe]]',
'[[Name::!~*Post]]',
'?Profession Level A = lvl',
'?Profession Level A = lvl',
'? #- = name',
'? #- = name',
Line 132: Line 133:
-- 40 seconds to buy new supplies and travel and deposit and everything, per 12 potions
-- 40 seconds to buy new supplies and travel and deposit and everything, per 12 potions
local batchSize = 12
local batchSize = 12
local downtime = 40
local downtime = 60
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