i've posted greek unification but its my old version.
Code:
country_event = {
id = 9000010
trigger = {
NOT = { exists = GRE }
NOT = { has_country_flag = greek_nation_declined }
OR = {
culture_group = byzantine
tag = ath
tag = kni
tag = cor
}
owns = 146 # Athens
owns = 145 # Morea
war = no
}
mean_time_to_happen = {
months = 216
modifier = {
factor = 0.8
owns = 147
}
modifier = {
factor = 0.8
owns = 164
}
modifier = {
factor = 0.8
owns = 144
}
modifier = {
factor = 0.9
NOT = { centralization_decentralization = -1 }
}
modifier = {
factor = 0.9
NOT = { centralization_decentralization = -2 }
}
modifier = {
factor = 0.9
NOT = { centralization_decentralization = -3 }
}
modifier = {
factor = 1.1
centralization_decentralization = 2
}
modifier = {
factor = 1.1
centralization_decentralization = 3
}
modifier = {
factor = 1.1
centralization_decentralization = 4
}
modifier = {
factor = 0.8
idea = bureaucracy
}
}
title = "Greek Nation"
desc = "The core of what has historically been called Greece is ours and we have a rightful claim on the Greek Empire."
option = {
name = "Form Greek Nation"
ai_chance = { factor = 75 }
GRE = {
add_core = 146
add_core = 145
add_core = 146
add_core = 164
add_core = 144
}
capital = 146
centralization_decentralization = -2
merchants = 1
random_owned = {
base_tax = 1
}
prestige = 0.05
primary_culture = greek
change_tag = GRE
}
option = {
name = "Decline Greek Nation"
ai_chance = { factor = 25 }
set_country_flag = greek_nation_declined
centralization_decentralization = 2
random_owned = {
base_tax = -1
}
}
}
country_event = {
id = 9000011
trigger = {
country = GRE
owns = 151 # thrace
war = no
NOT = { has_country_flag = constantinople_capital }
}
mean_time_to_happen = {
months = 10
}
title = "Constantinople Captured"
desc = "Shall the new greek empire have its capital in Constantinople?"
option = {
name = "Move the capital"
ai_chance = { factor = 100 }
capital = 151
prestige = 10
random_owned = {
base_tax = 1
}
set_country_flag = constantinople_capital
}
option = {
name = "Stay in Athens"
ai_chance = { factor = 0 }
set_country_flag = constantinople_capital
centralization_decentralization = 2
}
}
Code:
# you are teutonic and convert away from catholic
country_event = {
id = 9000100
trigger = {
NOT = { exists = PRU }
NOT = { has_country_flag = prussian_nation_declined }
tag = teu
not = { religion = catholic }
owns = 41 # ostpreussen
owns = 42 # warmania
owns = 43 # danzig
war = no
}
mean_time_to_happen = {
months = 100
modifier = {
factor = 0.9
NOT = { centralization_decentralization = -1 }
}
modifier = {
factor = 0.9
NOT = { centralization_decentralization = -2 }
}
modifier = {
factor = 0.9
NOT = { centralization_decentralization = -3 }
}
modifier = {
factor = 1.1
centralization_decentralization = 2
}
modifier = {
factor = 1.1
centralization_decentralization = 3
}
modifier = {
factor = 1.1
centralization_decentralization = 4
}
modifier = {
factor = 0.8
idea = bureaucracy
}
}
title = Prussian Nation"
desc = "We no long follow the popes heretical faith. We are a crusading order no longer."
option = {
name = "Form Prussian Nation"
ai_chance = { factor = 75 }
centralization_decentralization = -2
merchants = 1
random_owned = {
base_tax = 1
}
prestige = 0.05
primary_culture = prussian
change_tag = pru
}
# If you want the option to decline remove the # signs.
# option = {
# name = "Decline Prussian Nation"
# ai_chance = { factor = 25 }
# set_country_flag = prussian_nation_declined
# centralization_decentralization = 2
# random_owned = {
# base_tax = -1
# }
}
}
# for brandenburg, so you can be catholic and form prussia if you want.
country_event = {
id = 9000100
trigger = {
NOT = { exists = PRU }
NOT = { has_country_flag = prussian_nation_declined }
tag = BRA
owns = 41 # ostpreussen
owns = 42 # warmania
owns = 43 # danzig
war = no
}
mean_time_to_happen = {
months = 100
modifier = {
factor = 0.9
NOT = { centralization_decentralization = -1 }
}
modifier = {
factor = 0.9
NOT = { centralization_decentralization = -2 }
}
modifier = {
factor = 0.9
NOT = { centralization_decentralization = -3 }
}
modifier = {
factor = 1.1
centralization_decentralization = 2
}
modifier = {
factor = 1.1
centralization_decentralization = 3
}
modifier = {
factor = 1.1
centralization_decentralization = 4
}
modifier = {
factor = 0.8
idea = bureaucracy
}
}
title = Prussian Nation"
desc = "We have captured the home of the teutonic order. We have claims on a new empre."
option = {
name = "Form Prussian Nation"
ai_chance = { factor = 75 }
PRU = {
add_core = 41
add_core = 42
add_core = 43
}
centralization_decentralization = -2
merchants = 1
set_country_flag = berlin_capital # brandenburg already has this as the capital.
random_owned = {
base_tax = 1
}
prestige = 0.05
primary_culture = prussian
change_tag = pru
}
# If you want the option to decline remove the # signs.
# option = {
# name = "Decline Prussian Nation"
# ai_chance = { factor = 25 }
# set_country_flag = prussian_nation_declined
# centralization_decentralization = 2
# random_owned = {
# base_tax = -1
# }
}
}
country_event = {
id = 9000102
trigger = {
country = PRU
owns = 50 # berlin
war = no
NOT = { has_country_flag = berlin_capital }
}
mean_time_to_happen = {
months = 10
}
title = "Berlin Captured"
desc = "Shall the new Prussian empire have its capital in Berlin?"
option = {
name = "Move the capital"
ai_chance = { factor = 100 }
capital = 50
prestige = 1
random_owned = {
base_tax = 1
}
set_country_flag = berlin_capital
}
option = {
name = "Our capital is fine."
ai_chance = { factor = 0 }
set_country_flag = berlin_capital
centralization_decentralization = 2
}
}
I have yet to fully test this prussian one if it doesn't work when you try it out tell me.
I was saving these for a mod pack I was creating.
edit: ONLY brandenburg or teutonic order can form prussia in this event. Prussia has to be non-catholic and brandenburg needs to control warmania danzig and ostprussian.