From fc744a0c09be903d956efd18646968fa89df087f Mon Sep 17 00:00:00 2001 From: lordlork Date: Mon, 13 Nov 2023 15:47:01 -0300 Subject: [PATCH 1/2] Changed law of corrientes and entre rios --- common/history/countries/arg - argentina.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/history/countries/arg - argentina.txt b/common/history/countries/arg - argentina.txt index a7c51054c..77b0c21e3 100644 --- a/common/history/countries/arg - argentina.txt +++ b/common/history/countries/arg - argentina.txt @@ -65,7 +65,7 @@ add_technology_researched = stock_exchange effect_starting_politics_conservative = yes - activate_law = law_type:law_wealth_voting + activate_law = law_type:law_autocracy activate_law = law_type:law_presidential_republic activate_law = law_type:law_freedom_of_conscience activate_law = law_type:law_racial_segregation @@ -117,7 +117,7 @@ add_technology_researched = stock_exchange effect_starting_politics_conservative = yes - activate_law = law_type:law_wealth_voting + activate_law = law_type:law_autocracy activate_law = law_type:law_presidential_republic activate_law = law_type:law_freedom_of_conscience activate_law = law_type:law_racial_segregation From 49b0c80fe5cd59d63d0e98633bfafed91dc3600d Mon Sep 17 00:00:00 2001 From: lordlork Date: Mon, 13 Nov 2023 15:55:13 -0300 Subject: [PATCH 2/2] Changed strategy of Entre Rios so they conquer Buenos Aires --- common/ai_strategies/00_default_strategy.txt | 42 +++++++++++++++++++- common/history/ai/00_strategy.txt | 16 ++------ 2 files changed, 45 insertions(+), 13 deletions(-) diff --git a/common/ai_strategies/00_default_strategy.txt b/common/ai_strategies/00_default_strategy.txt index 1e8f88550..1d76dbd26 100644 --- a/common/ai_strategies/00_default_strategy.txt +++ b/common/ai_strategies/00_default_strategy.txt @@ -565,8 +565,22 @@ ai_strategy_default = { } } add = 1 + } + + # Entre Rios (or the Confederation leader) should be confident against owner of Buenos AIres to unify Argentina + if = { + limit = { + has_journal_entry = je_argentina_constitution + THIS = c:ENT + scope:target_country = { + any_scope_state = { + state_region = s:STATE_BUENOS_AIRES + } + } + } + add = 5 } - + # Ottomans should be extremely confident against owners of Syria and Egypt when they have the relevant JE's if = { limit = { @@ -960,6 +974,20 @@ ai_strategy_default = { add = 25 } + # Extra aggression against Buenos Aires for reunification + if = { + limit = { + has_journal_entry = je_argentina_constitution + THIS = c:ENT + scope:target_country = { + any_scope_state = { + state_region = s:STATE_BUENOS_AIRES + } + } + } + add = 100 + } + # Veiled Protectorate if = { limit = { @@ -3593,6 +3621,18 @@ ai_strategy_default = { } add = 500 } + + #Entre Rios should try to conquer Buenos Aires + if = { + limit = { + this = c:ENT + has_variable = je_argentina_constitution + scope:target_country = { + c:BUE = this + } + } + add = 100 + } multiply = { value = "ai_ideological_opinion(scope:target_country)" diff --git a/common/history/ai/00_strategy.txt b/common/history/ai/00_strategy.txt index 7f56c0056..fed4d217b 100644 --- a/common/history/ai/00_strategy.txt +++ b/common/history/ai/00_strategy.txt @@ -168,19 +168,11 @@ set_strategy = ai_strategy_conservative_agenda } if = { - limit = { exists = c:BUE } - c:BUE = { + limit = { exists = c:ENT } + c:ENT = { set_strategy = ai_strategy_territorial_expansion - set_strategy = ai_strategy_resource_expansion - set_strategy = ai_strategy_conservative_agenda - } - } - else_if = { - limit = { exists = c:ARG } - c:ARG = { - set_strategy = ai_strategy_territorial_expansion - set_strategy = ai_strategy_resource_expansion - set_strategy = ai_strategy_conservative_agenda + set_strategy = ai_strategy_agricultural_expansion + set_strategy = ai_strategy_progressive_agenda } } }