1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
// LAST UPDATED VIC3 VERSION 1.12.2
pub const ON_ACTION_SCOPES: &str = "
on_monthly_pulse = {
root = none
}
on_yearly_pulse = on_monthly_pulse
on_monthly_pulse_country = {
root = country
}
on_yearly_pulse_country = on_monthly_pulse_country
on_half_yearly_pulse_country = on_monthly_pulse_country
on_five_year_pulse_country = on_monthly_pulse_country
on_decade_pulse_country = on_monthly_pulse_country
on_monthly_pulse_country_elections = on_monthly_pulse_country
on_half_yearly_pulse_country_elections = on_monthly_pulse_country
on_five_year_pulse_country_elections = on_monthly_pulse_country
on_decade_pulse_country_elections = on_monthly_pulse_country
on_monthly_pulse_character = {
root = character
}
on_yearly_pulse_character = on_monthly_pulse_character
on_half_yearly_pulse_character = on_monthly_pulse_character
on_five_year_pulse_character = on_monthly_pulse_character
on_decade_pulse_character = on_monthly_pulse_character
on_monthly_pulse_state = {
root = state
}
on_yearly_pulse_state = on_monthly_pulse_state
on_half_yearly_pulse_state = on_monthly_pulse_state
on_five_year_pulse_state = on_monthly_pulse_state
on_decade_pulse_state = on_monthly_pulse_state
on_battle_started = {
root = country
enemy_country = country
battle = battle
attacker = character
defender = character
state = state
}
on_battle_ended = on_battle_started
on_battle_won = on_battle_started
on_battle_lost = on_battle_started
on_building_built = {
root = building
}
on_start_expanding_building = on_building_built
on_merge_markets = {
root = market
market = market
trade_center = state
}
on_retarget_link = {
root = state
}
on_create_market = {
root = market
}
on_research_technology_started = {
root = country
technology = technology
}
on_acquired_technology = on_research_technology_started
on_spreading_technology = on_research_technology_started
on_diplomatic_play_started = {
root = diplomatic_play
initiator = country
target = country
}
on_character_creation = {
root = character
}
on_character_death = on_character_creation
on_new_ruler = on_character_creation
on_country_default = {
root = country
}
on_country_no_longer_default = on_country_default
on_diplomatic_action = {
root = diplomatic_action
}
on_diplomatic_proposal = on_diplomatic_action
on_diplomatic_proposal_accepted = on_diplomatic_action
on_diplomatic_proposal_owe_obligation = on_diplomatic_action
on_diplomatic_proposal_call_in_obligation = on_diplomatic_action
on_diplomatic_proposal_declined = on_diplomatic_action
on_diplomatic_action_break = on_diplomatic_action
on_diplomatic_proposal_break = on_diplomatic_action
on_diplomatic_proposal_break_accepted = on_diplomatic_action
on_diplomatic_proposal_break_owe_obligation = on_diplomatic_action
on_diplomatic_proposal_break_call_in_obligation = on_diplomatic_action
on_diplomatic_proposal_break_declined = on_diplomatic_action
on_diplomatic_action_third_party = on_diplomatic_action
on_diplomatic_action_third_party_accepted = on_diplomatic_action
on_diplomatic_action_third_party_declined = on_diplomatic_action
on_diplomatic_action_third_party_break = on_diplomatic_action
on_diplomatic_action_third_party_break_accepted = on_diplomatic_action
on_diplomatic_action_third_party_break_declined = on_diplomatic_action
on_diplomatic_action_overlord_decrease_autonomy = on_diplomatic_action
on_diplomatic_action_overlord_increase_autonomy = on_diplomatic_action
on_diplomatic_action_subject_increase_own_autonomy = on_diplomatic_action
on_diplomats_expelled = {
root = diplomatic_action
initiator = country
target = country
}
on_diplomatic_pact_auto_break = {
root = diplomatic_pact
}
on_diplomatic_pact_third_party_auto_break = on_diplomatic_pact_auto_break
on_country_released_as_independent = {
root = country
target = country
}
on_country_released_as_own_subject = on_country_released_as_independent
on_country_released_as_overlord_subject = on_country_released_as_independent
on_migration_target_created = {
root = state
}
on_migration_target_created_other = on_migration_target_created
on_resource_discovered = {
root = state
}
on_resource_depleted = on_resource_discovered
on_peace_agreement_signed_war_leader = {
root = country
}
on_peace_agreement_signed_war_participant = on_peace_agreement_signed_war_leader
on_peace_agreement_signed_non_participant = on_peace_agreement_signed_war_leader
on_capitulation = on_peace_agreement_signed_war_leader
on_self_capitulated_notification = on_peace_agreement_signed_war_leader
on_enemy_capitulated_notification = on_peace_agreement_signed_war_leader
on_ally_capitulated_notification = on_peace_agreement_signed_war_leader
on_mobilized_general = {
root = character
}
on_demobilized_general = on_mobilized_general
on_diplo_play_start = {
root = diplomatic_play
}
on_diplo_play_start_third_party = on_diplo_play_start
on_diplo_play_back_down = on_diplo_play_start
on_diplo_play_back_down_involved = on_diplo_play_start
on_diplo_play_join_side = on_diplo_play_start
on_diplo_play_abandon_side = on_diplo_play_start
on_diplo_play_war_start = on_diplo_play_start
on_diplo_play_subject_released = on_diplo_play_start
on_diplo_play_subject_released_overlord = on_diplo_play_start
on_diplo_play_switch_sides = {
root = diplomatic_play
country = country
previous = country
}
on_diplo_play_declare_neutrality = on_diplo_play_start
on_sway_offer = { root = diplomatic_play }
on_sway_offer_owe_obligation = { root = diplomatic_play }
on_sway_offer_accepted = { root = diplomatic_play }
on_country_swayed = { root = diplomatic_play }
on_sway_offer_rejected = { root = diplomatic_play }
on_production_method_changed = { root = building }
on_law_enactment_started = { root = country }
on_law_checkpoint_success = { root = country }
on_law_checkpoint_advance = { root = country }
on_law_checkpoint_debate = { root = country }
on_law_checkpoint_stall = { root = country }
on_law_enactment_pass = { root = country }
on_law_enactment_fail = { root = country }
on_law_enactment_ended = { root = country }
on_law_activated = { root = law }
on_revolution_start = {
root = country
target = country
}
on_revolution_end = on_revolution_start
on_secession_start = on_revolution_start
on_secession_end = on_revolution_start
on_civil_war_won = { root = country }
# undocumented
on_revolution_checkpoint_reached = { root = country }
# undocumented
on_secession_checkpoint_reached = { root = country }
on_political_movement_supported_law_cancelled = { root = political_movement }
on_wargoal_enforced = {
root = country
target = country
diplomatic_play = diplomatic_play
wargoal_impact = value
}
on_ig_resigned_government = { root = interest_group }
on_new_culture_obsession = { root = culture }
on_rank_changed = { root = country }
on_claim_added = {
root = country
actor = country
region = state_region
}
on_heir_born = { root = character }
on_secession_country_helped_by_home_country = {
root = country
target = country
}
on_secession_country_not_helped_by_home_country = on_secession_country_helped_by_home_country
on_wargoal_added = {
root = diplomatic_play
actor = country
}
on_wargoal_removed = on_wargoal_added
on_war_end = {
root = diplomatic_play
actor = country
target = country
}
on_journal_entry_activated = { root = journal_entry }
on_journal_entry_deactivated = { root = journal_entry }
on_journal_entry_completed = { root = journal_entry }
on_journal_entry_failed = { root = journal_entry }
on_native_uprising = { root = country }
on_state_incorporation = { root = state }
on_state_owner_change = { root = state }
on_state_created = { root = state }
on_political_movement_formed = { root = political_movement }
on_political_movement_disbanded = { root = political_movement }
on_colony_created = { root = state }
on_diplomatic_incident = {
root = strategic_region
actor = country
target = country
}
on_sub_objective_completed = { root = objective }
on_sub_objective_failed = { root = objective }
on_objective_completed = { root = objective }
on_party_created = {
root = country
target = party
}
on_party_disbanded = on_party_created
on_election_campaign_start = { root = country }
on_election_campaign_end = { root = country }
on_government_reformed = { root = country }
on_obligation_owed_by_us_expired = { root = country }
on_obligation_owed_to_us_expired = { root = country }
on_start_supporting_unification = { root = country }
on_unification_candidate_added = { root = country }
on_unification_candidate_removed = { root = country }
on_stop_supporting_unification = { root = country }
on_enemy_convoys_raided = {
root = character
region = state_region
}
on_our_convoys_raided = on_enemy_convoys_raided
on_repudiate_obligation = {
root = country
target_country = country
}
on_character_recruitment = { root = character }
on_impose_law = {
root = country
initiator = country
law = law
}
on_power_bloc_struggle_started = { root = country }
on_power_bloc_struggle_ended = {
root = power_bloc
successful_contender = country
failed_contender = country
}
on_naval_invasion = {
root = country
actor = country
admiral = character
general = character
state = state
}
on_company_established = {
root = country
company = company
}
on_company_disbanded = on_company_established
on_military_formation_created = { root = military_formation }
on_travel_deploy_to_sea_node_cancelled = {
root = military_formation
province = province
target = hq|province
}
on_travel_track_formation_cancelled = {
root = military_formation
formation = military_formation
target = hq|province
}
on_travel_station_in_hq_cancelled = {
root = military_formation
hq = hq
target = hq|province
}
on_travel_to_front_cancelled = {
root = military_formation
front = front
target = hq|province
}
on_become_independent = {
root = country
}
on_become_subject = {
root = country
}
on_harvest_condition_started_in_country = {
root = country
area = harvest_condition
state = state
duration = value
num_states = value
intensity = value
}
on_game_started = {
root = none
}
on_game_started_after_lobby = on_game_started
on_treaty_entered_into_force = {
root = treaty
}
on_treaty_enforced = {
root = treaty
treaty_options = treaty_options
}
on_treaty_proposed = {
root = treaty
}
on_treaty_proposal_declined = {
root = treaty
}
on_country_released_as_company_subject = {
root = country
target = country
}
on_country_withdrawn_from_treaty = {
root = treaty
withdrawing_country = country
non_withdrawing_country = country
}
on_country_broke_treaty = on_country_withdrawn_from_treaty
on_treaty_dissolved = {
root = treaty
}
on_treaty_article_removed = {
root = treaty
article = treaty_article
}
on_new_interest_group_leader = {
root = character
}
on_national_awakening_started = {
root = culture
region = state_region
culture = culture
}
on_empty_battle_lost = on_battle_started
on_empty_battle_won = on_battle_started
on_amendment_repealed = {
root = country
amendment = amendment
}
on_ruler_selected = {
root = character
previous = character
}
on_negotiate_with = {
root = country
negotiating_interest_group = interest_group
}
";