572
edits
No edit summary |
No edit summary |
||
Line 473: | Line 473: | ||
row.type = 'Biome' | row.type = 'Biome' | ||
row.val = biome.value | row.val = biome.value | ||
local color = biome. | local color = biome.value < 0 and 'red' or 'green' | ||
row.modifierText = '<span style="color:'..color..'">..'..Shared.numStrWithSign(biome.value)..'% Production for this Building</span>' | row.modifierText = '<span style="color:'..color..'">..'..Shared.numStrWithSign(biome.value)..'% Production for this Building</span>' | ||
row.otherModifiers = '' | row.otherModifiers = '' |
edits