572
edits
No edit summary |
No edit summary |
||
Line 932: | Line 932: | ||
table.insert(ret, '\r\n{| class="wikitable" style="text-align:left"') | table.insert(ret, '\r\n{| class="wikitable" style="text-align:left"') | ||
table.insert(ret, '\r\n!'..Icons.Icon({'Worship', type='township'})) | table.insert(ret, '\r\n!'..Icons.Icon({'Worship', type='township', nolink=true})) | ||
-- Names | -- Names | ||
for _, worship in ipairs(Township.worships) do | for _, worship in ipairs(Township.worships) do | ||
Line 939: | Line 939: | ||
end | end | ||
end | end | ||
-- Requirements | |||
table.insert(ret, '\r\n|-\r\n!Requirements') | |||
local requirements = { | |||
['melvorF:Bane'] = Icons.Icon({'Impending Darkness Event', type='dungeon'})..' completed' | |||
} | |||
for _, worship in ipairs(Township.worships) do | |||
if worship.isHidden == false then | |||
local requirement = requirements[worship.id] ~= nil and requirements[worship.id] or 'None' | |||
table.insert('\r\n|'..requirement) | |||
end | |||
end | |||
-- Base modifiers | -- Base modifiers | ||
table.insert(ret, GetCheckpointCell(0)) | table.insert(ret, GetCheckpointCell(0)) | ||
Line 947: | Line 960: | ||
end | end | ||
end | end | ||
-- Checkpoint modifiers | -- Checkpoint modifiers | ||
for i, checkpoint in ipairs(Township.worshipCheckpoints) do | for i, checkpoint in ipairs(Township.worshipCheckpoints) do |
edits