tiger-lib 1.17.0

Library used by the tools ck3-tiger, vic3-tiger, and imperator-tiger. This library holds the bulk of the code for them. It can be built either for ck3-tiger with the feature ck3, or for vic3-tiger with the feature vic3, or for imperator-tiger with the feature imperator, but not both at the same time.
Documentation
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
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
#![allow(unused_imports)] // TODO EU5: remove this when ready
use std::sync::LazyLock;

use crate::effect::Effect;
use crate::effect_validation::*;
use crate::eu5::effect_validation::*;
use crate::everything::Everything;
use crate::helpers::TigerHashMap;
use crate::item::Item;
use crate::scopes::*;
use crate::token::Token;

use Effect::*;

pub fn scope_effect(name: &Token, _data: &Everything) -> Option<(Scopes, Effect)> {
    let name_lc = name.as_str().to_ascii_lowercase();
    SCOPE_EFFECT_MAP.get(&*name_lc).copied()
}

/// A hashed version of [`SCOPE_EFFECT`], for quick lookup by effect name.
static SCOPE_EFFECT_MAP: LazyLock<TigerHashMap<&'static str, (Scopes, Effect)>> =
    LazyLock::new(|| {
        let mut hash = TigerHashMap::default();
        for (from, s, effect) in SCOPE_EFFECT.iter().copied() {
            hash.insert(s, (from, effect));
        }
        hash
    });

