2,875
edits
(_getObstacleLevel: Remove in favour of getRecipeLevel from Module:Skills) |
No edit summary |
||
Line 15: | Line 15: | ||
function p.getObstacle(name) | function p.getObstacle(name) | ||
return GameData.getEntityByName(SkillData.Agility.obstacles, name) | return GameData.getEntityByName(SkillData.Agility.obstacles, name) | ||
end | |||
function p.getPillar(name) | |||
local result = p.getPillars( | |||
function(x) | |||
return x.name == name | |||
end | |||
) | |||
return result[1] | |||
end | end | ||
edits