join_confederation_rhine = {
potential = {
has_country_flag = refused_confederation_rhine
OR = {
tag = BAD
tag = BRU
tag = BAV
tag = BER
tag = HES
tag = SAX
tag = WES
tag = WUR
tag = NAS
tag = MEK
tag = OLD
tag = HRE
}
}
allow = {
exists = RHC
}
effect = {
clr_country_flag = refused_confederation_rhine
if = {
limit = {
NOT = {
tag = HRE
}
}
any_owned = {
secede_province = RHC
}
}
}
ai_will_do = {
factor = 1
modifier = {
factor = 80
alliance_with = FRA
}
modifier = {
factor = 0.01
war_with = FRA
}
modifier = {
factor = 100
any_owned_province = {
is_capital = yes
controlled_by = FRA
}
}
}
}
# RHINE CONFEDERACY
create_rhc = {
potential = {
tag = FRA
has_global_flag = dissolve_hre_flag
NOT = { has_global_flag = rhc_created }
}
allow = {
year = 1806
NOT = { exists = RHC }
controls = 486 #Frankfurt
controls = 550 #Erfurt
controls = 515 #Regensburg
controls = 499 #Würsburg
controls = 546 #Dessau
controls = 528 #Schwerin
controls = 553 #Saalfeld
}
effect = {
set_global_flag = rhc_created
release_vassal = RHC
FRA = {
country_event = 10290
}
RHC = {
define_ruler = {
name = "Napoleon Bonaparte"
picture = "FRA_NapoleonI"
MIL = 9
DIP = 7
ADM = 9
}
}
}
ai_will_do = {
factor = 1
modifier = {
factor = 100
war = yes
}
}
}