// See `effects.log` from the game data dumps
const SCOPE_EFFECT: &[(Scopes, &str, Effect)] = &[
    // TODO: EU5 fill in UncheckedTodo entries and generally verify table
    (Scopes::None, "abandon_colonial_charter", Scope(Scopes::ColonialCharter)),
    (Scopes::Country, "abandon_location", Scope(Scopes::Location)),
    (Scopes::None, "activate_situation", Scope(Scopes::Situation)),
    (Scopes::Country, "add_accepted_culture", Scope(Scopes::Culture)),
    (Scopes::ColonialCharter, "add_additional_migration", UncheckedTodo),
    (Scopes::Character, "add_adm", UncheckedTodo),
    (Scopes::Country, "add_antagonism", UncheckedTodo),
    (Scopes::Country.union(Scopes::InternationalOrganization), "add_army_tradition", UncheckedTodo),
    (Scopes::Character, "add_artist_skill", UncheckedTodo),
    (Scopes::Country, "add_avatar", Scope(Scopes::Avatar)),
    (Scopes::War, "add_bonus_warscore", UncheckedTodo),
    (Scopes::Siege, "add_breach", UncheckedTodo),
    (Scopes::Country, "add_casus_belli", UncheckedTodo),
    (Scopes::Character, "add_character_modifier", UncheckedTodo),
    (Scopes::Country, "add_colonial_claim", UncheckedTodo),
    (Scopes::Country.union(Scopes::InternationalOrganization), "add_complacency", UncheckedTodo),
    (Scopes::Country.union(Scopes::InternationalOrganization), "add_cooldown", UncheckedTodo),
    (Scopes::Location, "add_core", Scope(Scopes::Country)),
    (Scopes::Country, "add_country_modifier", UncheckedTodo),
    (
        Scopes::InternationalOrganization,
        "add_country_to_international_organization",
        Scope(Scopes::Country),
    ),
    (
        Scopes::InternationalOrganization,
        "add_country_to_international_organization_no_update",
        Scope(Scopes::Country),
    ),
    (Scopes::Culture, "add_cultural_influence", UncheckedTodo),
    (Scopes::Culture, "add_cultural_tradition", UncheckedTodo),
    (Scopes::Country.union(Scopes::InternationalOrganization), "add_devotion", UncheckedTodo),
    (Scopes::Character, "add_dip", UncheckedTodo),
    (Scopes::Country, "add_diplomats", UncheckedTodo),
    (Scopes::Country.union(Scopes::InternationalOrganization), "add_doom", UncheckedTodo),
    (Scopes::Dynasty, "add_dynasty_modifier", UncheckedTodo),
    (
        Scopes::InternationalOrganization,
        "add_enemy_to_international_organization",
        Scope(Scopes::Country),
    ),
    (Scopes::Country, "add_estate_satisfaction", UncheckedTodo),
    (Scopes::None, "add_extended_winter", Scope(Scopes::Area)),
    (Scopes::Country, "add_favors", UncheckedTodo),
    (Scopes::Character, "add_fertility", UncheckedTodo),
    (Scopes::Unit, "add_food", UncheckedTodo),
    (Scopes::Unit, "add_food_percentage", UncheckedTodo),
    (Scopes::Country, "add_god", Scope(Scopes::God)),
    (Scopes::Country.union(Scopes::InternationalOrganization), "add_gold", UncheckedTodo),
    (Scopes::Country, "add_gold_to_estate", UncheckedTodo),
    (Scopes::Market, "add_goods_supply", UncheckedTodo),
    (
        Scopes::Country.union(Scopes::InternationalOrganization),
        "add_government_power",
        UncheckedTodo,
    ),
    (Scopes::Country.union(Scopes::InternationalOrganization), "add_harmony", UncheckedTodo),
    (Scopes::Country, "add_historical_rival", Scope(Scopes::Country)),
    (Scopes::Country.union(Scopes::InternationalOrganization), "add_honor", UncheckedTodo),
    (Scopes::Country.union(Scopes::InternationalOrganization), "add_horde_unity", UncheckedTodo),
    (Scopes::Country.union(Scopes::InternationalOrganization), "add_inflation", UncheckedTodo),
    (Scopes::None, "add_internal_flag", UncheckedTodo),
    (Scopes::Religion, "add_international_organization", Scope(Scopes::InternationalOrganization)),
    (Scopes::InternationalOrganization, "add_international_organization_modifier", UncheckedTodo),
    (Scopes::Country.union(Scopes::InternationalOrganization), "add_karma", UncheckedTodo),
    (Scopes::Country.union(Scopes::InternationalOrganization), "add_legitimacy", UncheckedTodo),
    (Scopes::Country, "add_liberty_desire", UncheckedTodo),
    (Scopes::Country, "add_location_as_core", Scope(Scopes::Location)),
    (Scopes::Location, "add_location_modifier", UncheckedTodo),
    (
        Scopes::InternationalOrganization,
        "add_location_to_international_organization",
        Scope(Scopes::Location),
    ),
    (Scopes::Country.union(Scopes::InternationalOrganization), "add_manpower", UncheckedTodo),
    (Scopes::Mercenary, "add_mercenary_modifier", UncheckedTodo),
    (Scopes::Market, "add_merchant_power", UncheckedTodo),
    (Scopes::None, "add_migration", UncheckedTodo),
    (Scopes::Character, "add_mil", UncheckedTodo),
    (Scopes::Unit, "add_morale", UncheckedTodo),
    (Scopes::Country.union(Scopes::InternationalOrganization), "add_navy_tradition", UncheckedTodo),
    (Scopes::Country, "add_opinion", UncheckedTodo),
    (Scopes::Country, "add_policy", Scope(Scopes::Policy)),
    (
        Scopes::InternationalOrganization,
        "add_policy_to_international_organization",
        Scope(Scopes::Policy),
    ),
    (Scopes::Country, "add_policy_wanted_by_estate", UncheckedTodo),
    (Scopes::Location, "add_pop", UncheckedTodo),
    (Scopes::Pop, "add_pop_satisfaction", UncheckedTodo),
    (Scopes::Pop, "add_pop_size", UncheckedTodo),
    (Scopes::Country.union(Scopes::InternationalOrganization), "add_prestige", UncheckedTodo),
    (Scopes::Province, "add_province_modifier", UncheckedTodo),
    (Scopes::Country.union(Scopes::InternationalOrganization), "add_purity", UncheckedTodo),
    (Scopes::Character, "add_random_trait_from_category", UncheckedTodo),
    (Scopes::Rebels, "add_rebel_modifier", UncheckedTodo),
    (Scopes::Rebels, "add_rebel_progress", UncheckedTodo),
    (Scopes::Country, "add_reform", Scope(Scopes::GovernmentReform)),
    (Scopes::Religion, "add_reform_desire", UncheckedTodo),
    (Scopes::Religion, "add_religion_modifier", UncheckedTodo),
    (Scopes::Country, "add_religious_aspect", Scope(Scopes::ReligiousAspect)),
    (Scopes::Country, "add_religious_focus", Scope(Scopes::ReligiousFocus)),
    (Scopes::Country, "add_religious_focus_progress", UncheckedTodo),
    (
        Scopes::Country.union(Scopes::InternationalOrganization),
        "add_religious_influence",
        UncheckedTodo,
    ),
    (
        Scopes::Country.union(Scopes::InternationalOrganization),
        "add_republican_tradition",
        UncheckedTodo,
    ),
    (Scopes::Country, "add_research_progress", UncheckedTodo),
    (Scopes::Country.union(Scopes::InternationalOrganization), "add_righteousness", UncheckedTodo),
    (Scopes::Country.union(Scopes::InternationalOrganization), "add_rite_power", UncheckedTodo),
    (Scopes::Country, "add_rival", Scope(Scopes::Country)),
    (Scopes::Location, "add_road_to", UncheckedTodo),
    (Scopes::Country.union(Scopes::InternationalOrganization), "add_sailors", UncheckedTodo),
    (Scopes::Country.union(Scopes::InternationalOrganization), "add_self_control", UncheckedTodo),
    (Scopes::Country, "add_spy_network", UncheckedTodo),
    (Scopes::Country.union(Scopes::InternationalOrganization), "add_stability", UncheckedTodo),
    (Scopes::Unit, "add_subunit", Scope(Scopes::UnitType)),
    (Scopes::SubUnit, "add_subunit_experience", UncheckedTodo),
    (Scopes::SubUnit, "add_subunit_morale", UncheckedTodo),
    (Scopes::SubUnit, "add_subunit_strength", UncheckedTodo),
    (Scopes::SubUnit, "add_subunit_strength_percentage", UncheckedTodo),
    (Scopes::Market, "add_temporary_demand", UncheckedTodo),
    (Scopes::Cabinet, "add_to_cabinet", Scope(Scopes::Character)),
    (Scopes::None, "add_to_global_variable_list", UncheckedTodo),
    (Scopes::None, "add_to_global_variable_map", UncheckedTodo),
    (Scopes::None, "add_to_list", UncheckedTodo),
    (Scopes::None, "add_to_local_variable_list", UncheckedTodo),
    (Scopes::None, "add_to_local_variable_map", UncheckedTodo),
    (Scopes::None, "add_to_temporary_list", UncheckedTodo),
    (Scopes::None, "add_to_variable_list", UncheckedTodo),
    (Scopes::None, "add_to_variable_map", UncheckedTodo),
    (Scopes::Country, "add_tolerated_culture", Scope(Scopes::Culture)),
    (Scopes::Character, "add_trait", Scope(Scopes::Trait)),
    (
        Scopes::Country.union(Scopes::InternationalOrganization),
        "add_tribal_cohesion",
        UncheckedTodo,
    ),
    (Scopes::Country, "add_truce_with", UncheckedTodo),
    (Scopes::Country, "add_trust", UncheckedTodo),
    (Scopes::Unit, "add_unit_modifier", UncheckedTodo),
    (Scopes::Location, "add_vfx", UncheckedTodo),
    (Scopes::Country.union(Scopes::InternationalOrganization), "add_war_exhaustion", UncheckedTodo),
    (Scopes::Country.union(Scopes::InternationalOrganization), "add_yanantin", UncheckedTodo),
    (Scopes::Country, "add_yearly_gold", UncheckedTodo),
    (Scopes::Country, "add_yearly_manpower", UncheckedTodo),
    (Scopes::Country, "add_yearly_sailors", UncheckedTodo),
    (Scopes::Character, "adopt_character", Scope(Scopes::Character)),
    (Scopes::Country, "align_societal_values_to", Scope(Scopes::Country)),
    (Scopes::Country, "annex_country", UncheckedTodo),
    (Scopes::Country, "annul_all_treaties_with", UncheckedTodo),
    (Scopes::None, "assert_if", UncheckedTodo),
    (Scopes::None, "assert_read", UncheckedTodo),
    (Scopes::Mercenary, "become_hired_by", Scope(Scopes::Country)),
    (Scopes::Country, "block_treaties", Scope(Scopes::Country)),
    (Scopes::Country, "bribe_estate", UncheckedTodo),
    (Scopes::Country, "bypass_mission_task", Scope(Scopes::MissionTask)),
    (Scopes::Country, "cancel_area_exploration", Scope(Scopes::Area)),
    (Scopes::None, "cancel_exploration", Scope(Scopes::Exploration)),
    (Scopes::None, "cancel_loan", Scope(Scopes::Loan)),
    (Scopes::Country, "cancel_subject", Scope(Scopes::Country)),
    (Scopes::Trade, "cancel_trade", UncheckedTodo),
    (Scopes::Country, "change_annexation_progress", UncheckedTodo),
    (Scopes::WorkOfArt, "change_art_quality", UncheckedTodo),
    (Scopes::Trade, "change_assigned_merchant_capacity", UncheckedTodo),
    (Scopes::Building, "change_building_level", UncheckedTodo),
    (Scopes::Location, "change_building_level_in_location", UncheckedTodo),
    (Scopes::Building, "change_building_owner", Scope(Scopes::Country)),
    (Scopes::Country, "change_casus_belli_creation_progress", UncheckedTodo),
    (Scopes::Character, "change_character_allegiance", Scope(Scopes::Rebels)),
    (Scopes::Character, "change_character_culture", Scope(Scopes::Culture)),
    (Scopes::Character, "change_character_estate", Scope(Scopes::EstateType)),
    (Scopes::Character, "change_character_modifier_size", UncheckedTodo),
    (Scopes::Character, "change_character_religion", Scope(Scopes::Religion)),
    (Scopes::ColonialCharter, "change_colonial_charter_owner", Scope(Scopes::Country)),
    (Scopes::Location, "change_control", UncheckedTodo),
    (Scopes::Country, "change_country_adjective", UncheckedTodo),
    (Scopes::Country, "change_country_color", UncheckedTodo),
    (Scopes::Country, "change_country_dynastic_name", UncheckedTodo),
    (Scopes::Country, "change_country_flag", UncheckedTodo),
    (Scopes::Country, "change_country_modifier_size", UncheckedTodo),
    (Scopes::Country, "change_country_name", UncheckedTodo),
    (Scopes::Country, "change_country_tag", UncheckedTodo), // TODO: REMOVED
    (Scopes::Country, "change_country_type", UncheckedTodo),
    (Scopes::Culture, "change_cultural_view", UncheckedTodo),
    (Scopes::Country, "change_culture", Scope(Scopes::Culture)),
    (Scopes::Location, "change_development", UncheckedTodo),
    (Scopes::Location.union(Scopes::SubUnit), "change_disease_presence", UncheckedTodo),
    (Scopes::Character, "change_dynasty", Scope(Scopes::Dynasty)),
    (Scopes::Dynasty, "change_dynasty_modifier_size", UncheckedTodo),
    (Scopes::Exploration, "change_exploration_progress", UncheckedTodo),
    (Scopes::Country, "change_explorer", UncheckedTodo),
    (Scopes::Character, "change_father", Scope(Scopes::Character)),
    (Scopes::Location, "change_garrison_size", UncheckedTodo),
    (Scopes::None, "change_global_variable", UncheckedTodo),
    (Scopes::Country, "change_government_type", Scope(Scopes::Government)),
    (Scopes::Country, "change_heir_selection", Scope(Scopes::HeirSelection)),
    (Scopes::Location, "change_institution_progress", UncheckedTodo),
    (Scopes::Location, "change_integration_level", UncheckedTodo),
    (Scopes::Location, "change_integration_progress", UncheckedTodo),
    (
        Scopes::InternationalOrganization,
        "change_international_organization_modifier_size",
        UncheckedTodo,
    ),
    (Scopes::Culture, "change_language", Scope(Scopes::Dialect)),
    (Scopes::Loan, "change_loan_amount", UncheckedTodo),
    (Scopes::Loan, "change_loan_borrower", Scope(Scopes::Country)),
    (Scopes::Loan, "change_loan_interest", UncheckedTodo),
    (Scopes::Loan, "change_loan_owner", Scope(Scopes::Country)),
    (Scopes::None, "change_local_variable", UncheckedTodo),
    (Scopes::Location, "change_location_controller", Scope(Scopes::Country)),
    (Scopes::Location, "change_location_modifier_size", UncheckedTodo),
    (Scopes::Location, "change_location_owner", Scope(Scopes::Country)),
    (Scopes::Location, "change_location_owner_forcefully", UncheckedTodo),
    (Scopes::Location, "change_location_rank", Scope(Scopes::LocationRank)),
    (Scopes::Location, "change_maritime_presence_power", UncheckedTodo),
    (Scopes::Location, "change_max_raw_material_workers", UncheckedTodo),
    (Scopes::Mercenary, "change_mercenary_modifier_size", UncheckedTodo),
    (Scopes::Character, "change_mother", Scope(Scopes::Character)),
    (
        Scopes::Country.union(Scopes::InternationalOrganization),
        "change_parliament_issue_support",
        UncheckedTodo,
    ),
    (Scopes::Country, "change_player", Scope(Scopes::Country)),
    (Scopes::Pop, "change_pop_allegiance", Scope(Scopes::Rebels)),
    (Scopes::Pop, "change_pop_culture", Scope(Scopes::Culture)),
    (Scopes::Pop, "change_pop_owner", Scope(Scopes::Country)),
    (Scopes::Pop, "change_pop_religion", Scope(Scopes::Religion)),
    (Scopes::Pop, "change_pop_type", Scope(Scopes::PopType)),
    (Scopes::Privateer, "change_privateer_owner", Scope(Scopes::Country)),
    (Scopes::Privateer, "change_privateer_power", UncheckedTodo),
    (Scopes::Location, "change_prosperity", UncheckedTodo),
    (Scopes::Province, "change_province_food", UncheckedTodo),
    (Scopes::Province, "change_province_food_percentage", UncheckedTodo),
    (Scopes::Province, "change_province_integration", UncheckedTodo),
    (Scopes::Province, "change_province_modifier_size", UncheckedTodo),
    (Scopes::Province, "change_province_owner", Scope(Scopes::Country)),
    (Scopes::Location, "change_raw_material", Scope(Scopes::Goods)),
    (Scopes::Rebels, "change_rebel_modifier_size", UncheckedTodo),
    (Scopes::Country, "change_religion", Scope(Scopes::Religion)),
    (Scopes::Religion, "change_religion_modifier_size", UncheckedTodo),
    (Scopes::Religion, "change_religion_view", UncheckedTodo),
    (Scopes::Location, "change_siege_progress", UncheckedTodo),
    (Scopes::Country, "change_societal_value", UncheckedTodo),
    (Scopes::Country, "change_subject_type", Scope(Scopes::SubjectType)),
    (Scopes::SubUnit, "change_subunit_type", Scope(Scopes::UnitType)),
    (Scopes::Unit, "change_unit_modifier_size", UncheckedTodo),
    (Scopes::Unit, "change_unit_owner", Scope(Scopes::Country)),
    (Scopes::None, "change_variable", UncheckedTodo),
    (Scopes::None, "clamp_global_variable", UncheckedTodo),
    (Scopes::None, "clamp_local_variable", UncheckedTodo),
    (Scopes::None, "clamp_variable", UncheckedTodo),
    (Scopes::None, "clear_global_variable_list", UncheckedTodo),
    (Scopes::None, "clear_global_variable_map", UncheckedTodo),
    (Scopes::None, "clear_local_variable_list", UncheckedTodo),
    (Scopes::None, "clear_local_variable_map", UncheckedTodo),
    (Scopes::None, "clear_saved_scope", UncheckedTodo),
    (Scopes::None, "clear_variable_list", UncheckedTodo),
    (Scopes::None, "clear_variable_map", UncheckedTodo),
    (Scopes::None, "close_all_views", UncheckedTodo),
    (Scopes::Country, "complete_mission_task", Scope(Scopes::MissionTask)),
    (Scopes::None, "conditional_effect", UncheckedTodo),
    (Scopes::Location, "construct_building", UncheckedTodo),
    (Scopes::Location, "construct_estate_building", UncheckedTodo),
    (Scopes::Location, "construct_location_rank", Scope(Scopes::LocationRank)),
    (Scopes::Location, "construct_rgo_upgrade", UncheckedTodo),
    (Scopes::Country, "construct_road", UncheckedTodo),
    (Scopes::None, "copy_country_color", Scope(Scopes::Country)),
    (Scopes::None, "copy_country_flag", Scope(Scopes::Country)),
    (Scopes::None, "copy_country_name_and_adjective", Scope(Scopes::Country)),
    (Scopes::Province, "create_army_country_from_province", Scope(Scopes::Country)),
    (Scopes::Location, "create_army_country_in_location", Scope(Scopes::Country)),
    (Scopes::Location, "create_art", Scope(Scopes::WorkOfArt)),
    (Scopes::Location, "create_building_country_in_location", Scope(Scopes::Country)),
    (Scopes::Country, "create_character", Scope(Scopes::Character)),
    (Scopes::Country, "create_colonial_charter", UncheckedTodo),
    (Scopes::Country, "create_country_from_cores_in_our_locations", Scope(Scopes::Country)),
    (Scopes::Location, "create_country_from_location", Scope(Scopes::Country)),
    (Scopes::Location, "create_dynasty_from_location", UncheckedTodo),
    (Scopes::Country, "create_estate_loan", Scope(Scopes::Loan)),
    (Scopes::None, "create_holy_site", Scope(Scopes::HolySite)),
    (Scopes::None, "create_international_organization", Scope(Scopes::InternationalOrganization)),
    (Scopes::Province, "create_location_country_from_province", Scope(Scopes::Country)),
    (Scopes::None, "create_market", UncheckedTodo),
    (Scopes::None, "create_mercenary", Scope(Scopes::Mercenary)),
    (Scopes::Country, "create_named_dynasty", UncheckedTodo),
    (Scopes::Province, "create_navy_country_from_province", Scope(Scopes::Country)),
    (Scopes::Location, "create_navy_country_in_location", Scope(Scopes::Country)),
    (Scopes::Location, "create_num_sub_unit", UncheckedTodo),
    (Scopes::Location, "create_num_sub_unit_of_category", UncheckedTodo),
    (Scopes::Country, "create_rebel", Scope(Scopes::Rebels)),
    (Scopes::None, "create_relation", UncheckedTodo),
    (Scopes::None, "create_route", UncheckedTodo),
    (Scopes::Location, "create_sub_unit", Scope(Scopes::UnitType)),
    (Scopes::Location, "create_sub_unit_of_category", Scope(Scopes::SubUnitCategory)),
    (Scopes::Location, "create_sub_unit_with_owner", UncheckedTodo),
    (Scopes::Country, "create_trade", UncheckedTodo),
    (Scopes::Country, "create_union", Scope(Scopes::Country)),
    (Scopes::None, "custom_description", UncheckedTodo),
    (Scopes::None, "custom_description_no_bullet", UncheckedTodo),
    (Scopes::None, "custom_label", UncheckedTodo),
    (Scopes::None, "custom_tooltip", UncheckedTodo),
    (Scopes::Unit, "damage_unit_morale_percent", UncheckedTodo),
    (Scopes::Unit, "damage_unit_percent", UncheckedTodo),
    (Scopes::None, "debug_log", UncheckedTodo),
    (Scopes::None, "debug_log_date", UncheckedTodo),
    (Scopes::None, "debug_log_scopes", UncheckedTodo),
    (Scopes::Country, "declare_war", Scope(Scopes::Country)),
    (Scopes::Country, "declare_war_with_cb", UncheckedTodo),
    (Scopes::Country, "define_unique_country_tag", UncheckedTodo),
    (Scopes::Location, "destroy_all_buildings_of_type", Scope(Scopes::BuildingType)),
    (Scopes::None, "destroy_art", Scope(Scopes::WorkOfArt)),
    (Scopes::Location, "destroy_building", Scope(Scopes::Building)),
    (Scopes::Location, "destroy_building_forcefully", UncheckedTodo),
    (Scopes::None, "destroy_colonial_charter", Scope(Scopes::ColonialCharter)),
    (Scopes::None, "destroy_holy_site", Scope(Scopes::HolySite)),
    (Scopes::Country, "destroy_international_organization", UncheckedTodo),
    (Scopes::None, "destroy_international_organization_no_instigator", UncheckedTodo),
    (Scopes::Market, "destroy_market", UncheckedTodo),
    (Scopes::None, "destroy_mercenary", Scope(Scopes::Mercenary)),
    (Scopes::None, "destroy_pop", Scope(Scopes::Pop)),
    (Scopes::None, "destroy_rebel", Scope(Scopes::Rebels)),
    (Scopes::SubUnit, "destroy_subunit", UncheckedTodo),
    (Scopes::Unit, "destroy_unit", UncheckedTodo),
    (Scopes::Country, "discover_area", Scope(Scopes::Area)),
    (Scopes::Location, "discover_location", Scope(Scopes::Country)),
    (Scopes::Country, "dismiss_mercenary", Scope(Scopes::Mercenary)),
    (Scopes::Area, "dismiss_privateer", Scope(Scopes::Country)),
    (Scopes::Character, "divorce_character", Scope(Scopes::Character)),
    (Scopes::Country, "drop_antagonism_bomb", UncheckedTodo),
    (Scopes::None, "else", UncheckedTodo),
    (Scopes::None, "else_if", UncheckedTodo),
    (Scopes::Religion, "enable_religion", UncheckedTodo),
    (Scopes::Country, "end_mission", UncheckedTodo),
    (Scopes::Country.union(Scopes::InternationalOrganization), "end_parliament", UncheckedTodo),
    (Scopes::None, "end_situation", Scope(Scopes::Situation)),
    (Scopes::InternationalOrganization.union(Scopes::Situation), "end_vote", UncheckedTodo),
    (Scopes::None, "error_log", UncheckedTodo),
    (Scopes::Estate, "estate_add_gold", UncheckedTodo),
    (Scopes::Unit, "execute_prisoners", UncheckedTodo),
    (Scopes::None, "execute_propose_effect", UncheckedTodo),
    (Scopes::Country, "extend_regency", UncheckedTodo),
    (
        Scopes::InternationalOrganization.union(Scopes::Situation),
        "finalize_resolution",
        Scope(Scopes::Resolution),
    ),
    (Scopes::None, "find_route", UncheckedTodo),
    (Scopes::None, "fire_generic_action", UncheckedTodo),
    (Scopes::Location, "floodfill_locations", UncheckedTodo),
    (Scopes::None, "force_city_gfx_rebuild", Scope(Scopes::Location)),
    (Scopes::None, "force_recalc_country_active_status", Scope(Scopes::Country)),
    (Scopes::None, "force_refresh_culture_and_religion", Scope(Scopes::Location)),
    (Scopes::Country, "force_union", Scope(Scopes::Country)),
    (Scopes::Country, "form_country", Scope(Scopes::FormableCountry)),
    (Scopes::Country, "form_new_culture", UncheckedTodo),
    (Scopes::Character, "found_dynasty", UncheckedTodo),
    (Scopes::Siege, "garrison_sortie", UncheckedTodo),
    (Scopes::Country, "give_loan", Scope(Scopes::Loan)),
    (Scopes::Country, "grant_estate_privilege", Scope(Scopes::EstatePrivilege)),
    (
        Scopes::Country.union(Scopes::InternationalOrganization),
        "grant_parliament_agenda",
        Scope(Scopes::ParliamentAgenda),
    ),
    (Scopes::Country, "grant_parliament_agenda_for_estate", Scope(Scopes::EstateType)),
    (
        Scopes::InternationalOrganization,
        "grant_parliament_agenda_for_special_status",
        Scope(Scopes::SpecialStatus),
    ),
    (Scopes::None, "hidden_effect", UncheckedTodo),
    (Scopes::Country, "hire_mercenary", Scope(Scopes::Mercenary)),
    (Scopes::Unit, "hire_prisoners_as_mercenaries", UncheckedTodo),
    (Scopes::Area, "hire_privateer", Scope(Scopes::Country)),
    (Scopes::None, "if", UncheckedTodo),
    (Scopes::Character, "impregnate", Scope(Scopes::Character)),
    (
        Scopes::InternationalOrganization,
        "international_organization_add_special_status",
        UncheckedTodo,
    ),
    (
        Scopes::None,
        "international_organization_chooses_new_leader",
        Scope(Scopes::InternationalOrganization),
    ),
    (
        Scopes::InternationalOrganization,
        "international_organization_remove_special_status",
        UncheckedTodo,
    ),
    (Scopes::Country, "join_war_against", UncheckedTodo),
    (Scopes::Country, "join_war_as_attacker", UncheckedTodo),
    (Scopes::Country, "join_war_as_defender", UncheckedTodo),
    (Scopes::Country, "join_war_with", UncheckedTodo),
    (Scopes::None, "kill_character", Scope(Scopes::Character)),
    (Scopes::None, "kill_character_silently", Scope(Scopes::Character)),
    (Scopes::Country, "leave_all_wars_with", UncheckedTodo),
    (Scopes::Country, "leave_war", UncheckedTodo),
    (Scopes::Country, "lift_fog_of_war", Scope(Scopes::Country)),
    (Scopes::Unit, "lock_unit", UncheckedTodo),
    (Scopes::Country.union(Scopes::Unit), "loot_location", Scope(Scopes::Location)),
    (Scopes::Character, "make_saint", Scope(Scopes::Country)),
    (Scopes::Character, "make_saint_in_character_religion", Scope(Scopes::Country)),
    (Scopes::Country, "make_subject_of", UncheckedTodo),
    (Scopes::Unit, "make_unit_available_for_hire", Scope(Scopes::Mercenary)),
    (Scopes::Character, "marry_character", Scope(Scopes::Character)),
    (Scopes::Country, "merge_culture_group", Scope(Scopes::CultureGroup)),
    (Scopes::WorkOfArt, "move_art", Scope(Scopes::Location)),
    (Scopes::Character, "move_country", Scope(Scopes::Country)),
    (Scopes::Unit, "move_prisoners_to_safety", UncheckedTodo),
    (Scopes::Unit, "move_to_assist_on_adjacent_combat", UncheckedTodo),
    (Scopes::Country, "pay_off_loans", UncheckedTodo),
    (
        Scopes::Country.union(Scopes::InternationalOrganization),
        "pay_policy_price_effect",
        Scope(Scopes::Policy),
    ),
    (Scopes::Country, "pay_price", Scope(Scopes::Price)),
    (Scopes::Country, "perform_diplomatic_action", UncheckedTodo),
    (Scopes::None, "post_audio_event", UncheckedTodo),
    (Scopes::None, "propose_resolution", UncheckedTodo),
    (Scopes::Country, "raise_all_levies", UncheckedTodo),
    (Scopes::Province, "raise_levies", UncheckedTodo),
    (Scopes::None, "random", UncheckedTodo),
    (Scopes::None, "random_list", UncheckedTodo),
    (Scopes::None, "random_log_scopes", UncheckedTodo),
    (Scopes::Unit, "ransom_prisoners", UncheckedTodo),
    (Scopes::None, "refresh_map_colors", UncheckedTodo),
    (Scopes::Country, "refund_price", Scope(Scopes::Price)),
    (Scopes::Country, "release_non_cores", UncheckedTodo),
    (Scopes::Market, "relocate_market", Scope(Scopes::Location)),
    (Scopes::Country, "remove_accepted_culture", Scope(Scopes::Culture)),
    (Scopes::ColonialCharter, "remove_additional_migration", UncheckedTodo),
    (Scopes::Country, "remove_all_casus_belli", Scope(Scopes::Country)),
    (Scopes::Country, "remove_all_casus_belli_of_type", UncheckedTodo),
    (Scopes::Country, "remove_antagonism", UncheckedTodo),
    (Scopes::Country, "remove_avatar", Scope(Scopes::Avatar)),
    (Scopes::Siege, "remove_breach", UncheckedTodo),
    (Scopes::Country, "remove_casus_belli", UncheckedTodo),
    (Scopes::Character, "remove_character_allegiance", UncheckedTodo),
    (
        Scopes::Location
            .union(Scopes::Country)
            .union(Scopes::Unit)
            .union(Scopes::Character)
            .union(Scopes::Religion)
            .union(Scopes::Province)
            .union(Scopes::Rebels)
            .union(Scopes::Mercenary)
            .union(Scopes::InternationalOrganization),
        "remove_character_modifier",
        UncheckedTodo,
    ),
    (Scopes::None, "remove_colonial_claim", Scope(Scopes::ProvinceDefinition)),
    (Scopes::None, "remove_commander", Scope(Scopes::Character)),
    (Scopes::Country.union(Scopes::InternationalOrganization), "remove_cooldown", UncheckedTodo),
    (Scopes::Location, "remove_core", Scope(Scopes::Country)),
    (
        Scopes::InternationalOrganization,
        "remove_country_from_international_organization",
        Scope(Scopes::Country),
    ),
    (
        Scopes::Location
            .union(Scopes::Country)
            .union(Scopes::Unit)
            .union(Scopes::Character)
            .union(Scopes::Religion)
            .union(Scopes::Province)
            .union(Scopes::Rebels)
            .union(Scopes::Mercenary)
            .union(Scopes::InternationalOrganization),
        "remove_country_modifier",
        UncheckedTodo,
    ),
    (
        Scopes::Location
            .union(Scopes::Country)
            .union(Scopes::Unit)
            .union(Scopes::Character)
            .union(Scopes::Dynasty)
            .union(Scopes::Religion)
            .union(Scopes::Province)
            .union(Scopes::Rebels)
            .union(Scopes::Mercenary)
            .union(Scopes::InternationalOrganization),
        "remove_dynasty_modifier",
        UncheckedTodo,
    ),
    (
        Scopes::InternationalOrganization,
        "remove_enemy_from_international_organization",
        Scope(Scopes::Country),
    ),
    (Scopes::None, "remove_extended_winter", Scope(Scopes::Area)),
    (Scopes::Country, "remove_from_cabinet", Scope(Scopes::Character)),
    (Scopes::None, "remove_from_global_variable_map", UncheckedTodo),
    (
        Scopes::Location,
        "remove_from_international_organization",
        Scope(Scopes::InternationalOrganization),
    ),
    (Scopes::None, "remove_from_list", UncheckedTodo),
    (Scopes::None, "remove_from_local_variable_map", UncheckedTodo),
    (Scopes::None, "remove_from_variable_map", UncheckedTodo),
    (Scopes::None, "remove_global_variable", UncheckedTodo),
    (Scopes::Country, "remove_god", Scope(Scopes::God)),
    (Scopes::Country, "remove_historical_rival", Scope(Scopes::Country)),
    (
        Scopes::Location
            .union(Scopes::Country)
            .union(Scopes::Unit)
            .union(Scopes::Character)
            .union(Scopes::Religion)
            .union(Scopes::Province)
            .union(Scopes::Rebels)
            .union(Scopes::Mercenary)
            .union(Scopes::InternationalOrganization),
        "remove_international_organization_modifier",
        UncheckedTodo,
    ),
    (Scopes::Country, "remove_law", Scope(Scopes::Law)),
    (
        Scopes::InternationalOrganization,
        "remove_law_from_international_organization",
        Scope(Scopes::Law),
    ),
    (Scopes::None, "remove_list_global_variable", UncheckedTodo),
    (Scopes::None, "remove_list_local_variable", UncheckedTodo),
    (Scopes::None, "remove_list_variable", UncheckedTodo),
    (Scopes::None, "remove_local_variable", UncheckedTodo),
    (
        Scopes::InternationalOrganization,
        "remove_location_from_international_organization",
        Scope(Scopes::Location),
    ),
    (
        Scopes::Location
            .union(Scopes::Country)
            .union(Scopes::Unit)
            .union(Scopes::Character)
            .union(Scopes::Religion)
            .union(Scopes::Province)
            .union(Scopes::Rebels)
            .union(Scopes::Mercenary)
            .union(Scopes::InternationalOrganization),
        "remove_location_modifier",
        UncheckedTodo,
    ),
    (
        Scopes::Location
            .union(Scopes::Country)
            .union(Scopes::Unit)
            .union(Scopes::Character)
            .union(Scopes::Religion)
            .union(Scopes::Province)
            .union(Scopes::Rebels)
            .union(Scopes::Mercenary)
            .union(Scopes::InternationalOrganization),
        "remove_mercenary_modifier",
        UncheckedTodo,
    ),
    (Scopes::Market, "remove_merchant_power", UncheckedTodo),
    (Scopes::None, "remove_migration", UncheckedTodo),
    (Scopes::Country, "remove_opinion", UncheckedTodo),
    (Scopes::Country, "remove_policy", Scope(Scopes::Policy)),
    (
        Scopes::InternationalOrganization,
        "remove_policy_from_international_organization",
        Scope(Scopes::Policy),
    ),
    (Scopes::Pop, "remove_pop_allegiance", UncheckedTodo),
    (
        Scopes::Location
            .union(Scopes::Country)
            .union(Scopes::Unit)
            .union(Scopes::Character)
            .union(Scopes::Religion)
            .union(Scopes::Province)
            .union(Scopes::Rebels)
            .union(Scopes::Mercenary)
            .union(Scopes::InternationalOrganization),
        "remove_province_modifier",
        UncheckedTodo,
    ),
    (
        Scopes::Location
            .union(Scopes::Country)
            .union(Scopes::Unit)
            .union(Scopes::Character)
            .union(Scopes::Religion)
            .union(Scopes::Province)
            .union(Scopes::Rebels)
            .union(Scopes::Mercenary)
            .union(Scopes::InternationalOrganization),
        "remove_rebel_modifier",
        UncheckedTodo,
    ),
    (Scopes::Country, "remove_reform", Scope(Scopes::GovernmentReform)),
    (Scopes::None, "remove_relation", UncheckedTodo),
    (
        Scopes::Location
            .union(Scopes::Country)
            .union(Scopes::Unit)
            .union(Scopes::Character)
            .union(Scopes::Religion)
            .union(Scopes::Province)
            .union(Scopes::Rebels)
            .union(Scopes::Mercenary)
            .union(Scopes::InternationalOrganization),
        "remove_religion_modifier",
        UncheckedTodo,
    ),
    (Scopes::Country, "remove_religious_aspect", Scope(Scopes::ReligiousAspect)),
    (Scopes::Country, "remove_religious_focus", Scope(Scopes::ReligiousFocus)),
    (Scopes::Country, "remove_rival", Scope(Scopes::Country)),
    (Scopes::Character, "remove_ruler", Scope(Scopes::Country)),
    (Scopes::Market, "remove_temporary_demand", Scope(Scopes::Demand)),
    (Scopes::Country, "remove_tolerated_culture", Scope(Scopes::Culture)),
    (Scopes::Character, "remove_trait", Scope(Scopes::Trait)),
    (Scopes::Character, "remove_traits_of_category", UncheckedTodo),
    (Scopes::Country, "remove_truce_with", Scope(Scopes::Country)),
    (Scopes::Country, "remove_trust", UncheckedTodo),
    (
        Scopes::Location
            .union(Scopes::Country)
            .union(Scopes::Unit)
            .union(Scopes::Character)
            .union(Scopes::Religion)
            .union(Scopes::Province)
            .union(Scopes::Rebels)
            .union(Scopes::Mercenary)
            .union(Scopes::InternationalOrganization),
        "remove_unit_modifier",
        UncheckedTodo,
    ),
    (Scopes::None, "remove_variable", UncheckedTodo),
    (Scopes::Location, "remove_vfx", UncheckedTodo),
    (Scopes::InternationalOrganization.union(Scopes::Situation), "remove_vote", UncheckedTodo),
    (Scopes::Location, "rename_location", UncheckedTodo),
    (Scopes::Unit, "request_ransom_prisoners", UncheckedTodo),
    (Scopes::Country, "research_advance", Scope(Scopes::AdvanceType)),
    (Scopes::Country, "reset_regency", UncheckedTodo),
    (Scopes::Country, "reverse_add_antagonism", UncheckedTodo),
    (Scopes::Country, "reverse_add_opinion", UncheckedTodo),
    (Scopes::Country, "reverse_add_trust", UncheckedTodo),
    (Scopes::Culture, "reverse_change_cultural_view", UncheckedTodo),
    (Scopes::Religion, "reverse_change_religion_view", UncheckedTodo),
    (Scopes::Culture, "reverse_set_cultural_view", UncheckedTodo),
    (Scopes::Religion, "reverse_set_religious_view", UncheckedTodo),
    (Scopes::ReligiousSchool, "reverse_set_school_opinion", UncheckedTodo),
    (Scopes::Country, "revoke_estate_privilege", Scope(Scopes::EstatePrivilege)),
    (Scopes::None, "round_global_variable", UncheckedTodo),
    (Scopes::None, "round_local_variable", UncheckedTodo),
    (Scopes::None, "round_variable", UncheckedTodo),
    (Scopes::None, "save_scope_as", UncheckedTodo),
    (Scopes::None, "save_scope_value_as", UncheckedTodo),
    (Scopes::None, "save_temporary_scope_as", UncheckedTodo),
    (Scopes::None, "save_temporary_scope_value_as", UncheckedTodo),
    (Scopes::Market, "sell_goods_from_location", UncheckedTodo),
    (Scopes::Unit, "sell_prisoners_into_slavery", UncheckedTodo),
    (Scopes::Country, "set_age_preference", UncheckedTodo),
    (Scopes::Country.union(Scopes::InternationalOrganization), "set_army_tradition", UncheckedTodo),
    (Scopes::WorkOfArt, "set_art_owner", Scope(Scopes::Country)),
    (Scopes::Unit, "set_as_commander", Scope(Scopes::Character)),
    (Scopes::Country, "set_as_designated_heir", Scope(Scopes::Character)),
    (Scopes::Country, "set_automated_system", UncheckedTodo),
    (Scopes::Country, "set_bankruptcy", UncheckedTodo),
    (Scopes::Country, "set_capital", Scope(Scopes::Location)),
    (Scopes::Character, "set_child_education", Scope(Scopes::ChildEducation)),
    (Scopes::None, "set_collection_pin", UncheckedTodo),
    (Scopes::Country.union(Scopes::InternationalOrganization), "set_complacency", UncheckedTodo),
    (Scopes::Country, "set_country_employment_system", Scope(Scopes::EmploymentSystem)),
    (Scopes::None, "set_country_military_stance", Scope(Scopes::MilitaryStance)),
    (Scopes::Country, "set_country_rank", Scope(Scopes::CountryRank)),
    (Scopes::Country, "set_court_language", Scope(Scopes::Dialect)),
    (Scopes::Culture, "set_cultural_view", UncheckedTodo),
    (Scopes::Country.union(Scopes::InternationalOrganization), "set_devotion", UncheckedTodo),
    (Scopes::Location.union(Scopes::SubUnit), "set_disease_presence", UncheckedTodo),
    (Scopes::Country.union(Scopes::InternationalOrganization), "set_doom", UncheckedTodo),
    (Scopes::Dynasty, "set_dynasty_name_type", UncheckedTodo),
    (Scopes::Character, "set_ethnicity", Scope(Scopes::Ethnicity)),
    (Scopes::Character, "set_first_name", UncheckedTodo),
    (Scopes::Location, "set_garrison_size", UncheckedTodo),
    (Scopes::None, "set_global_variable", UncheckedTodo),
    (Scopes::Country.union(Scopes::InternationalOrganization), "set_gold", UncheckedTodo),
    (
        Scopes::Country.union(Scopes::InternationalOrganization),
        "set_government_power",
        UncheckedTodo,
    ),
    (Scopes::Country.union(Scopes::InternationalOrganization), "set_harmony", UncheckedTodo),
    (Scopes::Country.union(Scopes::InternationalOrganization), "set_honor", UncheckedTodo),
    (Scopes::Country.union(Scopes::InternationalOrganization), "set_horde_unity", UncheckedTodo),
    (Scopes::Country.union(Scopes::InternationalOrganization), "set_inflation", UncheckedTodo),
    (Scopes::Country.union(Scopes::InternationalOrganization), "set_karma", UncheckedTodo),
    (Scopes::InternationalOrganization, "set_leader_country", Scope(Scopes::Country)),
    (Scopes::Country.union(Scopes::InternationalOrganization), "set_legitimacy", UncheckedTodo),
    (Scopes::Country, "set_liturgical_language", Scope(Scopes::Dialect)),
    (Scopes::Loan, "set_loc_key", UncheckedTodo),
    (Scopes::None, "set_local_variable", UncheckedTodo),
    (Scopes::Trade, "set_locked", UncheckedTodo),
    (Scopes::Character, "set_lowborn", UncheckedTodo),
    (Scopes::Country.union(Scopes::InternationalOrganization), "set_manpower", UncheckedTodo),
    (Scopes::Country.union(Scopes::InternationalOrganization), "set_navy_tradition", UncheckedTodo),
    (Scopes::Religion, "set_needs_reform", UncheckedTodo),
    (Scopes::Country, "set_new_foreign_ruler", Scope(Scopes::Character)),
    (Scopes::Country, "set_new_foreign_ruler_no_update", Scope(Scopes::Character)),
    (Scopes::Country, "set_new_ruler", Scope(Scopes::Character)),
    (Scopes::Country, "set_new_ruler_no_update", Scope(Scopes::Character)),
    (Scopes::Character, "set_nickname", UncheckedTodo),
    (
        Scopes::Country.union(Scopes::InternationalOrganization),
        "set_parliament_active",
        UncheckedTodo,
    ),
    (
        Scopes::Country.union(Scopes::InternationalOrganization),
        "set_parliament_issue",
        Scope(Scopes::ParliamentIssue),
    ),
    (
        Scopes::Country.union(Scopes::InternationalOrganization),
        "set_parliament_issue_support",
        UncheckedTodo,
    ),
    (
        Scopes::Country.union(Scopes::InternationalOrganization),
        "set_parliament_location",
        Scope(Scopes::Location),
    ),
    (
        Scopes::Country.union(Scopes::InternationalOrganization),
        "set_parliament_type",
        Scope(Scopes::ParliamentType),
    ),
    (Scopes::Country, "set_participated_in_parliament", UncheckedTodo),
    (Scopes::Country.union(Scopes::InternationalOrganization), "set_prestige", UncheckedTodo),
    (Scopes::Country.union(Scopes::InternationalOrganization), "set_purity", UncheckedTodo),
    (Scopes::Country, "set_regent", Scope(Scopes::Character)),
    (
        Scopes::Country.union(Scopes::InternationalOrganization),
        "set_religious_influence",
        UncheckedTodo,
    ),
    (Scopes::Country, "set_religious_school", Scope(Scopes::ReligiousSchool)),
    (Scopes::Religion, "set_religious_view", UncheckedTodo),
    (
        Scopes::Country.union(Scopes::InternationalOrganization),
        "set_republican_tradition",
        UncheckedTodo,
    ),
    (Scopes::Country, "set_revolution", UncheckedTodo),
    (Scopes::Country, "set_revolution_target", UncheckedTodo),
    (Scopes::Country.union(Scopes::InternationalOrganization), "set_righteousness", UncheckedTodo),
    (Scopes::Country.union(Scopes::InternationalOrganization), "set_rite_power", UncheckedTodo),
    (Scopes::Country.union(Scopes::InternationalOrganization), "set_sailors", UncheckedTodo),
    (Scopes::ReligiousSchool, "set_school_opinion", UncheckedTodo),
    (Scopes::Country.union(Scopes::InternationalOrganization), "set_self_control", UncheckedTodo),
    (Scopes::Country, "set_societal_value", UncheckedTodo),
    (Scopes::Country.union(Scopes::InternationalOrganization), "set_stability", UncheckedTodo),
    (Scopes::Building, "set_subsidized", UncheckedTodo),
    (
        Scopes::InternationalOrganization,
        "set_target_of_international_organization",
        Scope(Scopes::Country),
    ),
    (Scopes::Character, "set_to_limited_random_stat", UncheckedTodo),
    (
        Scopes::Country.union(Scopes::InternationalOrganization),
        "set_tribal_cohesion",
        UncheckedTodo,
    ),
    (Scopes::None, "set_tutorial_var", UncheckedTodo),
    (Scopes::Unit, "set_unit_size", UncheckedTodo),
    (Scopes::None, "set_variable", UncheckedTodo),
    (Scopes::InternationalOrganization.union(Scopes::Situation), "set_vote", UncheckedTodo),
    (Scopes::Country.union(Scopes::InternationalOrganization), "set_war_exhaustion", UncheckedTodo),
    (Scopes::Country.union(Scopes::InternationalOrganization), "set_yanantin", UncheckedTodo),
    (Scopes::None, "show_as_tooltip", UncheckedTodo),
    (Scopes::None, "sort_global_variable_list", UncheckedTodo),
    (Scopes::None, "sort_local_variable_list", UncheckedTodo),
    (Scopes::None, "sort_variable_list", UncheckedTodo),
    (Scopes::None, "spawn_army_levy_unit", Scope(Scopes::Country)),
    (Scopes::Location, "spawn_disease", Scope(Scopes::DiseaseOutbreak)),
    (Scopes::None, "spawn_navy_levy_unit", Scope(Scopes::Country)),
    (Scopes::Pop, "split_pop", UncheckedTodo),
    (Scopes::Exploration, "stall_exploration", UncheckedTodo),
    (Scopes::Rebels, "start_civil_war", Scope(Scopes::Country)),
    (Scopes::Country, "start_conquistador", UncheckedTodo),
    (Scopes::Country, "start_exploration", UncheckedTodo),
    (Scopes::Country, "start_mission", UncheckedTodo),
    (Scopes::WorkOfArt, "start_periphora_towards", Scope(Scopes::Location)),
    (Scopes::Rebels, "start_revolt", UncheckedTodo),
    (Scopes::None, "start_tutorial_lesson", UncheckedTodo),
    (Scopes::None, "start_weather_system", Scope(Scopes::WeatherSystem)),
    (Scopes::Character, "start_work_of_art", UncheckedTodo),
    (Scopes::Country, "stop_annexing_country", Scope(Scopes::Country)),
    (Scopes::Cabinet, "stop_cabinet_action", UncheckedTodo),
    (Scopes::None, "stop_tutorial", UncheckedTodo),
    (Scopes::Country, "support_rebel", Scope(Scopes::Rebels)),
    (Scopes::None, "switch", UncheckedTodo),
    (Scopes::Country, "take_over_all_wars", Scope(Scopes::Country)),
    (Scopes::None, "test_log", UncheckedTodo),
    (Scopes::Location, "transfer_location_occupation", UncheckedTodo),
    (Scopes::Country, "transfer_subject", UncheckedTodo),
    (Scopes::Country, "transfer_yearly_gold", UncheckedTodo),
    (Scopes::Country, "transfer_yearly_manpower", UncheckedTodo),
    (Scopes::Country, "transfer_yearly_sailors", UncheckedTodo),
    (Scopes::None, "trigger_event_non_silently", UncheckedTodo),
    (Scopes::None, "trigger_event_silently", UncheckedTodo),
    (Scopes::Unit, "unlock_unit", UncheckedTodo),
    (Scopes::Country, "unset_participated_in_parliament", Scope(Scopes::InternationalOrganization)),
    (Scopes::None, "update_leadership", Scope(Scopes::InternationalOrganization)),
    (Scopes::None, "while", UncheckedTodo),
    (Scopes::None, "white_peace", Scope(Scopes::War)),
];