2,869
edits
No edit summary |
No edit summary |
||
Line 185: | Line 185: | ||
return tostring(html) | return tostring(html) | ||
end | end | ||
Line 260: | Line 255: | ||
for _, obstacle in pairs(courseRequirements.Obstacles) do | for _, obstacle in pairs(courseRequirements.Obstacles) do | ||
tbl :tag('tr') | tbl :tag('tr') | ||
:tag('td'):wikitext(obstacle.Slot) | :tag('td') | ||
:css('text-align', 'right') | |||
:wikitext(obstacle.Slot) | |||
:tag('td'):wikitext(Icons.Icon({obstacle.Name, type='agility'})) | :tag('td'):wikitext(Icons.Icon({obstacle.Name, type='agility'})) | ||
:tag('td'):wikitext(getBonusses(obstacle.Obstacle)) | :tag('td'):wikitext(getBonusses(obstacle.Obstacle)) | ||
Line 267: | Line 264: | ||
end | end | ||
if showTotals == true then | |||
tbl :tag('tr') | |||
:tag('th') | |||
:css('rowspan', 2) | |||
:wikitext('Totals') | |||
:tag('td') | |||
:wikitext('total bonusses...') | |||
:tag('td') | |||
:wikitext(getRequirements(courseRequirements.CourseLevelRequirements)) | |||
:tag('td') | |||
:wikitext(getCosts(courseRequirements.CourseItemCosts)) | |||
end | |||
--local obstacleInfo = { | --local obstacleInfo = { | ||
--Name = obstacle.name, | --Name = obstacle.name, |
edits