Diff to HTML by rtfpessoa

Files changed (45) hide show
  1. common/disasters/castilian_civil_war.txt +1 -0
  2. common/disasters/civil_war.txt +14 -0
  3. common/disasters/coup_attempt.txt +107 -0
  4. common/disasters/court_and_country.txt +1 -0
  5. common/disasters/dark_age_of_cambodia.txt +46 -0
  6. common/disasters/decline_of_mali.txt +71 -0
  7. common/disasters/dutch_revolt.txt +78 -44
  8. common/disasters/empire_of_china_culture.txt +25 -6
  9. common/disasters/empire_of_china_nomadic_border.txt +83 -21
  10. common/disasters/english_civil_war.txt +76 -19
  11. common/disasters/estate_brahmins_disaster.txt +14 -3
  12. common/disasters/estate_burghers_disaster.txt +14 -3
  13. common/disasters/estate_church_disaster.txt +13 -2
  14. common/disasters/estate_cossacks_disaster.txt +11 -0
  15. common/disasters/estate_dhimmi_disaster.txt +11 -0
  16. common/disasters/estate_eunuchs_disaster.txt +108 -0
  17. common/disasters/estate_ghulams_disaster.txt +114 -0
  18. common/disasters/estate_jains_disaster.txt +14 -3
  19. common/disasters/estate_janissaries_disaster.txt +122 -0
  20. common/disasters/estate_maratha_disaster.txt +12 -1
  21. common/disasters/estate_nobility_disaster.txt +12 -1
  22. common/disasters/estate_nomadic_tribes_disaster.txt +12 -1
  23. common/disasters/estate_qizilbash_disaster.txt +112 -0
  24. common/disasters/estate_rajput_disaster.txt +11 -0
  25. common/disasters/estate_vaisyas_disaster.txt +15 -4
  26. common/disasters/fall_of_majapahit.txt +55 -0
  27. common/disasters/french_revolution.txt +41 -5
  28. common/disasters/french_wars_of_religion.txt +18 -10
  29. common/disasters/georgian_crisis.txt +101 -0
  30. common/disasters/infantes_of_aragon.txt +71 -0
  31. common/disasters/internal_conflicts.txt +1 -0
  32. common/disasters/janissary_decadence.txt +5 -2
  33. common/disasters/liberalism.txt +2 -8
  34. common/disasters/ming_crisis.txt +6 -2
  35. common/disasters/northern_and_southern_dynasties.txt +118 -0
  36. common/disasters/ottoman_power_struggle.txt +603 -0
  37. common/disasters/peasants_war.txt +1 -0
  38. common/disasters/pol_struggle_for_royal_power.txt +23 -12
  39. common/disasters/prussian_confederation.txt +74 -0
  40. common/disasters/religious_turmoil.txt +18 -8
  41. common/disasters/revolution.txt +83 -23
  42. common/disasters/siamese_revolution.txt +116 -0
  43. common/disasters/the_dacke_feud.txt +28 -5
  44. common/disasters/time_of_troubles.txt +17 -4
  45. common/disasters/war_of_the_roses.txt +7 -0
