Difference between revisions of "Module:Villagers"

Jump to navigation Jump to search
no edit summary
Line 7: Line 7:
local args = a.getArgs(frame)
local args = a.getArgs(frame)
if args[1] then
if args[1] then
local rank = com.fUpper(args[1])
local flobber = com.fUpper(args[1])
local jobs = {}
local jobs = {}


for k, v in pairs(b) do
for k, v in pairs(b) do
if v.rank == rank then
if v.rank == flobber then
-- amay4672: v.rank looks at anything called rank in Module:Buildings
-- amay4672: v.rank looks at anything called rank in Module:Buildings
-- amay4672: rank refers to input under rank in the Jobs Template
-- amay4672: rank refers to input under rank in the Jobs Template
704

edits

Navigation menu