Diff to HTML by rtfpessoa

Files changed (12) hide show
  1. common/government_mechanics/00_cossacks.txt +2 -0
  2. common/government_mechanics/02_iqta.txt +39 -5
  3. common/government_mechanics/10_hessian_militarization.txt +22 -4
  4. common/government_mechanics/12_militarization.txt +8 -0
  5. common/government_mechanics/16_prussian_militarization.txt +24 -0
  6. common/government_mechanics/20_persian_influence.txt +7 -7
  7. common/government_mechanics/21_the_three_royal_fires.txt +2 -2
  8. common/government_mechanics/22_arabic_trade_influence.txt +231 -0
  9. common/government_mechanics/23_cultural_disunity.txt +52 -0
  10. common/government_mechanics/24_council_of_ten.txt +550 -0
  11. common/government_mechanics/25_blood_gathering.txt +235 -0
  12. common/government_mechanics/26_divine_authority.txt +296 -0
common/government_mechanics/00_cossacks.txt CHANGED
@@ -126,11 +126,13 @@ cossacks_mechanic = {
126
126
  type = infantry
127
127
  special_unit_category = cossacks
128
128
  force_limit_percentage = 0.15
129
+ capped_by_special_force_limit = yes
129
130
  }
130
131
  create_unit_forcelimit_percentage = {
131
132
  type = cavalry
132
133
  special_unit_category = cossacks
133
134
  force_limit_percentage = 0.05
135
+ capped_by_special_force_limit = yes
134
136
  }
135
137
  add_war_exhaustion = -2
136
138
  }
common/government_mechanics/02_iqta.txt CHANGED
@@ -2,7 +2,10 @@ iqta_mechanic = {
2
2
  alert_icon_gfx = GFX_alerticons_government_mechanics
3
3
  alert_icon_index = 2
4
4
  available = {
5
- has_dlc = "Cradle of Civilization"
5
+ OR = {
6
+ has_dlc = "Cradle of Civilization"
7
+ has_dlc = "Winds of Change"
8
+ }
6
9
  }
7
10
 
8
11
  interactions = {
@@ -15,8 +18,23 @@ iqta_mechanic = {
15
18
  name = efficient_tax_farming_modifier
16
19
  duration = 7300
17
20
  }
18
- add_subjects_development_ducats = {
19
- multiplier = 2
21
+ if = {
22
+ limit = {
23
+ has_country_flag = TIM_upgrade_iqta_tax_flag
24
+ }
25
+ add_subjects_development_ducats = {
26
+ multiplier = 4
27
+ }
28
+
29
+ change_estate_land_share = {
30
+ estate = all
31
+ share = -1
32
+ }
33
+ }
34
+ else = {
35
+ add_subjects_development_ducats = {
36
+ multiplier = 2
37
+ }
20
38
  }
21
39
  }
22
40
  cooldown_years = 20
@@ -69,8 +87,18 @@ iqta_mechanic = {
69
87
  name = land_acquisition_modifier
70
88
  duration = 7300
71
89
  }
72
- add_subjects_development_manpower = {
73
- multiplier = 0.05
90
+ if = {
91
+ limit = {
92
+ has_country_flag = TIM_upgrade_iqta_manpower_flag
93
+ }
94
+ add_subjects_development_manpower = {
95
+ multiplier = 0.1
96
+ }
97
+ }
98
+ else = {
99
+ add_subjects_development_manpower = {
100
+ multiplier = 0.05
101
+ }
74
102
  }
75
103
  }
76
104
  cooldown_years = 20
@@ -122,6 +150,12 @@ iqta_mechanic = {
122
150
  name = lenient_taxation_modifier
123
151
  duration = 7300
124
152
  }
153
+ if = {
154
+ limit = {
155
+ has_country_flag = TIM_upgrade_iqta_ld_flag
156
+ }
157
+ add_stability_or_adm_power = yes
158
+ }
125
159
  }
126
160
  cooldown_years = 20
127
161
  cooldown_token = iqta_mechanic
common/government_mechanics/10_hessian_militarization.txt CHANGED
@@ -18,6 +18,12 @@ hessian_militarization_mechanic = {
18
18
  monthly_hessian_militarization = -0.5
19
19
  }
20
20
  }
21
+ scaled_modifier = {
22
+ trigger = { has_country_flag = ven_condottieri_flag }
23
+ modifier = {
24
+ merc_leader_army_tradition = 0.5
25
+ }
26
+ }
21
27
  reverse_scaled_modifier = {
22
28
  modifier = {
23
29
  merc_maintenance_modifier = -0.1
@@ -44,10 +50,22 @@ hessian_militarization_mechanic = {
44
50
  }
45
51
  effect = {
46
52
  add_years_of_income = -0.1
47
- add_government_power = {
48
- mechanic_type = hessian_militarization_mechanic
49
- power_type = hessian_militarization
50
- value = 5
53
+ if = {
54
+ limit = {
55
+ has_government_attribute = GER_sweeten_mercanary_deals_gives_twice
56
+ }
57
+ add_government_power = {
58
+ mechanic_type = hessian_militarization_mechanic
59
+ power_type = hessian_militarization
60
+ value = 10
61
+ }
62
+ }
63
+ else = {
64
+ add_government_power = {
65
+ mechanic_type = hessian_militarization_mechanic
66
+ power_type = hessian_militarization
67
+ value = 5
68
+ }
51
69
  }
52
70
  }
53
71
  ai_chance = {
common/government_mechanics/12_militarization.txt CHANGED
@@ -17,6 +17,14 @@ militarization_mechanic = {
17
17
  monthly_militarized_society = -0.5
18
18
  }
19
19
  }
20
+ scaled_modifier = {
21
+ trigger = {
22
+ has_government_attribute = GER_buff_prussian_militarization
23
+ }
24
+ modifier = {
25
+ infantry_power = 0.1
26
+ }
27
+ }
20
28
  }
21
29
  }
22
30
 
common/government_mechanics/16_prussian_militarization.txt CHANGED
@@ -24,6 +24,14 @@ prussian_militarization_mechanic_1 = {
24
24
  monthly_prussian_militarized_society_1 = -0.1
25
25
  }
26
26
  }
