22
33ai_strategy_territorial_expansion = {
44 icon = "gfx/interface/icons/ai_strategy_icons/territorial_expansion.dds"
5-
5+
66 type = diplomatic
7-
7+
88 will_form_power_bloc = {
99 OR = {
1010 global_country_ranking <= 3
@@ -14,48 +14,48 @@ ai_strategy_territorial_expansion = {
1414 }
1515 }
1616 }
17-
17+
1818 undesirable_infamy_level = {
1919 value = 50
20-
20+
2121 if = {
22- limit = {
22+ limit = {
2323 has_technology_researched = pan-nationalism
2424 }
2525 multiply = 1.5
2626 }
2727 else_if = {
28- limit = {
28+ limit = {
2929 has_technology_researched = nationalism
3030 }
3131 multiply = 1.25
3232 }
3333 }
34-
34+
3535 unacceptable_infamy_level = {
3636 value = 100
3737 }
38-
38+
3939 ideological_opinion_effect_mult = {
4040 value = 0.75
4141 }
42-
42+
4343 wargoal_maneuvers_fraction = {
4444 value = 0.15
45- }
46-
45+ }
46+
4747 diplomatic_play_neutrality = {
4848 value = 25
4949 }
50-
50+
5151 diplomatic_play_boldness = {
5252 value = 25
5353 }
54-
54+
5555 recklessness = {
5656 value = 0.25
5757 }
58-
58+
5959 aggression = {
6060 value = 1
6161
@@ -89,43 +89,30 @@ ai_strategy_territorial_expansion = {
8989 if = {
9090 limit = {
9191 NOT = { is_country_type = unrecognized }
92- scope:target_country = { is_country_type = unrecognized }
92+ scope:target_country = { is_country_type = unrecognized }
9393 }
9494 add = 1
95- }
95+ }
9696
9797 # Less aggressive against countries we're just antagonistic against, rather than belligerent/domineering
9898 if = {
9999 limit = {
100100 has_attitude = {
101101 who = scope:target_country
102102 attitude = antagonistic
103- }
103+ }
104104 }
105105 multiply = 0.25
106- }
106+ }
107107
108108 # More aggressive against ideological enemies, a bit less aggressive against ideological allies
109- if = {
110- limit = {
111- "ai_ideological_opinion(scope:target_country)" < 0
112- }
113-
114- multiply = {
115- value = "ai_ideological_opinion(scope:target_country)"
116- multiply = -0.2
117- add = 1
118- max = 4.0
119- }
120- }
121- else = {
122- multiply = {
123- value = "ai_ideological_opinion(scope:target_country)"
124- multiply = -0.05
125- add = 1
126- min = 0.5
127- }
128- }
109+ multiply = {
110+ value = "ai_ideological_opinion(scope:target_country)"
111+ multiply = -0.1
112+ add = 1
113+ max = 2.0
114+ min = 0.5
115+ }
129116 }
130117
131118 building_group_weights = {
@@ -140,8 +127,9 @@ ai_strategy_territorial_expansion = {
140127 wargoal_weights = {
141128 conquer_state = 1.5
142129 return_state = 1.5
130+ annex_country = 1.5 # Added
143131 force_nationalization = 0.25
144- }
132+ }
145133
146134 secret_goal_scores = {
147135 conquer = {
@@ -158,17 +146,17 @@ ai_strategy_territorial_expansion = {
158146 scope:target_country = { NOT = { is_country_type = unrecognized } }
159147 }
160148 add = 25
161- }
149+ }
162150 else_if = {
163- limit = {
164- scope:target_country = { is_country_type = unrecognized }
151+ limit = {
152+ scope:target_country = { is_country_type = unrecognized }
165153 }
166154 add = 50
167155 }
168156 }
169157 }
170158 }
171-
159+
172160 possible = {
173161 always = yes # Modded
174162 }
@@ -219,24 +207,34 @@ ai_strategy_territorial_expansion = {
219207 }
220208 add = 5
221209 }
222-
210+
211+ # High-fervour AI is inclined to take its homelands
212+ if = {
213+ limit = {
214+ country_fervor_primary_culture > 10
215+ }
216+ add = {
217+ value = country_fervor_primary_culture
218+ divide = 2
219+ }
220+ }
221+
223222 if = {
224223 limit = { # Splitting this quiets a log error
225224 exists = ig:ig_armed_forces
226225 ig:ig_armed_forces = { is_powerful = yes }
227226 }
228227 multiply = 1.5
229- }
230-
228+ }
229+
231230 if = {
232231 limit = { country_is_in_europe = yes }
233232 multiply = 0.25
234- }
235-
233+ }
234+
236235 if = {
237236 limit = { has_radical_leftist_government = yes }
238237 multiply = 0.5
239238 }
240239 }
241240}
242-
0 commit comments