Module:Township: Difference between revisions

no edit summary
(p.GetMapTable() created)
No edit summary
Line 749: Line 749:
local min = biomeMin[biome.biomeID]
local min = biomeMin[biome.biomeID]
local count = biome.count
local count = biome.count
local class = count == max and 'table-positive' or count == min and 'table-negative' or 'table-na'
local class = count == max and 'table-positive' or count == min and 'table-negative' or ''
-- Insert cell
-- Insert cell
table.insert(ret, '\r\n|class="'..class..'"|'..count)
table.insert(ret, '\r\n|class="'..class..'"|'..count)
572

edits