Diff to HTML by rtfpessoa

Files changed (2) hide show
  1. common/disasters/german_revolution.txt +124 -0
  2. common/disasters/hungarian_revolution.txt +125 -0
common/disasters/german_revolution.txt ADDED
@@ -0,0 +1,124 @@
1
+ german_revolt = {
2
+ ended_by_country_breaking_to_rebels = no
3
+ potential = {
4
+ has_dlc = "Winds of Change"
5
+ OR = {
6
+ current_age = age_of_absolutism
7
+ current_age = age_of_revolutions
8
+ }
9
+ government = monarchy
10
+ NOT = { culture = austrian }
11
+ num_of_owned_provinces_with = {
12
+ value = 5
13
+ OR = {
14
+ culture = austrian
15
+ is_core = HAB
16
+ }
17
+ }
18
+ is_free_or_tributary_trigger = yes
19
+ tag = HUN
20
+ NOT = { exists = AUH }
21
+ NOT = { has_country_flag = hun_austria_hungary_revolt_flag }
22
+ has_estate = estate_nobles
23
+ }
24
+
25
+ can_start = {
26
+ has_any_disaster = no
27
+ NOT = { has_estate_privilege = estate_nobles_austrian_nobility_privileges }
28
+ }
29
+
30
+ can_stop = {
31
+ OR = {
32
+ has_any_disaster = yes
33
+ has_estate_privilege = estate_nobles_austrian_nobility_privileges
34
+ }
35
+ }
36
+
37
+
38
+ progress = {
39
+ modifier = {
40
+ factor = 1
41
+ is_at_war = yes
42
+ }
43
+ modifier = {
44
+ factor = 0.5
45
+ NOT = {
46
+ estate_loyalty = {
47
+ estate = estate_nobles
48
+ loyalty = 30
49
+ }
50
+ }
51
+ }
52
+ modifier = {
53
+ factor = 1
54
+ NOT = {
55
+ stability = 0
56
+ }
57
+ }
58
+
59
+ modifier = {
60
+ factor = 2
61
+ NOT = {
62
+ accepted_culture = austrian
63
+ }
64
+ }
65
+
66
+ modifier = {
67
+ factor = 1
68
+ num_of_owned_provinces_with = {
69
+ OR = {
70
+ culture = austrian
71
+ is_core = HAB
72
+ }
73
+ unrest = 1
74
+ value = 5
75
+ }
76
+ }
77
+ modifier = {
78
+ factor = 2
79
+ war_exhaustion = 5
80
+ }
81
+ modifier = {
82
+ factor = -1
83
+ stability = 3
84
+ }
85
+ }
86
+
87
+ can_end = {
88
+ OR = {
89
+ custom_trigger_tooltip = {
90
+ tooltip = GERMAN_REVOLUTION_CRUSHED_AND_HAS_1_STABILITY
91
+ NOT = {
92
+ num_of_rebel_armies = 1
93
+ num_of_rebel_controlled_provinces = 1
94
+ }
95
+ stability = 1
96
+ }
97
+ custom_trigger_tooltip = {
98
+ tooltip = GERMAN_REVOLUTION_VICTORY_OF_THE_REVOLUTION
99
+ exists = HAB
100
+ }
101
+ }
102
+ }
103
+
104
+
105
+ modifier = {
106
+ manpower_in_accepted_culture_provinces = -0.3
107
+ global_autonomy = 0.15
108
+ }
109
+
110
+ on_start = austrian_revolt_events.1
111
+ on_end = austrian_revolt_events.3
112
+
113
+ on_monthly = {
114
+ events = {
115
+ }
116
+ random_events = {
117
+ 600 = 0
118
+ 40 = austrian_revolt_events.2 #Rebels
119
+ 40 = hungarian_revolt_events.5 #Rebels with choice
120
+ 30 = hungarian_revolt_events.6 #Losing Imperial Authority
121
+ 10 = hungarian_revolt_events.7 #Stab Hit
122
+ }
123
+ }
124
+ }
common/disasters/hungarian_revolution.txt ADDED
@@ -0,0 +1,125 @@
1
+ hungarian_revolt = {
2
+ ended_by_country_breaking_to_rebels = no
3
+ potential = {
4
+ has_dlc = "Winds of Change"
5
+ OR = {
6
+ current_age = age_of_absolutism
7
+ current_age = age_of_revolutions
8
+ }
9
+ government = monarchy
10
+ NOT = { primary_culture = hungarian }
11
+ num_of_owned_provinces_with = {
12
+ value = 5
13
+ OR = {
14
+ culture = hungarian
15
+ is_core = HUN
16
+ }
17
+ }
18
+ is_free_or_tributary_trigger = yes
19
+ tag = HAB
20
+ NOT = { exists = HUN }
21
+ NOT = { exists = AUH }
22
+ NOT = { has_country_flag = hab_austria_hungary_revolt_flag }
23
+ has_estate = estate_nobles
24
+ }
25
+
26
+ can_start = {
27
+ has_any_disaster = no
28
+ NOT = { has_estate_privilege = estate_nobles_hungarian_nobility_privileges }
29
+ }
30
+
31
+ can_stop = {
32
+ OR = {
33
+ has_any_disaster = yes
34
+ has_estate_privilege = estate_nobles_hungarian_nobility_privileges
35
+ }
36
+ }
37
+
38
+
39
+ progress = {
40
+ modifier = {
41
+ factor = 1
42
+ is_at_war = yes
43
+ }
44
+ modifier = {
45
+ factor = 0.5
46
+ NOT = {
47
+ estate_loyalty = {
48
+ estate = estate_nobles
49
+ loyalty = 30
50
+ }
51
+ }
52
+ }
53
+ modifier = {
54
+ factor = 1
55
+ NOT = {
56
+ stability = 0
57
+ }
58
+ }
59
+
60
+ modifier = {
61
+ factor = 2
62
+ NOT = {
63
+ accepted_culture = hungarian
64
+ }
65
+ }
66
+
67
+ modifier = {
68
+ factor = 1
69
+ num_of_owned_provinces_with = {
70
+ OR = {
71
+ culture = hungarian
72
+ is_core = HUN
73
+ }
74
+ unrest = 1
75
+ value = 5
76
+ }
77
+ }
78
+ modifier = {
79
+ factor = 2
80
+ war_exhaustion = 5
81
+ }
82
+ modifier = {
83
+ factor = -1
84
+ stability = 3
85
+ }
86
+ }
87
+
88
+ can_end = {
89
+ OR = {
90
+ custom_trigger_tooltip = {
91
+ tooltip = HUNGARIAN_REVOLUTION_CRUSHED_AND_HAS_1_STABILITY
92
+ NOT = {
93
+ num_of_rebel_armies = 1
94
+ num_of_rebel_controlled_provinces = 1
95
+ }
96
+ stability = 1
97
+ }
98
+ custom_trigger_tooltip = {
99
+ tooltip = HUNGARIAN_REVOLUTION_VICTORY_OF_THE_REVOLUTION
100
+ exists = HUN
101
+ }
102
+ }
103
+ }
104
+
105
+
106
+ modifier = {
107
+ manpower_in_accepted_culture_provinces = -0.3
108
+ global_autonomy = 0.15
109
+ }
110
+
111
+ on_start = hungarian_revolt_events.1
112
+ on_end = hungarian_revolt_events.3
113
+
114
+ on_monthly = {
115
+ events = {
116
+ }
117
+ random_events = {
118
+ 600 = 0
119
+ 20 = hungarian_revolt_events.2 #Rebels
120
+ 40 = hungarian_revolt_events.5 #Rebels with choice
121
+ 30 = hungarian_revolt_events.6 #Losing Imperial Authority
122
+ 10 = hungarian_revolt_events.7 #Stab Hit
123
+ }
124
+ }
125
+ }