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