|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
# First policy below is the default if no other selected
|
|
2
2
|
|
|
3
|
-
maximize_profit =
|
|
4
|
-
{
|
|
3
|
+
maximize_profit = {
|
|
4
|
+
potential = {
|
|
5
|
+
NOT = { has_country_flag = disabled_trading_policy_maximize_profit }
|
|
6
|
+
}
|
|
5
7
|
can_select = {
|
|
8
|
+
custom_trigger_tooltip = {
|
|
9
|
+
tooltip = has_unlocked_trading_policy_maximize_profit_tt
|
|
10
|
+
NOT = { has_country_flag = locked_trading_policy_maximize_profit }
|
|
11
|
+
}
|
|
6
12
|
FROM = {
|
|
7
13
|
has_trader = ROOT
|
|
8
14
|
}
|
|
@@ -10,7 +16,7 @@ maximize_profit =
|
|
|
10
16
|
|
|
11
17
|
trade_power = {
|
|
12
18
|
duration = -1
|
|
13
|
-
|
|
19
|
+
power_modifier = 0.05
|
|
14
20
|
key = maximize_profits
|
|
15
21
|
}
|
|
16
22
|
|
|
@@ -18,9 +24,40 @@ maximize_profit =
|
|
|
18
24
|
button_gfx = GFX_Trading_Policy_Max_Profit
|
|
19
25
|
}
|
|
20
26
|
|
|
21
|
-
|
|
22
|
-
{
|
|
27
|
+
maximize_profit_upgraded = {
|
|
28
|
+
potential = {
|
|
29
|
+
NOT = { has_country_flag = disabled_trading_policy_maximize_profit_upgraded }
|
|
30
|
+
has_country_flag = enabled_trading_policy_maximize_profit_upgraded
|
|
31
|
+
}
|
|
23
32
|
can_select = {
|
|
33
|
+
custom_trigger_tooltip = {
|
|
34
|
+
tooltip = has_unlocked_trading_policy_maximize_profit_upgraded_tt
|
|
35
|
+
NOT = { has_country_flag = locked_trading_policy_maximize_profit_upgraded }
|
|
36
|
+
}
|
|
37
|
+
FROM = {
|
|
38
|
+
has_trader = ROOT
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
trade_power = {
|
|
43
|
+
duration = -1
|
|
44
|
+
power_modifier = 0.10
|
|
45
|
+
key = maximize_profits
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
center_of_reformation = no
|
|
49
|
+
button_gfx = GFX_Trading_Policy_Max_Profit
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
hostile_trading = {
|
|
53
|
+
potential = {
|
|
54
|
+
NOT = { has_country_flag = disabled_trading_policy_hostile_trading }
|
|
55
|
+
}
|
|
56
|
+
can_select = {
|
|
57
|
+
custom_trigger_tooltip = {
|
|
58
|
+
tooltip = has_unlocked_trading_policy_hostile_trading_tt
|
|
59
|
+
NOT = { has_country_flag = locked_trading_policy_hostile_trading }
|
|
60
|
+
}
|
|
24
61
|
FROM = {
|
|
25
62
|
has_trader = ROOT
|
|
26
63
|
}
|
|
@@ -34,38 +71,129 @@ hostile_trading =
|
|
|
34
71
|
button_gfx = GFX_Trading_Policy_Hostile_Trading
|
|
35
72
|
}
|
|
36
73
|
|
|
37
|
-
|
|
38
|
-
{
|
|
74
|
+
hostile_trading_upgraded = {
|
|
75
|
+
potential = {
|
|
76
|
+
NOT = { has_country_flag = disabled_trading_policy_hostile_trading_upgraded }
|
|
77
|
+
has_country_flag = enabled_trading_policy_hostile_trading_upgraded
|
|
78
|
+
}
|
|
39
79
|
can_select = {
|
|
80
|
+
custom_trigger_tooltip = {
|
|
81
|
+
tooltip = has_unlocked_trading_policy_hostile_trading_upgraded_tt
|
|
82
|
+
NOT = { has_country_flag = locked_trading_policy_hostile_trading_upgraded }
|
|
83
|
+
}
|
|
40
84
|
FROM = {
|
|
41
85
|
has_trader = ROOT
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
# Also applied versus countries with the node as their home node
|
|
90
|
+
countries_with_merchant_modifier = {
|
|
91
|
+
spy_offence = 0.33
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
button_gfx = GFX_Trading_Policy_Hostile_Trading
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
improve_inland_routes = {
|
|
98
|
+
potential = {
|
|
99
|
+
NOT = { has_country_flag = disabled_trading_policy_improve_inland_routes }
|
|
100
|
+
}
|
|
101
|
+
can_select = {
|
|
102
|
+
custom_trigger_tooltip = {
|
|
103
|
+
tooltip = has_unlocked_trading_policy_improve_inland_routes_tt
|
|
104
|
+
NOT = { has_country_flag = locked_trading_policy_improve_inland_routes }
|
|
105
|
+
}
|
|
106
|
+
FROM = {
|
|
107
|
+
has_trader = ROOT
|
|
108
|
+
}
|
|
109
|
+
if = {
|
|
110
|
+
limit = { NOT = { has_government_attribute = free_improve_inland_routes } }
|
|
111
|
+
FROM = {
|
|
112
|
+
trade_share = {
|
|
113
|
+
country = ROOT
|
|
114
|
+
share = 50
|
|
115
|
+
}
|
|
45
116
|
}
|
|
46
117
|
}
|
|
47
118
|
}
|
|
48
119
|
|
|
49
120
|
can_maintain = {
|
|
50
|
-
FROM = {
|
|
121
|
+
FROM = {
|
|
51
122
|
has_trader = ROOT
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
123
|
+
}
|
|
124
|
+
if = {
|
|
125
|
+
limit = { NOT = { has_government_attribute = free_improve_inland_routes } }
|
|
126
|
+
FROM = {
|
|
127
|
+
trade_share = {
|
|
128
|
+
country = ROOT
|
|
129
|
+
share = 40
|
|
130
|
+
}
|
|
55
131
|
}
|
|
56
132
|
}
|
|
57
133
|
}
|
|
58
134
|
|
|
59
135
|
node_province_modifier = {
|
|
60
136
|
siege_ability = 0.10
|
|
61
|
-
|
|
137
|
+
artillery_levels_available_vs_fort = 1
|
|
62
138
|
}
|
|
63
139
|
button_gfx = GFX_Trading_Policy_Improve_Routes
|
|
64
140
|
}
|
|
65
141
|
|
|
66
|
-
|
|
67
|
-
{
|
|
142
|
+
improve_inland_routes_upgraded = {
|
|
143
|
+
potential = {
|
|
144
|
+
NOT = { has_country_flag = disabled_trading_policy_improve_inland_routes_upgraded }
|
|
145
|
+
has_country_flag = enabled_trading_policy_improve_inland_routes_upgraded
|
|
146
|
+
}
|
|
68
147
|
can_select = {
|
|
148
|
+
custom_trigger_tooltip = {
|
|
149
|
+
tooltip = has_unlocked_trading_policy_improve_inland_routes_upgraded_tt
|
|
150
|
+
NOT = { has_country_flag = locked_trading_policy_improve_inland_routes_upgraded }
|
|
151
|
+
}
|
|
152
|
+
FROM = {
|
|
153
|
+
has_trader = ROOT
|
|
154
|
+
}
|
|
155
|
+
if = {
|
|
156
|
+
limit = { NOT = { has_government_attribute = free_improve_inland_routes } }
|
|
157
|
+
FROM = {
|
|
158
|
+
trade_share = {
|
|
159
|
+
country = ROOT
|
|
160
|
+
share = 50
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
can_maintain = {
|
|
167
|
+
FROM = {
|
|
168
|
+
has_trader = ROOT
|
|
169
|
+
}
|
|
170
|
+
if = {
|
|
171
|
+
limit = { NOT = { has_government_attribute = free_improve_inland_routes } }
|
|
172
|
+
FROM = {
|
|
173
|
+
trade_share = {
|
|
174
|
+
country = ROOT
|
|
175
|
+
share = 40
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
node_province_modifier = {
|
|
182
|
+
siege_ability = 0.15
|
|
183
|
+
artillery_levels_available_vs_fort = 1
|
|
184
|
+
}
|
|
185
|
+
button_gfx = GFX_Trading_Policy_Improve_Routes
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
establish_communities = {
|
|
189
|
+
potential = {
|
|
190
|
+
NOT = { has_country_flag = disabled_trading_policy_establish_communities }
|
|
191
|
+
}
|
|
192
|
+
can_select = {
|
|
193
|
+
custom_trigger_tooltip = {
|
|
194
|
+
tooltip = has_unlocked_trading_policy_establish_communities_tt
|
|
195
|
+
NOT = { has_country_flag = locked_trading_policy_establish_communities }
|
|
196
|
+
}
|
|
69
197
|
FROM = {
|
|
70
198
|
has_trader = ROOT
|
|
71
199
|
}
|
|
@@ -77,37 +205,119 @@ establish_communities =
|
|
|
77
205
|
button_gfx = GFX_Trading_Policy_Establish_Communities
|
|
78
206
|
}
|
|
79
207
|
|
|
80
|
-
|
|
81
|
-
{
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
208
|
+
establish_communities_upgraded = {
|
|
209
|
+
potential = {
|
|
210
|
+
NOT = { has_country_flag = disabled_trading_policy_establish_communities_upgraded }
|
|
211
|
+
has_country_flag = enabled_trading_policy_establish_communities_upgraded
|
|
212
|
+
}
|
|
213
|
+
can_select = {
|
|
214
|
+
custom_trigger_tooltip = {
|
|
215
|
+
tooltip = has_unlocked_trading_policy_establish_communities_upgraded_tt
|
|
216
|
+
NOT = { has_country_flag = locked_trading_policy_establish_communities_upgraded }
|
|
217
|
+
}
|
|
87
218
|
FROM = {
|
|
88
219
|
has_trader = ROOT
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
countries_with_merchant_modifier = {
|
|
223
|
+
improve_relation_modifier = 0.20
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
button_gfx = GFX_Trading_Policy_Establish_Communities
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
propagate_religion = {
|
|
230
|
+
unique = yes # Only one country can select this in a certain node.
|
|
231
|
+
potential = {
|
|
232
|
+
NOT = { has_country_flag = disabled_trading_policy_propagate_religion }
|
|
233
|
+
}
|
|
234
|
+
can_select = {
|
|
235
|
+
custom_trigger_tooltip = {
|
|
236
|
+
tooltip = has_unlocked_trading_policy_propagate_religion_tt
|
|
237
|
+
NOT = { has_country_flag = locked_trading_policy_propagate_religion }
|
|
238
|
+
}
|
|
239
|
+
OR = {
|
|
240
|
+
religion_group = muslim
|
|
241
|
+
religion_group = zoroastrian_group
|
|
242
|
+
AND = {
|
|
243
|
+
religion_group = dharmic
|
|
244
|
+
mission_completed = mnd_maj_porch_of_mecca
|
|
245
|
+
}
|
|
246
|
+
custom_trigger_tooltip = {
|
|
247
|
+
tooltip = can_use_propagate_religion_tt
|
|
248
|
+
has_country_flag = can_use_propagate_religion
|
|
249
|
+
#OR = {
|
|
250
|
+
# has_country_flag = can_use_propagate_religion
|
|
251
|
+
# has_government_attribute = can_propogate_religion
|
|
252
|
+
#}
|
|
253
|
+
}
|
|
254
|
+
custom_trigger_tooltip = {
|
|
255
|
+
tooltip = can_spread_reformation_tt
|
|
256
|
+
AND = {
|
|
257
|
+
#has_government_attribute = can_spread_the_reformation
|
|
258
|
+
has_reform = reformer_state_reform
|
|
259
|
+
OR = {
|
|
260
|
+
current_age = age_of_discovery
|
|
261
|
+
current_age = age_of_reformation
|
|
262
|
+
}
|
|
263
|
+
}
|
|
93
264
|
}
|
|
94
265
|
}
|
|
266
|
+
dominant_religion = ROOT
|
|
267
|
+
if = { limit = { has_country_flag = 5_trade_power_for_propogate_religion } FROM = { has_trader = ROOT is_node_in_trade_company_region = yes trade_share = { country = ROOT share = 5 } } }
|
|
268
|
+
else_if = { limit = { has_country_flag = 10_trade_power_for_propogate_religion } FROM = { has_trader = ROOT is_node_in_trade_company_region = yes trade_share = { country = ROOT share = 10 } } }
|
|
269
|
+
else_if = { limit = { has_country_flag = 15_trade_power_for_propogate_religion } FROM = { has_trader = ROOT is_node_in_trade_company_region = yes trade_share = { country = ROOT share = 15 } } }
|
|
270
|
+
else_if = { limit = { has_country_flag = 20_trade_power_for_propogate_religion } FROM = { has_trader = ROOT is_node_in_trade_company_region = yes trade_share = { country = ROOT share = 20 } } }
|
|
271
|
+
else_if = { limit = { has_country_flag = 25_trade_power_for_propogate_religion } FROM = { has_trader = ROOT is_node_in_trade_company_region = yes trade_share = { country = ROOT share = 25 } } }
|
|
272
|
+
else_if = { limit = { has_country_flag = 30_trade_power_for_propogate_religion } FROM = { has_trader = ROOT is_node_in_trade_company_region = yes trade_share = { country = ROOT share = 30 } } }
|
|
273
|
+
else_if = { limit = { has_country_flag = 35_trade_power_for_propogate_religion } FROM = { has_trader = ROOT is_node_in_trade_company_region = yes trade_share = { country = ROOT share = 35 } } }
|
|
274
|
+
else_if = { limit = { has_country_flag = 40_trade_power_for_propogate_religion } FROM = { has_trader = ROOT is_node_in_trade_company_region = yes trade_share = { country = ROOT share = 40 } } }
|
|
275
|
+
else_if = { limit = { has_country_flag = 45_trade_power_for_propogate_religion } FROM = { has_trader = ROOT is_node_in_trade_company_region = yes trade_share = { country = ROOT share = 45 } } }
|
|
276
|
+
else = { FROM = { has_trader = ROOT is_node_in_trade_company_region = yes trade_share = { country = ROOT share = 50 } } }
|
|
95
277
|
}
|
|
96
278
|
|
|
97
279
|
can_maintain = {
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
280
|
+
OR = {
|
|
281
|
+
religion_group = muslim
|
|
282
|
+
religion_group = zoroastrian_group
|
|
283
|
+
AND = {
|
|
284
|
+
religion_group = dharmic
|
|
285
|
+
mission_completed = mnd_maj_porch_of_mecca
|
|
286
|
+
}
|
|
287
|
+
custom_trigger_tooltip = {
|
|
288
|
+
tooltip = can_use_propagate_religion_tt
|
|
289
|
+
has_country_flag = can_use_propagate_religion
|
|
290
|
+
#OR = {
|
|
291
|
+
# has_country_flag = can_use_propagate_religion
|
|
292
|
+
# has_government_attribute = can_propogate_religion
|
|
293
|
+
#}
|
|
294
|
+
}
|
|
295
|
+
custom_trigger_tooltip = {
|
|
296
|
+
tooltip = can_spread_reformation_tt
|
|
297
|
+
AND = {
|
|
298
|
+
#has_government_attribute = can_spread_the_reformation
|
|
299
|
+
has_reform = reformer_state_reform
|
|
300
|
+
OR = {
|
|
301
|
+
current_age = age_of_discovery
|
|
302
|
+
current_age = age_of_reformation
|
|
303
|
+
}
|
|
304
|
+
}
|
|
106
305
|
}
|
|
107
306
|
}
|
|
307
|
+
dominant_religion = ROOT
|
|
308
|
+
if = { limit = { has_country_flag = 5_trade_power_for_propogate_religion } FROM = { has_trader = ROOT is_node_in_trade_company_region = yes } }
|
|
309
|
+
else_if = { limit = { has_country_flag = 10_trade_power_for_propogate_religion } FROM = { has_trader = ROOT is_node_in_trade_company_region = yes trade_share = { country = ROOT share = 5 } } }
|
|
310
|
+
else_if = { limit = { has_country_flag = 15_trade_power_for_propogate_religion } FROM = { has_trader = ROOT is_node_in_trade_company_region = yes trade_share = { country = ROOT share = 5 } } }
|
|
311
|
+
else_if = { limit = { has_country_flag = 20_trade_power_for_propogate_religion } FROM = { has_trader = ROOT is_node_in_trade_company_region = yes trade_share = { country = ROOT share = 10 } } }
|
|
312
|
+
else_if = { limit = { has_country_flag = 25_trade_power_for_propogate_religion } FROM = { has_trader = ROOT is_node_in_trade_company_region = yes trade_share = { country = ROOT share = 15 } } }
|
|
313
|
+
else_if = { limit = { has_country_flag = 30_trade_power_for_propogate_religion } FROM = { has_trader = ROOT is_node_in_trade_company_region = yes trade_share = { country = ROOT share = 20 } } }
|
|
314
|
+
else_if = { limit = { has_country_flag = 35_trade_power_for_propogate_religion } FROM = { has_trader = ROOT is_node_in_trade_company_region = yes trade_share = { country = ROOT share = 25 } } }
|
|
315
|
+
else_if = { limit = { has_country_flag = 40_trade_power_for_propogate_religion } FROM = { has_trader = ROOT is_node_in_trade_company_region = yes trade_share = { country = ROOT share = 30 } } }
|
|
316
|
+
else_if = { limit = { has_country_flag = 45_trade_power_for_propogate_religion } FROM = { has_trader = ROOT is_node_in_trade_company_region = yes trade_share = { country = ROOT share = 35 } } }
|
|
317
|
+
else = { FROM = { has_trader = ROOT is_node_in_trade_company_region = yes trade_share = { country = ROOT share = 40 } } }
|
|
108
318
|
}
|
|
109
319
|
|
|
110
320
|
show_alert = yes
|
|
111
321
|
center_of_reformation = yes
|
|
112
322
|
button_gfx = GFX_Trading_Policy_Propagate_Religion
|
|
113
|
-
}
|
|
323
|
+
}
|