common/disasters/castilian_civil_war.txt CHANGED
@@ -103,6 +103,7 @@ castilian_civil_war = {
103
103
 
104
104
  on_start = castilian_civil_war.1
105
105
  on_end = castilian_civil_war.100
106
+ ended_by_country_breaking_to_rebels = no
106
107
 
107
108
  on_monthly = {
108
109
  events = {
common/disasters/civil_war.txt CHANGED
@@ -7,9 +7,20 @@ civil_war = {
7
7
  is_capital = no
8
8
  }
9
9
  government = monarchy
10
+ NOT = { government = native }
11
+ NOT = {
12
+ OR = {
13
+ has_reform = native_chiefdom_reform
14
+ has_reform = native_federation_reform
15
+ has_reform = native_clan_council_reform
16
+ has_reform = native_hereditary_reform
17
+ }
18
+ }
10
19
  is_free_or_tributary_trigger = yes
11
20
  uses_doom = no
12
21
  NOT = { has_country_flag = had_civil_war }
22
+ NOT = { has_country_modifier = lxa_legitimacy }
23
+ NOT = { has_disaster = tur_disaster_ottoman_power_struggle }
13
24
  }
14
25
 
15
26
 
@@ -104,6 +115,9 @@ civil_war = {
104
115
 
105
116
  on_monthly = {
106
117
  events = {
118
+ flavor_lxa.1
119
+ flavor_lxa.2
120
+ flavor_lxa.3
107
121
  }
108
122
  random_events = {
109
123
  1000 = 0
common/disasters/coup_attempt.txt ADDED
@@ -0,0 +1,107 @@
1
+ coup_attempt_disaster = {
2
+ potential = {
3
+ normal_or_historical_nations = yes
4
+ government = monarchy
5
+ has_country_flag = coup_attempt_starts
6
+ is_lesser_in_union = no
7
+ NOT = { has_disaster = tur_disaster_ottoman_power_struggle }
8
+ }
9
+
10
+ can_start = {
11
+ has_any_disaster = no
12
+ has_regency = yes
13
+ is_lesser_in_union = no
14
+ NOT = { crown_land_share = 75 }
15
+ NOT = { legitimacy = 85 }
16
+ if = {
17
+ limit = {
18
+ has_estate_led_regency = { estate = estate_nobles }
19
+ }
20
+ NOT = {
21
+ estate_loyalty = {
22
+ estate = estate_nobles
23
+ loyalty = 60
24
+ }
25
+ }
26
+ }
27
+ else_if = {
28
+ limit = {
29
+ has_estate_led_regency = { estate = estate_burghers }
30
+ }
31
+ NOT = {
32
+ estate_loyalty = {
33
+ estate = estate_burghers
34
+ loyalty = 60
35
+ }
36
+ }
37
+ }
38
+ else_if = {
39
+ limit = {
40
+ has_estate_led_regency = { estate = estate_church }
41
+ }
42
+ NOT = {
43
+ estate_loyalty = {
44
+ estate = estate_church
45
+ loyalty = 60
46
+ }
47
+ }
48
+ }
49
+ }
50
+
51
+ can_stop = {
52
+ OR = {
53
+ has_any_disaster = yes
54
+ NOT = { government = monarchy }
55
+ has_regency = no
56
+ is_lesser_in_union = yes
57
+ legitimacy = 100
58
+ }
59
+ }
60
+
61
+ progress = {
62
+ modifier = {
63
+ factor = 1
64
+ NOT = { stability = 1 }
65
+ }
66
+ modifier = {
67
+ factor = 5
68
+ NOT = { legitimacy = 70 }
69
+ }
70
+ modifier = {
71
+ factor = 2.5
72
+ NOT = { legitimacy = 80 }
73
+ }
74
+ modifier = {
75
+ factor = 1
76
+ NOT = { legitimacy = 90 }
77
+ }
78
+ modifier = {
79
+ factor = 5
80
+ NOT = { estate_led_regency_loyalty = 50 }
81
+ }
82
+ }
83
+
84
+ can_end = {
85
+ custom_trigger_tooltip = {
86
+ tooltip = plot_has_succeeded_or_failed
87
+ has_country_flag = plot_ended_flag
88
+ }
89
+ }
90
+
91
+ modifier = {
92
+ global_unrest = 5
93
+ stability_cost_modifier = 0.25
94
+ all_estate_loyalty_equilibrium = -0.1
95
+ legitimacy = -0.5
96
+ global_spy_defence = -0.5
97
+ }
98
+
99
+ on_start = coup_in_palace_events.1
100
+ on_end = coup_in_palace_events.6
101
+
102
+ on_monthly = {
103
+ events = {
104
+
105
+ }
106
+ }
107
+ }
common/disasters/court_and_country.txt CHANGED
@@ -4,6 +4,7 @@ court_and_country = {
4
4
  is_free_or_tributary_trigger = yes
5
5
  current_age = age_of_absolutism
6
6
  num_of_cities = 8
7
+ NOT = { has_disaster = tur_disaster_ottoman_power_struggle }
7
8
  }
8
9
 
9
10
 
common/disasters/dark_age_of_cambodia.txt ADDED
@@ -0,0 +1,46 @@
1
+ dark_age_of_cambodia = {
2
+ potential = {
3
+ has_dlc = "Leviathan"
4
+ NOT = { has_country_flag = had_dark_age }
5
+ uses_doom = no
6
+ is_free_or_tributary_trigger = yes
7
+ normal_or_historical_nations = yes
8
+ tag = KHM
9
+ }
10
+
11
+ can_start = {
12
+ has_any_disaster = no
13
+ }
14
+
15
+ can_stop = {
16
+ has_any_disaster = yes
17
+ }
18
+
19
+
20
+ progress = {
21
+ modifier = {
22
+ factor = 100
23
+ tag = KHM
24
+ }
25
+ }
26
+
27
+ can_end = {
28
+ mission_completed = mnd_khm_resurgence
29
+ }
30
+
31
+
32
+ modifier = {
33
+ all_power_cost = 0.25
34
+ }
35
+
36
+ on_start = khmer.1
37
+ on_end = khmer.2
38
+
39
+ on_monthly = {
40
+ events = {
41
+ }
42
+ random_events = {
43
+ }
44
+ }
45
+ }
46
+
common/disasters/decline_of_mali.txt ADDED
@@ -0,0 +1,71 @@
1
+ decline_of_mali = {
2
+ ended_by_country_breaking_to_rebels = no
3
+ potential = {
4
+ has_dlc = "Origins"
5
+ NOT = { has_country_flag = had_decline_of_mali }
6
+ NOT = { has_country_flag = formed_mali_flag } #A formed Mali should not go through a decline
7
+ NOT = { mission_completed = mal_absolute_authority }
8
+ uses_doom = no
9
+ is_free_or_tributary_trigger = yes
10
+ normal_or_historical_nations = yes
11
+ tag = MAL
12
+ }
13
+
14
+ can_start = {
15
+ has_any_disaster = no
16
+ NOT = { mission_completed = mal_absolute_authority }
17
+ }
18
+
19
+ can_stop = {
20
+ has_any_disaster = yes
21
+ }
22
+
23
+
24
+ progress = {
25
+ modifier = {
26
+ factor = 100
27
+ tag = MAL
28
+ }
29
+ }
30
+
31
+ can_end = {
32
+ mission_completed = mal_absolute_authority
33
+ }
34
+
35
+
36
+ modifier = {
37
+ caravan_power = -0.33
38
+ stability_cost_modifier = 0.15
39
+ global_autonomy = 0.05
40
+ global_unrest = 1
41
+ }
42
+
43
+ on_start = flavor_mal.9 # Mali is on the path of breaking apart
44
+ on_end = flavor_mal.10 # Mali managed to retain authority
45
+
46
+ on_monthly = {
47
+ events = {
48
+ flavor_mal.16
49
+ flavor_mal.17
50
+ flavor_mal.18
51
+ flavor_mal.19
52
+ }
53
+ random_events = {
54
+ 1000 = 0
55
+ 100 = flavor_mal.11
56
+ 100 = flavor_mal.12
57
+ 100 = flavor_mal.13
58
+ 100 = flavor_mal.14
59
+ 100 = flavor_mal.15
60
+ 100 = flavor_mal.16
61
+ 100 = flavor_mal.17
62
+ 100 = flavor_mal.18
63
+ 100 = flavor_mal.19
64
+ 100 = flavor_mal.20
65
+ 100 = flavor_mal.21
66
+ 100 = flavor_mal.22
67
+ 100 = flavor_mal.23
68
+ }
69
+ }
70
+ }
71
+
common/disasters/dutch_revolt.txt CHANGED
@@ -27,6 +27,7 @@ dutch_revolt_disaster = {
27
27
  NOT = { capital_scope = { region = low_countries_region } }
28
28
  is_free_or_tributary_trigger = yes
29
29
  num_of_cities = 6
30
+ NOT = { has_government_attribute = no_more_dutch_revolt }
30
31
  }
31
32
 
32
33
  can_start = {
@@ -40,26 +41,49 @@ dutch_revolt_disaster = {
40
41
  }
41
42
  custom_trigger_tooltip = {
42
43
  tooltip = dutch_revolt_disaster_tt
43
- AND = {
44
- any_owned_province = {
45
- culture = dutch
44
+ OR = {
45
+ AND = {
46
+ any_owned_province = {
47
+ culture = dutch
48
+ }
49
+ NOT = { accepted_culture = dutch }
50
+ }
51
+ AND = {
52
+ any_owned_province = {
53
+ culture = flemish
54
+ }
55
+ NOT = { accepted_culture = flemish }
56
+ }
57
+ AND = {
58
+ any_owned_province = {
59
+ culture = frisian
60
+ }
61
+ NOT = { accepted_culture = frisian }
46
62
  }
47
- NOT = { accepted_culture = dutch }
63
+ }
64
+ }
65
+ if = {
66
+ limit = {
67
+ has_dlc = "Emperor"
48
68
  }
49
69
  AND = {
50
- any_owned_province = {
51
- culture = flemish
52
- }
53
- NOT = { accepted_culture = flemish }
70
+ is_emperor = yes
71
+ NOT = { hre_reform_passed = emperor_gemeinerpfennig }
72
+ NOT = { stability = 2 }
54
73
  }
74
+ }
75
+ else = {
55
76
  AND = {
56
- any_owned_province = {
57
- culture = frisian
58
- }
59
- NOT = { accepted_culture = frisian }
77
+ is_emperor = yes
78
+ NOT = { hre_reform_passed = gemeinerpfennig }
79
+ NOT = { stability = 2 }
60
80
  }
61
81
  }
62
82
  }
83
+ if = {
84
+ limit = { has_government_attribute = no_more_dutch_revolt }
85
+ NOT = { has_government_attribute = no_more_dutch_revolt }
86
+ }
63
87
  }
64
88
 
65
89
  can_stop = {
@@ -75,75 +99,65 @@ dutch_revolt_disaster = {
75
99
  modifier = {
76
100
  factor = 1
77
101
  any_owned_province = {
78
- region = low_countries_region
79
- NOT = { province_religion = ROOT }
80
- }
81
- NOT = {
82
- num_of_owned_provinces_with = {
83
- value = 3
102
+ custom_trigger_tooltip = {
103
+ tooltip = dutch_revolt_disaster_at
84
104
  region = low_countries_region
85
105
  NOT = { province_religion = ROOT }
86
106
  }
87
107
  }
88
108
  }
89
109
  modifier = {
90
- factor = 2
110
+ factor = 1
91
111
  num_of_owned_provinces_with = {
92
112
  value = 3
93
- region = low_countries_region
94
- NOT = { province_religion = ROOT }
95
- }
96
- NOT = {
97
- num_of_owned_provinces_with = {
98
- value = 5
113
+ custom_trigger_tooltip = {
114
+ tooltip = dutch_revolt_disaster_at
99
115
  region = low_countries_region
100
116
  NOT = { province_religion = ROOT }
101
117
  }
102
118
  }
103
119
  }
104
120
  modifier = {
105
- factor = 3
121
+ factor = 1
106
122
  num_of_owned_provinces_with = {
107
123
  value = 5
108
- region = low_countries_region
109
- NOT = { province_religion = ROOT }
124
+ custom_trigger_tooltip = {
125
+ tooltip = dutch_revolt_disaster_at
126
+ region = low_countries_region
127
+ NOT = { province_religion = ROOT }
128
+ }
110
129
  }
111
130
  }
112
131
  modifier = {
113
132
  factor = 1
114
133
  any_owned_province = {
115
- region = low_countries_region
116
- unrest = 3
117
- }
118
- NOT = {
119
- num_of_owned_provinces_with = {
120
- value = 3
134
+ custom_trigger_tooltip = {
135
+ tooltip = dutch_revolt_disaster_bt
121
136
  region = low_countries_region
122
137
  unrest = 3
123
138
  }
124
139
  }
125
140
  }
126
141
  modifier = {
127
- factor = 2
142
+ factor = 1
128
143
  num_of_owned_provinces_with = {
129
144
  value = 3
130
- region = low_countries_region
131
- unrest = 3
132
- }
133
- NOT = {
134
- num_of_owned_provinces_with = {
135
- value = 5
145
+ custom_trigger_tooltip = {
146
+ tooltip = dutch_revolt_disaster_bt
136
147
  region = low_countries_region
137
148
  unrest = 3
138
149
  }
139
150
  }
140
151
  }
141
152
  modifier = {
142
- factor = 3
153
+ factor = 1
143
154
  num_of_owned_provinces_with = {
144
155
  value = 5
145
- region = low_countries_region
146
- unrest = 3
156
+ custom_trigger_tooltip = {
157
+ tooltip = dutch_revolt_disaster_bt
158
+ region = low_countries_region
159
+ unrest = 3
160
+ }
147
161
  }
148
162
  }
149
163
  modifier = {
@@ -167,10 +181,30 @@ dutch_revolt_disaster = {
167
181
  }
168
182
  NOT = { accepted_culture = flemish }
169
183
  }
184
+ modifier = {
185
+ factor = 1
186
+ NOT = { stability = 2 }
187
+ }
170
188
  modifier = {
171
189
  factor = 1
172
190
  NOT = { stability = 1 }
173
191
  }
192
+ modifier = {
193
+ factor = 1
194
+ NOT = { stability = 0 }
195
+ }
196
+ modifier = {
197
+ factor = 3
198
+ NOT = { stability = -1 }
199
+ }
200
+ modifier = {
201
+ factor = 3
202
+ NOT = { stability = -2 }
203
+ }
204
+ modifier = {
205
+ factor = 10
206
+ NOT = { stability = -3 }
207
+ }
174
208
  }
175
209
 
176
210
  can_end = {
common/disasters/empire_of_china_culture.txt CHANGED
@@ -14,7 +14,11 @@ empire_of_china_in_name = {
14
14
  tooltip = less_than_two_chinese_cultures_accepted_tooltip
15
15
  NOT = {
16
16
  calc_true_if = {
17
- accepted_culture = manchu
17
+ accepted_culture = manchu_new
18
+ accepted_culture = vietnamese_new
19
+ accepted_culture = korean_new
20
+ accepted_culture = tibetan_new
21
+ accepted_culture = altaic_new
18
22
  accepted_culture = chihan
19
23
  accepted_culture = miao
20
24
  accepted_culture = cantonese
@@ -42,9 +46,12 @@ empire_of_china_in_name = {
42
46
  custom_trigger_tooltip = {
43
47
  tooltip = atleast_two_chinese_cultures_accepted_tooltip
44
48
  calc_true_if = {
45
- accepted_culture = manchu
49
+ accepted_culture = manchu_new
50
+ accepted_culture = vietnamese_new
51
+ accepted_culture = korean_new
52
+ accepted_culture = tibetan_new
53
+ accepted_culture = altaic_new
46
54
  accepted_culture = chihan
47
- accepted_culture = miao
48
55
  accepted_culture = cantonese
49
56
  accepted_culture = jin
50
57
  accepted_culture = wu
@@ -72,7 +79,11 @@ empire_of_china_in_name = {
72
79
  tooltip = less_than_two_chinese_cultures_accepted_tooltip
73
80
  NOT = {
74
81
  calc_true_if = {
75
- accepted_culture = manchu
82
+ accepted_culture = manchu_new
83
+ accepted_culture = vietnamese_new
84
+ accepted_culture = korean_new
85
+ accepted_culture = tibetan_new
86
+ accepted_culture = altaic_new
76
87
  accepted_culture = chihan
77
88
  accepted_culture = miao
78
89
  accepted_culture = cantonese
@@ -102,7 +113,11 @@ empire_of_china_in_name = {
102
113
  custom_trigger_tooltip = {
103
114
  tooltip = atleast_two_chinese_cultures_accepted_tooltip
104
115
  calc_true_if = {
105
- accepted_culture = manchu
116
+ accepted_culture = manchu_new
117
+ accepted_culture = vietnamese_new
118
+ accepted_culture = korean_new
119
+ accepted_culture = tibetan_new
120
+ accepted_culture = altaic_new
106
121
  accepted_culture = chihan
107
122
  accepted_culture = miao
108
123
  accepted_culture = cantonese
@@ -132,7 +147,11 @@ empire_of_china_in_name = {
132
147
  custom_trigger_tooltip = {
133
148
  tooltip = atleast_two_chinese_cultures_accepted_tooltip
134
149
  calc_true_if = {
135
- accepted_culture = manchu
150
+ accepted_culture = manchu_new
151
+ accepted_culture = vietnamese_new
152
+ accepted_culture = korean_new
153
+ accepted_culture = tibetan_new
154
+ accepted_culture = altaic_new
136
155
  accepted_culture = chihan
137
156
  accepted_culture = miao
138
157
  accepted_culture = cantonese
common/disasters/empire_of_china_nomadic_border.txt CHANGED
@@ -7,11 +7,17 @@ empire_of_china_nomadic_border = {
7
7
  can_start = {
8
8
  has_any_disaster = no
9
9
  any_neighbor_country = {
10
- has_reform = steppe_horde
11
- total_own_and_non_tributary_subject_development = 300
12
10
  is_subject = no
13
11
  NOT = { truce_with = ROOT }
14
12
  NOT = { alliance_with = ROOT }
13
+ custom_trigger_tooltip = {
14
+ tooltip = empire_of_china_nomadic_border_tt
15
+ OR = {
16
+ has_reform = steppe_horde
17
+ has_reform = great_mongol_state_reform
18
+ }
19
+ total_own_and_non_tributary_subject_development = 300
20
+ }
15
21
  #NOT = { is_subject_of = ROOT }
16
22
  }
17
23
  }
@@ -21,14 +27,26 @@ empire_of_china_nomadic_border = {
21
27
  has_any_disaster = yes
22
28
  NOT = {
23
29
  any_neighbor_country = {
24
- has_reform = steppe_horde
25
- total_own_and_non_tributary_subject_development = 300
26
30
  NOT = { truce_with = ROOT }
27
31
  NOT = { alliance_with = ROOT }
28
32
  is_subject = no
33
+ custom_trigger_tooltip = {
34
+ tooltip = empire_of_china_nomadic_border_tt
35
+ OR = {
36
+ has_reform = steppe_horde
37
+ has_reform = great_mongol_state_reform
38
+ hidden_trigger = {
39
+ has_global_flag = is_forming_the_mongol_empire
40
+ }
41
+ }
42
+ total_own_and_non_tributary_subject_development = 300
43
+ }
29
44
  }
30
45
  }
31
46
  }
47
+ hidden_trigger = {
48
+ NOT = { has_global_flag = is_forming_the_mongol_empire }
49
+ }
32
50
  }
33
51
 
34
52
 
@@ -36,8 +54,14 @@ empire_of_china_nomadic_border = {
36
54
  modifier = {
37
55
  factor = 1
38
56
  any_neighbor_country = {
39
- has_reform = steppe_horde
40
- total_own_and_non_tributary_subject_development = 300
57
+ custom_trigger_tooltip = {
58
+ tooltip = empire_of_china_nomadic_border_tt
59
+ OR = {
60
+ has_reform = steppe_horde
61
+ has_reform = great_mongol_state_reform
62
+ }
63
+ total_own_and_non_tributary_subject_development = 300
64
+ }
41
65
  is_subject = no
42
66
  NOT = { truce_with = ROOT }
43
67
  NOT = { alliance_with = ROOT }
@@ -47,8 +71,14 @@ empire_of_china_nomadic_border = {
47
71
  modifier = {
48
72
  factor = 1.5
49
73
  any_neighbor_country = {
50
- has_reform = steppe_horde
51
- total_own_and_non_tributary_subject_development = 300
74
+ custom_trigger_tooltip = {
75
+ tooltip = empire_of_china_nomadic_border_tt
76
+ OR = {
77
+ has_reform = steppe_horde
78
+ has_reform = great_mongol_state_reform
79
+ }
80
+ total_own_and_non_tributary_subject_development = 300
81
+ }
52
82
  war_with = ROOT
53
83
  war_score_against = {
54
84
  who = ROOT
@@ -59,8 +89,14 @@ empire_of_china_nomadic_border = {
59
89
  modifier = {
60
90
  factor = 3
61
91
  any_neighbor_country = {
62
- has_reform = steppe_horde
63
- total_own_and_non_tributary_subject_development = 300
92
+ custom_trigger_tooltip = {
93
+ tooltip = empire_of_china_nomadic_border_tt
94
+ OR = {
95
+ has_reform = steppe_horde
96
+ has_reform = great_mongol_state_reform
97
+ }
98
+ total_own_and_non_tributary_subject_development = 300
99
+ }
64
100
  war_with = ROOT
65
101
  war_score_against = {
66
102
  who = ROOT
@@ -71,13 +107,21 @@ empire_of_china_nomadic_border = {
71
107
  modifier = {
72
108
  factor = -3
73
109
  any_neighbor_country = {
74
- has_reform = steppe_horde
75
- war_with = ROOT
76
- total_own_and_non_tributary_subject_development = 300
77
- ROOT = {
78
- war_score_against = {
79
- who = PREV
80
- value = 25
110
+ custom_trigger_tooltip = {
111
+ tooltip = empire_of_china_nomadic_border_tt
112
+ OR = {
113
+ has_reform = steppe_horde
114
+ has_reform = great_mongol_state_reform
115
+ }
116
+ total_own_and_non_tributary_subject_development = 300
117
+ }
118
+ custom_trigger_tooltip = {
119
+ tooltip = warscore_v_horde_25_tt
120
+ ROOT = {
121
+ war_score_against = {
122
+ who = PREV
123
+ value = 25
124
+ }
81
125
  }
82
126
  }
83
127
  }
@@ -91,13 +135,25 @@ empire_of_china_nomadic_border = {
91
135
  is_emperor_of_china = no
92
136
  NOT = {
93
137
  any_neighbor_country = {
94
- has_reform = steppe_horde
95
- total_own_and_non_tributary_subject_development = 300
96
138
  NOT = { alliance_with = ROOT }
97
139
  is_subject = no
140
+ custom_trigger_tooltip = {
141
+ tooltip = empire_of_china_nomadic_border_tt
142
+ OR = {
143
+ has_reform = steppe_horde
144
+ has_reform = great_mongol_state_reform
145
+ hidden_trigger = {
146
+ has_global_flag = is_forming_the_mongol_empire
147
+ }
148
+ }
149
+ total_own_and_non_tributary_subject_development = 300
150
+ }
98
151
  }
99
152
  }
100
153
  }
154
+ hidden_trigger = {
155
+ NOT = { has_global_flag = is_forming_the_mongol_empire }
156
+ }
101
157
  }
102
158
 
103
159
 
@@ -150,7 +206,10 @@ empire_of_china_nomadic_border = {
150
206
  set_country_flag = empire_of_china_nomadic_border_started_ticker
151
207
  every_neighbor_country = {
152
208
  limit = {
153
- has_reform = steppe_horde
209
+ OR = {
210
+ has_reform = steppe_horde
211
+ has_reform = great_mongol_state_reform
212
+ }
154
213
  total_own_and_non_tributary_subject_development = 300
155
214
  NOT = { alliance_with = ROOT }
156
215
  is_subject = no
@@ -170,7 +229,10 @@ empire_of_china_nomadic_border = {
170
229
  set_country_flag = empire_of_china_nomadic_border_further_ticker
171
230
  every_neighbor_country = {
172
231
  limit = {
173
- has_reform = steppe_horde
232
+ OR = {
233
+ has_reform = steppe_horde
234
+ has_reform = great_mongol_state_reform
235
+ }
174
236
  total_own_and_non_tributary_subject_development = 300
175
237
  NOT = { alliance_with = ROOT }
176
238
  is_subject = no
common/disasters/english_civil_war.txt CHANGED
@@ -5,40 +5,75 @@ english_civil_war = {
5
5
  AND = {
6
6
  tag = ENG
7
7
  NOT = { exists = GBR }
8
+ NOT = { exists = AVE }
8
9
  }
9
10
  tag = GBR
11
+ tag = AVE
10
12
  }
11
13
  NOT = { has_country_flag = eng_civil_war_happened }
12
- has_reform = english_monarchy
14
+ if = {
15
+ limit = {
16
+ NOT = { has_country_flag = eng_easier_civil_war_triggers }
17
+ }
18
+ british_isles_region = {
19
+ owned_by = ROOT
20
+ NOT = { area = munster_area }
21
+ NOT = { area = connacht_area }
22
+ NOT = { area = leinster_area }
23
+ NOT = { area = ulster_area }
24
+ }
25
+ }
26
+ OR = {
27
+ has_reform = english_monarchy
28
+ has_reform = british_monarchy
29
+ has_reform = angevin_monarchy
30
+ }
13
31
  is_free_or_tributary_trigger = yes
14
32
  is_lesser_in_union = no
15
- british_isles_region = {
16
- owned_by = ROOT
17
- NOT = { area = munster_area }
18
- NOT = { area = connacht_area }
19
- NOT = { area = leinster_area }
20
- NOT = { area = ulster_area }
21
- }
22
33
  normal_or_historical_nations = yes
23
34
  }
24
35
 
25
36
  can_start = {
26
- current_age = age_of_absolutism
27
- has_any_disaster = no
28
- OR = {
29
- NOT = { stability = 1 }
30
- AND = {
31
- current_size_of_parliament = 20
32
- NOT = { stability = 2 }
37
+ if = {
38
+ limit = {
39
+ NOT = { has_country_flag = eng_easier_civil_war_triggers }
40
+ }
41
+ current_age = age_of_absolutism
42
+ OR = {
43
+ NOT = { stability = 1 }
44
+ AND = {
45
+ current_size_of_parliament = 20
46
+ NOT = { stability = 2 }
47
+ }
48
+ AND = {
49
+ absolutism = 20
50
+ NOT = { stability = 3 }
51
+ }
33
52
  }
34
53
  }
54
+ else = {
55
+ NOT = { stability = 3 }
56
+ }
57
+ has_any_disaster = no
35
58
  }
36
59
 
37
60
  can_stop = {
38
61
  OR = {
39
62
  has_any_disaster = yes
40
- stability = 3
41
- NOT = { has_reform = english_monarchy }
63
+ if = {
64
+ limit = {
65
+ NOT = { has_country_flag = eng_easier_civil_war_triggers }
66
+ }
67
+ stability = 1
68
+ }
69
+ else = {
70
+ stability = 3
71
+ }
72
+ AND = {
73
+ NOT = { has_reform = english_monarchy }
74
+ NOT = { has_reform = british_monarchy }
75
+ NOT = { has_reform = angevin_monarchy }
76
+ }
42
77
  }
43
78
  }
44
79
 
@@ -51,6 +86,26 @@ english_civil_war = {
51
86
  factor = 1
52
87
  NOT = { stability = 0 }
53
88
  }
89
+ modifier = {
90
+ factor = 1
91
+ absolutism = 30
92
+ }
93
+ modifier = {
94
+ factor = 1
95
+ absolutism = 35
96
+ }
97
+ modifier = {
98
+ factor = 1
99
+ absolutism = 40
100
+ }
101
+ modifier = {
102
+ factor = 1
103
+ absolutism = 45
104
+ }
105
+ modifier = {
106
+ factor = 1
107
+ absolutism = 50
108
+ }
54
109
  modifier = {
55
110
  factor = 1
56
111
  current_debate = support_ruling_dynasty
@@ -66,14 +121,16 @@ english_civil_war = {
66
121
  }
67
122
 
68
123
  modifier = {
69
- global_unrest = 9
124
+ global_unrest = 10
125
+ legitimacy = -1
126
+ republican_tradition = -0.5
70
127
  }
71
128
 
72
129
  can_end = {
73
130
  NOT = { num_of_rebel_armies = 1 }
74
131
  NOT = { num_of_rebel_controlled_provinces = 1 }
75
132
  NOT = { average_unrest = 1 }
76
- stability = 1
133
+ stability = 2
77
134
  hidden_trigger = {
78
135
  NOT = { has_country_modifier = just_lost_to_rebels }
79
136
  NOT = { has_country_flag = english_civil_war_start_event }
common/disasters/estate_brahmins_disaster.txt CHANGED
@@ -6,6 +6,7 @@ estate_brahmins_disaster = {
6
6
  estate = estate_brahmins
7
7
  influence = 80
8
8
  }
9
+ NOT = { has_disaster = tur_disaster_ottoman_power_struggle }
9
10
  }
10
11
 
11
12
 
@@ -44,6 +45,16 @@ estate_brahmins_disaster = {
44
45
  }
45
46
 
46
47
  progress = {
48
+ modifier = {
49
+ factor = 0.5
50
+ NOT = {
51
+ estate_loyalty = {
52
+ estate = estate_brahmins
53
+ loyalty = 60
54
+ }
55
+ }
56
+ is_at_war = no
57
+ }
47
58
  modifier = {
48
59
  factor = 0.5
49
60
  NOT = {
@@ -90,9 +101,9 @@ estate_brahmins_disaster = {
90
101
  custom_trigger_tooltip = {
91
102
  tooltip = EST_CRUSHED_BRAHMINS
92
103
  OR = {
93
- NOT = { has_country_flag = brahmin_estate_in_power }
94
- has_country_flag = noble_estate_in_power
95
- has_country_flag = church_estate_in_power
104
+ NOT = { has_country_flag = estate_brahmins_in_power }
105
+ has_country_flag = estate_nobles_in_power
106
+ has_country_flag = estate_church_in_power
96
107
  }
97
108
  }
98
109
  }
common/disasters/estate_burghers_disaster.txt CHANGED
@@ -5,6 +5,7 @@ estate_burghers_disaster = {
5
5
  estate = estate_burghers
6
6
  influence = 80
7
7
  }
8
+ NOT = { has_disaster = tur_disaster_ottoman_power_struggle }
8
9
  }
9
10
 
10
11
 
@@ -43,6 +44,16 @@ estate_burghers_disaster = {
43
44
  }
44
45
 
45
46
  progress = {
47
+ modifier = {
48
+ factor = 0.5
49
+ NOT = {
50
+ estate_loyalty = {
51
+ estate = estate_burghers
52
+ loyalty = 60
53
+ }
54
+ }
55
+ is_at_war = no
56
+ }
46
57
  modifier = {
47
58
  factor = 0.5
48
59
  NOT = {
@@ -89,9 +100,9 @@ estate_burghers_disaster = {
89
100
  custom_trigger_tooltip = {
90
101
  tooltip = EST_CRUSHED_BURGHERS
91
102
  OR = {
92
- NOT = { has_country_flag = burghers_estate_in_power }
93
- has_country_flag = noble_estate_in_power
94
- has_country_flag = church_estate_in_power
103
+ NOT = { has_country_flag = estate_burghers_in_power }
104
+ has_country_flag = estate_nobles_in_power
105
+ has_country_flag = estate_church_in_power
95
106
  }
96
107
  }
97
108
  }
common/disasters/estate_church_disaster.txt CHANGED
@@ -5,6 +5,7 @@ estate_church_disaster = {
5
5
  estate = estate_church
6
6
  influence = 80
7
7
  }
8
+ NOT = { has_disaster = tur_disaster_ottoman_power_struggle }
8
9
  }
9
10
 
10
11
 
@@ -43,6 +44,16 @@ estate_church_disaster = {
43
44
  }
44
45
 
45
46
  progress = {
47
+ modifier = {
48
+ factor = 0.5
49
+ NOT = {
50
+ estate_loyalty = {
51
+ estate = estate_church
52
+ loyalty = 60
53
+ }
54
+ }
55
+ is_at_war = no
56
+ }
46
57
  modifier = {
47
58
  factor = 0.5
48
59
  NOT = {
@@ -89,8 +100,8 @@ estate_church_disaster = {
89
100
  custom_trigger_tooltip = {
90
101
  tooltip = EST_CRUSHED_CHURCH
91
102
  OR = {
92
- NOT = { has_country_flag = church_estate_in_power }
93
- has_country_flag = noble_estate_in_power
103
+ NOT = { has_country_flag = estate_church_in_power }
104
+ has_country_flag = estate_nobles_in_power
94
105
  }
95
106
  }
96
107
  }
common/disasters/estate_cossacks_disaster.txt CHANGED
@@ -12,6 +12,7 @@ estate_cossacks_disaster = {
12
12
  days = 365
13
13
  }
14
14
  }
15
+ NOT = { has_disaster = tur_disaster_ottoman_power_struggle }
15
16
  }
16
17
 
17
18
 
@@ -50,6 +51,16 @@ estate_cossacks_disaster = {
50
51
  }
51
52
 
52
53
  progress = {
54
+ modifier = {
55
+ factor = 0.5
56
+ NOT = {
57
+ estate_loyalty = {
58
+ estate = estate_cossacks
59
+ loyalty = 60
60
+ }
61
+ }
62
+ is_at_war = no
63
+ }
53
64
  modifier = {
54
65
  factor = 0.5
55
66
  NOT = {
common/disasters/estate_dhimmi_disaster.txt CHANGED
@@ -12,6 +12,7 @@ estate_dhimmi_disaster = {
12
12
  days = 365
13
13
  }
14
14
  }
15
+ NOT = { has_disaster = tur_disaster_ottoman_power_struggle }
15
16
  }
16
17
 
17
18
 
@@ -50,6 +51,16 @@ estate_dhimmi_disaster = {
50
51
  }
51
52
 
52
53
  progress = {
54
+ modifier = {
55
+ factor = 0.5
56
+ NOT = {
57
+ estate_loyalty = {
58
+ estate = estate_dhimmi
59
+ loyalty = 60
60
+ }
61
+ }
62
+ is_at_war = no
63
+ }
53
64
  modifier = {
54
65
  factor = 0.5
55
66
  NOT = {
common/disasters/estate_eunuchs_disaster.txt ADDED
@@ -0,0 +1,108 @@
1
+ estate_eunuchs_disaster = {
2
+ potential = {
3
+ has_estate = estate_eunuchs
4
+ estate_influence = {
5
+ estate = estate_eunuchs
6
+ influence = 60
7
+ }
8
+ }
9
+
10
+
11
+ can_start = {
12
+ estate_influence = {
13
+ estate = estate_eunuchs
14
+ influence = 100
15
+ }
16
+ corruption = 4
17
+ }
18
+
19
+ can_stop = {
20
+ OR = {
21
+ NOT = {
22
+ estate_influence = {
23
+ estate = estate_eunuchs
24
+ influence = 100
25
+ }
26
+ }
27
+ NOT = { corruption = 2 }
28
+ }
29
+ }
30
+
31
+ down_progress = {
32
+ factor = 0
33
+ modifier = {
34
+ factor = 1
35
+ NOT = {
36
+ estate_influence = {
37
+ estate = estate_eunuchs
38
+ influence = 100
39
+ }
40
+ }
41
+ }
42
+ modifier = {
43
+ factor = 1
44
+ NOT = { corruption = 2.5 }
45
+ }
46
+ }
47
+
48
+ progress = {
49
+ modifier = {
50
+ factor = 0.5
51
+ NOT = {
52
+ estate_loyalty = {
53
+ estate = estate_eunuchs
54
+ loyalty = 50
55
+ }
56
+ }
57
+ }
58
+ modifier = {
59
+ factor = 0.5
60
+ NOT = {
61
+ estate_loyalty = {
62
+ estate = estate_eunuchs
63
+ loyalty = 40
64
+ }
65
+ }
66
+ }
67
+ modifier = {
68
+ factor = 1
69
+ NOT = {
70
+ estate_loyalty = {
71
+ estate = estate_eunuchs
72
+ loyalty = 30
73
+ }
74
+ }
75
+ }
76
+ modifier = {
77
+ factor = 1
78
+ NOT = {
79
+ estate_loyalty = {
80
+ estate = estate_eunuchs
81
+ loyalty = 20
82
+ }
83
+ }
84
+ }
85
+ }
86
+
87
+ can_end = {
88
+ custom_trigger_tooltip = {
89
+ tooltip = EST_CRUSHED_EUNUCHS_TT
90
+ NOT = { has_country_flag = estate_eunuchs_in_power }
91
+ }
92
+ }
93
+
94
+ modifier = {
95
+ imperial_mandate = -0.15
96
+ global_monthly_devastation = 0.1
97
+ meritocracy = -0.5
98
+ global_unrest = 20
99
+ administrative_efficiency = -0.25
100
+
101
+ }
102
+
103
+ on_start = estate_disasters.19
104
+ on_end = estate_disasters.20
105
+
106
+ on_monthly = { }
107
+ }
108
+
common/disasters/estate_ghulams_disaster.txt ADDED
@@ -0,0 +1,114 @@
1
+ estate_ghulams_disaster = {
2
+
3
+ potential = {
4
+ has_dlc = "King of Kings"
5
+ has_estate = estate_ghulams
6
+ estate_influence = {
7
+ estate = estate_ghulams
8
+ influence = 80
9
+ }
10
+ OR = {
11
+ NOT = { has_country_flag = estate_ghulams_triggered }
12
+ had_country_flag = {
13
+ flag = estate_ghulams_triggered
14
+ days = 365
15
+ }
16
+ }
17
+ NOT = { has_disaster = tur_disaster_ottoman_power_struggle }
18
+ }
19
+
20
+ can_start = {
21
+ has_any_disaster = no
22
+ estate_influence = {
23
+ estate = estate_ghulams
24
+ influence = 100
25
+ }
26
+ is_at_war = no
27
+ }
28
+
29
+ can_stop = {
30
+ OR = {
31
+ has_any_disaster = yes
32
+ NOT = {
33
+ estate_influence = {
34
+ estate = estate_ghulams
35
+ influence = 100
36
+ }
37
+ }
38
+ }
39
+ }
40
+
41
+ down_progress = {
42
+ factor = 0
43
+ modifier = {
44
+ factor = 1
45
+ NOT = {
46
+ estate_influence = {
47
+ estate = estate_ghulams
48
+ influence = 100
49
+ }
50
+ }
51
+ }
52
+ }
53
+
54
+ progress = {
55
+ modifier = {
56
+ factor = 0.5
57
+ NOT = {
58
+ estate_loyalty = {
59
+ estate = estate_ghulams
60
+ loyalty = 50
61
+ }
62
+ }
63
+ is_at_war = no
64
+ }
65
+ modifier = {
66
+ factor = 0.5
67
+ NOT = {
68
+ estate_loyalty = {
69
+ estate = estate_ghulams
70
+ loyalty = 40
71
+ }
72
+ }
73
+ is_at_war = no
74
+ }
75
+ modifier = {
76
+ factor = 1
77
+ NOT = {
78
+ estate_loyalty = {
79
+ estate = estate_ghulams
80
+ loyalty = 30
81
+ }
82
+ }
83
+ is_at_war = no
84
+ }
85
+ modifier = {
86
+ factor = 1
87
+ NOT = {
88
+ estate_loyalty = {
89
+ estate = estate_ghulams
90
+ loyalty = 20
91
+ }
92
+ }
93
+ is_at_war = no
94
+ }
95
+ }
96
+
97
+ can_end = {
98
+ always = yes
99
+ }
100
+
101
+ on_start = estate_disasters.22
102
+
103
+ on_start_effect = {
104
+ if = {
105
+ limit = {
106
+ has_dlc = "The Cossacks"
107
+ }
108
+ custom_tooltip = estate_ghulams_disaster_tooltip_cossacks
109
+ }
110
+ else = {
111
+ custom_tooltip = estate_ghulams_disaster_tooltip
112
+ }
113
+ }
114
+ }
common/disasters/estate_jains_disaster.txt CHANGED
@@ -6,6 +6,7 @@ estate_jains_disaster = {
6
6
  estate = estate_jains
7
7
  influence = 80
8
8
  }
9
+ NOT = { has_disaster = tur_disaster_ottoman_power_struggle }
9
10
  }
10
11
 
11
12
 
@@ -44,6 +45,16 @@ estate_jains_disaster = {
44
45
  }
45
46
 
46
47
  progress = {
48
+ modifier = {
49
+ factor = 0.5
50
+ NOT = {
51
+ estate_loyalty = {
52
+ estate = estate_jains
53
+ loyalty = 60
54
+ }
55
+ }
56
+ is_at_war = no
57
+ }
47
58
  modifier = {
48
59
  factor = 0.5
49
60
  NOT = {
@@ -90,9 +101,9 @@ estate_jains_disaster = {
90
101
  custom_trigger_tooltip = {
91
102
  tooltip = EST_CRUSHED_JAINS
92
103
  OR = {
93
- NOT = { has_country_flag = jains_estate_in_power }
94
- has_country_flag = noble_estate_in_power
95
- has_country_flag = church_estate_in_power
104
+ NOT = { has_country_flag = estate_jains_in_power }
105
+ has_country_flag = estate_nobles_in_power
106
+ has_country_flag = estate_church_in_power
96
107
  }
97
108
  }
98
109
  }
common/disasters/estate_janissaries_disaster.txt ADDED
@@ -0,0 +1,122 @@
1
+ estate_janissary_disaster = {
2
+ potential = {
3
+ has_estate = estate_janissaries
4
+ estate_influence = {
5
+ estate = estate_janissaries
6
+ influence = 80
7
+ }
8
+ OR = {
9
+ NOT = { has_country_flag = estate_janissaries_triggered }
10
+ had_country_flag = {
11
+ flag = estate_janissaries_triggered
12
+ days = 365
13
+ }
14
+ }
15
+ NOT = { has_disaster = tur_disaster_ottoman_power_struggle }
16
+ }
17
+
18
+ can_start = {
19
+ has_any_disaster = no
20
+ estate_influence = {
21
+ estate = estate_janissaries
22
+ influence = 100
23
+ }
24
+ is_at_war = no
25
+ }
26
+
27
+ can_stop = {
28
+ OR = {
29
+ has_any_disaster = yes
30
+ NOT = {
31
+ estate_influence = {
32
+ estate = estate_janissaries
33
+ influence = 100
34
+ }
35
+ }
36
+ }
37
+ }
38
+
39
+ down_progress = {
40
+ factor = 0
41
+ modifier = {
42
+ factor = 1
43
+ NOT = {
44
+ estate_influence = {
45
+ estate = estate_janissaries
46
+ influence = 100
47
+ }
48
+ }
49
+ }
50
+ }
51
+
52
+ progress = {
53
+ modifier = {
54
+ factor = 0.5
55
+ NOT = {
56
+ estate_loyalty = {
57
+ estate = estate_janissaries
58
+ loyalty = 60
59
+ }
60
+ }
61
+ is_at_war = no
62
+ }
63
+ modifier = {
64
+ factor = 0.5
65
+ NOT = {
66
+ estate_loyalty = {
67
+ estate = estate_janissaries
68
+ loyalty = 50
69
+ }
70
+ }
71
+ is_at_war = no
72
+ }
73
+ modifier = {
74
+ factor = 0.5
75
+ NOT = {
76
+ estate_loyalty = {
77
+ estate = estate_janissaries
78
+ loyalty = 40
79
+ }
80
+ }
81
+ is_at_war = no
82
+ }
83
+ modifier = {
84
+ factor = 1
85
+ NOT = {
86
+ estate_loyalty = {
87
+ estate = estate_janissaries
88
+ loyalty = 30
89
+ }
90
+ }
91
+ is_at_war = no
92
+ }
93
+ modifier = {
94
+ factor = 1
95
+ NOT = {
96
+ estate_loyalty = {
97
+ estate = estate_janissaries
98
+ loyalty = 20
99
+ }
100
+ }
101
+ is_at_war = no
102
+ }
103
+ }
104
+
105
+ can_end = {
106
+ always = yes
107
+ }
108
+
109
+ on_start = estate_disasters.21
110
+
111
+ on_start_effect = {
112
+ if = {
113
+ limit = {
114
+ has_dlc = "The Cossacks"
115
+ }
116
+ custom_tooltip = estate_janissaries_disaster_tooltip_cossacks
117
+ }
118
+ else = {
119
+ custom_tooltip = estate_janissaries_disaster_tooltip
120
+ }
121
+ }
122
+ }
common/disasters/estate_maratha_disaster.txt CHANGED
@@ -14,6 +14,7 @@ estate_maratha_disaster = {
14
14
  days = 365
15
15
  }
16
16
  }
17
+ NOT = { has_disaster = tur_disaster_ottoman_power_struggle }
17
18
  }
18
19
 
19
20
  can_start = {
@@ -50,7 +51,17 @@ estate_maratha_disaster = {
50
51
  }
51
52
  }
52
53
 
53
- progress = {
54
+ progress = {
55
+ modifier = {
56
+ factor = 0.5
57
+ NOT = {
58
+ estate_loyalty = {
59
+ estate = estate_maratha
60
+ loyalty = 60
61
+ }
62
+ }
63
+ is_at_war = no
64
+ }
54
65
  modifier = {
55
66
  factor = 0.5
56
67
  NOT = {
common/disasters/estate_nobility_disaster.txt CHANGED
@@ -5,6 +5,7 @@ estate_nobility_disaster = {
5
5
  estate = estate_nobles
6
6
  influence = 80
7
7
  }
8
+ NOT = { has_disaster = tur_disaster_ottoman_power_struggle }
8
9
  }
9
10
 
10
11
 
@@ -43,6 +44,16 @@ estate_nobility_disaster = {
43
44
  }
44
45
 
45
46
  progress = {
47
+ modifier = {
48
+ factor = 0.5
49
+ NOT = {
50
+ estate_loyalty = {
51
+ estate = estate_nobles
52
+ loyalty = 60
53
+ }
54
+ }
55
+ is_at_war = no
56
+ }
46
57
  modifier = {
47
58
  factor = 0.5
48
59
  NOT = {
@@ -89,7 +100,7 @@ estate_nobility_disaster = {
89
100
  custom_trigger_tooltip = {
90
101
  tooltip = EST_CRUSHED_NOBLES
91
102
  NOT = {
92
- has_country_flag = noble_estate_in_power
103
+ has_country_flag = estate_nobles_in_power
93
104
  }
94
105
  }
95
106
  }
common/disasters/estate_nomadic_tribes_disaster.txt CHANGED
@@ -5,6 +5,7 @@ estate_nomadic_tribes_disaster = {
5
5
  estate = estate_nomadic_tribes
6
6
  influence = 80
7
7
  }
8
+ NOT = { has_disaster = tur_disaster_ottoman_power_struggle }
8
9
  }
9
10
 
10
11
 
@@ -43,6 +44,16 @@ estate_nomadic_tribes_disaster = {
43
44
  }
44
45
 
45
46
  progress = {
47
+ modifier = {
48
+ factor = 0.5
49
+ NOT = {
50
+ estate_loyalty = {
51
+ estate = estate_nomadic_tribes
52
+ loyalty = 60
53
+ }
54
+ }
55
+ is_at_war = no
56
+ }
46
57
  modifier = {
47
58
  factor = 0.5
48
59
  NOT = {
@@ -88,7 +99,7 @@ estate_nomadic_tribes_disaster = {
88
99
  can_end = {
89
100
  custom_trigger_tooltip = {
90
101
  tooltip = EST_CRUSHED_NOMADIC_TRIBES
91
- NOT = { has_country_flag = nomadic_tribes_estate_in_power }
102
+ NOT = { has_country_flag = estate_nomadic_tribes_in_power }
92
103
  }
93
104
  }
94
105
 
common/disasters/estate_qizilbash_disaster.txt ADDED
@@ -0,0 +1,112 @@
1
+ estate_qizilbash_disaster = {
2
+ potential = {
3
+ has_dlc = "King of Kings"
4
+ has_estate = estate_qizilbash
5
+ estate_influence = {
6
+ estate = estate_qizilbash
7
+ influence = 80
8
+ }
9
+ NOT = { has_disaster = tur_disaster_ottoman_power_struggle }
10
+ }
11
+
12
+ can_start = {
13
+ has_any_disaster = no
14
+ estate_influence = {
15
+ estate = estate_qizilbash
16
+ influence = 100
17
+ }
18
+ is_at_war = no
19
+ }
20
+
21
+ can_stop = {
22
+ OR = {
23
+ has_any_disaster = yes
24
+ NOT = {
25
+ estate_influence = {
26
+ estate = estate_qizilbash
27
+ influence = 100
28
+ }
29
+ }
30
+ }
31
+ }
32
+
33
+ down_progress = {
34
+ factor = 0
35
+ modifier = {
36
+ factor = 1
37
+ NOT = {
38
+ estate_influence = {
39
+ estate = estate_qizilbash
40
+ influence = 100
41
+ }
42
+ }
43
+ }
44
+ }
45
+
46
+ progress = {
47
+ modifier = {
48
+ factor = 0.5
49
+ NOT = {
50
+ estate_loyalty = {
51
+ estate = estate_qizilbash
52
+ loyalty = 50
53
+ }
54
+ }
55
+ is_at_war = no
56
+ }
57
+ modifier = {
58
+ factor = 0.5
59
+ NOT = {
60
+ estate_loyalty = {
61
+ estate = estate_qizilbash
62
+ loyalty = 40
63
+ }
64
+ }
65
+ is_at_war = no
66
+ }
67
+ modifier = {
68
+ factor = 1
69
+ NOT = {
70
+ estate_loyalty = {
71
+ estate = estate_qizilbash
72
+ loyalty = 30
73
+ }
74
+ }
75
+ is_at_war = no
76
+ }
77
+ modifier = {
78
+ factor = 1
79
+ NOT = {
80
+ estate_loyalty = {
81
+ estate = estate_qizilbash
82
+ loyalty = 20
83
+ }
84
+ }
85
+ is_at_war = no
86
+ }
87
+ }
88
+
89
+ can_end = {
90
+ custom_trigger_tooltip = {
91
+ tooltip = EST_CRUSHED_QIZILBASH
92
+ OR = {
93
+ NOT = { has_country_flag = estate_qizilbash_in_power }
94
+ has_country_flag = estate_nobles_in_power
95
+ has_country_flag = estate_church_in_power
96
+ }
97
+ }
98
+ }
99
+
100
+ modifier = {
101
+ global_autonomy = 0.1
102
+ discipline = -0.05
103
+ legitimacy = -2
104
+ devotion = -2
105
+ horde_unity = -2
106
+ meritocracy = -2
107
+ republican_tradition = -0.5
108
+ }
109
+
110
+ on_start = estate_disasters.23
111
+ on_end = estate_disasters.24
112
+ }
common/disasters/estate_rajput_disaster.txt CHANGED
@@ -14,6 +14,7 @@ estate_rajput_disaster = {
14
14
  days = 365
15
15
  }
16
16
  }
17
+ NOT = { has_disaster = tur_disaster_ottoman_power_struggle }
17
18
  }
18
19
 
19
20
  can_start = {
@@ -51,6 +52,16 @@ estate_rajput_disaster = {
51
52
  }
52
53
 
53
54
  progress = {
55
+ modifier = {
56
+ factor = 0.5
57
+ NOT = {
58
+ estate_loyalty = {
59
+ estate = estate_rajput
60
+ loyalty = 60
61
+ }
62
+ }
63
+ is_at_war = no
64
+ }
54
65
  modifier = {
55
66
  factor = 0.5
56
67
  NOT = {
common/disasters/estate_vaisyas_disaster.txt CHANGED
@@ -6,6 +6,7 @@ estate_vaisyas_disaster = {
6
6
  estate = estate_vaisyas
7
7
  influence = 80
8
8
  }
9
+ NOT = { has_disaster = tur_disaster_ottoman_power_struggle }
9
10
  }
10
11
 
11
12
 
@@ -36,7 +37,7 @@ estate_vaisyas_disaster = {
36
37
  factor = 1
37
38
  NOT = {
38
39
  estate_influence = {
39
- estate = estate_rajput
40
+ estate = estate_vaisyas
40
41
  influence = 100
41
42
  }
42
43
  }
@@ -44,6 +45,16 @@ estate_vaisyas_disaster = {
44
45
  }
45
46
 
46
47
  progress = {
48
+ modifier = {
49
+ factor = 0.5
50
+ NOT = {
51
+ estate_loyalty = {
52
+ estate = estate_vaisyas
53
+ loyalty = 60
54
+ }
55
+ }
56
+ is_at_war = no
57
+ }
47
58
  modifier = {
48
59
  factor = 0.5
49
60
  NOT = {
@@ -90,9 +101,9 @@ estate_vaisyas_disaster = {
90
101
  custom_trigger_tooltip = {
91
102
  tooltip = EST_CRUSHED_VAISYAS
92
103
  OR = {
93
- NOT = { has_country_flag = vaisyas_estate_in_power }
94
- has_country_flag = noble_estate_in_power
95
- has_country_flag = church_estate_in_power
104
+ NOT = { has_country_flag = estate_vaisyas_in_power }
105
+ has_country_flag = estate_nobles_in_power
106
+ has_country_flag = estate_church_in_power
96
107
  }
97
108
  }
98
109
  }
common/disasters/fall_of_majapahit.txt ADDED
@@ -0,0 +1,55 @@
1
+ fall_of_majapahit = {
2
+ ended_by_country_breaking_to_rebels = no
3
+ potential = {
4
+ has_dlc = "Leviathan"
5
+ NOT = { has_country_flag = had_fall_of_majapahit }
6
+ uses_doom = no
7
+ is_free_or_tributary_trigger = yes
8
+ normal_or_historical_nations = yes
9
+ tag = MAJ
10
+ }
11
+
12
+ can_start = {
13
+ has_any_disaster = no
14
+ }
15
+
16
+ can_stop = {
17
+ has_any_disaster = yes
18
+ }
19
+
20
+
21
+ progress = {
22
+ modifier = {
23
+ factor = 100
24
+ tag = MAJ
25
+ }
26
+ }
27
+
28
+ can_end = {
29
+ mission_completed = mnd_maj_end_disaster
30
+ }
31
+
32
+
33
+ modifier = {
34
+ all_power_cost = 0.15
35
+ monarch_lifespan = -0.5
36
+ reduced_liberty_desire = -15
37
+ }
38
+
39
+ on_start = majapahit.3 # The Fall of Majapahit
40
+ on_end = majapahit.4 # Stabilizing an Empire
41
+
42
+ on_monthly = {
43
+ events = {
44
+ majapahit.5 # The Rise of Demak
45
+ majapahit.6 # The rise of Mataram
46
+ majapahit.9 # Aid from Muslim merchants
47
+ }
48
+ random_events = {
49
+ 360 = 0
50
+ 10 = majapahit.7 # Tributary Breaks Away
51
+ 10 = majapahit.10 # Spread of Islam in [province]
52
+ }
53
+ }
54
+ }
55
+
common/disasters/french_revolution.txt CHANGED
@@ -15,7 +15,6 @@ french_revolution = {
15
15
  has_dlc = "Emperor"
16
16
  }
17
17
  is_great_power = yes
18
- revolution_spread = 0.2
19
18
  capital_scope = {
20
19
  OR = {
21
20
  continent = europe
@@ -34,7 +33,14 @@ french_revolution = {
34
33
  can_start = {
35
34
  current_age = age_of_revolutions
36
35
  has_any_disaster = no
37
- NOT = { stability = 2 }
36
+ OR = {
37
+ NOT = { stability = 2 }
38
+ AND = {
39
+ capital_scope = { controlled_by = REB }
40
+ has_spawned_rebels = revolutionary_rebels
41
+ num_of_rebel_controlled_provinces = 8
42
+ }
43
+ }
38
44
  OR = {
39
45
  NOT = { stability = 0 }
40
46
  revolution_spread = 0.5
@@ -55,6 +61,11 @@ french_revolution = {
55
61
  }
56
62
  }
57
63
  }
64
+ AND = {
65
+ capital_scope = { controlled_by = REB }
66
+ has_spawned_rebels = revolutionary_rebels
67
+ num_of_rebel_controlled_provinces = 8
68
+ }
58
69
  }
59
70
  }
60
71
 
@@ -95,12 +106,27 @@ french_revolution = {
95
106
  NOT = { num_of_loans = 25 }
96
107
  }
97
108
  modifier = {
98
- factor = 0.75
109
+ factor = 1.5
110
+ absolutism = 25
111
+ }
112
+ modifier = {
113
+ factor = 0.5
114
+ absolutism = 40
115
+ }
116
+ modifier = {
117
+ factor = 0.5
118
+ absolutism = 50
119
+ }
120
+ modifier = {
121
+ factor = 0.5
122
+ absolutism = 60
123
+ }
124
+ modifier = {
125
+ factor = 0.5
99
126
  absolutism = 70
100
- NOT = { absolutism = 80 }
101
127
  }
102
128
  modifier = {
103
- factor = 1.5
129
+ factor = 0.5
104
130
  absolutism = 80
105
131
  }
106
132
  modifier = {
@@ -109,6 +135,10 @@ french_revolution = {
109
135
  }
110
136
  modifier = {
111
137
  factor = 3
138
+ capital_scope = { controlled_by = REB }
139
+ }
140
+ modifier = {
141
+ factor = 10
112
142
  is_bankrupt = yes
113
143
  }
114
144
  modifier = {
@@ -127,6 +157,12 @@ french_revolution = {
127
157
  }
128
158
  }
129
159
  }
160
+ modifier = {
161
+ factor = 1
162
+ capital_scope = {
163
+ has_revolution_in_province = yes
164
+ }
165
+ }
130
166
  }
131
167
 
132
168
  can_end = {
common/disasters/french_wars_of_religion.txt CHANGED
@@ -8,9 +8,15 @@ french_wars_of_religion = {
8
8
  religion = catholic
9
9
  religion = protestant
10
10
  religion = reformed
11
+ religion = anglican
12
+ religion = hussite
11
13
  }
12
14
  is_force_converted = no
13
15
  normal_or_historical_nations = yes
16
+ OR = {
17
+ current_age = age_of_reformation
18
+ current_age = age_of_discovery
19
+ }
14
20
  }
15
21
 
16
22
  can_start = {
@@ -20,7 +26,7 @@ french_wars_of_religion = {
20
26
  is_religion_enabled = reformed
21
27
  }
22
28
  has_any_disaster = no
23
- NOT = { religious_unity = 0.75 }
29
+ NOT = { religious_unity = 0.9 }
24
30
  NOT = { full_idea_group = humanist_ideas }
25
31
  any_owned_province = {
26
32
  continent = europe
@@ -29,6 +35,8 @@ french_wars_of_religion = {
29
35
  religion = catholic
30
36
  religion = protestant
31
37
  religion = reformed
38
+ religion = anglican
39
+ religion = hussite
32
40
  }
33
41
  }
34
42
  }
@@ -36,7 +44,7 @@ french_wars_of_religion = {
36
44
  can_stop = {
37
45
  OR = {
38
46
  has_any_disaster = yes
39
- religious_unity = 0.75
47
+ religious_unity = 0.9
40
48
  full_idea_group = humanist_ideas
41
49
  }
42
50
  }
@@ -44,12 +52,12 @@ french_wars_of_religion = {
44
52
  progress = {
45
53
  modifier = {
46
54
  factor = 1
47
- NOT = { religious_unity = 0.75 }
48
- religious_unity = 0.5
55
+ NOT = { religious_unity = 0.9 }
56
+ religious_unity = 0.75
49
57
  }
50
58
  modifier = {
51
59
  factor = 2
52
- NOT = { religious_unity = 0.5 }
60
+ NOT = { religious_unity = 0.8 }
53
61
  }
54
62
  modifier = {
55
63
  factor = 1
@@ -57,16 +65,16 @@ french_wars_of_religion = {
57
65
  }
58
66
  modifier = {
59
67
  factor = 1
60
- NOT = { stability = 0 }
68
+ NOT = { stability = 1 }
61
69
  }
62
70
  modifier = {
63
71
  factor = 2
64
72
  has_hostile_reformation_center = yes
65
73
  }
66
- modifier = {
67
- factor = -1
68
- has_friendly_reformation_center = yes
69
- }
74
+ # modifier = {
75
+ # factor = -1
76
+ # has_friendly_reformation_center = yes
77
+ # }
70
78
  }
71
79
 
72
80
  can_end = {
common/disasters/georgian_crisis.txt ADDED
@@ -0,0 +1,101 @@
1
+ georgian_crisis = {
2
+ potential = {
3
+ has_dlc = "King of Kings"
4
+ OR = {
5
+ tag = GEO
6
+ was_tag = GEO
7
+ }
8
+ government = monarchy
9
+ NOT = { has_reform = celestial_empire }
10
+ NOT = { has_reform = steppe_horde }
11
+ uses_doom = no
12
+ NOT = {
13
+ mission_completed = geo_preventing_collapse
14
+ }
15
+ NOT = { has_country_flag = geo_crisis_completed }
16
+ is_subject = no
17
+ }
18
+
19
+
20
+ can_start = {
21
+ has_any_disaster = no
22
+ OR = {
23
+ tag = GEO
24
+ was_tag = GEO
25
+ }
26
+ NOT = {
27
+ mission_completed = geo_preventing_collapse
28
+ }
29
+ }
30
+
31
+ can_stop = {
32
+ has_any_disaster = yes
33
+ }
34
+
35
+ progress = {
36
+ modifier = {
37
+ factor = 0.1
38
+ NOT = {
39
+ mission_completed = geo_preventing_collapse
40
+ }
41
+ }
42
+ modifier = {
43
+ factor = 0.15
44
+ has_heir = no
45
+ }
46
+ modifier = {
47
+ factor = 0.2
48
+ NOT = {
49
+ legitimacy = 90
50
+ }
51
+ }
52
+ modifier = {
53
+ factor = 0.1
54
+ NOT = { crown_land_share = 25 }
55
+ }
56
+ modifier = {
57
+ factor = 0.25
58
+ NOT = { crown_land_share = 20 }
59
+ }
60
+ modifier = {
61
+ factor = 0.3
62
+ NOT = { crown_land_share = 10 }
63
+ }
64
+ modifier = {
65
+ factor = 1
66
+ NOT = { crown_land_share = 5 }
67
+ }
68
+ }
69
+
70
+ can_end = {
71
+ NOT = { num_of_rebel_controlled_provinces = 1 }
72
+ stability = 1
73
+ has_heir = yes
74
+ legitimacy = 90
75
+ }
76
+
77
+
78
+ modifier = {
79
+ global_unrest = 5
80
+ monarch_lifespan = -0.33
81
+ }
82
+
83
+
84
+ on_start = georgian_crisis.1
85
+ on_end = georgian_crisis.2
86
+
87
+ on_monthly = {
88
+ events = {
89
+
90
+ }
91
+ random_events = {
92
+ 1000 = 0
93
+ 100 = peasants_war.2
94
+ 100 = peasants_war.3
95
+ 100 = peasants_war.4
96
+ 100 = peasants_war.5
97
+ 35 = georgian_crisis.3
98
+ 20 = georgian_crisis.4
99
+ }
100
+ }
101
+ }
common/disasters/infantes_of_aragon.txt ADDED
@@ -0,0 +1,71 @@
1
+ infantes_of_aragon = {
2
+ ended_by_country_breaking_to_rebels = no
3
+ potential = {
4
+ has_dlc = "Domination"
5
+ NOT = { has_country_flag = ended_infantes_disaster_flag }
6
+ has_estate_privilege = estate_nobles_factionalist_nobility
7
+ }
8
+
9
+ can_start = {
10
+ has_any_disaster = no
11
+ }
12
+
13
+ can_stop = { has_any_disaster = yes }
14
+
15
+
16
+ progress = {
17
+ modifier = {
18
+ factor = 10
19
+ has_estate_privilege = estate_nobles_factionalist_nobility
20
+ }
21
+ }
22
+
23
+ can_end = {
24
+ OR = {
25
+ custom_trigger_tooltip = {
26
+ tooltip = cas_crushed_infantes_tt
27
+ has_country_flag = cas_royalist_flag
28
+ }
29
+ custom_trigger_tooltip = {
30
+ tooltip = cas_sided_infantes_tt
31
+ has_country_flag = cas_infantes_flag
32
+ }
33
+ }
34
+ NOT = { num_of_rebel_armies = 1 }
35
+ NOT = { num_of_rebel_controlled_provinces = 1 }
36
+ stability = 0
37
+
38
+
39
+ }
40
+
41
+
42
+ modifier = {
43
+ global_unrest = 5
44
+ nobles_loyalty_modifier = -0.1
45
+ nobles_influence_modifier = 0.1
46
+ legitimacy = -1
47
+ can_not_declare_war = yes
48
+ }
49
+
50
+ on_start = flavor_spa.18 #The Infantes of Aragon
51
+ on_end = flavor_spa.20 #End of the Civil War
52
+
53
+ on_monthly = {
54
+ events = { }
55
+ random_events = {
56
+ 100 = civil_war.2
57
+ 100 = civil_war.3
58
+ 100 = civil_war.5
59
+ 100 = civil_war.6
60
+ 100 = civil_war.7
61
+ 100 = civil_war.8
62
+ 100 = civil_war.9
63
+ 100 = civil_war.10
64
+ 100 = civil_war.11
65
+ 100 = civil_war.12
66
+ 100 = civil_war.13
67
+ 1100 = 0
68
+ }
69
+ }
70
+ }
71
+
common/disasters/internal_conflicts.txt CHANGED
@@ -7,6 +7,7 @@ internal_conflicts = {
7
7
  has_country_flag = had_internal_conflicts
8
8
  }
9
9
  is_year = 1500
10
+ NOT = { has_disaster = tur_disaster_ottoman_power_struggle }
10
11
  }
11
12
 
12
13
 
common/disasters/janissary_decadence.txt CHANGED
@@ -1,8 +1,11 @@
1
1
  janissary_decadence = {
2
2
  potential = {
3
+ NOT = { has_dlc = "Domination" }
3
4
  normal_or_historical_nations = yes
4
5
  has_reform = ottoman_government
5
6
  NOT = { has_country_flag = had_janissary_decadence }
7
+ NOT = { has_country_flag = tur_had_janissary_coup }
8
+ NOT = { has_disaster = tur_disaster_ottoman_power_struggle }
6
9
  }
7
10
 
8
11
  can_start = {
@@ -141,6 +144,7 @@ janissary_decadence = {
141
144
  legitimacy = -1
142
145
  technology_cost = 0.25
143
146
  idea_cost = 0.25
147
+ janissaries_influence_modifier = 0.3
144
148
  }
145
149
 
146
150
  on_start = janissary_decadence.1
@@ -160,5 +164,4 @@ janissary_decadence = {
160
164
  10 = janissary_decadence.7
161
165
  }
162
166
  }
163
- }
164
-
167
+ }
common/disasters/liberalism.txt CHANGED
@@ -8,6 +8,7 @@ aspiration_for_liberty = {
8
8
  current_age = age_of_revolutions
9
9
  is_free_or_tributary_trigger = yes
10
10
  is_revolutionary = no
11
+ NOT = { has_disaster = tur_disaster_ottoman_power_struggle }
11
12
 
12
13
  #to differentiate it from the Revolution disaster
13
14
  if = {
@@ -59,7 +60,7 @@ aspiration_for_liberty = {
59
60
  can_start = {
60
61
  has_any_disaster = no
61
62
  has_institution = enlightenment
62
- NOT = { stability = 1 }
63
+ NOT = { stability = 0 }
63
64
  NOT = { has_country_modifier = liberal_constitution }
64
65
  }
65
66
 
@@ -94,13 +95,6 @@ aspiration_for_liberty = {
94
95
  factor = 1
95
96
  war_exhaustion = 5
96
97
  }
97
- modifier = {
98
- factor = 1
99
- capital_scope = {
100
- has_revolution_in_province = yes
101
- }
102
- }
103
-
104
98
  }
105
99
 
106
100
 
common/disasters/ming_crisis.txt CHANGED
@@ -54,7 +54,7 @@ ming_crisis = {
54
54
  imperial_mandate = 30
55
55
  }
56
56
  modifier = {
57
- factor = 5
57
+ factor = 3
58
58
  NOT = { imperial_mandate = 30 }
59
59
  imperial_mandate = 10
60
60
  }
@@ -108,7 +108,10 @@ ming_crisis = {
108
108
  modifier = {
109
109
  land_morale = -0.15
110
110
  technology_cost = 0.2
111
- global_unrest = 5
111
+ global_unrest = 15
112
+ global_monthly_devastation = 0.08
113
+ global_tax_modifier = -0.5
114
+ global_trade_goods_size_modifier = -0.3
112
115
  }
113
116
 
114
117
  on_start = ming_crisis.1
@@ -124,6 +127,7 @@ ming_crisis = {
124
127
  random_events = {
125
128
  1000 = 0
126
129
  100 = ming_crisis.6 # Rebellion
130
+ 100 = ming_crisis.11
127
131
  }
128
132
  }
129
133
  }
common/disasters/northern_and_southern_dynasties.txt ADDED
@@ -0,0 +1,118 @@
1
+ northern_and_southern_dynasties = {
2
+ potential = {
3
+ has_dlc = "Leviathan"
4
+ uses_doom = no
5
+ is_free_or_tributary_trigger = yes
6
+ normal_or_historical_nations = yes
7
+ tag = DAI
8
+ NOT = { mission_completed = mnd_dai_prevent_division }
9
+ }
10
+
11
+ can_start = {
12
+ has_any_disaster = no
13
+ NOT = { current_age = age_of_discovery }
14
+ NOT = { ADM = 3 }
15
+ NOT = { DIP = 3 }
16
+ NOT = { MIL = 3 }
17
+ NOT = { exists = TOK }
18
+ NOT = { exists = ANN }
19
+ AND = {
20
+ num_of_owned_provinces_with = {
21
+ value = 1
22
+ OR = {
23
+ area = north_laos_area
24
+ area = central_thai_area
25
+ area = northern_thai_area
26
+ area = red_river_delta_area
27
+ area = sukhothai_area
28
+ area = champasak_area
29
+ area = khorat_area
30
+ area = vientiane_area
31
+ superregion = china_superregion
32
+ region = burma_region
33
+ }
34
+ }
35
+ num_of_owned_provinces_with = {
36
+ value = 1
37
+ OR = {
38
+ area = vietnam_area
39
+ area = cambodia_area
40
+ area = mekong_area
41
+ area = angkor_area
42
+ area = champa_area
43
+ area = tay_nguyen_area
44
+ region = malaya_region
45
+ region = indonesia_region
46
+ }
47
+ }
48
+ }
49
+ }
50
+
51
+ can_stop = {
52
+ has_any_disaster = yes
53
+ mission_completed = mnd_dai_prevent_division
54
+ OR = {
55
+ exists = ANN
56
+ exists = TOK
57
+ }
58
+ }
59
+
60
+
61
+ progress = {
62
+ modifier = {
63
+ factor = 2
64
+ NOT = { ADM = 2 }
65
+ }
66
+ modifier = {
67
+ factor = 5
68
+ NOT = { ADM = 1 }
69
+ }
70
+ modifier = {
71
+ factor = 2
72
+ NOT = { DIP = 2 }
73
+ }
74
+ modifier = {
75
+ factor = 5
76
+ NOT = { DIP = 1 }
77
+ }
78
+ modifier = {
79
+ factor = 2
80
+ NOT = { MIL = 2 }
81
+ }
82
+ modifier = {
83
+ factor = 5
84
+ NOT = { MIL = 1 }
85
+ }
86
+ modifier = {
87
+ factor = 3
88
+ has_estate_privilege = estate_nobles_command_of_the_military
89
+ }
90
+ modifier = {
91
+ factor = 2
92
+ NOT = { crown_land_share = 50 }
93
+ }
94
+ modifier = {
95
+ factor = 5
96
+ NOT = { crown_land_share = 30 }
97
+ }
98
+ }
99
+
100
+ can_end = {
101
+ always = no
102
+ # ends immediately
103
+ }
104
+
105
+ modifier = {
106
+ # none because it ends immediately
107
+ }
108
+
109
+ on_start = dai_disaster.1
110
+
111
+ on_monthly = { # no events, ends immediately
112
+ events = {
113
+ }
114
+ random_events = {
115
+ }
116
+ }
117
+ }
118
+
common/disasters/ottoman_power_struggle.txt ADDED
@@ -0,0 +1,603 @@
1
+ #Ottoman Power Struggle
2
+ tur_disaster_ottoman_power_struggle = {
3
+ potential = {
4
+ has_dlc = "Domination"
5
+ tag = TUR
6
+ normal_or_historical_nations = yes
7
+ NOT = { has_country_flag = tur_had_ottoman_power_struggle }
8
+ has_government_mechanic = ottoman_decadence_mechanic
9
+ }
10
+ can_start = {
11
+ has_government_power = {
12
+ mechanic_type = ottoman_decadence_mechanic
13
+ power_type = ottoman_decadence
14
+ value = 100
15
+ }
16
+ OR = {
17
+ NOT = { stability = 3 }
18
+ NOT = { adm = 5 }
19
+ NOT = { dip = 5 }
20
+ NOT = { mil = 5 }
21
+ any_subject_country = {
22
+ OR = {
23
+ is_subject_of_type = eyalet
24
+ is_subject_of_type = core_eyalet
25
+ }
26
+ liberty_desire = 50
27
+ }
28
+ }
29
+ }
30
+ can_stop = {
31
+ NOT = {
32
+ has_government_power = {
33
+ mechanic_type = ottoman_decadence_mechanic
34
+ power_type = ottoman_decadence
35
+ value = 75
36
+ }
37
+ }
38
+ stability = 3
39
+ adm = 5
40
+ dip = 5
41
+ mil = 5
42
+ NOT = { overextension_percentage = 0.25 }
43
+ NOT = { num_of_rebel_armies = 1 }
44
+ NOT = { num_of_rebel_controlled_provinces = 1 }
45
+ NOT = {
46
+ any_subject_country = {
47
+ OR = {
48
+ is_subject_of_type = eyalet
49
+ is_subject_of_type = core_eyalet
50
+ }
51
+ liberty_desire = 50
52
+ }
53
+ }
54
+ }
55
+ progress = {
56
+ modifier = {
57
+ factor = 1
58
+ any_subject_country = {
59
+ OR = {
60
+ is_subject_of_type = eyalet
61
+ is_subject_of_type = core_eyalet
62
+ }
63
+ liberty_desire = 50
64
+ }
65
+ }
66
+ modifier = {
67
+ factor = 1
68
+ overextension_percentage = 0.25
69
+ }
70
+ modifier = {
71
+ factor = 1
72
+ num_of_rebel_armies = 1
73
+ }
74
+ modifier = {
75
+ factor = 1
76
+ num_of_rebel_controlled_provinces = 1
77
+ }
78
+ modifier = {
79
+ factor = 1
80
+ NOT = { stability = 3 }
81
+ }
82
+ modifier = {
83
+ factor = 1
84
+ NOT = { adm = 5 }
85
+ NOT = { dip = 5 }
86
+ NOT = { mil = 5 }
87
+ }
88
+ }
89
+ can_end = {
90
+ if = {
91
+ limit = { has_mission = tur_the_mansure_reforms }
92
+ mission_completed = tur_the_mansure_reforms
93
+ }
94
+ if = {
95
+ limit = { has_mission = tur_centralize_the_power }
96
+ mission_completed = tur_centralize_the_power
97
+ }
98
+ if = {
99
+ limit = { has_mission = tur_remove_pashas_from_power }
100
+ mission_completed = tur_remove_pashas_from_power
101
+ }
102
+ if = {
103
+ limit = { has_mission = tur_the_reign_of_women }
104
+ mission_completed = tur_the_reign_of_women
105
+ }
106
+ NOT = { has_disaster = revolution }
107
+ hidden_trigger = {
108
+ NOT = { has_country_flag = tur_has_ottoman_power_struggle_event_open }
109
+ }
110
+ }
111
+ #Modifiers are on purpose negligible. The real force comes from the other disasters which are unlocked by the Power Struggle + the stacking events
112
+ modifier = {
113
+ global_unrest = 1
114
+ }
115
+ on_start = ottoman_power_struggle_events.1
116
+ on_end = ottoman_power_struggle_events.2
117
+ on_start_effect = {
118
+ freeze_government_power = {
119
+ mechanic_type = ottoman_decadence_mechanic
120
+ power_type = ottoman_decadence
121
+ }
122
+ }
123
+
124
+ on_monthly = {
125
+ events = {
126
+ }
127
+ random_events = {
128
+ 2000 = 0
129
+ 50 = ottoman_power_struggle_events.3
130
+ 50 = ottoman_power_struggle_events.4
131
+ 50 = ottoman_power_struggle_events.5
132
+ 10 = ottoman_power_struggle_events.6
133
+ 50 = ottoman_power_struggle_events.7
134
+ 10 = ottoman_power_struggle_events.8
135
+ }
136
+ }
137
+ ended_by_country_breaking_to_rebels = no
138
+ }
139
+
140
+ #Janissary Disaster
141
+ tur_disaster_janissary_coup = {
142
+ potential = {
143
+ has_disaster = tur_disaster_ottoman_power_struggle
144
+ normal_or_historical_nations = yes
145
+ has_reform = ottoman_government
146
+ NOT = { has_country_flag = tur_had_janissary_coup }
147
+ }
148
+ can_start = {
149
+ has_estate = estate_janissaries
150
+ NOT = { legitimacy = 75 }
151
+ OR = {
152
+ NOT = {
153
+ num_of_estate_privileges = {
154
+ estate = estate_janissaries
155
+ value = 5
156
+ }
157
+ }
158
+ NOT = {
159
+ estate_loyalty = {
160
+ estate = estate_janissaries
161
+ loyalty = 60
162
+ }
163
+ }
164
+ janissary_percentage = 0.5
165
+ }
166
+ }
167
+ can_stop = {
168
+ legitimacy = 75
169
+ OR = {
170
+ NOT = {
171
+ estate_influence = {
172
+ influence = 10
173
+ estate = estate_janissaries
174
+ }
175
+ }
176
+ estate_loyalty = {
177
+ estate = estate_janissaries
178
+ loyalty = 80
179
+ }
180
+ }
181
+ }
182
+ progress = {
183
+ modifier = {
184
+ factor = 2
185
+ janissary_percentage = 0.9
186
+ }
187
+ modifier = {
188
+ factor = 2
189
+ janissary_percentage = 0.7
190
+ }
191
+ modifier = {
192
+ factor = 2
193
+ janissary_percentage = 0.5
194
+ }
195
+ modifier = {
196
+ factor = 2
197
+ NOT = { estate_loyalty = { estate = estate_janissaries loyalty = 60 } }
198
+ }
199
+ modifier = {
200
+ factor = 2
201
+ NOT = { estate_loyalty = { estate = estate_janissaries loyalty = 50 } }
202
+ }
203
+ modifier = {
204
+ factor = 2
205
+ NOT = { estate_loyalty = { estate = estate_janissaries loyalty = 40 } }
206
+ }
207
+ modifier = {
208
+ factor = 2
209
+ NOT = { estate_loyalty = { estate = estate_janissaries loyalty = 30 } }
210
+ }
211
+ modifier = {
212
+ factor = 2
213
+ NOT = { estate_loyalty = { estate = estate_janissaries loyalty = 20 } }
214
+ }
215
+ modifier = {
216
+ factor = 2
217
+ NOT = { estate_loyalty = { estate = estate_janissaries loyalty = 10 } }
218
+ }
219
+
220
+ }
221
+ can_end = {
222
+ OR = {
223
+ NOT = { has_disaster = tur_disaster_ottoman_power_struggle }
224
+ custom_trigger_tooltip = {
225
+ tooltip = tur_disaster_janissary_coup_at
226
+ has_country_flag = tur_fight_against_the_janissaries_1_flag
227
+ has_country_flag = tur_fight_against_the_janissaries_2_flag
228
+ has_country_flag = tur_fight_against_the_janissaries_3_flag
229
+ }
230
+ custom_trigger_tooltip = {
231
+ tooltip = tur_disaster_janissary_coup_bt
232
+ NOT = { has_estate_privilege = estate_janissary_self_appointed_aghas }
233
+ NOT = { has_estate_privilege = estate_janissary_hereditary_ranks }
234
+ NOT = { has_estate_privilege = estate_janissary_allow_other_professions }
235
+ NOT = { has_estate_privilege = estate_janissary_allow_marriages }
236
+ NOT = { has_estate_privilege = estate_janissary_toprak_payment }
237
+ NOT = { has_estate_privilege = estate_janissary_janissary_officers }
238
+ NOT = { has_estate_privilege = estate_janissary_guarantee_privileges }
239
+ NOT = { has_estate_privilege = estate_janissary_janissaries_from_muslims }
240
+ NOT = { has_estate_privilege = estate_janissary_coup_detat }
241
+ NOT = { has_estate_privilege = estate_janissary_military_reactionaries }
242
+ NOT = { has_estate_privilege = estate_janissary_puppet_sultan }
243
+ }
244
+ }
245
+ }
246
+ modifier = {
247
+ janissaries_privilege_slots = 3
248
+ janissaries_influence_modifier = 0.1
249
+ }
250
+ on_start = janissary_coup_events.1
251
+ on_end = janissary_coup_events.2
252
+ on_monthly = {
253
+ events = {
254
+ }
255
+
256
+ random_events = {
257
+ 1250 = 0
258
+ 10 = janissary_decadence.2
259
+ 10 = janissary_coup_events.7
260
+ 10 = janissary_decadence.4
261
+ 10 = janissary_decadence.5
262
+ 10 = janissary_decadence.6
263
+ 10 = janissary_decadence.7
264
+ 5 = janissary_coup_events.13
265
+ }
266
+ }
267
+ ended_by_country_breaking_to_rebels = no
268
+ }
269
+
270
+ #Eyalet Rebellion
271
+ tur_disaster_eyalet_rebellion = {
272
+ potential = {
273
+ has_disaster = tur_disaster_ottoman_power_struggle
274
+ normal_or_historical_nations = yes
275
+ has_reform = ottoman_government
276
+ NOT = { has_country_flag = tur_had_eyalet_rebellion }
277
+ NOT = { mission_completed = tur_centralize_the_power }
278
+ }
279
+ can_start = {
280
+ OR = {
281
+ any_subject_country = {
282
+ OR = {
283
+ is_subject_of_type = eyalet
284
+ is_subject_of_type = core_eyalet
285
+ }
286
+ total_development = 150
287
+ }
288
+ num_of_owned_provinces_with = {
289
+ region = egypt_region
290
+ value = 15
291
+ }
292
+ num_of_owned_provinces_with = {
293
+ region = persia_region
294
+ value = 15
295
+ }
296
+ num_of_owned_provinces_with = {
297
+ superregion = europe_superregion
298
+ value = 15
299
+ }
300
+ }
301
+ }
302
+ can_stop = {
303
+ stability = 3
304
+ NOT = {
305
+ any_subject_country = {
306
+ OR = {
307
+ is_subject_of_type = eyalet
308
+ is_subject_of_type = core_eyalet
309
+ }
310
+ liberty_desire = 25
311
+ }
312
+ }
313
+ custom_trigger_tooltip = {
314
+ tooltip = tur_disaster_eyalet_rebellion_at
315
+ NOT = {
316
+ any_owned_province = {
317
+ NOT = { controlled_by = ROOT }
318
+ OR = {
319
+ region = egypt_region
320
+ region = persia_region
321
+ superregion = europe_superregion
322
+ }
323
+ }
324
+ }
325
+ }
326
+ }
327
+ progress = {
328
+ modifier = {
329
+ factor = 2
330
+ calc_true_if = {
331
+ all_subject_country = {
332
+ is_eyalet_trigger = yes
333
+ liberty_desire = 25
334
+ }
335
+ amount = 1
336
+ }
337
+ }
338
+ modifier = {
339
+ factor = 2
340
+ calc_true_if = {
341
+ all_subject_country = {
342
+ is_eyalet_trigger = yes
343
+ liberty_desire = 25
344
+ }
345
+ amount = 2
346
+ }
347
+ }
348
+ modifier = {
349
+ factor = 2
350
+ calc_true_if = {
351
+ all_subject_country = {
352
+ is_eyalet_trigger = yes
353
+ liberty_desire = 25
354
+ }
355
+ amount = 3
356
+ }
357
+ }
358
+ modifier = {
359
+ factor = 2
360
+ calc_true_if = {
361
+ all_subject_country = {
362
+ is_eyalet_trigger = yes
363
+ liberty_desire = 25
364
+ }
365
+ amount = 4
366
+ }
367
+ }
368
+ modifier = {
369
+ factor = 2
370
+ calc_true_if = {
371
+ all_subject_country = {
372
+ is_eyalet_trigger = yes
373
+ liberty_desire = 25
374
+ }
375
+ amount = 4
376
+ }
377
+ }
378
+ modifier = {
379
+ factor = 3
380
+ any_owned_province = {
381
+ region = egypt_region
382
+ NOT = { controlled_by = ROOT }
383
+ }
384
+ }
385
+ modifier = {
386
+ factor = 3
387
+ any_owned_province = {
388
+ region = persia_region
389
+ NOT = { controlled_by = ROOT }
390
+ }
391
+ }
392
+ modifier = {
393
+ factor = 3
394
+ any_owned_province = {
395
+ superregion = europe_superregion
396
+ NOT = { controlled_by = ROOT }
397
+ }
398
+ }
399
+ }
400
+ can_end = {
401
+ OR = {
402
+ NOT = { has_disaster = tur_disaster_ottoman_power_struggle }
403
+ NOT = { has_mission = tur_centralize_the_power }
404
+ mission_completed = tur_centralize_the_power
405
+ }
406
+ }
407
+ modifier = {
408
+ diplomatic_annexation_cost = 0.5
409
+ liberty_desire_from_subject_development = 0.5
410
+ diplomatic_reputation = -1
411
+ }
412
+ on_start = eyalet_rebellion_events.1
413
+ on_end = eyalet_rebellion_events.2
414
+ on_monthly = {
415
+ events = {
416
+ }
417
+
418
+ random_events = {
419
+ 1250 = 0
420
+ 50 = eyalet_rebellion_events.3
421
+ 50 = eyalet_rebellion_events.4
422
+ 50 = eyalet_rebellion_events.5
423
+ 50 = eyalet_rebellion_events.6
424
+ 50 = eyalet_rebellion_events.7
425
+ 50 = eyalet_rebellion_events.8
426
+ 50 = eyalet_rebellion_events.9
427
+ 50 = eyalet_rebellion_events.10
428
+ 50 = eyalet_rebellion_events.11
429
+ 50 = eyalet_rebellion_events.12
430
+ 50 = eyalet_rebellion_events.13
431
+ 50 = eyalet_rebellion_events.14
432
+ }
433
+ }
434
+ ended_by_country_breaking_to_rebels = no
435
+ }
436
+
437
+ #Pasha Decadence
438
+ tur_disaster_pasha_decadence = {
439
+ potential = {
440
+ has_disaster = tur_disaster_ottoman_power_struggle
441
+ normal_or_historical_nations = yes
442
+ has_reform = ottoman_government
443
+ NOT = { has_country_flag = tur_had_pasha_decadence }
444
+ NOT = { mission_completed = tur_remove_pashas_from_power }
445
+ }
446
+ can_start = {
447
+ num_of_cities = 50
448
+ NOT = { stability = 3 }
449
+ NOT = { average_autonomy_above_min = 20 }
450
+ }
451
+ can_stop = {
452
+ always = no
453
+ }
454
+ progress = {
455
+ modifier = {
456
+ factor = 2
457
+ NOT = { stability = 0 }
458
+ }
459
+ modifier = {
460
+ factor = 2
461
+ NOT = { stability = 1 }
462
+ }
463
+ modifier = {
464
+ factor = 2
465
+ NOT = { stability = 2 }
466
+ }
467
+ modifier = {
468
+ factor = 2
469
+ NOT = { average_autonomy_above_min = 15 }
470
+ }
471
+ modifier = {
472
+ factor = 2
473
+ num_of_owned_provinces_with = {
474
+ has_pasha = yes
475
+ value = 20
476
+ }
477
+ }
478
+ modifier = {
479
+ factor = 2
480
+ num_of_owned_provinces_with = {
481
+ has_pasha = yes
482
+ value = 40
483
+ }
484
+ }
485
+ modifier = {
486
+ factor = 2
487
+ num_of_owned_provinces_with = {
488
+ has_pasha = yes
489
+ value = 60
490
+ }
491
+ }
492
+ }
493
+ can_end = {
494
+ OR = {
495
+ NOT = { has_disaster = tur_disaster_ottoman_power_struggle }
496
+ NOT = { has_mission = tur_remove_pashas_from_power }
497
+ mission_completed = tur_remove_pashas_from_power
498
+ }
499
+ }
500
+ modifier = {
501
+ global_unrest = 10
502
+ global_autonomy = 0.25
503
+ legitimacy = -0.5
504
+ years_of_nationalism = 10
505
+ }
506
+ on_start = pasha_decadence_events.1
507
+ on_end = pasha_decadence_events.2
508
+ on_monthly = {
509
+ events = {
510
+ }
511
+
512
+ random_events = {
513
+ 1250 = 0
514
+ 50 = pasha_decadence_events.3
515
+ 50 = pasha_decadence_events.6
516
+ 50 = pasha_decadence_events.7
517
+ 50 = pasha_decadence_events.8
518
+ 50 = pasha_decadence_events.9
519
+ 50 = pasha_decadence_events.10
520
+ }
521
+ }
522
+ ended_by_country_breaking_to_rebels = no
523
+ }
524
+
525
+ #Plot of the Harem Disaster
526
+ tur_disaster_plot_of_the_harem = {
527
+ potential = {
528
+ has_disaster = tur_disaster_ottoman_power_struggle
529
+ normal_or_historical_nations = yes
530
+ has_reform = ottoman_government
531
+ NOT = { has_country_flag = tur_had_plot_of_the_harem }
532
+ NOT = { has_country_modifier = tur_weakened_the_harem }
533
+ NOT = { mission_completed = tur_the_reign_of_women }
534
+ }
535
+ can_start = {
536
+ OR = {
537
+ NOT = { ruler_age = 30 }
538
+ NOT = { adm = 4 }
539
+ NOT = { dip = 4 }
540
+ NOT = { mil = 4 }
541
+ NOT = { legitimacy = 50 }
542
+ }
543
+ }
544
+ can_stop = {
545
+ ruler_age = 30
546
+ OR = {
547
+ adm = 4
548
+ dip = 4
549
+ mil = 4
550
+ }
551
+ legitimacy = 90
552
+ }
553
+ progress = {
554
+ modifier = {
555
+ factor = 3
556
+ NOT = { adm = 4 }
557
+ NOT = { dip = 4 }
558
+ NOT = { mil = 4 }
559
+ }
560
+ modifier = {
561
+ factor = 2
562
+ NOT = { legitimacy = 75 }
563
+ }
564
+ modifier = {
565
+ factor = 2
566
+ NOT = { legitimacy = 50 }
567
+ }
568
+ modifier = {
569
+ factor = 2
570
+ NOT = { legitimacy = 20 }
571
+ }
572
+
573
+ }
574
+ can_end = {
575
+ OR = {
576
+ NOT = { has_disaster = tur_disaster_ottoman_power_struggle }
577
+ NOT = { has_mission = tur_the_reign_of_women }
578
+ mission_completed = tur_the_reign_of_women
579
+ }
580
+ }
581
+ modifier = {
582
+ # heir_chance = -1
583
+ # Heir chance has no effect on harem countries
584
+ monarch_lifespan = -0.75
585
+ female_advisor_chance = 0.33
586
+ }
587
+ on_start = plot_of_the_harem_events.1
588
+ on_end = plot_of_the_harem_events.2
589
+ on_monthly = {
590
+ events = {
591
+ }
592
+
593
+ random_events = {
594
+ 1250 = 0
595
+ 50 = plot_of_the_harem_events.3
596
+ 50 = plot_of_the_harem_events.4
597
+ 50 = plot_of_the_harem_events.5
598
+ 50 = plot_of_the_harem_events.6
599
+ 50 = plot_of_the_harem_events.7
600
+ }
601
+ }
602
+ ended_by_country_breaking_to_rebels = no
603
+ }
common/disasters/peasants_war.txt CHANGED
@@ -20,6 +20,7 @@ peasant_war = {
20
20
  is_part_of_hre = yes
21
21
  }
22
22
  }
23
+ NOT = { has_disaster = tur_disaster_ottoman_power_struggle }
23
24
  }
24
25
 
25
26
 
common/disasters/pol_struggle_for_royal_power.txt CHANGED
@@ -9,29 +9,32 @@ pol_struggle_for_royal_power_disaster = {
9
9
 
10
10
  can_start = {
11
11
  current_age = age_of_absolutism
12
- has_reform = elective_monarchy
12
+ has_reform = polish_elective_monarchy
13
13
  has_regency = no
14
14
  }
15
15
 
16
16
  can_stop = {
17
17
  OR = {
18
18
  has_any_disaster = yes
19
- NOT = { has_reform = elective_monarchy }
19
+ NOT = { has_reform = polish_elective_monarchy }
20
20
  NOT = { current_age = age_of_absolutism }
21
21
  }
22
22
  }
23
23
 
24
24
  progress = {
25
25
  modifier = {
26
- factor = 2
26
+ factor = 3
27
27
  has_country_flag = librium_veto
28
28
  }
29
29
  modifier = {
30
- factor = 1
31
- has_reform = elective_monarchy
30
+ factor = 2
31
+ OR = {
32
+ has_reform = elective_monarchy
33
+ has_reform = polish_elective_monarchy
34
+ }
32
35
  }
33
36
  modifier = {
34
- factor = 2
37
+ factor = 3
35
38
  has_estate_privilege = estate_nobles_nieszawa_privileges
36
39
  }
37
40
  modifier = {
@@ -41,26 +44,34 @@ pol_struggle_for_royal_power_disaster = {
41
44
  modifier = {
42
45
  factor = 2
43
46
  NOT = {
44
- crown_land_share = 50
47
+ crown_land_share = 80
45
48
  }
46
49
  }
47
50
  modifier = {
48
51
  factor = 2
49
52
  estate_influence = {
50
53
  estate = estate_nobles
51
- influence = 50
54
+ influence = 40
52
55
  }
53
56
  }
54
57
  }
55
58
 
56
59
  can_end = {
57
- NOT = { has_reform = elective_monarchy }
60
+ if = {
61
+ limit = { has_dlc = "Lions of the North" }
62
+ AND = {
63
+ NOT = { has_reform = polish_great_sejm }
64
+ NOT = { has_reform = polish_elective_monarchy }
65
+ }
66
+ }
67
+ else = { NOT = { has_reform = elective_monarchy } }
58
68
  }
59
69
 
60
70
  modifier = {
61
- global_unrest = 10
62
- stability_cost_modifier = 0.25
63
- global_trade_goods_size_modifier = -0.25
71
+ global_unrest = 20
72
+ stability_cost_modifier = 0.5
73
+ global_trade_goods_size_modifier = -0.33
74
+ administrative_efficiency = -0.2
64
75
  }
65
76
 
66
77
  on_start = flavor_pol.3481
common/disasters/prussian_confederation.txt ADDED
@@ -0,0 +1,74 @@
1
+ prussian_confederation_disaster = {
2
+ potential = {
3
+ is_free_or_tributary_trigger = yes
4
+ normal_or_historical_nations = yes
5
+ tag = TEU
6
+ current_age = age_of_discovery
7
+ NOT = { has_country_flag = pru_confederation_curtailed }
8
+ NOT = { has_country_flag = pru_confederation_happened }
9
+ NOT = { has_country_flag = pru_danzig_victory_happend }
10
+ is_free_or_tributary_trigger = yes
11
+ }
12
+
13
+ can_start = {
14
+ has_any_disaster = no
15
+ is_year = 1450
16
+ current_age = age_of_discovery
17
+ has_estate = estate_burghers
18
+ }
19
+
20
+ can_stop = {
21
+ OR = {
22
+ has_any_disaster = yes
23
+ NOT = { has_estate = estate_burghers }
24
+ }
25
+ }
26
+
27
+ progress = {
28
+ modifier = {
29
+ has_estate = estate_burghers
30
+ factor = 4
31
+ }
32
+ }
33
+
34
+ can_end = {
35
+ OR = {
36
+ if = {
37
+ limit = { has_mission = teu_handle_the_prussian_confederation }
38
+ custom_trigger_tooltip = {
39
+ tooltip = prussian_confederation_disaster_ct
40
+ has_country_flag = pru_confederation_curtailed
41
+ }
42
+ }
43
+ else = {
44
+ custom_trigger_tooltip = {
45
+ tooltip = prussian_confederation_disaster_at
46
+ has_country_flag = pru_confederation_curtailed
47
+ }
48
+ }
49
+ custom_trigger_tooltip = {
50
+ tooltip = prussian_confederation_disaster_bt
51
+ has_country_flag = pru_confederation_happened
52
+ }
53
+ custom_trigger_tooltip = {
54
+ tooltip = prussian_confederation_disaster_dt
55
+ has_country_flag = pru_danzig_victory_happend
56
+ }
57
+ NOT = { tag = TEU }
58
+ is_subject = yes
59
+ }
60
+ }
61
+
62
+ modifier = {
63
+ burghers_influence_modifier = 0.1
64
+ burghers_loyalty_modifier = -0.1
65
+ stability_cost_modifier = 0.1
66
+ }
67
+
68
+ on_start = flavor_teu.4
69
+
70
+ on_monthly = {
71
+ events = {}
72
+ random_events = {}
73
+ }
74
+ }
common/disasters/religious_turmoil.txt CHANGED
@@ -8,6 +8,8 @@ religious_turmoil = {
8
8
  religion = catholic
9
9
  religion = protestant
10
10
  religion = reformed
11
+ religion = hussite
12
+ religion = anglican
11
13
  }
12
14
  is_religion_enabled = protestant
13
15
  NOT = { tag = FRA }
@@ -22,12 +24,15 @@ religious_turmoil = {
22
24
  has_any_disaster = no
23
25
  NOT = { religious_unity = 0.75 }
24
26
  NOT = { full_idea_group = humanist_ideas }
27
+ NOT = { has_country_modifier = eng_end_of_the_english_reformation }
25
28
  any_owned_province = {
26
29
  has_owner_religion = no
27
30
  OR = {
28
31
  religion = catholic
29
32
  religion = protestant
30
33
  religion = reformed
34
+ religion = hussite
35
+ religion = anglican
31
36
  }
32
37
  }
33
38
  }
@@ -38,6 +43,7 @@ religious_turmoil = {
38
43
  has_any_disaster = yes
39
44
  religious_unity = 0.75
40
45
  full_idea_group = humanist_ideas
46
+ has_country_modifier = eng_end_of_the_english_reformation
41
47
  }
42
48
  }
43
49
 
@@ -61,6 +67,14 @@ religious_turmoil = {
61
67
  factor = 1
62
68
  NOT = { stability = 0 }
63
69
  }
70
+ modifier = {
71
+ factor = 1
72
+ NOT = { stability = -1 }
73
+ }
74
+ modifier = {
75
+ factor = 1
76
+ NOT = { stability = -2 }
77
+ }
64
78
  modifier = {
65
79
  factor = 2
66
80
  has_hostile_reformation_center = yes
@@ -69,10 +83,6 @@ religious_turmoil = {
69
83
  factor = -1
70
84
  has_friendly_reformation_center = yes
71
85
  }
72
-
73
-
74
-
75
-
76
86
  }
77
87
 
78
88
 
@@ -90,16 +100,16 @@ religious_turmoil = {
90
100
  religion = catholic
91
101
  religion = protestant
92
102
  religion = reformed
103
+ religion = hussite
104
+ religion = anglican
93
105
  }
94
106
  }
95
107
  }
96
108
  full_idea_group = humanist_ideas
109
+ has_country_modifier = eng_end_of_the_english_reformation
97
110
  }
98
111
  }
99
- custom_trigger_tooltip = {
100
- tooltip = religious_turmoil_timelimit_tt
101
- had_country_flag = { flag = active_religious_turmoil days = 9125 }
102
- }
112
+ had_country_flag = { flag = active_religious_turmoil days = 9125 }
103
113
  }
104
114
  }
105
115
 
common/disasters/revolution.txt CHANGED
@@ -7,37 +7,61 @@ revolution = {
7
7
  NOT = { government = monarchy }
8
8
  NOT = { tag = FRA }
9
9
  }
10
- NOT = { has_reform = celestial_empire }
10
+ #NOT = { has_reform = celestial_empire }
11
11
  is_free_or_tributary_trigger = yes
12
12
  uses_doom = no
13
13
  current_age = age_of_revolutions
14
14
  is_revolutionary = no
15
-
16
15
  if = {
17
- limit = {
18
- has_dlc = "Emperor"
19
- }
20
- is_great_power = yes
21
- revolution_spread = 0.2
22
- capital_scope = {
23
- OR = {
24
- continent = europe
25
- has_revolution_in_province = yes
16
+ limit = { NOT = { has_disaster = tur_disaster_ottoman_power_struggle } }
17
+ if = {
18
+ limit = {
19
+ has_dlc = "Emperor"
20
+ }
21
+ is_great_power = yes
22
+ revolution_spread = 0.2
23
+ capital_scope = {
24
+ OR = {
25
+ continent = europe
26
+ has_revolution_in_province = yes
27
+ }
26
28
  }
27
29
  }
28
- }
29
- else = {
30
- num_of_cities = 30
31
- capital_scope = { continent = europe }
32
- NOT = { revolution_target_exists = yes }
30
+ else = {
31
+ num_of_cities = 30
32
+ capital_scope = { continent = europe }
33
+ NOT = { revolution_target_exists = yes }
34
+ }
33
35
  }
34
36
  }
37
+
35
38
 
36
39
 
37
40
  can_start = {
38
41
  current_age = age_of_revolutions
39
- has_any_disaster = no
40
- NOT = { stability = 2 }
42
+ if = {
43
+ limit = {
44
+ NOT = { has_disaster = tur_disaster_ottoman_power_struggle }
45
+ }
46
+ has_any_disaster = no
47
+ }
48
+ else = {
49
+ calc_true_if = {
50
+ has_disaster = tur_disaster_eyalet_rebellion
51
+ has_disaster = tur_disaster_janissary_coup
52
+ has_disaster = tur_disaster_pasha_decadence
53
+ has_disaster = tur_disaster_plot_of_the_harem
54
+ amount = 3
55
+ }
56
+ }
57
+ OR = {
58
+ NOT = { stability = 2 }
59
+ AND = {
60
+ capital_scope = { controlled_by = REB }
61
+ has_spawned_rebels = revolutionary_rebels
62
+ num_of_rebel_controlled_provinces = 8
63
+ }
64
+ }
41
65
  OR = {
42
66
  NOT = { stability = 0 }
43
67
  revolution_spread = 0.5
@@ -59,12 +83,23 @@ revolution = {
59
83
  }
60
84
  }
61
85
  }
86
+ AND = {
87
+ capital_scope = { controlled_by = REB }
88
+ has_spawned_rebels = revolutionary_rebels
89
+ num_of_rebel_controlled_provinces = 8
90
+ }
62
91
  }
63
92
  }
64
93
 
65
94
  can_stop = {
66
- OR = {
67
- has_any_disaster = yes
95
+ if = {
96
+ limit = { NOT = { has_disaster = tur_disaster_ottoman_power_struggle } }
97
+ OR = {
98
+ has_any_disaster = yes
99
+ stability = 3
100
+ }
101
+ }
102
+ else = {
68
103
  stability = 3
69
104
  }
70
105
  }
@@ -98,13 +133,28 @@ revolution = {
98
133
  num_of_loans = 10
99
134
  NOT = { num_of_loans = 25 }
100
135
  }
136
+ modifier = {
137
+ factor = 0.5
138
+ absolutism = 25
139
+ }
140
+ modifier = {
141
+ factor = 0.5
142
+ absolutism = 40
143
+ }
144
+ modifier = {
145
+ factor = 0.5
146
+ absolutism = 50
147
+ }
148
+ modifier = {
149
+ factor = 0.5
150
+ absolutism = 60
151
+ }
101
152
  modifier = {
102
153
  factor = 0.5
103
154
  absolutism = 70
104
- NOT = { absolutism = 80 }
105
155
  }
106
156
  modifier = {
107
- factor = 1
157
+ factor = 0.5
108
158
  absolutism = 80
109
159
  }
110
160
  modifier = {
@@ -112,7 +162,11 @@ revolution = {
112
162
  num_of_loans = 25
113
163
  }
114
164
  modifier = {
115
- factor = 2
165
+ factor = 3
166
+ capital_scope = { controlled_by = REB }
167
+ }
168
+ modifier = {
169
+ factor = 5
116
170
  is_bankrupt = yes
117
171
  }
118
172
  modifier = {
@@ -131,6 +185,12 @@ revolution = {
131
185
  }
132
186
  }
133
187
  }
188
+ modifier = {
189
+ factor = 1
190
+ capital_scope = {
191
+ has_revolution_in_province = yes
192
+ }
193
+ }
134
194
  }
135
195
 
136
196
  can_end = {
common/disasters/siamese_revolution.txt ADDED
@@ -0,0 +1,116 @@
1
+ siamese_revolution = {
2
+ potential = {
3
+ OR = {
4
+ tag = AYU
5
+ tag = SIA
6
+ }
7
+ normal_or_historical_nations = yes
8
+ is_free_or_tributary_trigger = yes
9
+ NOT = { has_country_flag = had_siamese_revolution }
10
+ OR = {
11
+ current_age = age_of_absolutism
12
+ current_age = age_of_revolutions
13
+ }
14
+ }
15
+
16
+ can_start = {
17
+ has_any_disaster = no
18
+ NOT = { stability = 3 }
19
+ custom_trigger_tooltip = {
20
+ tooltip = siamese_revolution_event_tt
21
+ has_country_flag = narai_foreign_policy_flag # set by an event that then triggers the Phaulkon event
22
+ }
23
+ any_known_country = {
24
+ OR = {
25
+ alliance_with = ROOT
26
+ has_opinion = {
27
+ who = ROOT
28
+ value = 100
29
+ }
30
+ }
31
+ technology_group = western # this is primarily to exclude Russia
32
+ custom_trigger_tooltip = {
33
+ tooltip = siamese_revolution_religion_tt
34
+ NOT = { religion = ROOT }
35
+ }
36
+ custom_trigger_tooltip = {
37
+ tooltip = siamese_revolution_tt
38
+ capital_scope = {
39
+ continent = europe
40
+ }
41
+ any_owned_province = {
42
+ superregion = east_indies_superregion
43
+ }
44
+ }
45
+ }
46
+ }
47
+
48
+ can_stop = {
49
+ OR = {
50
+ has_any_disaster = yes
51
+ stability = 3
52
+ }
53
+ }
54
+
55
+ progress = {
56
+ modifier = {
57
+ factor = 5
58
+ any_known_country = {
59
+ technology_group = western
60
+ custom_trigger_tooltip = {
61
+ tooltip = siamese_revolution_religion_tt
62
+ NOT = { religion = ROOT }
63
+ }
64
+ custom_trigger_tooltip = {
65
+ tooltip = siamese_revolution_progression_tt
66
+ capital_scope = {
67
+ continent = europe
68
+ }
69
+ }
70
+ OR = {
71
+ alliance_with = ROOT
72
+ has_opinion = {
73
+ who = ROOT
74
+ value = 100
75
+ }
76
+ }
77
+ }
78
+ }
79
+ }
80
+
81
+ can_end = {
82
+ OR = {
83
+ custom_trigger_tooltip = {
84
+ tooltip = phetracha_coup_tt
85
+ has_country_flag = phetracha_coup
86
+ }
87
+ custom_trigger_tooltip = {
88
+ tooltip = phetracha_arrested_tt
89
+ has_country_flag = phetracha_arrested
90
+ }
91
+ }
92
+ }
93
+
94
+ modifier = {
95
+ diplomatic_reputation = -1
96
+ tolerance_own = -1
97
+ }
98
+
99
+ on_start = siamese_rev.1
100
+ on_end = siamese_rev.2
101
+
102
+ on_monthly = {
103
+ events = {
104
+ siamese_rev.7 # Openness ending
105
+ siamese_rev.8 # Isolationist ending
106
+ }
107
+ random_events = {
108
+ 36 = 0 # roughly one event per 9 months
109
+ 1 = siamese_rev.3 # foreign missionaries attacked. Lose tolerance own (+1 openness score) or gain church influence (+1 reactionary score)
110
+ 1 = siamese_rev.4 # reactionary nobles caught plotting. Fight some noble rebels (+1 openness score) or gain 2 reactionary score and noble influence
111
+ 1 = siamese_rev.5 # european military activity. A European gets a subjugation CB against you (+1 openness score) or harm relations with Europeans and lose MIL power (+1 reactionary score)
112
+ 1 = siamese_rev.6 # foreign embassy. Improve relations with Europeans and lose mercantilism (+2 openness score) or gain trade power in own provinces and harm relations with Europeans (+1 reactionary score)
113
+ }
114
+ }
115
+ }
116
+
common/disasters/the_dacke_feud.txt CHANGED
@@ -15,20 +15,31 @@ the_dacke_feud = {
15
15
  area = skaneland_area
16
16
  }
17
17
  }
18
+ NOT = { has_country_modifier = swe_support_of_the_peasantry }
18
19
  }
19
20
 
20
21
 
21
22
  can_start = {
22
23
  has_any_disaster = no
23
- religion = protestant
24
- has_country_modifier = vasa_centralization_reforms
24
+ is_religion_enabled = protestant
25
+ NOT = { religious_unity = 0.8 }
26
+ NOT = { average_home_autonomy = 50 }
27
+ OR = {
28
+ has_country_modifier = vasa_centralization_reforms
29
+ NOT = { average_home_autonomy = 10 }
30
+ }
25
31
  }
26
32
 
27
33
 
28
34
  can_stop = {
29
35
  OR = {
30
36
  has_any_disaster = yes
31
- NOT = { religion = protestant }
37
+ AND = {
38
+ stability = 3
39
+ average_home_autonomy = 50
40
+ religious_unity = 0.8
41
+ }
42
+ has_country_modifier = swe_support_of_the_peasantry
32
43
  }
33
44
  }
34
45
 
@@ -47,6 +58,18 @@ the_dacke_feud = {
47
58
  factor = 1
48
59
  NOT = { average_home_autonomy = 10 }
49
60
  }
61
+ modifier = {
62
+ factor = 1
63
+ NOT = { average_home_autonomy = 25 }
64
+ }
65
+ modifier = {
66
+ factor = 1
67
+ NOT = { religious_unity = 0.5 }
68
+ }
69
+ modifier = {
70
+ factor = 1
71
+ NOT = { religious_unity = 0.25 }
72
+ }
50
73
  }
51
74
 
52
75
 
@@ -57,14 +80,14 @@ the_dacke_feud = {
57
80
  NOT = {
58
81
  has_spawned_rebels = particularist_rebels
59
82
  }
60
- stability = 1
83
+ stability = 2
61
84
  }
62
85
 
63
86
 
64
87
 
65
88
 
66
89
  modifier = {
67
- global_unrest = 5
90
+ global_unrest = 10
68
91
  }
69
92
 
70
93
 
common/disasters/time_of_troubles.txt CHANGED
@@ -1,7 +1,12 @@
1
1
  time_of_troubles = {
2
2
  potential = {
3
3
  NOT = { has_country_flag = time_of_troubles }
4
+ OR = {
5
+ current_age = age_of_discovery
6
+ current_age = age_of_reformation
7
+ }
4
8
  is_free_or_tributary_trigger = yes
9
+ NOT = { has_reform = russian_empire_reform }
5
10
  OR = {
6
11
  AND = {
7
12
  tag = MOS
@@ -18,6 +23,17 @@ time_of_troubles = {
18
23
  current_age = age_of_reformation
19
24
  government = monarchy
20
25
  has_any_disaster = no
26
+ OR = {
27
+ has_new_dynasty = yes
28
+ custom_trigger_tooltip = {
29
+ tooltip = less_than_9_total_stats
30
+ NOT = {
31
+ ruler_total_stats = {
32
+ amount = 9
33
+ }
34
+ }
35
+ }
36
+ }
21
37
  NOT = { stability = 0 }
22
38
  }
23
39
 
@@ -32,6 +48,7 @@ time_of_troubles = {
32
48
  modifier = {
33
49
  global_unrest = 10
34
50
  stability_cost_modifier = 0.20
51
+ monthly_russian_modernization = -2
35
52
  }
36
53
 
37
54
 
@@ -52,10 +69,6 @@ time_of_troubles = {
52
69
  factor = 1
53
70
  war_exhaustion = 12
54
71
  }
55
-
56
-
57
-
58
-
59
72
  }
60
73
 
61
74
 
common/disasters/war_of_the_roses.txt CHANGED
@@ -1,17 +1,24 @@
1
1
  war_of_the_roses = {
2
2
  potential = {
3
3
  tag = ENG
4
+ current_age = age_of_discovery
4
5
  normal_or_historical_nations = yes
5
6
  government = monarchy
6
7
  is_free_or_tributary_trigger = yes
7
8
  uses_doom = no
8
9
  NOT = { has_country_flag = had_war_of_the_roses }
10
+ is_tutorial_active = no
9
11
  }
10
12
 
11
13
 
12
14
 
13
15
  can_start = {
14
16
  current_age = age_of_discovery
17
+ OR = {
18
+ dynasty = York
19
+ dynasty = Lancaster
20
+ dynasty = Plantagenet
21
+ }
15
22
  has_any_disaster = no
16
23
  OR = {
17
24
  has_heir = no