Module:Skills/Agility: Difference between revisions

Added IDs to Agility Obstacle table to allow forcibly linking to specific obstacles
(Use printError function)
(Added IDs to Agility Obstacle table to allow forcibly linking to specific obstacles)
Line 115: Line 115:
catLog[obst.category] = true
catLog[obst.category] = true
end
end
result = result .. Icons.getExpansionIcon(obst.id) .. obst.name
result = result .. 'id="'..string.gsub(obst.name,' ', '')..'"|'.. Icons.getExpansionIcon(obst.id) .. obst.name


--After the name & category, doing XP, GP, Time, and rates
--After the name & category, doing XP, GP, Time, and rates
Line 159: Line 159:
for i, pill in ipairs(pillars) do
for i, pill in ipairs(pillars) do
result = result..'\r\n|-'
result = result..'\r\n|-'
result = result..'\r\n|' .. Icons.getExpansionIcon(pill.id) .. pill.name
result = result..'\r\n|' .. 'id="'..string.gsub(pill.name,' ', '')..'"|'..Icons.getExpansionIcon(pill.id) .. pill.name


--After that, adding the bonuses
--After that, adding the bonuses