Anonymous

Module:Prayer: Difference between revisions

From Melvor Idle
m
Reduce icon size
(Add soul points table)
m (Reduce icon size)
Line 155: Line 155:
local reqText = Skills.getRecipeRequirementText(skillID, prayer)
local reqText = Skills.getRecipeRequirementText(skillID, prayer)
result = result..'\r\n|-'
result = result..'\r\n|-'
result = result..'\r\n|'..Icons.Icon({prayer.name, type='prayer', notext=true, size='50'})
result = result..'\r\n|'..Icons.Icon({prayer.name, type='prayer', notext=true})
result = result..'||' .. Icons.getExpansionIcon(prayer.id) .. Icons.Icon({prayer.name, type='prayer', noicon=true})
result = result..'||' .. Icons.getExpansionIcon(prayer.id) .. Icons.Icon({prayer.name, type='prayer', noicon=true})
result = result..'||style="text-align:right;" data-sort-value="' .. level .. '"| ' .. reqText
result = result..'||style="text-align:right;" data-sort-value="' .. level .. '"| ' .. reqText
Line 175: Line 175:
for i, item in ipairs(itemArray) do
for i, item in ipairs(itemArray) do
result = result..'\r\n|-'
result = result..'\r\n|-'
result = result..'\r\n|'..Icons.Icon({item.name, type='item', notext=true, size='50'})
result = result..'\r\n|'..Icons.Icon({item.name, type='item', notext=true})
result = result..'||' .. Icons.getExpansionIcon(item.id) .. Icons.Icon({item.name, type='item', noicon=true})
result = result..'||' .. Icons.getExpansionIcon(item.id) .. Icons.Icon({item.name, type='item', noicon=true})
result = result..'||style="text-align:right;"|'..Shared.formatnum(item.prayerPoints)
result = result..'||style="text-align:right;"|'..Shared.formatnum(item.prayerPoints)
Line 195: Line 195:
for i, item in ipairs(itemArray) do
for i, item in ipairs(itemArray) do
result = result..'\r\n|-'
result = result..'\r\n|-'
result = result..'\r\n|'..Icons.Icon({item.name, type='item', notext=true, size='50'})
result = result..'\r\n|'..Icons.Icon({item.name, type='item', notext=true})
result = result..'||' .. Icons.getExpansionIcon(item.id) .. Icons.Icon({item.name, type='item', noicon=true})
result = result..'||' .. Icons.getExpansionIcon(item.id) .. Icons.Icon({item.name, type='item', noicon=true})
result = result..'||style="text-align:right;"|'..Shared.formatnum(item.soulPoints)
result = result..'||style="text-align:right;"|'..Shared.formatnum(item.soulPoints)
2,875

edits