Difference between revisions of "Module:Villagers"

Jump to navigation Jump to search
no edit summary
Tag: Manual revert
Line 12: Line 12:
for k, v in pairs(b) do
for k, v in pairs(b) do
if v.rank == rank then
if v.rank == rank then
-- amay4672: v.rank looks at anything called rank in Module:Buildings
--amay4672: looks at lines called rank in Module:Buildings and
-- matches them to what's typed into the Template box "rank".
-- Only recognises capitalised values of ranks due to com.fUpper above
jobs[k] = true
jobs[k] = true
-- amay4672: I think [k] throughout refers to the building names from Module:Buildings
-- amay4672: I think [k] throughout refers to the building names from Module:Buildings
704

edits

Navigation menu