diff options
author | wvpm <24685035+wvpm@users.noreply.github.com> | 2024-01-13 11:54:11 +0100 |
---|---|---|
committer | wvpm <24685035+wvpm@users.noreply.github.com> | 2024-01-13 11:54:11 +0100 |
commit | ddfb34bf33f59aa52cac3f22ab60c824484cae53 (patch) | |
tree | 31541a9a04e82e26d6347b759aa0bc001da7e8a9 /src/openvic-simulation/research/Technology.cpp | |
parent | 7b5a960ee9fce4241f83e5217bcf8f43af99f330 (diff) |
Moved westernisation cost modifiers and added some to no effect
Diffstat (limited to 'src/openvic-simulation/research/Technology.cpp')
-rw-r--r-- | src/openvic-simulation/research/Technology.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/openvic-simulation/research/Technology.cpp b/src/openvic-simulation/research/Technology.cpp index 4271d48..1d209ba 100644 --- a/src/openvic-simulation/research/Technology.cpp +++ b/src/openvic-simulation/research/Technology.cpp @@ -153,14 +153,6 @@ bool TechnologyManager::load_technologies_file( bool TechnologyManager::generate_modifiers(ModifierManager& modifier_manager) const { bool ret = true; - const auto unciv_tech_modifier = [&modifier_manager, &ret](std::string_view name) -> void { - ret &= modifier_manager.add_modifier_effect(name, false); - ret &= modifier_manager.add_modifier_effect(StringUtils::append_string_views("self_", name), false); - }; - - unciv_tech_modifier("unciv_military_modifier"); - unciv_tech_modifier("unciv_economic_modifier"); - for (TechnologyFolder const& folder : get_technology_folders()) { ret &= modifier_manager.add_modifier_effect( StringUtils::append_string_views(folder.get_identifier(), "_research_bonus"), true |