|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
|
|
2
|
+
######################################################################
|
|
3
|
+
# Ghulams rebels.
|
|
4
|
+
######################################################################
|
|
5
|
+
ghulams_rebels = {
|
|
6
|
+
color = { 170 95 25 }
|
|
7
|
+
|
|
8
|
+
area = nation # Stays within the nation
|
|
9
|
+
government = monarchy # Likes monarchy
|
|
10
|
+
defection = none # Does not defect
|
|
11
|
+
independence = none # Does not strive for independence
|
|
12
|
+
unit_transfer = yes
|
|
13
|
+
gfx_type = culture_owner
|
|
14
|
+
will_relocate = yes
|
|
15
|
+
|
|
16
|
+
resilient = yes
|
|
17
|
+
reinforcing = yes
|
|
18
|
+
general = yes
|
|
19
|
+
smart = yes
|
|
20
|
+
|
|
21
|
+
artillery = 0.3
|
|
22
|
+
infantry = 0.6
|
|
23
|
+
cavalry = 0.1
|
|
24
|
+
|
|
25
|
+
morale = 1.25
|
|
26
|
+
|
|
27
|
+
# Possible handle actions
|
|
28
|
+
handle_action_negotiate = yes
|
|
29
|
+
handle_action_stability = yes
|
|
30
|
+
handle_action_build_core = yes
|
|
31
|
+
handle_action_send_missionary = yes
|
|
32
|
+
|
|
33
|
+
# The rebel type with the highest modifier for this province gets picked
|
|
34
|
+
spawn_chance = {
|
|
35
|
+
factor = 1
|
|
36
|
+
modifier = {
|
|
37
|
+
factor = 0.01
|
|
38
|
+
is_overseas = yes
|
|
39
|
+
}
|
|
40
|
+
modifier = {
|
|
41
|
+
factor = 2
|
|
42
|
+
owner = { religion_group = christian }
|
|
43
|
+
}
|
|
44
|
+
modifier = {
|
|
45
|
+
factor = 0
|
|
46
|
+
has_owner_religion = yes
|
|
47
|
+
}
|
|
48
|
+
modifier = {
|
|
49
|
+
factor = 2
|
|
50
|
+
owner = {
|
|
51
|
+
estate_influence = {
|
|
52
|
+
estate = estate_ghulams
|
|
53
|
+
influence = 80
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
# This is checked for EACH province in the Area of Operations
|
|
60
|
+
movement_evaluation = {
|
|
61
|
+
factor = 1
|
|
62
|
+
modifier = {
|
|
63
|
+
factor = 0.1
|
|
64
|
+
units_in_province = 1
|
|
65
|
+
}
|
|
66
|
+
modifier = {
|
|
67
|
+
factor = 0.001
|
|
68
|
+
controlled_by = REB
|
|
69
|
+
}
|
|
70
|
+
modifier = {
|
|
71
|
+
factor = 1.5
|
|
72
|
+
unrest = 2
|
|
73
|
+
}
|
|
74
|
+
modifier = {
|
|
75
|
+
factor = 1.5
|
|
76
|
+
unrest = 4
|
|
77
|
+
}
|
|
78
|
+
modifier = {
|
|
79
|
+
factor = 1.5
|
|
80
|
+
unrest = 6
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
# Province Scope
|
|
85
|
+
siege_won_trigger = {
|
|
86
|
+
NOT = { local_autonomy = 50 }
|
|
87
|
+
}
|
|
88
|
+
siege_won_effect = {
|
|
89
|
+
add_local_autonomy = 10
|
|
90
|
+
owner = {
|
|
91
|
+
if = {
|
|
92
|
+
limit = { has_estate = estate_ghulams }
|
|
93
|
+
change_estate_land_share = {
|
|
94
|
+
estate = estate_ghulams
|
|
95
|
+
share = 1
|
|
96
|
+
province = ROOT
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
# Country scope
|
|
103
|
+
can_negotiate_trigger = {
|
|
104
|
+
always = yes
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
# Country scope
|
|
108
|
+
can_enforce_trigger = {
|
|
109
|
+
always = yes
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
# Localisation for their demands
|
|
113
|
+
demands_description = ghulams_rebels_demands
|
|
114
|
+
|
|
115
|
+
# Country Scope
|
|
116
|
+
demands_enforced_effect = {
|
|
117
|
+
hidden_effect = {
|
|
118
|
+
add_country_modifier = {
|
|
119
|
+
name = just_lost_to_rebels
|
|
120
|
+
duration = 10
|
|
121
|
+
hidden = yes
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
if = {
|
|
125
|
+
limit = {
|
|
126
|
+
has_estate = estate_ghulams
|
|
127
|
+
NOT = {
|
|
128
|
+
has_estate_influence_modifier = {
|
|
129
|
+
estate = estate_ghulams
|
|
130
|
+
modifier = EST_VAL_NOBLES_EXTORTED_RIGHTS
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
add_estate_influence_modifier = {
|
|
135
|
+
estate = estate_ghulams
|
|
136
|
+
desc = EST_VAL_NOBLES_EXTORTED_RIGHTS
|
|
137
|
+
influence = 15
|
|
138
|
+
duration = 5475
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
every_owned_province = {
|
|
142
|
+
limit = {
|
|
143
|
+
has_rebel_faction = REB
|
|
144
|
+
}
|
|
145
|
+
add_local_autonomy = 20
|
|
146
|
+
}
|
|
147
|
+
add_prestige = -20
|
|
148
|
+
add_legitimacy = -20
|
|
149
|
+
add_horde_unity = -20
|
|
150
|
+
add_devotion = -20
|
|
151
|
+
add_republican_tradition = -10
|
|
152
|
+
if = {
|
|
153
|
+
limit = {
|
|
154
|
+
has_disaster = court_and_country
|
|
155
|
+
}
|
|
156
|
+
set_country_flag = court_and_country_surrendered_to_rebels
|
|
157
|
+
hidden_effect = { country_event = { id = court_and_country_events.100 } }
|
|
158
|
+
end_disaster = court_and_country
|
|
159
|
+
}
|
|
160
|
+
if = {
|
|
161
|
+
limit = { has_estate = estate_ghulams }
|
|
162
|
+
change_estate_land_share = {
|
|
163
|
+
estate = estate_ghulams
|
|
164
|
+
share = 10
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
add_absolutism = -20
|
|
168
|
+
kill_ruler = yes
|
|
169
|
+
}
|
|
170
|
+
}
|
|
@@ -95,6 +95,10 @@ nationalist_rebels = {
|
|
|
95
95
|
factor = 10
|
|
96
96
|
nationalism_debug = 1
|
|
97
97
|
}
|
|
98
|
+
modifier = {
|
|
99
|
+
factor = 5
|
|
100
|
+
NOT = { is_core = owner }
|
|
101
|
+
}
|
|
98
102
|
modifier = {
|
|
99
103
|
factor = 15
|
|
100
104
|
has_province_modifier = court_and_country_hardline_vs_separatists
|
|
@@ -111,11 +115,7 @@ nationalist_rebels = {
|
|
|
111
115
|
modifier = {
|
|
112
116
|
factor = 2
|
|
113
117
|
has_province_modifier = "suppress_minority"
|
|
114
|
-
}
|
|
115
|
-
modifier = {
|
|
116
|
-
factor = 1.2
|
|
117
|
-
NOT = { is_core = owner }
|
|
118
|
-
}
|
|
118
|
+
}
|
|
119
119
|
modifier = {
|
|
120
120
|
factor = 1.5
|
|
121
121
|
owner = {
|
|
@@ -150,6 +150,7 @@ orthodox_rebels = {
|
|
|
150
150
|
NOT = { religion = orthodox }
|
|
151
151
|
is_reformation_center = no
|
|
152
152
|
NOT = { owner = { religion = orthodox } }
|
|
153
|
+
NOT = { has_country_flag = BYZ_gave_in_to_papal_pressure }
|
|
153
154
|
}
|
|
154
155
|
change_religion = orthodox
|
|
155
156
|
add_province_modifier = {
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
|
|
2
|
+
######################################################################
|
|
3
|
+
# Qizilbash rebels.
|
|
4
|
+
######################################################################
|
|
5
|
+
qizilbash_rebels = {
|
|
6
|
+
color = { 170 95 25 }
|
|
7
|
+
|
|
8
|
+
area = nation # Stays within the nation
|
|
9
|
+
government = monarchy # Likes monarchy
|
|
10
|
+
defection = none # Does not defect
|
|
11
|
+
independence = none # Does not strive for independence
|
|
12
|
+
unit_transfer = yes
|
|
13
|
+
gfx_type = culture_owner
|
|
14
|
+
will_relocate = yes
|
|
15
|
+
|
|
16
|
+
resilient = yes
|
|
17
|
+
reinforcing = yes
|
|
18
|
+
general = yes
|
|
19
|
+
smart = yes
|
|
20
|
+
|
|
21
|
+
artillery = 0.3
|
|
22
|
+
infantry = 0.6
|
|
23
|
+
cavalry = 0.1
|
|
24
|
+
|
|
25
|
+
morale = 1.25
|
|
26
|
+
|
|
27
|
+
# Possible handle actions
|
|
28
|
+
handle_action_negotiate = yes
|
|
29
|
+
handle_action_stability = yes
|
|
30
|
+
handle_action_build_core = yes
|
|
31
|
+
handle_action_send_missionary = yes
|
|
32
|
+
|
|
33
|
+
# The rebel type with the highest modifier for this province gets picked
|
|
34
|
+
spawn_chance = {
|
|
35
|
+
factor = 1
|
|
36
|
+
modifier = {
|
|
37
|
+
factor = 0.01
|
|
38
|
+
is_overseas = yes
|
|
39
|
+
}
|
|
40
|
+
modifier = {
|
|
41
|
+
factor = 2
|
|
42
|
+
owner = { religion_group = christian }
|
|
43
|
+
}
|
|
44
|
+
modifier = {
|
|
45
|
+
factor = 0
|
|
46
|
+
has_owner_religion = yes
|
|
47
|
+
}
|
|
48
|
+
modifier = {
|
|
49
|
+
factor = 2
|
|
50
|
+
owner = {
|
|
51
|
+
estate_influence = {
|
|
52
|
+
estate = estate_qizilbash
|
|
53
|
+
influence = 80
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
# This is checked for EACH province in the Area of Operations
|
|
60
|
+
movement_evaluation = {
|
|
61
|
+
factor = 1
|
|
62
|
+
modifier = {
|
|
63
|
+
factor = 0.1
|
|
64
|
+
units_in_province = 1
|
|
65
|
+
}
|
|
66
|
+
modifier = {
|
|
67
|
+
factor = 0.001
|
|
68
|
+
controlled_by = REB
|
|
69
|
+
}
|
|
70
|
+
modifier = {
|
|
71
|
+
factor = 1.5
|
|
72
|
+
unrest = 2
|
|
73
|
+
}
|
|
74
|
+
modifier = {
|
|
75
|
+
factor = 1.5
|
|
76
|
+
unrest = 4
|
|
77
|
+
}
|
|
78
|
+
modifier = {
|
|
79
|
+
factor = 1.5
|
|
80
|
+
unrest = 6
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
# Province Scope
|
|
85
|
+
siege_won_trigger = {
|
|
86
|
+
NOT = { local_autonomy = 50 }
|
|
87
|
+
}
|
|
88
|
+
siege_won_effect = {
|
|
89
|
+
add_local_autonomy = 10
|
|
90
|
+
owner = {
|
|
91
|
+
if = {
|
|
92
|
+
limit = { has_estate = estate_qizilbash }
|
|
93
|
+
change_estate_land_share = {
|
|
94
|
+
estate = estate_qizilbash
|
|
95
|
+
share = 1
|
|
96
|
+
province = ROOT
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
# Country scope
|
|
103
|
+
can_negotiate_trigger = {
|
|
104
|
+
always = yes
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
# Country scope
|
|
108
|
+
can_enforce_trigger = {
|
|
109
|
+
always = yes
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
# Localisation for their demands
|
|
113
|
+
demands_description = qizilbash_rebels_demands
|
|
114
|
+
|
|
115
|
+
# Country Scope
|
|
116
|
+
demands_enforced_effect = {
|
|
117
|
+
hidden_effect = {
|
|
118
|
+
add_country_modifier = {
|
|
119
|
+
name = just_lost_to_rebels
|
|
120
|
+
duration = 10
|
|
121
|
+
hidden = yes
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
if = {
|
|
125
|
+
limit = {
|
|
126
|
+
has_estate = estate_qizilbash
|
|
127
|
+
NOT = {
|
|
128
|
+
has_estate_influence_modifier = {
|
|
129
|
+
estate = estate_qizilbash
|
|
130
|
+
modifier = EST_VAL_NOBLES_EXTORTED_RIGHTS
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
add_estate_influence_modifier = {
|
|
135
|
+
estate = estate_qizilbash
|
|
136
|
+
desc = EST_VAL_NOBLES_EXTORTED_RIGHTS
|
|
137
|
+
influence = 15
|
|
138
|
+
duration = 5475
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
every_owned_province = {
|
|
142
|
+
limit = {
|
|
143
|
+
has_rebel_faction = REB
|
|
144
|
+
}
|
|
145
|
+
add_local_autonomy = 20
|
|
146
|
+
}
|
|
147
|
+
add_prestige = -20
|
|
148
|
+
add_legitimacy = -20
|
|
149
|
+
add_horde_unity = -20
|
|
150
|
+
add_devotion = -20
|
|
151
|
+
add_republican_tradition = -10
|
|
152
|
+
if = {
|
|
153
|
+
limit = {
|
|
154
|
+
has_disaster = court_and_country
|
|
155
|
+
}
|
|
156
|
+
set_country_flag = court_and_country_surrendered_to_rebels
|
|
157
|
+
hidden_effect = { country_event = { id = court_and_country_events.100 } }
|
|
158
|
+
end_disaster = court_and_country
|
|
159
|
+
}
|
|
160
|
+
if = {
|
|
161
|
+
limit = { has_estate = estate_qizilbash }
|
|
162
|
+
change_estate_land_share = {
|
|
163
|
+
estate = estate_qizilbash
|
|
164
|
+
share = 10
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
add_absolutism = -20
|
|
168
|
+
kill_ruler = yes
|
|
169
|
+
}
|
|
170
|
+
}
|