Anonymous

Module:Sandbox/GauTest/ModifierTables: Difference between revisions

From Melvor Idle
no edit summary
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.val < 0 and 'red' or 'green'
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 = ''
572

edits