Rastar said:Your success on defections is inspiring. In my one test so far, I sat on a 30-province non-lucky same-religion country with 100% warscore for 10 years and only got 1 defection. Based on that, my initial conclusion was that it was not that useful of a mechanic. However, based on your results I will definitely have to study the modifiers to MTTH more closely when I get home.
WE, Stability, and Prestige are the key. Granted, they go hand in hand if you completely occupy a country. Also, after looking at the code again, you can't get provinces with the owner's culture (not culture group, mind you) to secede. That may have been part of it.
Code:
province_event = {
id = 746
trigger = {
owner = {
war_exhaustion = 15
war = yes
NOT = { war_score = -10 }
}
is_capital = no
has_owner_culture = no
garrison = 1000
has_siege = no
NOT = { controlled_by = owner }
NOT = { controller = { tag = REB } }
NOT = { controller = { tag = NAT } }
NOT = { controller = { tag = PIR } }
controller = {
NOT = { war_exhaustion = 5 }
}
}
mean_time_to_happen = {
months = 300
modifier = {
factor = 5.0
luck = yes
}
modifier = {
factor = 0.8
has_owner_religion = no
}
modifier = {
factor = 0.8
NOT = { prestige = 0 }
}
modifier = {
factor = 0.8
NOT = { prestige = -0.5 }
}
modifier = {
factor = 0.8
NOT = { stability = 0 }
}
modifier = {
factor = 0.8
badboy = 1.0
}
}
title = "EVTNAME746"
desc = "EVTDESC746"
option = {
name = "EVTOPTA746"
controller = { country_event = 747 }
}
}
country_event = {
id = 747
is_triggered_only = yes
title = "EVTNAME747"
desc = "EVTDESC747"
option = {
name = "EVTOPTA747"
FROM = { secede_province = THIS }
badboy = 1
}
option = {
name = "EVTOPTB747"
prestige = -0.01
}
}