27
+ scaled_modifier = {
28
+ trigger = {
29
+ has_government_attribute = GER_buff_prussian_militarization
30
+ }
31
+ modifier = {
32
+ infantry_power = 0.1
33
+ }
34
+ }
27
35
  }
28
36
  }
29
37
 
@@ -101,6 +109,14 @@ prussian_militarization_mechanic_2 = {
101
109
  monthly_prussian_militarized_society_2 = -0.5
102
110
  }
103
111
  }
112
+ scaled_modifier = {
113
+ trigger = {
114
+ has_government_attribute = GER_buff_prussian_militarization
115
+ }
116
+ modifier = {
117
+ infantry_power = 0.1
118
+ }
119
+ }
104
120
  }
105
121
  }
106
122
 
@@ -180,6 +196,14 @@ prussian_militarization_mechanic_3 = {
180
196
  monthly_prussian_militarized_society_3 = -0.5
181
197
  }
182
198
  }
199
+ scaled_modifier = {
200
+ trigger = {
201
+ has_government_attribute = GER_buff_prussian_militarization
202
+ }
203
+ modifier = {
204
+ infantry_power = 0.1
205
+ }
206
+ }
183
207
  }
184
208
  }
185
209
 
common/government_mechanics/20_persian_influence.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  persian_influence_mechanic = {
2
2
  alert_icon_gfx = GFX_alerticons_government_mechanics
3
- alert_icon_index = 5 #TODO
3
+ alert_icon_index = 4
4
4
  available = {
5
5
  has_dlc = "King of Kings"
6
6
  }
@@ -51,32 +51,32 @@ persian_influence_mechanic = {
51
51
  used_persian_influence_mechanic = yes
52
52
  if = {
53
53
  limit = { has_country_flag = improved_persian_influence_abilities }
54
- custom_tooltip = promote_good_reputation_at
54
+ custom_tooltip = promote_good_reputation_bt
55
55
  hidden_effect = {
56
56
  every_subject_country = {
57
57
  add_mutual_opinion_modifier_effect = {
58
58
  target = root
59
- modifier = promote_good_reputation_opinion
59
+ modifier = promote_good_reputation_upgraded_opinion
60
60
  }
61
61
  add_trust = {
62
62
  who = root
63
- value = 2
63
+ value = 4
64
64
  mutual = yes
65
65
  }
66
66
  }
67
67
  }
68
68
  }
69
69
  else = {
70
- custom_tooltip = promote_good_reputation_bt
70
+ custom_tooltip = promote_good_reputation_at
71
71
  hidden_effect = {
72
72
  every_subject_country = {
73
73
  add_mutual_opinion_modifier_effect = {
74
74
  target = root
75
- modifier = promote_good_reputation_upgraded_opinion
75
+ modifier = promote_good_reputation_opinion
76
76
  }
77
77
  add_trust = {
78
78
  who = root
79
- value = 4
79
+ value = 2
80
80
  mutual = yes
81
81
  }
82
82
  }
common/government_mechanics/21_the_three_royal_fires.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  the_three_royal_fires_mechanic = {
2
- alert_icon_gfx = GFX_alerticons_government_mechanics #TODO
3
- alert_icon_index = 12 #TODO
2
+ alert_icon_gfx = GFX_alerticons_government_mechanics
3
+ alert_icon_index = 12
4
4
  available = {
5
5
  has_dlc = "King of Kings"
6
6
  }
common/government_mechanics/22_arabic_trade_influence.txt ADDED
@@ -0,0 +1,231 @@
1
+ arabic_trade_influence = {
2
+ alert_icon_gfx = GFX_alerticons_government_mechanics
3
+ alert_icon_index = 20
4
+ available = {
5
+ has_dlc = "Winds of Change"
6
+ }
7
+
8
+ powers = {
9
+ arabic_trade_influence_power = {
10
+ gui = arabic_trade_influence_gov_mech
11
+ show_before_interactions = yes
12
+ max = 100
13
+ base_monthly_growth = 0.0
14
+ is_good = yes
15
+ scaled_modifier = {
16
+ modifier = {
17
+ placed_merchant_power = 15
18
+ }
19
+ }
20
+ scaled_modifier = {
21
+ trigger = {
22
+ NOT = {
23
+ has_country_flag = orm_arabic_influence_trade_eff_buff_flag
24
+ }
25
+ }
26
+ modifier = {
27
+ trade_efficiency = 0.1
28
+ }
29
+ }
30
+ scaled_modifier = {
31
+ trigger = {
32
+ has_country_flag = orm_arabic_influence_trade_eff_buff_flag
33
+ }
34
+ modifier = {
35
+ trade_efficiency = 0.2
36
+ }
37
+ }
38
+ range_modifier = {
39
+ trigger = {
40
+ NOT = { trade_income_percentage = 0.25 }
41
+ }
42
+ modifier = {
43
+ monthly_arabic_trade_influence_power = -0.2
44
+ }
45
+ }
46
+ }
47
+ }
48
+ interactions = {
49
+ propogate_religion_interaction = {
50
+ gui = arabic_trade_influence_interaction_left_button
51
+ icon = GFX_propogate_religion_interaction
52
+ cost_type = arabic_trade_influence_power
53
+ cost = 35
54
+ trigger = {
55
+
56
+ }
57
+ effect = {
58
+ if = {
59
+ limit = { has_dlc = "Cradle of Civilization" }
60
+ custom_tooltip = ORM_ALLOW_PROPAGATION_OF_RELIGION_EARLIER
61
+ }
62
+ clr_country_flag = orm_easier_propagation_flag
63
+ set_country_flag = orm_easier_propagation_flag
64
+ custom_tooltip = " "
65
+ define_advisor = {
66
+ type = inquisitor
67
+ skill = 2
68
+ cost_multiplier = 0.5
69
+ }
70
+ }
71
+ ai_chance = {
72
+ factor = 0
73
+ }
74
+ cooldown_years = 15
75
+ }
76
+
77
+ support_overseas_merchants_interaction = {
78
+ gui = arabic_trade_influence_interaction_middle_button
79
+ icon = GFX_support_overseas_merchants_interaction
80
+ cost_type = arabic_trade_influence_power
81
+ cost = 10
82
+ trigger = {
83
+
84
+ }
85
+ effect = {
86
+ custom_tooltip = ORM_GAIN_TRADE_POWER_IN_ALL_MERCHANT_NODES
87
+ custom_tooltip = " "
88
+ hidden_effect = {
89
+ every_province = {
90
+ limit = {
91
+ NOT = { has_province_flag = orm_trade_node_check }
92
+ }
93
+ if = {
94
+ limit = {
95
+ has_trader = ROOT
96
+ }
97
+ add_trade_modifier = {
98
+ who = ROOT
99
+ duration = 5475
100
+ power = 50
101
+ key = ORM_MERCHANT_PRESENCE
102
+ }
103
+ }
104
+ every_trade_node_member_province = {
105
+ set_province_flag = orm_trade_node_check
106
+ }
107
+ }
108
+ every_province = {
109
+ clr_province_flag = orm_trade_node_check
110
+ }
111
+ }
112
+ custom_tooltip = " "
113
+ define_advisor = {
114
+ type = trader
115
+ skill = 2
116
+ cost_multiplier = 0.5
117
+ }
118
+ custom_tooltip = " "
119
+ add_country_modifier = {
120
+ name = orm_strengthened_merchant_influence
121
+ duration = 5475
122
+ }
123
+ }
124
+ ai_chance = {
125
+ factor = 0
126
+ }
127
+ cooldown_years = 15
128
+ }
129
+
130
+ strengthen_outposts_interaction = {
131
+ gui = arabic_trade_influence_interaction_right_button
132
+ icon = GFX_strengthen_outposts_interaction
133
+ cost_type = arabic_trade_influence_power
134
+ cost = 15
135
+ trigger = {
136
+ num_of_provinces_owned_or_owned_by_non_sovereign_subjects_with = {
137
+ value = 1
138
+ province_has_center_of_trade_of_level = 2
139
+ }
140
+ }
141
+ effect = {
142
+ custom_tooltip = ORM_GRANT_OVERSEAS_COT_FOLLOWING_BONUS
143
+ if = {
144
+ limit = {
145
+ has_dlc = "Dharma"
146
+ }
147
+ tooltip = {
148
+ if = {
149
+ limit = {
150
+ has_country_flag = orm_trade_outposts_interaction_buff_flag
151
+ }
152
+ add_province_modifier = {
153
+ name = orm_protected_trading_outposts_buffed
154
+ duration = 3650
155
+ }
156
+ }
157
+ else = {
158
+ add_province_modifier = {
159
+ name = orm_protected_trading_outposts
160
+ duration = 3650
161
+ }
162
+ }
163
+ }
164
+ }
165
+ else = {
166
+ tooltip = {
167
+ if = {
168
+ limit = {
169
+ has_country_flag = orm_trade_outposts_interaction_buff_flag
170
+ }
171
+ add_province_modifier = {
172
+ name = orm_protected_trading_outposts_buffed_no_dlc
173
+ duration = 3650
174
+ }
175
+ }
176
+ else = {
177
+ add_province_modifier = {
178
+ name = orm_protected_trading_outposts_no_dlc
179
+ duration = 3650
180
+ }
181
+ }
182
+ }
183
+ }
184
+ hidden_effect = {
185
+ every_owned_province = {
186
+ limit = {
187
+ province_has_center_of_trade_of_level = 2
188
+ }
189
+ if = {
190
+ limit = {
191
+ has_dlc = "Dharma"
192
+ }
193
+ if = {
194
+ limit = {
195
+ owner = { has_country_flag = orm_trade_outposts_interaction_buff_flag }
196
+ }
197
+ add_province_modifier = {
198
+ name = orm_protected_trading_outposts_buffed
199
+ duration = 3650
200
+ }
201
+ }
202
+ else = {
203
+ add_province_modifier = {
204
+ name = orm_protected_trading_outposts
205
+ duration = 3650
206
+ }
207
+ }
208
+ }
209
+ else = {
210
+ if = {
211
+ limit = {
212
+ owner = { has_country_flag = orm_trade_outposts_interaction_buff_flag }
213
+ }
214
+ add_province_modifier = {
215
+ name = orm_protected_trading_outposts_buffed_no_dlc
216
+ duration = 3650
217
+ }
218
+ }
219
+ else = {
220
+ add_province_modifier = {
221
+ name = orm_protected_trading_outposts_no_dlc
222
+ duration = 3650
223
+ }
224
+ }
225
+ }
226
+ }
227
+ }
228
+ }
229
+ }
230
+ }
231
+ }
common/government_mechanics/23_cultural_disunity.txt ADDED
@@ -0,0 +1,52 @@
1
+ cultural_unity_mechanic = {
2
+ alert_icon_gfx = GFX_alerticons_government_mechanics
3
+ alert_icon_index = 21
4
+ available = {
5
+ has_dlc = "Winds of Change"
6
+ }
7
+
8
+ powers = {
9
+ cultural_unity = {
10
+ gui = cultural_unity_gov_mech
11
+ show_before_interactions = yes
12
+ max = 100
13
+ min = 0
14
+ base_monthly_growth = 0.83
15
+ scaled_modifier = {
16
+ trigger = {
17
+ always = yes
18
+ }
19
+ modifier = {
20
+
21
+ }
22
+ start_value = 0
23
+ end_value = 100
24
+ }
25
+ range_modifier = {
26
+ trigger = {
27
+ NOT = {
28
+ culture_group = germanic
29
+ }
30
+ }
31
+ modifier = {
32
+ monthly_cultural_unity = -1
33
+ }
34
+ start_value = 0
35
+ end_value = 100
36
+ }
37
+ range_modifier = {
38
+ trigger = {
39
+ GER_is_accepting_culture_being_integrated = yes
40
+ }
41
+ modifier = {
42
+ monthly_cultural_unity = 0.33
43
+ }
44
+ start_value = 0
45
+ end_value = 100
46
+ }
47
+ on_max_reached = {
48
+ country_event = { id = flavor_ger.10 }
49
+ }
50
+ }
51
+ }
52
+ }
common/government_mechanics/24_council_of_ten.txt ADDED
@@ -0,0 +1,550 @@
1
+ council_of_ten = {
2
+ alert_icon_gfx = GFX_alerticons_government_mechanics
3
+ alert_icon_index = 17
4
+ available = {
5
+ has_dlc = "Winds of Change"
6
+ }
7
+
8
+ powers = {
9
+ authority_power = {
10
+ max = 100
11
+ gui = council_of_ten_gov_mech
12
+ show_before_interactions = yes
13
+ reset_on_new_ruler = no
14
+ base_monthly_growth = 0.05
15
+ development_scaled_monthly_growth = 0
16
+ scaled_modifier = {
17
+ modifier = {
18
+ max_absolutism = -50
19
+ all_estate_influence_modifier = 0.1
20
+ min_autonomy = 20
21
+ }
22
+ }
23
+ scaled_modifier = {
24
+ modifier = {
25
+ can_not_declare_war = yes
26
+ }
27
+ start_value = 90
28
+ end_value = 100
29
+ }
30
+ scaled_modifier = {
31
+ modifier = {
32
+ monthly_authority_power = -0.5
33
+ }
34
+ start_value = 50
35
+ end_value = 100
36
+ }
37
+ reverse_scaled_modifier = {
38
+ modifier = {
39
+ monthly_authority_power = 0.5
40
+ }
41
+ start_value = 0
42
+ end_value = 50
43
+ }
44
+ is_good = no
45
+ }
46
+ }
47
+
48
+ interactions = {
49
+ adm_interaction = {
50
+ icon = GFX_council_of_ten_adm_interaction_button
51
+ cooldown_years = 3
52
+ trigger = {
53
+ adm_power = 50
54
+ custom_trigger_tooltip = {
55
+ tooltip = any_faction_51_influence_tt
56
+ OR = {
57
+ faction_influence = {
58
+ faction = mr_aristocrats
59
+ influence = 51
60
+ }
61
+ faction_influence = {
62
+ faction = mr_traders
63
+ influence = 51
64
+ }
65
+ faction_influence = {
66
+ faction = mr_guilds
67
+ influence = 51
68
+ }
69
+ }
70
+ }
71
+ if = {
72
+ limit = {
73
+ faction_influence = {
74
+ faction = mr_aristocrats
75
+ influence = 51
76
+ }
77
+ }
78
+ OR = {
79
+ num_of_estate_privileges = {
80
+ estate = estate_nobles
81
+ value = 3
82
+ }
83
+ estate_loyalty = {
84
+ estate = estate_nobles
85
+ loyalty = 60
86
+ }
87
+ }
88
+ }
89
+ if = {
90
+ limit = {
91
+ faction_influence = {
92
+ faction = mr_traders
93
+ influence = 51
94
+ }
95
+ }
96
+ OR = {
97
+ num_of_estate_privileges = {
98
+ estate = estate_burghers
99
+ value = 3
100
+ }
101
+ estate_loyalty = {
102
+ estate = estate_burghers
103
+ loyalty = 60
104
+ }
105
+ }
106
+ }
107
+ if = {
108
+ limit = {
109
+ OR = {
110
+ faction_influence = {
111
+ faction = mr_aristocrats
112
+ influence = 51
113
+ }
114
+ faction_influence = {
115
+ faction = mr_traders
116
+ influence = 51
117
+ }
118
+ }
119
+ }
120
+ crown_land_share = 3
121
+ }
122
+ }
123
+ effect = {
124
+ add_adm_power = -50
125
+ if = {
126
+ limit = {
127
+ faction_influence = {
128
+ faction = mr_aristocrats
129
+ influence = 51
130
+ }
131
+ }
132
+ add_faction_influence = {
133
+ faction = mr_aristocrats
134
+ influence = 10
135
+ }
136
+ change_estate_land_share = {
137
+ estate = estate_nobles
138
+ share = 2.5
139
+ }
140
+ capital_scope = { add_base_manpower = 1 }
141
+ }
142
+ if = {
143
+ limit = {
144
+ faction_influence = {
145
+ faction = mr_traders
146
+ influence = 51
147
+ }
148
+ }
149
+ add_faction_influence = {
150
+ faction = mr_traders
151
+ influence = 10
152
+ }
153
+ if = {
154
+ limit = { has_country_flag = ven_trade_ideas_reward_flag }
155
+ change_estate_land_share = {
156
+ estate = estate_burghers
157
+ share = 2
158
+ }
159
+ }
160
+ else = {
161
+ change_estate_land_share = {
162
+ estate = estate_burghers
163
+ share = 2.5
164
+ }
165
+ }
166
+ capital_scope = { add_base_production = 1 }
167
+ }
168
+ if = {
169
+ limit = {
170
+ faction_influence = {
171
+ faction = mr_guilds
172
+ influence = 51
173
+ }
174
+ }
175
+ add_faction_influence = {
176
+ faction = mr_guilds
177
+ influence = 10
178
+ }
179
+ if = {
180
+ limit = { mission_completed = ven_modern_banking_system }
181
+ add_republican_tradition = -2
182
+ }
183
+ else = { add_republican_tradition = -3 }
184
+ change_government_reform_progress = 50
185
+ }
186
+ add_government_power = {
187
+ mechanic_type = council_of_ten
188
+ power_type = authority_power
189
+ value = -5
190
+ }
191
+ }
192
+ }
193
+ dip_interaction = { #
194
+ icon = GFX_council_of_ten_dip_interaction_button
195
+ cooldown_years = 3
196
+ trigger = {
197
+ dip_power = 50
198
+ custom_trigger_tooltip = {
199
+ tooltip = any_faction_51_influence_tt
200
+ OR = {
201
+ faction_influence = {
202
+ faction = mr_aristocrats
203
+ influence = 51
204
+ }
205
+ faction_influence = {
206
+ faction = mr_traders
207
+ influence = 51
208
+ }
209
+ faction_influence = {
210
+ faction = mr_guilds
211
+ influence = 51
212
+ }
213
+ }
214
+ }
215
+ if = {
216
+ limit = {
217
+ faction_influence = {
218
+ faction = mr_aristocrats
219
+ influence = 51
220
+ }
221
+ }
222
+ OR = {
223
+ num_of_estate_privileges = {
224
+ estate = estate_nobles
225
+ value = 3
226
+ }
227
+ estate_loyalty = {
228
+ estate = estate_nobles
229
+ loyalty = 60
230
+ }
231
+ }
232
+ }
233
+ if = {
234
+ limit = {
235
+ faction_influence = {
236
+ faction = mr_traders
237
+ influence = 51
238
+ }
239
+ }
240
+ OR = {
241
+ num_of_estate_privileges = {
242
+ estate = estate_burghers
243
+ value = 3
244
+ }
245
+ estate_loyalty = {
246
+ estate = estate_burghers
247
+ loyalty = 60
248
+ }
249
+ }
250
+ }
251
+ if = {
252
+ limit = {
253
+ OR = {
254
+ faction_influence = {
255
+ faction = mr_aristocrats
256
+ influence = 51
257
+ }
258
+ faction_influence = {
259
+ faction = mr_traders
260
+ influence = 51
261
+ }
262
+ }
263
+ }
264
+ crown_land_share = 3
265
+ }
266
+ }
267
+ effect = {
268
+ add_dip_power = -50
269
+ if = {
270
+ limit = {
271
+ faction_influence = {
272
+ faction = mr_aristocrats
273
+ influence = 51
274
+ }
275
+ }
276
+ every_neighbor_province = {
277
+ limit = {
278
+ OR = {
279
+ province_has_center_of_trade_of_level = 1
280
+ has_port = yes
281
+ }
282
+ NOT = { country_or_non_sovereign_subject_holds = VEN }
283
+ owner = {
284
+ NOT = { alliance_with = VEN }
285
+ }
286
+ }
287
+ add_claim = VEN
288
+ }
289
+ change_estate_land_share = {
290
+ estate = estate_nobles
291
+ share = 2.5
292
+ }
293
+ add_faction_influence = {
294
+ faction = mr_aristocrats
295
+ influence = 10
296
+ }
297
+ }
298
+ if = {
299
+ limit = {
300
+ faction_influence = {
301
+ faction = mr_traders
302
+ influence = 51
303
+ }
304
+ }
305
+ if = {
306
+ limit = { has_country_flag = ven_trade_ideas_reward_flag }
307
+ change_estate_land_share = {
308
+ estate = estate_burghers
309
+ share = 2
310
+ }
311
+ }
312
+ else = {
313
+ change_estate_land_share = {
314
+ estate = estate_burghers
315
+ share = 2.5
316
+ }
317
+ }
318
+ VEN = {
319
+ if = {
320
+ limit = { naval_forcelimit = 200 }
321
+ 112 = {
322
+ create_units_of_type_in_province = {
323
+ custom_tooltip = spawn_20_galleys_for_root
324
+ who = ROOT
325
+ amount = 20
326
+ unit_type = galley
327
+ }
328
+ }
329
+ }
330
+ else_if = {
331
+ limit = { naval_forcelimit = 150 }
332
+ 112 = {
333
+ create_units_of_type_in_province = {
334
+ custom_tooltip = spawn_15_galleys_for_root
335
+ who = ROOT
336
+ amount = 20
337
+ unit_type = galley
338
+ }
339
+ }
340
+ }
341
+ else_if = {
342
+ limit = { naval_forcelimit = 100 }
343
+ 112 = {
344
+ create_units_of_type_in_province = {
345
+ custom_tooltip = spawn_10_galleys_for_root
346
+ who = ROOT
347
+ amount = 10
348
+ unit_type = galley
349
+ }
350
+ }
351
+ }
352
+ else = {
353
+ 112 = {
354
+ create_units_of_type_in_province = {
355
+ custom_tooltip = spawn_5_galleys_for_root
356
+ who = ROOT
357
+ amount = 5
358
+ unit_type = galley
359
+ }
360
+ }
361
+ }
362
+ }
363
+ }
364
+ if = {
365
+ limit = {
366
+ faction_influence = {
367
+ faction = mr_guilds
368
+ influence = 51
369
+ }
370
+ }
371
+ if = {
372
+ limit = { mission_completed = ven_modern_banking_system }
373
+ add_republican_tradition = -2
374
+ }
375
+ else = { add_republican_tradition = -3 }
376
+ random_owned_province = {
377
+ limit = {
378
+ controlled_by = ROOT
379
+ OR = {
380
+ has_mills_trade_goods = yes
381
+ has_trade_company_trade_goods = yes
382
+ has_textile_trade_goods = yes
383
+ }
384
+ NOT = { is_prosperous = yes }
385
+ }
386
+ add_prosperity = 25
387
+ }
388
+ add_mercantilism = 2
389
+ }
390
+ add_government_power = {
391
+ mechanic_type = council_of_ten
392
+ power_type = authority_power
393
+ value = -5
394
+ }
395
+ }
396
+ }
397
+ mil_interaction = {
398
+ icon = GFX_council_of_ten_mil_interaction_button
399
+ cooldown_years = 3
400
+ trigger = {
401
+ mil_power = 50
402
+ custom_trigger_tooltip = {
403
+ tooltip = any_faction_51_influence_tt
404
+ OR = {
405
+ faction_influence = {
406
+ faction = mr_aristocrats
407
+ influence = 51
408
+ }
409
+ faction_influence = {
410
+ faction = mr_traders
411
+ influence = 51
412
+ }
413
+ faction_influence = {
414
+ faction = mr_guilds
415
+ influence = 51
416
+ }
417
+ }
418
+ }
419
+ if = {
420
+ limit = {
421
+ faction_influence = {
422
+ faction = mr_aristocrats
423
+ influence = 51
424
+ }
425
+ }
426
+ OR = {
427
+ num_of_estate_privileges = {
428
+ estate = estate_nobles
429
+ value = 3
430
+ }
431
+ estate_loyalty = {
432
+ estate = estate_nobles
433
+ loyalty = 60
434
+ }
435
+ }
436
+ }
437
+ if = {
438
+ limit = {
439
+ faction_influence = {
440
+ faction = mr_traders
441
+ influence = 51
442
+ }
443
+ }
444
+ OR = {
445
+ num_of_estate_privileges = {
446
+ estate = estate_burghers
447
+ value = 3
448
+ }
449
+ estate_loyalty = {
450
+ estate = estate_burghers
451
+ loyalty = 60
452
+ }
453
+ }
454
+ }
455
+ if = {
456
+ limit = {
457
+ OR = {
458
+ faction_influence = {
459
+ faction = mr_aristocrats
460
+ influence = 51
461
+ }
462
+ faction_influence = {
463
+ faction = mr_traders
464
+ influence = 51
465
+ }
466
+ }
467
+ }
468
+ crown_land_share = 3
469
+ }
470
+ }
471
+ effect = {
472
+ add_mil_power = -50
473
+ if = {
474
+ limit = {
475
+ faction_influence = {
476
+ faction = mr_aristocrats
477
+ influence = 51
478
+ }
479
+ }
480
+ add_army_professionalism = 0.03
481
+ add_army_tradition = 5
482
+ change_estate_land_share = {
483
+ estate = estate_nobles
484
+ share = 2.5
485
+ }
486
+ add_faction_influence = {
487
+ faction = mr_aristocrats
488
+ influence = 10
489
+ }
490
+ }
491
+ if = {
492
+ limit = {
493
+ faction_influence = {
494
+ faction = mr_traders
495
+ influence = 51
496
+ }
497
+ }
498
+ if = {
499
+ limit = { has_country_flag = ven_trade_ideas_reward_flag }
500
+ change_estate_land_share = {
501
+ estate = estate_burghers
502
+ share = 2
503
+ }
504
+ }
505
+ else = {
506
+ change_estate_land_share = {
507
+ estate = estate_burghers
508
+ share = 2.5
509
+ }
510
+ }
511
+ add_yearly_sailors = 1
512
+ }
513
+ if = {
514
+ limit = {
515
+ OR = {
516
+ has_dlc = "Rule Britannia"
517
+ has_dlc = "Domination"
518
+ has_dlc = "Golden Century"
519
+ has_dlc = "Lions of the North"
520
+ }
521
+ }
522
+ capital_scope = {
523
+ marine_infantry = ROOT
524
+ marine_infantry = ROOT
525
+ marine_infantry = ROOT
526
+ }
527
+ }
528
+ if = {
529
+ limit = {
530
+ faction_influence = {
531
+ faction = mr_guilds
532
+ influence = 51
533
+ }
534
+ }
535
+ if = {
536
+ limit = { mission_completed = ven_modern_banking_system }
537
+ add_republican_tradition = -2
538
+ }
539
+ else = { add_republican_tradition = -3 }
540
+ add_yearly_manpower = 1
541
+ }
542
+ add_government_power = {
543
+ mechanic_type = council_of_ten
544
+ power_type = authority_power
545
+ value = -5
546
+ }
547
+ }
548
+ }
549
+ }
550
+ }
common/government_mechanics/25_blood_gathering.txt ADDED
@@ -0,0 +1,235 @@
1
+ blood_gathering_mechanic = {
2
+ alert_icon_gfx = GFX_alerticons_government_mechanics
3
+ alert_icon_index = 18
4
+ available = {
5
+ has_dlc = "Winds of Change"
6
+ }
7
+
8
+ powers = {
9
+ blood = {
10
+ show_before_interactions = yes
11
+ gui = blood_gathering_gov_mech
12
+ max = 100
13
+ min = 0
14
+ base_monthly_growth = 0.0
15
+ is_good = yes
16
+ scaled_modifier = {
17
+ trigger = {
18
+ NOT = {
19
+ has_country_flag = azt_tezcatlipoca_deity
20
+ has_country_flag = azt_quetzacoatl_deity
21
+ has_country_flag = azt_tlaloc_deity
22
+ }
23
+ }
24
+ modifier = {
25
+ land_morale = 0.1
26
+ manpower_in_own_culture_provinces = 0.15
27
+ manpower_in_accepted_culture_provinces = 0.15
28
+ }
29
+ }
30
+ scaled_modifier = {
31
+ trigger = {
32
+ has_country_flag = azt_tezcatlipoca_deity
33
+ }
34
+ modifier = {
35
+ core_creation = -0.15
36
+ ae_impact = -0.1
37
+ }
38
+ }
39
+ scaled_modifier = {
40
+ trigger = {
41
+ has_country_flag = azt_tlaloc_deity
42
+ }
43
+ modifier = {
44
+ development_cost_in_primary_culture = -0.15
45
+ build_cost = -0.2
46
+ }
47
+ }
48
+ scaled_modifier = {
49
+ trigger = {
50
+ has_country_flag = azt_quetzacoatl_deity
51
+ }
52
+ modifier = {
53
+ global_unrest = -3
54
+ global_missionary_strength = 0.03
55
+ }
56
+ }
57
+ scaled_modifier = {
58
+ trigger = {
59
+ has_country_flag = azt_blood_buffs_flag
60
+ }
61
+ modifier = {
62
+ church_loyalty_modifier = 0.15
63
+ technology_cost = -0.05
64
+ }
65
+ }
66
+ }
67
+ }
68
+ interactions = {
69
+ praise_patron_deity = {
70
+ icon = GFX_praise_patron_deity_interaction
71
+ effect = {
72
+
73
+ custom_tooltip = SEPERATOR_TOOLTIP
74
+
75
+ country_event = { id = flavor_azt.24 }
76
+ }
77
+ cooldown_years = 25
78
+ cost_type = blood
79
+ cost = 15
80
+ ai_chance = {
81
+ factor = 1
82
+ }
83
+ }
84
+
85
+ hold_religious_festival = {
86
+ icon = GFX_hold_religious_festival_interaction
87
+ effect = {
88
+ custom_tooltip = SEPERATOR_TOOLTIP
89
+
90
+ add_doom = -10
91
+
92
+ custom_tooltip = SEPERATOR_TOOLTIP
93
+
94
+ if = {
95
+ limit = {
96
+ has_country_flag = azt_tezcatlipoca_deity
97
+ }
98
+
99
+ add_country_modifier = {
100
+ name = azt_toxcatl_festival
101
+ duration = 5475
102
+ }
103
+
104
+ add_adm_power = 50
105
+
106
+ custom_tooltip = SEPERATOR_TOOLTIP
107
+
108
+ add_estate_loyalty = {
109
+ estate = estate_church
110
+ loyalty = 10
111
+ }
112
+ }
113
+ else_if = {
114
+ limit = {
115
+ has_country_flag = azt_quetzacoatl_deity
116
+ }
117
+
118
+ add_country_modifier = {
119
+ name = azt_etzalcualiztli_festival
120
+ duration = 5475
121
+ }
122
+
123
+ if = {
124
+ limit = {
125
+ primitives = yes
126
+ }
127
+ define_advisor = {
128
+ type = inquisitor
129
+ skill = 2
130
+ cost_multiplier = 0.5
131
+ }
132
+
133
+ add_splendor = 100
134
+ }
135
+ else = {
136
+ change_government_reform_progress = 50
137
+ }
138
+
139
+ add_estate_loyalty = {
140
+ estate = estate_church
141
+ loyalty = 10
142
+ }
143
+ }
144
+ else_if = {
145
+ limit = {
146
+ has_country_flag = azt_tlaloc_deity
147
+ }
148
+
149
+ add_country_modifier = {
150
+ name = azt_atlcahualo_festival
151
+ duration = 5475
152
+ }
153
+
154
+ add_dip_power = 50
155
+
156
+ custom_tooltip = SEPERATOR_TOOLTIP
157
+
158
+ add_estate_loyalty = {
159
+ estate = estate_burghers
160
+ loyalty = 10
161
+ }
162
+ }
163
+ else = {
164
+ add_country_modifier = {
165
+ name = azt_panquetzaliztli_festival
166
+ duration = 5475
167
+ }
168
+
169
+ add_mil_power = 50
170
+
171
+ custom_tooltip = SEPERATOR_TOOLTIP
172
+
173
+ add_estate_loyalty = {
174
+ estate = estate_nobles
175
+ loyalty = 10
176
+ }
177
+ }
178
+
179
+ custom_tooltip = SEPERATOR_TOOLTIP
180
+
181
+ custom_tooltip = AZT_FESTIVAL_REWARD_CHANGES_WITH_PATRON_DEITY
182
+
183
+ if = {
184
+ limit = {
185
+ has_country_flag = azt_festival_inquisitor_flag
186
+ }
187
+ define_advisor = {
188
+ type = inquisitor
189
+ skill = 2
190
+ cost_multiplier = 0.5
191
+ }
192
+ }
193
+
194
+ hidden_effect = {
195
+ change_variable = {
196
+ which = AztFestivalsHeldVar
197
+ value = 1
198
+ }
199
+ }
200
+ }
201
+ cooldown_years = 15
202
+ cost_type = blood
203
+ cost = 40
204
+ ai_chance = {
205
+ factor = 1
206
+ }
207
+ }
208
+
209
+ blood_letting = {
210
+ icon = GFX_blood_letting_interaction
211
+ trigger = {
212
+
213
+ }
214
+ effect = {
215
+
216
+ custom_tooltip = SEPERATOR_TOOLTIP
217
+
218
+ add_country_modifier = {
219
+ name = azt_bloodletting_practise
220
+ duration = 5475
221
+ }
222
+
223
+ add_government_power = {
224
+ mechanic_type = blood_gathering_mechanic
225
+ power_type = blood
226
+ value = 15
227
+ }
228
+ }
229
+ cooldown_years = 20
230
+ ai_chance = {
231
+ factor = 0
232
+ }
233
+ }
234
+ }
235
+ }
common/government_mechanics/26_divine_authority.txt ADDED
@@ -0,0 +1,296 @@
1
+ divine_authority_mechanic = {
2
+ alert_icon_gfx = GFX_alerticons_government_mechanics
3
+ alert_icon_index = 19
4
+ available = {
5
+ has_dlc = "Winds of Change"
6
+ }
7
+
8
+ powers = {
9
+ divine_authority = {
10
+ show_before_interactions = yes
11
+ gui = divine_authority_gov_mech
12
+ max = 100
13
+ min = -100
14
+ base_monthly_growth = 0.0
15
+ is_good = yes
16
+ range_modifier = {
17
+ trigger = {
18
+ average_unrest = -5
19
+ NOT = { average_unrest = -4 }
20
+ }
21
+ modifier = {
22
+ monthly_divine_authority = -0.05
23
+ }
24
+ }
25
+ range_modifier = {
26
+ trigger = {
27
+ average_unrest = -4
28
+ NOT = { average_unrest = -3 }
29
+ }
30
+ modifier = {
31
+ monthly_divine_authority = -0.1
32
+ }
33
+ }
34
+ range_modifier = {
35
+ trigger = {
36
+ average_unrest = -3
37
+ NOT = { average_unrest = -2 }
38
+ }
39
+ modifier = {
40
+ monthly_divine_authority = -0.15
41
+ }
42
+ }
43
+ range_modifier = {
44
+ trigger = {
45
+ average_unrest = -2
46
+ NOT = { average_unrest = -1 }
47
+ }
48
+ modifier = {
49
+ monthly_divine_authority = -0.2
50
+ }
51
+ }
52
+ range_modifier = {
53
+ trigger = {
54
+ average_unrest = -1
55
+ NOT = { average_unrest = 0 }
56
+ }
57
+ modifier = {
58
+ monthly_divine_authority = -0.25
59
+ }
60
+ }
61
+ range_modifier = {
62
+ trigger = {
63
+ average_unrest = 0
64
+ NOT = { average_unrest = 1 }
65
+ }
66
+ modifier = {
67
+ monthly_divine_authority = -0.3
68
+ }
69
+ }
70
+ range_modifier = {
71
+ trigger = {
72
+ average_unrest = 1
73
+ NOT = { average_unrest = 2 }
74
+ }
75
+ modifier = {
76
+ monthly_divine_authority = -0.35
77
+ }
78
+ }
79
+ range_modifier = {
80
+ trigger = {
81
+ average_unrest = 2
82
+ NOT = { average_unrest = 3 }
83
+ }
84
+ modifier = {
85
+ monthly_divine_authority = -0.4
86
+ }
87
+ }
88
+ range_modifier = {
89
+ trigger = {
90
+ average_unrest = 3
91
+ NOT = { average_unrest = 4 }
92
+ }
93
+ modifier = {
94
+ monthly_divine_authority = -0.45
95
+ }
96
+ }
97
+ range_modifier = {
98
+ trigger = {
99
+ average_unrest = 4
100
+ }
101
+ modifier = {
102
+ monthly_divine_authority = -0.5
103
+ }
104
+ }
105
+ scaled_modifier = {
106
+ trigger = {
107
+ always = yes
108
+ }
109
+ modifier = {
110
+ same_religion_advisor_cost = -0.25
111
+ yearly_absolutism = 2
112
+ global_autonomy = -0.1
113
+ morale_damage = 0.15
114
+ monthly_divine_authority = -1
115
+ }
116
+ start_value = 0
117
+ end_value = 100
118
+ }
119
+ scaled_modifier = {
120
+ trigger = {
121
+ has_country_flag = INC_divine_missionary
122
+ }
123
+ modifier = {
124
+ global_missionary_strength = 0.03
125
+ }
126
+ start_value = 0
127
+ end_value = 100
128
+ }
129
+ scaled_modifier = {
130
+ trigger = {
131
+ has_country_flag = INC_divine_corruption
132
+ }
133
+ modifier = {
134
+ yearly_corruption = -0.2
135
+ }
136
+ start_value = 0
137
+ end_value = 100
138
+ }
139
+ scaled_modifier = {
140
+ trigger = {
141
+ has_country_flag = INC_divine_unrest
142
+ }
143
+ modifier = {
144
+ global_unrest = -1
145
+ }
146
+ start_value = 0
147
+ end_value = 100
148
+ }
149
+ reverse_scaled_modifier = {
150
+ trigger = {
151
+ always = yes
152
+ }
153
+ modifier = {
154
+ same_religion_advisor_cost = 0.5
155
+ yearly_absolutism = -4
156
+ global_autonomy = 0.2
157
+ morale_damage = -0.25
158
+ monthly_divine_authority = 0.5
159
+ }
160
+ start_value = -100
161
+ end_value = 0
162
+ }
163
+ }
164
+ }
165
+ interactions = {
166
+ alter_the_records = {
167
+ icon = GFX_alter_the_records_interaction
168
+ trigger = {
169
+ adm_power_cost = 50
170
+ dip_power_cost = 50
171
+ mil_power_cost = 50
172
+ }
173
+ effect = {
174
+ add_government_power = {
175
+ mechanic_type = divine_authority_mechanic
176
+ power_type = divine_authority
177
+ value = 10
178
+ }
179
+
180
+ custom_tooltip = " "
181
+
182
+ adm_power_cost = 50
183
+ dip_power_cost = 50
184
+ mil_power_cost = 50
185
+ }
186
+ cooldown_years = 10
187
+ ai_chance = {
188
+ factor = 1
189
+ }
190
+ }
191
+
192
+ reform_religion_button = {
193
+ icon = GFX_reform_religion_interaction
194
+ trigger = {
195
+ stability = 2
196
+ NOT = {
197
+ has_government_power = {
198
+ mechanic_type = divine_authority_mechanic
199
+ power_type = divine_authority
200
+ value = 70
201
+ }
202
+ }
203
+ }
204
+ effect = {
205
+ add_government_power = {
206
+ mechanic_type = divine_authority_mechanic
207
+ power_type = divine_authority
208
+ value = 25
209
+ }
210
+
211
+ custom_tooltip = " "
212
+
213
+ add_stability = -1
214
+
215
+ custom_tooltip = " "
216
+
217
+ add_country_modifier = {
218
+ name = INC_religious_reform
219
+ duration = 3650
220
+ }
221
+
222
+ capital_scope = {
223
+ #custom_tooltip = INC_get_size_3_pretender_rebels
224
+ spawn_rebels = {
225
+ type = pretender_rebels
226
+ size = 3
227
+ }
228
+ }
229
+
230
+ hidden_effect = {
231
+ country_event = { id = flavor_inc.28 } #this needs to be 1:1 of the above
232
+ }
233
+ }
234
+ cooldown_years = 10
235
+ ai_chance = {
236
+ factor = 1
237
+ }
238
+ }
239
+
240
+ destroy_the_history = {
241
+ icon = GFX_destroy_the_history_interaction
242
+ trigger = {
243
+ has_government_power = {
244
+ mechanic_type = divine_authority_mechanic
245
+ power_type = divine_authority
246
+ value = 90
247
+ }
248
+ custom_trigger_tooltip = {
249
+ tooltip = INC_has_not_destroyed_history
250
+ NOT = { has_ruler_flag = INC_destroyed_history_flag }
251
+ }
252
+ has_regency = no
253
+ }
254
+ effect = {
255
+ set_ruler_flag = INC_destroyed_history_flag
256
+
257
+ add_government_power = {
258
+ mechanic_type = divine_authority_mechanic
259
+ power_type = divine_authority
260
+ value = -75
261
+ }
262
+
263
+ custom_tooltip = " "
264
+
265
+ change_adm = 1
266
+ change_dip = 1
267
+ change_mil = 1
268
+
269
+ custom_tooltip = " "
270
+
271
+ custom_tooltip = INC_destroy_all_mummies
272
+ hidden_effect = {
273
+ set_variable = {
274
+ which = inca_amount_of_mummies
275
+ value = 0
276
+ }
277
+ }
278
+
279
+ custom_tooltip = " "
280
+
281
+ add_ruler_modifier = {
282
+ name = INC_pachakuti
283
+ duration = -1
284
+ }
285
+
286
+ hidden_effect = {
287
+ country_event = { id = flavor_inc.29 } #this needs to be 1:1 of the above
288
+ }
289
+ }
290
+ cooldown_years = 10
291
+ ai_chance = {
292
+ factor = 0
293
+ }
294
+ }
295
+ }
296
+ }