Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. common/trading_policies/00_trading_policies.txt +172 -65
common/trading_policies/00_trading_policies.txt CHANGED
@@ -1,7 +1,14 @@
1
1
  # First policy below is the default if no other selected
2
2
 
3
3
  maximize_profit = {
4
+ potential = {
5
+ NOT = { has_country_flag = disabled_trading_policy_maximize_profit }
6
+ }
4
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
+ }
5
12
  FROM = {
6
13
  has_trader = ROOT
7
14
  }
@@ -17,8 +24,40 @@ maximize_profit = {
17
24
  button_gfx = GFX_Trading_Policy_Max_Profit
18
25
  }
19
26
 
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
+ }
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
+
20
52
  hostile_trading = {
53
+ potential = {
54
+ NOT = { has_country_flag = disabled_trading_policy_hostile_trading }
55
+ }
21
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
+ }
22
61
  FROM = {
23
62
  has_trader = ROOT
24
63
  }
@@ -32,8 +71,38 @@ hostile_trading = {
32
71
  button_gfx = GFX_Trading_Policy_Hostile_Trading
33
72
  }
34
73
 
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
+ }
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
+ }
84
+ FROM = {
85
+ has_trader = ROOT
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
+
35
97
  improve_inland_routes = {
98
+ potential = {
99
+ NOT = { has_country_flag = disabled_trading_policy_improve_inland_routes }
100
+ }
36
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
+ }
37
106
  FROM = {
38
107
  has_trader = ROOT
39
108
  }
@@ -70,8 +139,61 @@ improve_inland_routes = {
70
139
  button_gfx = GFX_Trading_Policy_Improve_Routes
71
140
  }
72
141
 
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
+ }
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
+
73
188
  establish_communities = {
189
+ potential = {
190
+ NOT = { has_country_flag = disabled_trading_policy_establish_communities }
191
+ }
74
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
+ }
75
197
  FROM = {
76
198
  has_trader = ROOT
77
199
  }
@@ -83,12 +205,40 @@ establish_communities = {
83
205
  button_gfx = GFX_Trading_Policy_Establish_Communities
84
206
  }
85
207
 
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
+ }
218
+ FROM = {
219
+ has_trader = ROOT
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
+
86
229
  propagate_religion = {
87
230
  unique = yes # Only one country can select this in a certain node.
88
-
231
+ potential = {
232
+ NOT = { has_country_flag = disabled_trading_policy_propagate_religion }
233
+ }
89
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
+ }
90
239
  OR = {
91
240
  religion_group = muslim
241
+ religion_group = zoroastrian_group
92
242
  AND = {
93
243
  religion_group = dharmic
94
244
  mission_completed = mnd_maj_porch_of_mecca
@@ -114,43 +264,22 @@ propagate_religion = {
114
264
  }
115
265
  }
116
266
  dominant_religion = ROOT
117
- if = {
118
- limit = { has_country_flag = 15_trade_power_for_propogate_religion }
119
- FROM = {
120
- has_trader = ROOT
121
- is_node_in_trade_company_region = yes
122
- trade_share = {
123
- country = ROOT
124
- share = 15
125
- }
126
- }
127
- }
128
- else_if = {
129
- limit = { mission_completed = atj_porch_of_mecca }
130
- FROM = {
131
- has_trader = ROOT
132
- is_node_in_trade_company_region = yes
133
- trade_share = {
134
- country = ROOT
135
- share = 35
136
- }
137
- }
138
- }
139
- else = {
140
- FROM = {
141
- has_trader = ROOT
142
- is_node_in_trade_company_region = yes
143
- trade_share = {
144
- country = ROOT
145
- share = 50
146
- }
147
- }
148
- }
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 } } }
149
277
  }
150
278
 
151
279
  can_maintain = {
152
280
  OR = {
153
281
  religion_group = muslim
282
+ religion_group = zoroastrian_group
154
283
  AND = {
155
284
  religion_group = dharmic
156
285
  mission_completed = mnd_maj_porch_of_mecca
@@ -176,38 +305,16 @@ propagate_religion = {
176
305
  }
177
306
  }
178
307
  dominant_religion = ROOT
179
- if = {
180
- limit = { has_country_flag = 15_trade_power_for_propogate_religion }
181
- FROM = {
182
- has_trader = ROOT
183
- is_node_in_trade_company_region = yes
184
- trade_share = {
185
- country = ROOT
186
- share = 5
187
- }
188
- }
189
- }
190
- else_if = {
191
- limit = { mission_completed = atj_porch_of_mecca }
192
- FROM = {
193
- has_trader = ROOT
194
- is_node_in_trade_company_region = yes
195
- trade_share = {
196
- country = ROOT
197
- share = 25
198
- }
199
- }
200
- }
201
- else = {
202
- FROM = {
203
- has_trader = ROOT
204
- is_node_in_trade_company_region = yes
205
- trade_share = {
206
- country = ROOT
207
- share = 40
208
- }
209
- }
210
- }
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 } } }
211
318
  }
212
319
 
213
320
  show_alert = yes