4,951
edits
Falterfire (talk | contribs) (Added slayer area effect to getMonsterAreas to try out) |
Falterfire (talk | contribs) (Formatting tweak) |
||
Line 315: | Line 315: | ||
if area.type ~= 'dungeon' or not hideDungeons then | if area.type ~= 'dungeon' or not hideDungeons then | ||
local imgType = (area.type == 'slayerArea' and 'combatArea') or area.type | local imgType = (area.type == 'slayerArea' and 'combatArea') or area.type | ||
local txt = Icons.Icon({area.name, type = imgType}) | |||
if area.type == 'slayerArea' then | if area.type == 'slayerArea' then | ||
local areaDescrip = Areas._getAreaStat(area, 'areaEffectDesc') | local areaDescrip = Areas._getAreaStat(area, 'areaEffectDesc') | ||
if areaDescrip ~= 'None' then | if areaDescrip ~= 'None' then | ||
txt = txt.." - ''"..areaDescrip.."''" | |||
end | end | ||
end | end | ||
table.insert(resultPart, txt) | |||
end | end | ||
end | end |