2,875
edits
No edit summary |
No edit summary |
||
Line 60: | Line 60: | ||
end | end | ||
if obstacle.scCost > 0 then | if obstacle.scCost > 0 then | ||
concatItemRequirements(itemRequirements, ' | concatItemRequirements(itemRequirements, 'SC', obstacle.scCost) | ||
end | end | ||
Line 144: | Line 144: | ||
local courseRequirements = p.calculateCourse(obstacleNames, true) | local courseRequirements = p.calculateCourse(obstacleNames, true) | ||
return Debug.toString(courseRequirements) | return '<pre>' .. Debug.toString(courseRequirements) .. '</pre>' | ||
end | end | ||
function p.test() | function p.test() | ||
mw.log( p._main({ | |||
'Cargo Net','Balance Beam','Pipe Climb' | |||
})) | |||
end | end | ||
return p | return p |
edits