Module:Sandbox/GauTest/Township: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 338: Line 338:
-- Special modifiers
-- Special modifiers
local special_modifiers = {
local special_modifiers = {
['all_buildings'] = {modifiers={'increasedTownshipBuildingCost', 'decreasedTownshipBuildingCost'}},
-- We split this off into its own table
-- ['all_buildings'] = {modifiers={'increasedTownshipBuildingCost', 'decreasedTownshipBuildingCost'}},
['all_production'] = {modifiers={'increasedTownshipResourceProduction', 'decreasedTownshipResourceProduction'}}, --Includes GP production as well
['all_production'] = {modifiers={'increasedTownshipResourceProduction', 'decreasedTownshipResourceProduction'}}, --Includes GP production as well
['unused'] = {modifiers = {'townshipDisableHunting'}},
['unused'] = {modifiers = {'townshipDisableHunting'}},
Line 379: Line 380:
-- Building modifiers
-- Building modifiers
newModifiers = special_modifiers.all_buildings
-- newModifiers = special_modifiers.all_buildings
addModifiers(newModifiers)
-- addModifiers(newModifiers)
-- Production modifiers
-- Production modifiers
572

edits