2,875
edits
No edit summary |
No edit summary |
||
Line 89: | Line 89: | ||
end | end | ||
function p._getObstacleRequirements(obstacle) | |||
local resultPart = {} | local resultPart = {} | ||
local requirements = p.getObstacleRequirements(obstacle) | local requirements = p.getObstacleRequirements(obstacle) | ||
Line 100: | Line 100: | ||
end | end | ||
function p._getObstacleCosts(obstacle) | |||
local costs = {} | local costs = {} | ||
local obstacleCosts = p.getObstacleCosts(obstacle) | local obstacleCosts = p.getObstacleCosts(obstacle) | ||
Line 167: | Line 167: | ||
--Grabbing requirements to create | --Grabbing requirements to create | ||
result = result..'|| ' .. | result = result..'|| ' .. p._getObstacleRequirements(obst) | ||
--Finally, the cost | --Finally, the cost | ||
result = result..'|| data-sort-value="'..obst.gpCost..'"|'.. | result = result..'|| data-sort-value="'..obst.gpCost..'"|'..p._getObstacleCosts(obst) | ||
end | end | ||
Line 201: | Line 201: | ||
--Finally, the cost | --Finally, the cost | ||
result = result..'|| data-sort-value="'..pill.gpCost..'"|'.. | result = result..'|| data-sort-value="'..pill.gpCost..'"|'.. p._getObstacleCosts(pill) | ||
end | end | ||
edits