Hello Everyone. I have been modding Paradox games for a long time but I went into a far greater level of AI adjustments than I have ever done but seem to have failed. What I intended to do was get the AI to at least be interested in taking states with pops they would accept, but for some reason it seems all my changes were for not. If I could get some help on this matter from someone far more expert than me I would be thankful.
Notes:
Computer seems to address the code and the game is indeed slower
AI seems not to care about the changes as it seems no more interested in taking states than it did prior.
Sample of code (full file attached below):
Notes:
Computer seems to address the code and the game is indeed slower
AI seems not to care about the changes as it seems no more interested in taking states than it did prior.
Sample of code (full file attached below):
#Protestant German Nationalism - South Germans are Catholic Heritics
if = {
limit = {
country_has_primary_culture = cu:north_german
has_law = law_type:law_state_religion
scope:target_country = {
any_scope_state = {
state_region = {
OR = {
is_homeland = cu:north_german
culture_percent_state = {
target = cu:north_german
value >= 0.33
}
}
}
}
}
}
multiply = 5
if = {
has_law = law_type:law_ethnostate
multiply = 500
}
if = {
has_law = law_type:law_national_supremacy
multiply = 50
}
if = {
has_technology_researched = nationalism
multiply = 50
}
if = {
has_technology_researched = pan-nationalism
multiply = 500
}
}
#Catholic German Nationalism - North Germans are Protestant Heritics
if = {
limit = {
OR = {
country_has_primary_culture = cu:south_german
country_has_primary_culture = cu:alemannic
}
NOT = { has_law = law_type:law_ethnostate }
has_law = law_type:law_state_religion
scope:target_country = {
any_scope_state = {
state_region = {
OR = {
is_homeland = cu:south_german
is_homeland = cu:alemannic
culture_percent_state = {
target = cu:south_german
value >= 0.33
}
culture_percent_state = {
target = cu:alemannic
value >= 0.33
}
}
}
}
}
}
multiply = 5
if = {
has_law = law_type:law_national_supremacy
multiply = 50
}
if = {
has_technology_researched = nationalism
multiply = 50
}
if = {
has_technology_researched = pan-nationalism
multiply = 500
}
}
#Christian German Nationalism
if = {
limit = {
OR = {
country_has_primary_culture = cu:north_german
country_has_primary_culture = cu:south_german
country_has_primary_culture = cu:alemannic
}
OR = {
has_law = law_type:law_freedom_of_conscience
has_law = law_type:law_total_separation
}
scope:target_country = {
any_scope_state = {
state_region = {
OR = {
is_homeland = cu:north_german
is_homeland = cu:south_german
is_homeland = cu:alemannic
culture_percent_state = {
target = cu:north_german
value >= 0.33
}
culture_percent_state = {
target = cu:south_german
value >= 0.33
}
culture_percent_state = {
target = cu:alemannic
value >= 0.33
}
}
}
}
}
}
multiply = 5
if = {
has_law = law_type:law_national_supremacy
multiply = 50
}
if = {
has_technology_researched = nationalism
multiply = 50
}
if = {
has_technology_researched = pan-nationalism
multiply = 500
}
}
if = {
limit = {
country_has_primary_culture = cu:north_german
has_law = law_type:law_state_religion
scope:target_country = {
any_scope_state = {
state_region = {
OR = {
is_homeland = cu:north_german
culture_percent_state = {
target = cu:north_german
value >= 0.33
}
}
}
}
}
}
multiply = 5
if = {
has_law = law_type:law_ethnostate
multiply = 500
}
if = {
has_law = law_type:law_national_supremacy
multiply = 50
}
if = {
has_technology_researched = nationalism
multiply = 50
}
if = {
has_technology_researched = pan-nationalism
multiply = 500
}
}
#Catholic German Nationalism - North Germans are Protestant Heritics
if = {
limit = {
OR = {
country_has_primary_culture = cu:south_german
country_has_primary_culture = cu:alemannic
}
NOT = { has_law = law_type:law_ethnostate }
has_law = law_type:law_state_religion
scope:target_country = {
any_scope_state = {
state_region = {
OR = {
is_homeland = cu:south_german
is_homeland = cu:alemannic
culture_percent_state = {
target = cu:south_german
value >= 0.33
}
culture_percent_state = {
target = cu:alemannic
value >= 0.33
}
}
}
}
}
}
multiply = 5
if = {
has_law = law_type:law_national_supremacy
multiply = 50
}
if = {
has_technology_researched = nationalism
multiply = 50
}
if = {
has_technology_researched = pan-nationalism
multiply = 500
}
}
#Christian German Nationalism
if = {
limit = {
OR = {
country_has_primary_culture = cu:north_german
country_has_primary_culture = cu:south_german
country_has_primary_culture = cu:alemannic
}
OR = {
has_law = law_type:law_freedom_of_conscience
has_law = law_type:law_total_separation
}
scope:target_country = {
any_scope_state = {
state_region = {
OR = {
is_homeland = cu:north_german
is_homeland = cu:south_german
is_homeland = cu:alemannic
culture_percent_state = {
target = cu:north_german
value >= 0.33
}
culture_percent_state = {
target = cu:south_german
value >= 0.33
}
culture_percent_state = {
target = cu:alemannic
value >= 0.33
}
}
}
}
}
}
multiply = 5
if = {
has_law = law_type:law_national_supremacy
multiply = 50
}
if = {
has_technology_researched = nationalism
multiply = 50
}
if = {
has_technology_researched = pan-nationalism
multiply = 500
}
}