572
edits
No edit summary |
No edit summary |
||
Line 325: | Line 325: | ||
-- Absolute delta so doesn't apply to buildings | -- Absolute delta so doesn't apply to buildings | ||
population = {modifiers = {'increasedTownshipPopulationCap', 'decreasedTownshipPopulationCap'}}, | population = {modifiers = {'increasedTownshipPopulationCap', 'decreasedTownshipPopulationCap'}}, | ||
-- technically this should go in p.stats, but we don't want to bloat the main modifier table | |||
happiness = {name='Happiness', modifiers = {'increasedTownshipHappiness', 'decreasedTownshipHappiness', 'increasedTownshipBuildingHappinessPenalties', 'decreasedTownshipBuildingHappinessPenalties'}}, | |||
} | } | ||
p.stats = { | p.stats = { | ||
happiness = {name='Happiness', modifiers = { | happiness = {name='Happiness', modifiers = {}}, -- technically there are happiness modifiers that apply to all buildings, but we don't want it to bloat the table | ||
education = {name='Education', modifiers = {'increasedTownshipEducation', 'decreasedTownshipEducation'}}, | education = {name='Education', modifiers = {'increasedTownshipEducation', 'decreasedTownshipEducation'}}, | ||
health = {name='Health', modifiers = {'increasedTownshipHealth', 'decreasedTownshipHealth'}}, | health = {name='Health', modifiers = {'increasedTownshipHealth', 'decreasedTownshipHealth'}}, |
edits