Difference between revisions of "Module:Villagers"

Jump to navigation Jump to search
18 bytes added ,  08:30, 24 December 2023
no edit summary
Line 10: Line 10:
local jobs = {}
local jobs = {}
for k, v in pairs(b) do
for k, v in pairs(b) do
if v.rank then
if v.rank == rank then
jobs[k] = true
jobs[k] = true
end
end
end
end
mw.log(rank)
mw.logObject(jobs)
 
table.sort(jobs)
table.sort(jobs)
if #jobs > 0 then
if #jobs > 0 then

Navigation menu