Anonymous

Module:Sandbox/GauTest/Township: Difference between revisions

From Melvor Idle
no edit summary
No edit summary
No edit summary
Line 941: Line 941:
-- Requirements
-- Requirements
-- Hard-coded because there's only 1 requirement
table.insert(ret, '\r\n|-\r\n!Requirements')
table.insert(ret, '\r\n|-\r\n!Requirements')
local requirements = {
local requirements = {
Line 948: Line 949:
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('\r\n|'..requirement)
table.insert(ret, '\r\n|'..requirement)
end
end
end
end
572

edits