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_enemy_convoys_raided = {
294 root = character
295 region = state_region
296 }
297 on_our_convoys_raided = on_enemy_convoys_raided
298
299 on_repudiate_obligation = {
300 root = country
301 target_country = country
302 }
303
304 on_character_recruitment = { root = character }
305
306 on_impose_law = {
307 root = country
308 initiator = country
309 law = law
310 }
311
312 on_power_bloc_struggle_started = { root = country }
313 on_power_bloc_struggle_ended = {
314 root = power_bloc
315 successful_contender = country
316 failed_contender = country
317 }
318
319 on_naval_invasion = {
320 root = country
321 actor = country
322 admiral = character
323 general = character
324 state = state
325 }
326
327 on_company_established = {
328 root = country
329 company = company
330 }
331 on_company_disbanded = on_company_established
332
333 on_military_formation_created = { root = military_formation }
334
335 on_travel_deploy_to_sea_node_cancelled = {
336 root = military_formation
337 province = province
338 target = hq|province
339 }
340
341 on_travel_track_formation_cancelled = {
342 root = military_formation
343 formation = military_formation
344 target = hq|province
345 }
346
347 on_travel_station_in_hq_cancelled = {
348 root = military_formation
349 hq = hq
350 target = hq|province
351 }
352
353 on_travel_to_front_cancelled = {
354 root = military_formation
355 front = front
356 target = hq|province
357 }
358
359 on_become_independent = {
360 root = country
361 }
362 on_become_subject = {
363 root = country
364 }
365
366 on_harvest_condition_started_in_country = {
367 root = country
368 area = harvest_condition
369 state = state
370 duration = value
371 num_states = value
372 intensity = value
373 }
374
375 on_game_started = {
376 root = none
377 }
378 on_game_started_after_lobby = on_game_started
379
380 on_treaty_entered_into_force = {
381 root = treaty
382 }
383 on_treaty_enforced = {
384 root = treaty
385 treaty_options = treaty_options
386 }
387 on_treaty_proposed = {
388 root = treaty
389 }
390 on_treaty_proposal_declined = {
391 root = treaty
392 }
393 on_country_released_as_company_subject = {
394 root = country
395 target = country
396 }
397 on_country_withdrawn_from_treaty = {
398 root = treaty
399 withdrawing_country = country
400 non_withdrawing_country = country
401 }
402 on_country_broke_treaty = on_country_withdrawn_from_treaty
403 on_treaty_dissolved = {
404 root = treaty
405 }
406 on_treaty_article_removed = {
407 root = treaty
408 article = treaty_article
409 }
410 on_new_interest_group_leader = {
411 root = character
412 }
413 on_national_awakening_started = {
414 root = culture
415 region = state_region
416 culture = culture
417 }
418 on_empty_battle_lost = on_battle_started
419 on_empty_battle_won = on_battle_started
420 on_amendment_repealed = {
421 root = country
422 amendment = amendment
423 }
424 on_ruler_selected = {
425 root = character
426 previous = character
427 }
428 on_negotiate_with = {
429 root = country
430 negotiating_interest_group = interest_group
431 }
432";