Difference between revisions of "Module:OTable"

Jump to navigation Jump to search
m
no edit summary
m
m
Line 44: Line 44:
local u = string.upper(string.sub(v,1,1))
local u = string.upper(string.sub(v,1,1))
local buildingName = buildString:format(pageTitle, u .. string.sub(v, 2))
local buildingName = buildString:format(pageTitle, u .. string.sub(v, 2))
local buildingType = buildString:format(pageTitle, u .. string.sub(v, 2))
local c = buildingList[v]
local c = buildingList[v]
local getUnlocks = {}
local getUnlocks = {}
Line 58: Line 59:
local unlocks = ''
local unlocks = ''
for k, v in ipairs(getUnlocks) do
for k, v in ipairs(getUnlocks) do
Unlocks = Unlocks .. v
unlocks = unlocks .. v
if k ~= #getUnlocks then
if k ~= #getUnlocks then
Unlocks = Unlocks .. '<br />'
unlocks = unlocks .. '<br />'
end
end
end
end
606

edits

Navigation menu