572
edits
No edit summary |
No edit summary |
||
Line 944: | Line 944: | ||
table.insert(ret, '\r\n|-\r\n!Requirements') | table.insert(ret, '\r\n|-\r\n!Requirements') | ||
local requirements = { | local requirements = { | ||
['melvorF:Bane'] = Icons.Icon({'Impending Darkness Event', type='dungeon'}) | ['melvorF:Bane'] = 'Completion of<br>'..Icons.Icon({'Impending Darkness Event', type='dungeon'}) | ||
} | } | ||
for _, worship in ipairs(Township.worships) do | for _, worship in ipairs(Township.worships) do | ||
if worship.isHidden == false then | if worship.isHidden == false then | ||
local requirement = requirements[worship.id] ~= nil and requirements[worship.id] or 'None' | local requirement = requirements[worship.id] ~= nil and requirements[worship.id] or 'None' | ||
table.insert(ret, '\r\n|'..requirement) | table.insert(ret, '\r\n|style="text-align:center|'..requirement) | ||
end | end | ||
end | end |
edits