17,105
edits
Falterfire (talk | contribs) (Fixed Combat & Slayer area tables breaking) |
(Substitute links with Icons.Icon() where possible to benefit from ambiguous link handling) |
||
Line 47: | Line 47: | ||
for i, area in Shared.skpairs(combatAreas) do | for i, area in Shared.skpairs(combatAreas) do | ||
result = result..'\r\n|-' | result = result..'\r\n|-' | ||
result = result..'\r\n|'..Icons.Icon({area.name, type='combat', size='50', notext=true})..'|| | result = result..'\r\n|'..Icons.Icon({area.name, type='combat', size='50', notext=true}) | ||
result = result..'||'..Icons.Icon({area.name, type='combat', noicon=true}) | |||
local diff1 = Constants.getDifficultyString(area.difficulty[1]) | local diff1 = Constants.getDifficultyString(area.difficulty[1]) | ||
local diff2 = Constants.getDifficultyString(area.difficulty[2]) | local diff2 = Constants.getDifficultyString(area.difficulty[2]) | ||
Line 83: | Line 84: | ||
for i, area in Shared.skpairs(slayerAreas) do | for i, area in Shared.skpairs(slayerAreas) do | ||
result = result..'\r\n|-' | result = result..'\r\n|-' | ||
result = result..'\r\n|'..Icons.Icon({area.name, type='slayer', size='50', notext=true})..'|| | result = result..'\r\n|'..Icons.Icon({area.name, type='slayer', size='50', notext=true}) | ||
result = result..'||'..Icons.Icon({area.name, type='slayer', noicon=true}) | |||
local diff1 = Constants.getDifficultyString(area.difficulty[1]) | local diff1 = Constants.getDifficultyString(area.difficulty[1]) | ||
local diff2 = Constants.getDifficultyString(area.difficulty[2]) | local diff2 = Constants.getDifficultyString(area.difficulty[2]) | ||
Line 167: | Line 169: | ||
result = result..'\r\n|-' | result = result..'\r\n|-' | ||
result = result..'\r\n|data-sort-value="'..dung.name..'"|'..Icons.Icon({dung.name, type='dungeon', size='50', notext=true}) | result = result..'\r\n|data-sort-value="'..dung.name..'"|'..Icons.Icon({dung.name, type='dungeon', size='50', notext=true}) | ||
result = result..'|| | result = result..'||'..Icons.Icon({dung.name, type='dungeon', noicon=true}) | ||
result = result..'||data-sort-value="'..dung.difficulty[1]..'"|'..CombatAreas._getAreaStat(dung, 'difficulty') | result = result..'||data-sort-value="'..dung.difficulty[1]..'"|'..CombatAreas._getAreaStat(dung, 'difficulty') | ||
result = result..'||'..Shared.tableCount(dung.monsters) | result = result..'||'..Shared.tableCount(dung.monsters) |