Post by teodosio1234 on Dec 30, 2014 4:46:38 GMT
I designed part of what would be a series of triggers destabilizing for colonial countries and turns for minor countries: this causes very similar to what historically happened element, I've tested and it is acceptable,but it must be complemented with another file to cause emergence of new countries and liberation, if it is of interest to you, I can to give this material.
inser
#################################################################
################## Principios de desestabilización #####################
#################################################################
country_event = { ###Principios de desestabilización por guerra o levantamientos (democracias)
id = 700020
trigger = {
not = { year = 1969 }
and = { or = { num_of_revolts = 1
war = yes
}
not = { popularity = 35 }
}
or = {
tag = ENG
tag = FRA
}
ideology_group = democracy
not = { dissent = 100 }
not = { revolt_percentage = 0.5 }
has_global_flag = PERMDES
}
mean_time_to_happen = { months = -1 }
title = "Desestabilizacion"
desc = "Principios de desestabilizacion por guerra o levantamientos (democracias)"
picture = "destabilization"
option = {
name = "OK"
random = {
chance = 50
random_owned = { limit = { not = { continent = europe } not = { continent = north_america } } create_revolt = 3 }
random_owned = { limit = { is_core = FRG is_core = DDR not = { continent = north_america } } create_revolt = 3 }
random_owned = { limit = { not = { is_core = this } not = { continent = north_america } } create_revolt = 3 }
random_owned = { limit = { not = { continent = europe } not = { continent = north_america } } create_revolt = 2 }
random_owned = { limit = { not = { continent = europe } not = { continent = north_america } } create_revolt = 2 }
random_owned = { limit = { not = { not = { is_core = this } continent = north_america } } create_revolt = 2 }
random_owned = { limit = { not = { continent = europe } not = { continent = north_america } } create_revolt = 1 }
random_owned = { limit = { not = { continent = europe } not = { continent = north_america } } create_revolt = 1 }
random_owned = { limit = { not = { not = { is_core = this } continent = north_america } } create_revolt = 1 }
random_owned = { limit = { not = { continent = europe } not = { continent = north_america } } create_revolt = 3 }
random_owned = { limit = { not = { continent = europe } not = { continent = north_america } } create_revolt = 2 }
random_owned = { limit = { not = { not = { is_core = this } continent = north_america } } create_revolt = 1 }
}
random = {
chance = 50
organisation = -15
popularity = -15
national_unity = -15
dissent = +60
}
clr_global_flag = PERMDES
}
}
country_event = { ###Principios de desestabilización por guerra o levantamientos (dictaduras)
id = 700021
trigger = {
not = { year = 1969 }
and = { or = { num_of_revolts = 1
war = yes
}
not = { popularity = 35 }
}
or = {
tag = ENG
tag = FRA
}
not = { ideology_group = democracy }
not = { dissent = 100 }
not = { revolt_percentage = 0.5 }
has_global_flag = PERMDES
}
mean_time_to_happen = { months = -1 }
title = "Desestabilizacion"
desc = "Principios de desestabilizacion por guerra o levantamientos (dictaduras)"
picture = "destabilization"
option = {
name = "OK"
random = {
chance = 50
random_owned = { limit = { not = { continent = europe } not = { continent = north_america } } create_revolt = 3 }
random_owned = { limit = { is_core = FRG is_core = DDR not = { continent = north_america } } create_revolt = 3 }
random_owned = { limit = { not = { is_core = this } not = { continent = north_america } } create_revolt = 3 }
random_owned = { limit = { not = { continent = europe } not = { continent = north_america } } create_revolt = 2 }
random_owned = { limit = { not = { continent = europe } not = { continent = north_america } } create_revolt = 2 }
random_owned = { limit = { not = { not = { is_core = this } continent = north_america } } create_revolt = 2 }
random_owned = { limit = { not = { continent = europe } not = { continent = north_america } } create_revolt = 1 }
random_owned = { limit = { not = { continent = europe } not = { continent = north_america } } create_revolt = 1 }
random_owned = { limit = { not = { not = { is_core = this } continent = north_america } } create_revolt = 1 }
random_owned = { limit = { not = { continent = europe } not = { continent = north_america } } create_revolt = 3 }
random_owned = { limit = { not = { continent = europe } not = { continent = north_america } } create_revolt = 2 }
random_owned = { limit = { not = { not = { is_core = this } continent = north_america } } create_revolt = 1 }
}
random = {
chance = 50
organisation = -10
popularity = -10
national_unity = -10
dissent = +30
}
clr_global_flag = PERMDES
}
}
country_event = { ###Principios de desestabilización por progreso de facción o estabilidad de gobierno (dictaduras)
id = 700022
trigger = {
not = { year = 1969 }
and = {
or = { and = { this = { is_in_any_faction = yes }
not = { faction_progress = 50 }
not = { popularity = 30 }
}
not = { popularity = 30 }
}
or = {
tag = ENG
tag = FRA
}
}
not = { ideology_group = democracy }
not = { dissent = 100 }
not = { revolt_percentage = 0.5 }
has_global_flag = PERMDES2
}
mean_time_to_happen = { months = -4 }
title = "Desestabilizacion"
desc = "Principios de desestabilizacion por progreso de faccion o estabilidad de gobierno (dictaduras)"
picture = "destabilization"
option = {
name = "OK"
random = {
chance = 50
random_owned = { limit = { not = { continent = europe } not = { continent = north_america } } create_revolt = 3 }
random_owned = { limit = { is_core = FRG is_core = DDR not = { continent = north_america } } create_revolt = 3 }
random_owned = { limit = { not = { is_core = this } not = { continent = north_america } } create_revolt = 3 }
random_owned = { limit = { not = { continent = europe } not = { continent = north_america } } create_revolt = 2 }
random_owned = { limit = { not = { continent = europe } not = { continent = north_america } } create_revolt = 2 }
random_owned = { limit = { not = { not = { is_core = this } continent = north_america } } create_revolt = 2 }
random_owned = { limit = { not = { continent = europe } not = { continent = north_america } } create_revolt = 1 }
random_owned = { limit = { not = { continent = europe } not = { continent = north_america } } create_revolt = 1 }
random_owned = { limit = { not = { not = { is_core = this } continent = north_america } } create_revolt = 1 }
random_owned = { limit = { not = { continent = europe } not = { continent = north_america } } create_revolt = 3 }
random_owned = { limit = { not = { continent = europe } not = { continent = north_america } } create_revolt = 2 }
random_owned = { limit = { not = { not = { is_core = this } continent = north_america } } create_revolt = 1 }
}
random = {
chance = 50
organisation = -3
popularity = -3
national_unity = -3
dissent = +30
}
clr_global_flag = PERMDES2
}
}
country_event = { ###Principios de desestabilización por progreso de facción o estabilidad de gobierno (democracias)
id = 700023
trigger = {
not = { year = 1969 }
and = {
or = { and = { this = { is_in_any_faction = yes }
not = { faction_progress = 50 }
not = { popularity = 30 }
}
not = { popularity = 30 }
}
or = {
tag = ENG
tag = FRA
}
}
ideology_group = democracy
not = { dissent = 100 }
not = { revolt_percentage = 0.5 }
has_global_flag = PERMDES2
}
mean_time_to_happen = { months = -4 }
title = "Desestabilizacion"
desc = "Principios de desestabilizacion por progreso de faccion o estabilidad de gobierno (democracias)"
picture = "destabilization"
option = {
name = "OK"
random = {
chance = 50
random_owned = { limit = { not = { continent = europe } not = { continent = north_america } } create_revolt = 3 }
random_owned = { limit = { is_core = FRG is_core = DDR not = { continent = north_america } } create_revolt = 3 }
random_owned = { limit = { not = { is_core = this } not = { continent = north_america } } create_revolt = 3 }
random_owned = { limit = { not = { continent = europe } not = { continent = north_america } } create_revolt = 2 }
random_owned = { limit = { not = { continent = europe } not = { continent = north_america } } create_revolt = 2 }
random_owned = { limit = { not = { not = { is_core = this } continent = north_america } } create_revolt = 2 }
random_owned = { limit = { not = { continent = europe } not = { continent = north_america } } create_revolt = 1 }
random_owned = { limit = { not = { continent = europe } not = { continent = north_america } } create_revolt = 1 }
random_owned = { limit = { not = { not = { is_core = this } continent = north_america } } create_revolt = 1 }
random_owned = { limit = { not = { continent = europe } not = { continent = north_america } } create_revolt = 3 }
random_owned = { limit = { not = { continent = europe } not = { continent = north_america } } create_revolt = 2 }
random_owned = { limit = { not = { not = { is_core = this } continent = north_america } } create_revolt = 1 }
}
random = {
chance = 50
organisation = -5
popularity = -5
national_unity = -5
dissent = +60
}
clr_global_flag = PERMDES2
}
}
country_event = { ###Principios de desestabilización por guerra o levantamientos estados menores (democracias)
id = 700042
trigger = {
and = {
and = { or = { num_of_revolts = 1
war = yes
}
not = { popularity = 35 }
}
or = { and = { not = { }
not = { tag = ENG }
not = { tag = FRA }
not = { }
}
year = 1969
}
}
ideology_group = democracy
not = { dissent = 100 }
not = { revolt_percentage = 0.5 }
has_global_flag = PERMDES3
}
mean_time_to_happen = { months = -1 }
title = "Desestabilizacion"
desc = "Principios de desestabilizacion por guerra o levantamientos estados menores (democracias)"
picture = "destabilization"
option = {
name = "OK"
organisation = -3
popularity = -3
national_unity = -3
dissent = +20
clr_global_flag = PERMDES3
}
}
country_event = { ###Principios de desestabilización por guerra o levantamientos estados menores (dictaduras)
id = 700043
trigger = {
and = {
and = { or = { num_of_revolts = 1
war = yes
}
not = { popularity = 35 }
}
or = { and = {
not = { tag = ENG }
not = { tag = FRA }
}
year = 1969
}
}
not = { ideology_group = democracy }
not = { dissent = 100 }
not = { revolt_percentage = 0.5 }
has_global_flag = PERMDES3
}
mean_time_to_happen = { months = -1 }
title = "Desestabilizacion"
desc = "Principios de desestabilizacion por guerra o levantamientos estados menores (dictaduras)"
picture = "destabilization"
option = {
name = "OK"
chance = 50
organisation = -2
popularity = -2
national_unity = -2
dissent = +10
clr_global_flag = PERMDES3
}
}
country_event = { ###Principios de desestabilizacion por progreso de faccion o estabilidad de gobierno Estados menores (democracias)
id = 700055
trigger = {
and = { or = { and = { this = { is_in_any_faction = yes }
not = { faction_progress = 50 }
not = { popularity = 30 }
}
not = { popularity = 30 }
}
or = { and = {
not = { tag = ENG }
not = { tag = FRA }
}
year = 1969
}
}
ideology_group = democracy
not = { dissent = 100 }
not = { revolt_percentage = 0.5 }
has_global_flag = PERMDES4
}
mean_time_to_happen = { months = -4 }
title = "Desestabilizacion"
desc = "Principios de desestabilizacion por progreso de faccion o estabilidad de gobierno Estados menores (democracias)"
picture = "destabilization"
option = {
name = "OK"
chance = 50
organisation = -2
popularity = -2
national_unity = -2
dissent = +10
clr_global_flag = PERMDES4
}
}
country_event = { ###Principios de desestabilizacion por progreso de faccion o estabilidad de gobierno Estados menores (dictaduras)
id = 700056
trigger = {
and = { or = { and = { this = { is_in_any_faction = yes }
not = { faction_progress = 50 }
not = { popularity = 30 }
}
not = { popularity = 30 }
}
or = { and = {
not = { tag = ENG }
not = { tag = FRA }
}
year = 1969
}
}
not = { ideology_group = democracy }
not = { dissent = 100 }
not = { revolt_percentage = 0.5 }
has_global_flag = PERMDES4
}
mean_time_to_happen = { months = -4 }
title = "Desestabilizacion"
desc = "Principios de desestabilizacion por progreso de faccion o estabilidad de gobierno Estados menores (dictaduras)"
picture = "destabilization"
option = {
name = "OK"
chance = 50
organisation = -1
popularity = -1
national_unity = -1
dissent = +5
clr_global_flag = PERMDES4
}
}
country_event = {
id = 670001
trigger = {
ai = yes
not = { has_global_flag = CONTROLECONOMIATIEMPO }
not = { has_global_flag = CONTROLECONOMIATIEMPOEXTENDIDA }
not = { has_global_flag = PERMDES }
not = { has_global_flag = PERMDES3 }
not = { has_global_flag = krisis }
}
mean_time_to_happen = { months = -1 }
option = {
set_global_flag = CONTROLECONOMIATIEMPO
ai_chance = { factor = 100 }
}
}
country_event = {
id = 670002
trigger = {
ai = yes
has_global_flag = CONTROLECONOMIATIEMPO
}
mean_time_to_happen = { months = -1 }
option = {
clr_global_flag = CONTROLECONOMIATIEMPO
set_global_flag = CONTROLECONOMIATIEMPOEXTENDIDA
set_global_flag = PERMDES
set_global_flag = PERMDES3
set_global_flag = krisis
}
}
country_event = {
id = 700040
trigger = {
ai = yes
not = { has_global_flag = CONTROLECONOMIATIEMPO2 }
not = { has_global_flag = PERMDES2 }
not = { has_global_flag = PERMDES4 }
}
mean_time_to_happen = { months = -2 }
option = {
set_global_flag = CONTROLECONOMIATIEMPO2
ai_chance = { factor = 100 }
}
}
country_event = {
id = 700041
trigger = {
ai = yes
has_global_flag = CONTROLECONOMIATIEMPO2
}
mean_time_to_happen = { months = -2 }
option = {
clr_global_flag = CONTROLECONOMIATIEMPO2
set_global_flag = PERMDES2
set_global_flag = PERMDES4
}
}
t code here