Module:Sandbox/GauTest/Township: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 926: Line 926:
function p.GetWorshipTable()
function p.GetWorshipTable()
local function GetCheckpointCell(checkpoint)
local function GetCheckpointCell(checkpoint)
return '\r\n|-\r\n!'..checkpoint..'%<br>'..Icons.Icon({'Worship', type=township, notext=true})..' '..(checkpoint*Township.maxWorship)..'/'..Township.maxWorship
return '\r\n|-\r\n!'..checkpoint..'%<br>'..Icons.Icon({'Worship', type='township', notext=true})..' '..(checkpoint*Township.maxWorship)..'/'..Township.maxWorship
end
end
Line 972: Line 972:
end
end
end
end
table.insert(ret, '\r\n|'..Constants.getModifiersText(modifiers))
end
end
table.insert(ret, '\r\n|'..Constants.getModifiersText(modifiers))
end
end
end
end
572

edits