Module:Sandbox/GauTest/ModifierTables: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 474: Line 474:
row.val = biome.value
row.val = biome.value
local color = biome.value < 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 = ''
Line 511: Line 511:
local row = {}
local row = {}
row.name = worship.namePercent
row.name = worship.namePercent
row.icon = Icons.Icon({worship.name, type='worship'})
row.icon = Icons.Icon({worship.namePercent , img=worship.statueName, link=worship.name, type='building'})
row.type = 'Worship'
row.type = 'Worship'
572

edits