Anonymous

Module:Township: Difference between revisions

From Melvor Idle
_getBuildingBenefitText: Fix missing building modifiers
m (Remove temporary functions)
(_getBuildingBenefitText: Fix missing building modifiers)
Line 184: Line 184:
table.insert(resultPart, resourceText(stat, 'township', quantity))
table.insert(resultPart, resourceText(stat, 'township', quantity))
end
end
end
-- Modifiers
if includeMods and building.modifiers ~= nil then
table.insert(resultPart, Constants.getModifiersText(building.modifiers))
end
end