Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. common/federation_advancements/00_default.txt +283 -0
common/federation_advancements/00_default.txt ADDED
@@ -0,0 +1,283 @@
1
+ federal_constitution = {
2
+ gfx = GFX_federal_constitution
3
+ can_pick = {
4
+ # Need all other advancements
5
+ num_federation_advancements = 7
6
+ is_migratory_tribe = no
7
+ }
8
+
9
+ effect = {
10
+ # Switch Tag
11
+ if = {
12
+ limit = { primary_culture = creek NOT = { exists = CRE } }
13
+ change_tag = CRE
14
+ on_change_tag_effect = yes
15
+ add_permanent_claims_for_federation_nation = { ORIGINAL = ROOT TAG = CRE }
16
+ if = {
17
+ limit = {
18
+ NOT = { has_idea_group = CRE_ideas }
19
+ }
20
+ swap_federation_idea_group = yes
21
+ }
22
+ }
23
+ else_if = {
24
+ limit = { primary_culture = dakota NOT = { exists = SIO } }
25
+ change_tag = SIO
26
+ on_change_tag_effect = yes
27
+ add_permanent_claims_for_federation_nation = { ORIGINAL = ROOT TAG = SIO }
28
+ if = {
29
+ limit = {
30
+ NOT = { has_idea_group = siouan_federation_ideas }
31
+ }
32
+ swap_federation_idea_group = yes
33
+ }
34
+ }
35
+ else_if = {
36
+ limit = { primary_culture = huron NOT = { exists = HUR } }
37
+ change_tag = HUR
38
+ on_change_tag_effect = yes
39
+ add_permanent_claims_for_federation_nation = { ORIGINAL = ROOT TAG = HUR }
40
+ if = {
41
+ limit = {
42
+ NOT = { has_idea_group = HUR_ideas }
43
+ }
44
+ swap_federation_idea_group = yes
45
+ }
46
+ }
47
+ else_if = {
48
+ limit = { primary_culture = illini NOT = { exists = ILL } }
49
+ change_tag = ILL
50
+ on_change_tag_effect = yes
51
+ add_permanent_claims_for_federation_nation = { ORIGINAL = ROOT TAG = ILL }
52
+ if = {
53
+ limit = {
54
+ NOT = { has_idea_group = ne_native_ideas }
55
+ }
56
+ swap_federation_idea_group = yes
57
+ }
58
+ }
59
+ else_if = {
60
+ limit = { primary_culture = iroquois NOT = { exists = IRO } }
61
+ change_tag = IRO
62
+ on_change_tag_effect = yes
63
+ add_permanent_claims_for_federation_nation = { ORIGINAL = ROOT TAG = IRO }
64
+ if = {
65
+ limit = {
66
+ NOT = { has_idea_group = IRO_ideas }
67
+ }
68
+ swap_federation_idea_group = yes
69
+ }
70
+ }
71
+ else_if = {
72
+ limit = { primary_culture = anishinabe NOT = { exists = POT } }
73
+ change_tag = POT
74
+ on_change_tag_effect = yes
75
+ add_permanent_claims_for_federation_nation = { ORIGINAL = ROOT TAG = POT }
76
+ if = {
77
+ limit = {
78
+ NOT = { has_idea_group = ne_native_ideas }
79
+ }
80
+ swap_federation_idea_group = yes
81
+ }
82
+ }
83
+ else_if = {
84
+ limit = { primary_culture = shawnee NOT = { exists = SHA } }
85
+ change_tag = SHA
86
+ on_change_tag_effect = yes
87
+ add_permanent_claims_for_federation_nation = { ORIGINAL = ROOT TAG = SHA }
88
+ if = {
89
+ limit = {
90
+ NOT = { has_idea_group = SHA_ideas }
91
+ }
92
+ swap_federation_idea_group = yes
93
+ }
94
+ }
95
+ else = {
96
+ form_federation_nation = {
97
+ post_effect = {
98
+ add_permanent_claims_for_federation_nation = { ORIGINAL = ROOT TAG = THIS }
99
+ swap_federation_idea_group = yes
100
+ }
101
+ }
102
+ }
103
+ # Unite federation
104
+ custom_tooltip = INTEGRATE_FEDERATION_MEMBERS
105
+ hidden_effect = {
106
+ every_federation_member = {
107
+ limit = {
108
+ ai = yes
109
+ }
110
+ every_tribal_land_province = {
111
+ limit = {
112
+ OR = {
113
+ owned_by = PREV
114
+ is_empty = yes
115
+ }
116
+ }
117
+ change_tribal_land = ROOT
118
+ }
119
+ }
120
+ every_federation_member = {
121
+ limit = {
122
+ NOT = { tag = PREV }
123
+ ai = yes
124
+ }
125
+ every_tribal_land_province = {
126
+ limit = {
127
+ NOT = { owned_by = PREV }
128
+ }
129
+ change_tribal_land = ---
130
+ }
131
+ ROOT = {
132
+ inherit = PREV
133
+ }
134
+ }
135
+ every_owned_province = {
136
+ limit = { #Kinda unnecessary, but better safe than sorry unless we want colonies to vanish once again
137
+ OR = {
138
+ owned_by = PREV
139
+ is_empty = yes
140
+ }
141
+ }
142
+ change_tribal_land = ROOT
143
+ }
144
+ }
145
+
146
+ if = {
147
+ limit = {
148
+ NOT = { government_rank = 2 }
149
+ }
150
+ set_government_rank_force = 2
151
+ }
152
+ add_country_modifier = {
153
+ name = "centralization_modifier"
154
+ duration = 7300
155
+ }
156
+ add_prestige = 25
157
+
158
+ hidden_effect = {
159
+ disband_federation = yes
160
+ }
161
+ }
162
+
163
+ ai_chance = {
164
+ factor = 0
165
+ }
166
+ }
167
+
168
+ unified_warbands = {
169
+ gfx = GFX_unified_warbands
170
+
171
+ can_pick = {
172
+ # Need at least 3 members
173
+ # Need max trust with all members
174
+ #federation_size = 3
175
+ #all_federation_members = {
176
+ # trust = { who = ROOT value = 100 }
177
+ #}
178
+ }
179
+
180
+ effect = {
181
+ # Can do offensive wars
182
+ allow_federation_offensive_wars = yes
183
+ }
184
+
185
+ ai_chance = {
186
+ factor = 5
187
+ }
188
+ }
189
+
190
+ mutual_trust = {
191
+ gfx = GFX_mutual_trust
192
+
193
+ can_pick = {
194
+ always = yes
195
+ }
196
+
197
+ modifier = {
198
+ monthly_federation_favor_growth = 0.1
199
+ }
200
+
201
+ ai_chance = {
202
+ factor = 15
203
+ }
204
+ }
205
+
206
+ joint_grain_depots = {
207
+ gfx = GFX_joint_grain_depots
208
+
209
+ can_pick = {
210
+ always = yes
211
+ }
212
+
213
+ modifier = {
214
+ tribal_development_growth = 0.02
215
+ }
216
+
217
+ ai_chance = {
218
+ factor = 15
219
+ }
220
+ }
221
+
222
+ pax_americana = {
223
+ gfx = GFX_pax_americana
224
+
225
+ can_pick = {
226
+ always = yes
227
+ }
228
+
229
+ modifier = {
230
+ global_trade_goods_size_modifier = 0.1
231
+ }
232
+
233
+ ai_chance = {
234
+ factor = 15
235
+ }
236
+ }
237
+
238
+ united_resistance = {
239
+ gfx = GFX_united_resistance
240
+
241
+ can_pick = {
242
+ always = yes
243
+ }
244
+ modifier = {
245
+ hostile_attrition = 1
246
+ }
247
+
248
+ ai_chance = {
249
+ factor = 5
250
+ }
251
+ }
252
+
253
+ chartered_settlements = {
254
+ gfx = GFX_chartered_settlements
255
+
256
+ can_pick = {
257
+ always = yes
258
+ }
259
+ modifier = {
260
+ settle_cost = -0.2
261
+ }
262
+
263
+ ai_chance = {
264
+ factor = 10
265
+ }
266
+ }
267
+
268
+
269
+ shared_knowledge = {
270
+ gfx = GFX_shared_knowledge
271
+
272
+ can_pick = {
273
+ always = yes
274
+ }
275
+ modifier = {
276
+ global_institution_spread = 0.2
277
+ }
278
+
279
+ ai_chance = {
280
+ factor = 1
281
+ }
282
+ }
283
+