And now someone explains what this script tells us? I'm interested but can't understand it ... at least not to the extend I want.
I'd just like to know what the conference is about, when the event fires and how the decision who becomes the new owner (I gues it's about that?) is made.
What sets it all off (I think) is this
the_congo_conference = {
potential = {
is_greater_power = yes
#invention = mission_to_civilize
#invention = expansionism
tag = ENG
year = 1880
NOT = {
has_global_flag = congo_conference_held
}
}
allow = {
1982 = { empty = yes }
1986 = { empty = yes }
1987 = { empty = yes }
1993 = { empty = yes }
1996 = { empty = yes }
}
effect = {
prestige = 25
BEL_1977 = {
add_core = CNG
}
BEL_1984 = {
add_core = CNG
}
BEL_1987 = {
add_core = CNG
}
BEL_1990 = {
add_core = CNG
}
BEL_1992 = {
add_core = CNG
}
set_country_flag = hosting_the_congo_conference
set_global_flag = congo_conference_held
}
}
If the UK is a great power in 1880 with expansionism and mission to civilise, and the Congo is still empty, it will call the Congo conference.
We then get this
# The Congo Conference
country_event = {
id = 19330
title = "EVTNAME19330"
desc = "EVTDESC19330"
fire_only_once = yes
major = yes
trigger = {
has_country_flag = hosting_the_congo_conference
}
mean_time_to_happen = {
months = 1
modifier = { # This is here to shorten the MTTH. 1337 H4aXXor.
factor = 0.1
year = 1836
}
}
option = {
name = "EVTOPTA19330"
any_country = {
limit = {
exists = yes
rank = 20
civilized = yes
#OR = {
# government = absolute_monarchy
# government = prussian_constitutionalism
# government = hms_government
#}
NOT = {
tag = THIS
}
}
country_event = { id=19335 days=0 }
}
ai_chance = {
factor = 1
}
}
option = {
name = "EVTOPTB19330"
prestige = 5
}
}
where the UK invites all civilised nations in the top 20 to attend the Congo conference. They respond with
# Send a delegate to the congo conference
country_event = {
id = 19335
title = "EVTNAME19335"
desc = "EVTDESC19335"
picture = "treaty"
is_triggered_only = yes
option = {
name = "EVTOPTA19335"
treasury = -10000
badboy = 2
set_country_flag = congo_conference_participant
ai_chance = {
factor = 0.75
}
}
option = {
name = "EVTOPTB19335"
prestige = 5
ai_chance = {
factor = 0.25
modifier = {
factor = 0
tag = BEL
}
}
}
}
The first option is to attend the conference at a cost of £10,000 and 2 badboy, which sets the congo conference participant flag. The AI will choose this option 75% of the time. The second option is to not attend, for a little prestige. The AI will choose this 25%, except Belgium which will will never decline.
Then we get the event which decides who actually gets the Congo
# The Congo Free State declared
country_event = {
id = 19340
title = "EVTNAME19340"
desc = "EVTDESC19340"
major = yes
fire_only_once = yes
trigger = {
has_country_flag = congo_conference_participant
}
mean_time_to_happen = {
months = 150
modifier = {
factor = 0.3
tag = BEL
}
modifier = {
factor = 0.5
owns = 1977
}
modifier = {
factor = 0.5
owns = 1987
}
modifier = {
factor = 0.5
owns = 1990
}
modifier = {
factor = 0.5
owns = 1992
}
modifier = {
factor = 0.8
government = hms_government
}
modifier = {
factor = 1.2
NOT = {
government = hms_government
}
}
modifier = {
factor = 2
slavery = yes_slavery
}
modifier = {
factor = 0.9
nationalism_n_imperialism = 1
}
modifier = {
factor = 1.5
is_greater_power = yes
}
modifier = {
factor = 1.5
colonial_nation = yes
}
}
option = {
name = "EVTOPTA19340"
any_country = {
limit = {
NOT = {
tag = CNG
}
}
release = CNG
}
create_vassal = CNG
CNG = {
government = absolute_monarchy
}
prestige = 50
}
}
This event can only fire for countries which have elected to participate in the Congo Conference. It has a mean time to happen of 150 months, and whoever fires it first gets the Congo. There are a number of factors by which the mean time to happen (MTTH) can be multiplied to make the event more or less likely. The first factor for instance is 0.3 for being Belgium, meaning the 150 MTTH is multiplied by 0.3, giving a MTTH of 45 months.
At least this is my understanding of the events. I never actually leave Congo alone long enough for the conference to be called.