17,101
edits
(getSlayerAreaTable: Use same logic as Template:SlayerAreaBox for area effect descriptions) |
(Obey in-game display order for area tables) |
||
Line 30: | Line 30: | ||
result = result..'\r\n!colspan="2"|Zone!!Difficulty!!Lowest Monster Level!!Highest Monster Level' | result = result..'\r\n!colspan="2"|Zone!!Difficulty!!Lowest Monster Level!!Highest Monster Level' | ||
for i, | for i, areaIdx in ipairs(AreaData.displayOrder.combatAreas) do | ||
local area = CombatAreas.getAreaByID('combat', areaIdx) | |||
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}) | ||
Line 52: | Line 53: | ||
result = result..'\r\n!colspan="2"|Zone!!Difficulty!!Highest Monster Level!!Requirements!!Area Effect' | result = result..'\r\n!colspan="2"|Zone!!Difficulty!!Highest Monster Level!!Requirements!!Area Effect' | ||
for i, | for i, areaIdx in ipairs(AreaData.displayOrder.slayerAreas) do | ||
local area = CombatAreas.getAreaByID('slayer', areaIdx) | |||
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}) | ||
Line 130: | Line 132: | ||
result = result..'\r\n!colspan="2"|Dungeon!!Difficulty!!Monsters!!Boss Level!!Reward(s)!!Boss Pet' | result = result..'\r\n!colspan="2"|Dungeon!!Difficulty!!Monsters!!Boss Level!!Reward(s)!!Boss Pet' | ||
for i, | for i, dungIdx in ipairs(AreaData.displayOrder.dungeons) do | ||
local dung = CombatAreas.getAreaByID('dungeon', dungIdx) | |||
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}) |