ChileNation
ChileNation
chile_nation = {
major = yes
potential = {
NOT = { has_country_flag = changed_from_colonial_nation }
was_never_end_game_tag_trigger = yes
is_nomad = no
is_random_new_world = no
NOT = { tag = HLR }
NOT = { tag = PAP }
OR = {
is_former_colonial_nation = yes
is_colonial_nation = yes
AND = {
NOT = {
OR = {
technology_group = north_american
technology_group = mesoamerican
technology_group = andean
technology_group = high_american
technology_group = south_american
}
}
capital_scope = {
colonial_region = colonial_la_plata
is_core = ROOT
}
}
}
colonial_la_plata = {
owned_by = ROOT
}
OR = {
ai = no
AND = {
ai = yes
num_of_cities = 3
}
}
}
provinces_to_highlight = {
OR = {
area = central_chile_area
area = southern_chile_area
area = northern_chile_area
}
OR = {
NOT = { owned_by = ROOT }
is_city = no
}
}
allow = {
adm_tech = 10
is_free_or_tributary_trigger = yes
is_at_war = no
NOT = { exists = CHL }
num_of_owned_provinces_with = {
value = 5
is_city = yes
OR = {
area = central_chile_area
area = southern_chile_area
area = northern_chile_area
}
}
}
effect = {
hidden_effect = {
if = {
limit = {
NOT = { is_former_colonial_nation = yes }
}
ROOT = { save_event_target_as = old_tag_target }
set_country_flag = was_not_former_colonial_nation
}
}
change_tag = CHL
on_change_tag_effect = yes
if = {
limit = {
NOT = { is_former_colonial_nation = yes }
}
restore_old_nation_on_formation_effect = yes
remove_non_electors_emperors_from_empire_effect = yes
}
if = {
limit = {
NOT = { government_rank = 2 }
}
set_government_rank = 2
}
colonial_la_plata = {
limit = {
NOT = { owned_by = ROOT }
}
add_permanent_claim = CHL
}
add_country_modifier = {
name = "centralization_modifier"
duration = 7300
}
#can't have more than one elective monarchy in the game
if = {
limit = {
has_reform = elective_monarchy
}
change_government = monarchy
add_government_reform = feudalism_reform
}
add_prestige = 25
set_country_flag = changed_from_colonial_nation
}
ai_will_do = {
factor = 1
}
}
}