From ddfb34bf33f59aa52cac3f22ab60c824484cae53 Mon Sep 17 00:00:00 2001 From: wvpm <24685035+wvpm@users.noreply.github.com> Date: Sat, 13 Jan 2024 11:54:11 +0100 Subject: Moved westernisation cost modifiers and added some to no effect --- src/openvic-simulation/misc/Modifier.cpp | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'src/openvic-simulation/misc/Modifier.cpp') diff --git a/src/openvic-simulation/misc/Modifier.cpp b/src/openvic-simulation/misc/Modifier.cpp index 0844681..8abafe3 100644 --- a/src/openvic-simulation/misc/Modifier.cpp +++ b/src/openvic-simulation/misc/Modifier.cpp @@ -201,6 +201,8 @@ bool ModifierManager::setup_modifier_effects() { ret &= add_modifier_effect("rgo_output", true); ret &= add_modifier_effect("rgo_throughput", true); ret &= add_modifier_effect("ruling_party_support", true); + ret &= add_modifier_effect("self_unciv_economic_modifier", false); + ret &= add_modifier_effect("self_unciv_military_modifier", false); ret &= add_modifier_effect("social_reform_desire", false); ret &= add_modifier_effect("soldier_to_pop_loss", true); ret &= add_modifier_effect("supply_consumption", false); @@ -209,6 +211,8 @@ bool ModifierManager::setup_modifier_effects() { ret &= add_modifier_effect("tariff_efficiency_modifier", true); ret &= add_modifier_effect("tax_efficiency", true); ret &= add_modifier_effect("unemployment_benefit", true); + ret &= add_modifier_effect("unciv_economic_modifier", false); + ret &= add_modifier_effect("unciv_military_modifier", false); ret &= add_modifier_effect("unit_recruitment_time", false); ret &= add_modifier_effect("war_exhaustion", false); @@ -369,12 +373,11 @@ key_value_callback_t ModifierManager::_modifier_effect_callback( if (effect_validator(*effect)) { static const case_insensitive_string_set_t no_effect_modifiers { - "boost_strongest_party", "poor_savings_modifier", "poor_life_needs", - "poor_everyday_needs", "poor_luxury_needs", "middle_life_needs", - "middle_everyday_needs", "middle_luxury_needs", "rich_life_needs", - "rich_everyday_needs", "rich_luxury_needs", "local_artisan_input", - "local_artisan_throughput", "local_artisan_output", "artisan_input", - "artisan_throughput", "artisan_output", "import_cost" + "boost_strongest_party", "poor_savings_modifier", "poor_life_needs", "poor_everyday_needs", + "poor_luxury_needs", "middle_life_needs", "middle_everyday_needs", "middle_luxury_needs", + "rich_life_needs", "rich_everyday_needs", "rich_luxury_needs", "local_artisan_input", + "local_artisan_throughput", "local_artisan_output", "artisan_input", "artisan_throughput", + "artisan_output", "import_cost", "unciv_economic_modifier", "unciv_military_modifier" }; if (no_effect_modifiers.contains(effect->get_identifier())) { Logger::warning("This modifier does nothing: ", effect->get_identifier()); -- cgit v1.2.3-56-ga3b1