-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathVictoriaCompletions.sublime-completions
1518 lines (1518 loc) · 77 KB
/
VictoriaCompletions.sublime-completions
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
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"scope": "text.vic.script",
"completions":
[
{
"trigger": "array_define",
"contents": "array_define",
"details": "Reference the value of a numeric value in an array define: array_define:Namespace|Name|Index. Index is 0-based.<br>Requires Data: yes<br>Global Link: yes<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "bt",
"contents": "bt",
"details": "Scope to a building type<br>Requires Data: yes<br>Global Link: yes<br>Output Scopes: building_type",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "c",
"contents": "c",
"details": "Scope to the country with specified tag<br>Requires Data: yes<br>Global Link: yes<br>Output Scopes: country",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "catalyst_type",
"contents": "catalyst_type",
"details": "Scope to a diplomatic catalyst type from its name (catalyst_type:catalyst_relations_level_improved)<br>Requires Data: yes<br>Output Scopes: diplomatic_catalyst_type",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "cd",
"contents": "cd",
"details": "Scope to the country definition with specified tag<br>Requires Data: yes<br>Global Link: yes<br>Output Scopes: country_definition",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "company_type",
"contents": "company_type",
"details": "Scope to a company type from its name (company_type:company_rheinmetall)<br>Requires Data: yes<br>Output Scopes: company_type",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "compare_complex_value",
"contents": "compare_complex_value",
"details": "A comparison trigger that needs a parsable string parameter that will return its value in the context it is used eg: scope:root.number_of(armies)<br>Wild Card: yes<br>Requires Data: yes<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "compare_value",
"contents": "compare_value",
"details": "A comparison trigger that will return its value in the context it is used eg: root.gold<br>Wild Card: yes<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "cu",
"contents": "cu",
"details": "Scope to the culture with specified key<br>Requires Data: yes<br>Global Link: yes<br>Output Scopes: culture",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "define",
"contents": "define",
"details": "Reference the value of a numeric or color define: define:Namespace|Name<br>Requires Data: yes<br>Global Link: yes<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "flag",
"contents": "flag",
"details": "Flag literals eg: flag:the_boss<br>Requires Data: yes<br>Global Link: yes<br>Output Scopes: flag",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "g",
"contents": "g",
"details": "Scope to the goods with specified key<br>Requires Data: yes<br>Global Link: yes<br>Output Scopes: goods",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "global_gdp",
"contents": "global_gdp",
"details": "Get the global yearly predicted GDP<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "global_var",
"contents": "global_var",
"details": "Reference a previous set global variable via its name eg: global_var:important_thing<br>Requires Data: yes<br>Global Link: yes",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "i",
"contents": "i",
"details": "Scope to ideology specified by key<br>Requires Data: yes<br>Global Link: yes<br>Output Scopes: ideology",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "identity",
"contents": "identity",
"details": "Scope to the central identity for the scoped power bloc<br>Input Scopes: power_bloc<br>Output Scopes: power_bloc_identity",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "ideology",
"contents": "ideology",
"details": "Scope to the ideology of the scoped character (example: scope:example_character = { ideology = { save_scope_as = example_ideology } } )<br>Input Scopes: character<br>Output Scopes: ideology",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "ig_trait",
"contents": "ig_trait",
"details": "Scope to the Interest Group trait with specified key<br>Requires Data: yes<br>Global Link: yes<br>Output Scopes: interest_group_trait",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "ig_type",
"contents": "ig_type",
"details": "Scope to an interest group type<br>Requires Data: yes<br>Global Link: yes<br>Output Scopes: interest_group_type",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "infamy_threshold",
"contents": "infamy_threshold",
"details": "Scope to infamy level threshold for comparison purposes (infamy_threshold:infamous)<br>Requires Data: yes<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "is_setup",
"contents": "is_setup",
"details": "Scope to true/false if gamestate is being initialized!<br>Global Link: yes<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "je_tutorial",
"contents": "je_tutorial",
"details": "Scope to the active tutorial lesson's journal entry (do not use this outside tutorial)<br>Output Scopes: journalentry",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "law_type",
"contents": "law_type",
"details": "Scope to a law type from its name (law_type:law_protected_speech)<br>Requires Data: yes<br>Output Scopes: law_type",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "lobby_type",
"contents": "lobby_type",
"details": "Scope to a political lobby type from its name (lobby_type:lobby_pro_country)<br>Requires Data: yes<br>Output Scopes: political_lobby_type",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "local_var",
"contents": "local_var",
"details": "Reference a previous set local variable via its name eg: local_var:person_of_interest<br>Requires Data: yes<br>Global Link: yes",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "mobilization_option",
"contents": "mobilization_option",
"details": "Scope to a mobilization option from its name (mobilization_option:key)<br>Requires Data: yes<br>Output Scopes: mobilization_option",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "named_script_value",
"contents": "named_script_value",
"details": "A script value that will calculate and returns its value in the context it is used<br>Wild Card: yes<br>Output Scopes: value, color",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "no",
"contents": "no",
"details": "Boolean literal for false values<br>Global Link: yes<br>Output Scopes: bool",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "p",
"contents": "p",
"details": "Scope to province specified by hex key<br>Requires Data: yes<br>Global Link: yes<br>Output Scopes: province",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "play_type",
"contents": "play_type",
"details": "Scope to a diplomatic play type from its name (play_type:dp_war_reparations)<br>Requires Data: yes<br>Output Scopes: diplomatic_play_type",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "player",
"contents": "player",
"details": "Scope to the player (do not use this outside tutorial)<br>Output Scopes: country",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "pop_type",
"contents": "pop_type",
"details": "Scope to a pop type from its name (pop_type:laborers)<br>Requires Data: yes<br>Output Scopes: pop_type",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "prev",
"contents": "prev",
"details": "The previous scope<br>Global Link: yes",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "principle",
"contents": "principle",
"details": "Scope to the power bloc principle from its name (principle:key)<br>Requires Data: yes<br>Output Scopes: power_bloc_principle",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "principle_group",
"contents": "principle_group",
"details": "Scope to the power bloc principle group from its name (principle_group:key)<br>Requires Data: yes<br>Output Scopes: power_bloc_principle_group",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "rank_value",
"contents": "rank_value",
"details": "Scope to rank value of a particular country rank (rank_value:great_power)<br>Requires Data: yes<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "rel",
"contents": "rel",
"details": "Scope to the religion with specified key<br>Requires Data: yes<br>Global Link: yes<br>Output Scopes: religion",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "relations_threshold",
"contents": "relations_threshold",
"details": "Scope to relations threshold level for comparison purposes (relations_threshold:warm)<br>Requires Data: yes<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "root",
"contents": "root",
"details": "The head of the current top scope eg: reciever of an event, taker of a decision<br>Global Link: yes",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "s",
"contents": "s",
"details": "Scope to state region specified by key<br>Requires Data: yes<br>Global Link: yes<br>Output Scopes: state_region",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "scope",
"contents": "scope",
"details": "Reference a previously saved scope via its name eg: scope:target<br>Requires Data: yes<br>Global Link: yes",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "sr",
"contents": "sr",
"details": "Scope to the strategic region of specified key<br>Requires Data: yes<br>Global Link: yes<br>Output Scopes: strategic_region",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "tension_threshold",
"contents": "tension_threshold",
"details": "Scope to tension level threshold for comparison purposes (tension_threshold:warm)<br>Requires Data: yes<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "this",
"contents": "this",
"details": "The current scope",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "unit_type",
"contents": "unit_type",
"details": "Scope to a combat unit type from its name (unit_type:key)<br>Requires Data: yes<br>Output Scopes: combat_unit_type",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "value",
"contents": "value",
"details": "A numeric literal value eg: 1, 5.2, -6<br>Wild Card: yes<br>Global Link: yes<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "var",
"contents": "var",
"details": "Reference a previous set variable via its name eg: var:mortal_enemy<br>Requires Data: yes",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "yes",
"contents": "yes",
"details": "Boolean literal for true values<br>Global Link: yes<br>Output Scopes: bool",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "actor_market",
"contents": "actor_market",
"details": "Scope to the actor market of the trade route<br>Input Scopes: trade_route<br>Output Scopes: market",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "exporter",
"contents": "exporter",
"details": "Scope to the exporting market of the trade route<br>Input Scopes: trade_route<br>Output Scopes: market",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "importer",
"contents": "importer",
"details": "Scope to the importing market of the trade route<br>Input Scopes: trade_route<br>Output Scopes: market",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "target_market",
"contents": "target_market",
"details": "Scope to the target market of the trade route<br>Input Scopes: trade_route<br>Output Scopes: market",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "front",
"contents": "front",
"details": "Scope to a front from various scopes<br> From a battle to the front where it takes place<br> From a character to the front where they are at or travelling towards<br> From a military formation to the front it is currently at<br> From a province to the front that contains it<br>Input Scopes: battle, character, military_formation, province<br>Output Scopes: front",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "active_law",
"contents": "active_law",
"details": "Scope to the scoped country's active law in the named law group (active_law:lawgroup_trade_policy)<br>Requires Data: yes<br>Input Scopes: country<br>Output Scopes: law",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "ai_army_comparison",
"contents": "ai_army_comparison",
"details": "Scope to comparative army strength between two countries (example: value = ai_army_comparison:root)<br>Requires Data: yes<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "ai_gdp_comparison",
"contents": "ai_gdp_comparison",
"details": "Scope to comparative GDP between two countries (example: value = ai_army_comparison:root)<br>Requires Data: yes<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "ai_ideological_opinion",
"contents": "ai_ideological_opinion",
"details": "Scope to AI ideological opinion of scope country on target country (example: value = ai_ideological_opinion:root)<br>Requires Data: yes<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "ai_navy_comparison",
"contents": "ai_navy_comparison",
"details": "Scope to comparative navy strength between two countries (example: value = ai_navy_comparison:root)<br>Requires Data: yes<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "ai_subject_value",
"contents": "ai_subject_value",
"details": "Scope to AI desire of target country to have scope country as a subject (example: value = ai_subject_value:root)<br>Requires Data: yes<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "army_size",
"contents": "army_size",
"details": "Number of battalions of scope country, excluding currently raised conscripts.<br>army_size >= 20<br>army_size > c:FRA.army_size<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "army_size_including_conscripts",
"contents": "army_size_including_conscripts",
"details": "Number of battalions of scope country, including currently raised conscripts.<br>army_size_including_conscripts >= 20<br>army_size_including_conscripts > c:FRA.army_size_including_conscripts<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "building_levels",
"contents": "building_levels",
"details": "Get the total number of non-subsistence building levels of the scoped country<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "cached_ai_coastal_population",
"contents": "cached_ai_coastal_population",
"details": "Scope to total coastal population recorded in AI spending variables (example: value = cached_ai_coastal_population)<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "cached_ai_incorporated_coastal_population",
"contents": "cached_ai_incorporated_coastal_population",
"details": "Scope to total incorporated coastal population recorded in AI spending variables (example: value = cached_ai_incorporated_coastal_population)<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "cached_ai_incorporated_population",
"contents": "cached_ai_incorporated_population",
"details": "Scope to total incorporated population recorded in AI spending variables (example: value = cached_ai_incorporated_population)<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "cached_ai_overseas_subject_population",
"contents": "cached_ai_overseas_subject_population",
"details": "Scope to total population in direct non-adjacent subjects recorded in AI spending variables (example: value = cached_ai_overseas_subject_population)<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "cached_ai_subject_population",
"contents": "cached_ai_subject_population",
"details": "Scope to total population in direct subjects recorded in AI spending variables (example: value = cached_ai_subject_population)<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "cached_ai_total_population",
"contents": "cached_ai_total_population",
"details": "Scope to total population recorded in AI spending variables (example: value = cached_ai_total_population)<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "cached_ai_unincorporated_coastal_population",
"contents": "cached_ai_unincorporated_coastal_population",
"details": "Scope to total unincorporated coastal population recorded in AI spending variables (example: value = cached_ai_unincorporated_coastal_population)<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "cached_ai_unincorporated_population",
"contents": "cached_ai_unincorporated_population",
"details": "Scope to total unincorporated population recorded in AI spending variables (example: value = cached_ai_unincorporated_population)<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "capital",
"contents": "capital",
"details": "Scope to the capital state of a country<br>Input Scopes: country<br>Output Scopes: state",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "civil_war_origin_country",
"contents": "civil_war_origin_country",
"details": "Scope to the origin country of a civil war country<br>Input Scopes: country<br>Output Scopes: country",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "colonial_growth_per_colony",
"contents": "colonial_growth_per_colony",
"details": "Scope to the country's colonial growth per colony value (example: colonial_growth_per_colony > 0)<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "company",
"contents": "company",
"details": "Scope to the scoped country's company of the named company type (company:company_rheinmetall)<br>Requires Data: yes<br>Input Scopes: country<br>Output Scopes: company",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "country_definition",
"contents": "country_definition",
"details": "Scope to country's definition<br>Input Scopes: country<br>Output Scopes: country_definition",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "credit",
"contents": "credit",
"details": "Scope to the current amount of max credit the country can take<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "currently_enacting_law",
"contents": "currently_enacting_law",
"details": "Scope from a country to the law that they're currently enacting<br>Input Scopes: country<br>Output Scopes: law",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "expenses",
"contents": "expenses",
"details": "Get the current weekly expenses of the scoped country<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "fixed_expenses",
"contents": "fixed_expenses",
"details": "Get the current weekly fixed expenses of the scoped country<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "get_ruler_for",
"contents": "get_ruler_for",
"details": "Scopes from country to a character that would be ruler, under the given transfer of power type<br>get_ruler_for:parliamentary_elective = { effects... }<br>Requires Data: yes<br>Input Scopes: country<br>Output Scopes: character",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "government_size",
"contents": "government_size",
"details": "Get the scoped country's current number of Parties & independent IGs in government<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "heir",
"contents": "heir",
"details": "Scope to the heir of a country<br>Input Scopes: country<br>Output Scopes: character",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "ig",
"contents": "ig",
"details": "Scope to the interest group of specified key belonging to the country<br>Requires Data: yes<br>Input Scopes: country<br>Output Scopes: interest_group",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "imposed_law",
"contents": "imposed_law",
"details": "Scope from a country to the law currently imposed on them (enacting or not)<br>Input Scopes: country<br>Output Scopes: law",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "income",
"contents": "income",
"details": "Get the current weekly income of the scoped country<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "infamy",
"contents": "infamy",
"details": "Scope to infamy of scope country (example: infamy >= 2)<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "institution",
"contents": "institution",
"details": "Scope to a country's institution from its name (institution:institution_health_system)<br>Requires Data: yes<br>Input Scopes: country<br>Output Scopes: institution",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "investment_pool_income",
"contents": "investment_pool_income",
"details": "Get the current weekly investment pool income of the scoped country<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "je",
"contents": "je",
"details": "Scope to the journal entry of specified key belonging to the country<br>Requires Data: yes<br>Input Scopes: country<br>Output Scopes: journalentry",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "legitimacy",
"contents": "legitimacy",
"details": "Scope to the current amount of legitimacy in country<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "lobby_foreign_anti_clout",
"contents": "lobby_foreign_anti_clout",
"details": "Scope to the total clout of all anti-country foreign policy lobbies targeting a specific country (lobby_foreign_anti_clout:root >= 0.2)<br>Requires Data: yes<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "lobby_foreign_pro_clout",
"contents": "lobby_foreign_pro_clout",
"details": "Scope to the total clout of all pro-country foreign policy lobbies targeting a specific country (lobby_foreign_pro_clout:root >= 0.2)<br>Requires Data: yes<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "lobby_in_government_foreign_anti_clout",
"contents": "lobby_in_government_foreign_anti_clout",
"details": "Scope to the total clout of all anti-country foreign policy lobbies in government targeting a specific country (lobby_in_government_foreign_anti_clout:root >= 0.2)<br>Requires Data: yes<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "lobby_in_government_foreign_pro_clout",
"contents": "lobby_in_government_foreign_pro_clout",
"details": "Scope to the total clout of all pro-country foreign policy lobbies in government targeting a specific country (lobby_in_government_foreign_pro_clout:root >= 0.2)<br>Requires Data: yes<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "lobby_war_opposition",
"contents": "lobby_war_opposition",
"details": "Scope to the total clout of all lobbies that oppose the scoped war (lobby_war_opposition:root >= 0.2)<br>Requires Data: yes<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "lobby_war_support",
"contents": "lobby_war_support",
"details": "Scope to the total clout of all lobbies that support the scoped war (lobby_war_support:root >= 0.2)<br>Requires Data: yes<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "market_capital",
"contents": "market_capital",
"details": "Scope to the market capital of a country<br>Input Scopes: country<br>Output Scopes: state",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "military_expenses",
"contents": "military_expenses",
"details": "Get the current military expenses (slaves, wages and goods) of the scoped country<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "military_expenses_share",
"contents": "military_expenses_share",
"details": "Get the current share of military expenses (slaves, wages and goods) relative to the total expenses of the scoped country<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "navy_size",
"contents": "navy_size",
"details": "Number of flotillas of scope country.<br>navy_size >= 20<br>navy_size > c:FRA.navy_size<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "num_active_declared_interests",
"contents": "num_active_declared_interests",
"details": "Scope to the number of active declared interests a country has<br>num_active_declared_interests > 5<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "num_active_interests",
"contents": "num_active_interests",
"details": "Scope to the number of active interests a country has<br>num_active_interests > 5<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "num_active_natural_interests",
"contents": "num_active_natural_interests",
"details": "Scope to the number of active natural interests a country has<br>num_active_natural_interests > 5<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "num_active_plays",
"contents": "num_active_plays",
"details": "Get the current number of active Diplomatic Plays the scoped country started<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "num_admirals",
"contents": "num_admirals",
"details": "Scope to the country's number of admirals<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "num_alliances",
"contents": "num_alliances",
"details": "Scope to the number of alliances target country has in total (example: num_alliances:root >= 2)<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "num_alliances_and_defensive_pacts_with_allies",
"contents": "num_alliances_and_defensive_pacts_with_allies",
"details": "Scope to the number of alliances target country has with allies of scope country (example: num_alliances_and_defensive_pacts_with_allies:root >= 2)<br>Requires Data: yes<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "num_alliances_and_defensive_pacts_with_rivals",
"contents": "num_alliances_and_defensive_pacts_with_rivals",
"details": "Scope to the number of alliances & defensive pacts target country has with rivals of scope country (example: num_alliances_and_defensive_pacts_with_rivals:root >= 2)<br>Requires Data: yes<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "num_characters",
"contents": "num_characters",
"details": "Scope to the country's number of characters<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "num_colony_projects",
"contents": "num_colony_projects",
"details": "Get the scoped country's current number of incomplete / in progress colony projects<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "num_commanders",
"contents": "num_commanders",
"details": "Scope to the country's number of commanders<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "num_convoys_available",
"contents": "num_convoys_available",
"details": "Get the scoped country's current number of available convoys<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "num_convoys_required",
"contents": "num_convoys_required",
"details": "Get the scoped country's current number of required convoys<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "num_declared_interests",
"contents": "num_declared_interests",
"details": "Scope to the number of declared interests a country has (including inactive)<br>num_declared_interests > 5<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "num_defensive_pacts",
"contents": "num_defensive_pacts",
"details": "Scope to the number of defensive pacts target country has in total (example: num_defensive_pacts >= 2)<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "num_generals",
"contents": "num_generals",
"details": "Scope to the country's number of generals<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "num_income_transfer_pacts",
"contents": "num_income_transfer_pacts",
"details": "Scope to the number of income-transfering (to others) actions target country has in total (example: num_income_transfer_pacts >= 2)<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "num_incorporated_states",
"contents": "num_incorporated_states",
"details": "Get the scoped country's current number of incorporated states<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "num_interests",
"contents": "num_interests",
"details": "Scope to the number of interests a country has (including inactive)<br>num_interests > 5<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "num_mutual_trade_route_levels_with_country",
"contents": "num_mutual_trade_route_levels_with_country",
"details": "Scope to the number of mutual trade route levels the two countries have to each others' owned markets (example: num_mutual_trade_routes_with_country:root >= 2)<br>Requires Data: yes<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "num_natural_interests",
"contents": "num_natural_interests",
"details": "Scope to the number of natural interests a country has (including inactive)<br>num_natural_interests > 5<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "num_obligations_earned",
"contents": "num_obligations_earned",
"details": "Scope from a country to the number of obligations others owe them (=which they have earned)<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "num_pending_events",
"contents": "num_pending_events",
"details": "Scope to the number of pending events of given category in scope country<br>num_pending_events:enactment > 0<br>Requires Data: yes<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "num_politicians",
"contents": "num_politicians",
"details": "Scope to the country's number of politicians<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "num_positive_relations",
"contents": "num_positive_relations",
"details": "Get the current number of countries with positive Relation with the scoped country<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "num_queued_constructions",
"contents": "num_queued_constructions",
"details": "Scope to the number of queued constructions target country has in total (example: num_queued_constructions >= 2)<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "num_queued_government_constructions",
"contents": "num_queued_government_constructions",
"details": "Scope to the number of queued government constructions target country has in total (example: num_queued_government_constructions >= 2)<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "num_queued_private_constructions",
"contents": "num_queued_private_constructions",
"details": "Scope to the number of queued private constructions target country has in total (example: num_queued_private_constructions >= 2)<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "num_rivals",
"contents": "num_rivals",
"details": "Scope to the number of rivals target country has in total (example: num_rivals >= 2)<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "num_ruling_igs",
"contents": "num_ruling_igs",
"details": "Get the scoped country's current number of IGs in government<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "num_shared_rivals",
"contents": "num_shared_rivals",
"details": "Scope to the number of shared rivals scope country has with target country (example: num_shared_rivals:root >= 2)<br>Requires Data: yes<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "num_states",
"contents": "num_states",
"details": "Get the scoped country's current number of states<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "num_trade_routes",
"contents": "num_trade_routes",
"details": "Get the scoped country's current number of trade routes<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "num_treaty_ports",
"contents": "num_treaty_ports",
"details": "Get the scoped country's current number of treaty ports<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "num_unincorporated_states",
"contents": "num_unincorporated_states",
"details": "Get the scoped country's current number of unincorporated states<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "overlord",
"contents": "overlord",
"details": "Scope to the direct overlord of the country in scope<br>Input Scopes: country<br>Output Scopes: country",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "power_bloc",
"contents": "power_bloc",
"details": "Scope to the power bloc for the scoped country<br>Input Scopes: country<br>Output Scopes: power_bloc",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "py",
"contents": "py",
"details": "Scope to the active party of specified key belonging to the country<br>Requires Data: yes<br>Input Scopes: country<br>Output Scopes: party",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "relations",
"contents": "relations",
"details": "Scope to relations between two countries (example: relations:root >= 2)<br>Requires Data: yes<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "relations_change_rate",
"contents": "relations_change_rate",
"details": "Scope to daily change in relations progress between two countries (example: relations_change_rate:root > 0)<br>Requires Data: yes<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "ruler",
"contents": "ruler",
"details": "Scope to the ruler of a country<br>Input Scopes: country<br>Output Scopes: character",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "technology_being_researched",
"contents": "technology_being_researched",
"details": "Scope to the current technology a country is researching<br>Input Scopes: country<br>Output Scopes: technology",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "techs_researched",
"contents": "techs_researched",
"details": "Scope to the current amount of techs researched of a country<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "tension",
"contents": "tension",
"details": "Scope to tension between two countries (example: tension:root >= 2)<br>Requires Data: yes<br>Input Scopes: country<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "top_overlord",
"contents": "top_overlord",
"details": "Scope to the top overlord of the country in scope<br>Input Scopes: country<br>Output Scopes: country",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "num_export_trade_routes",
"contents": "num_export_trade_routes",
"details": "Get the scoped market good's current number of import trade routes owned by a market member<br>Input Scopes: market_goods<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "num_import_trade_routes",
"contents": "num_import_trade_routes",
"details": "Get the scoped market good's current number of import trade routes owned by a market member<br>Input Scopes: market_goods<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "home_country",
"contents": "home_country",
"details": "Scopes to the home country of an exile<br>Input Scopes: character, pop<br>Output Scopes: country",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "owner",
"contents": "owner",
"details": "Scope to the owner country of object<br>Input Scopes: country, building, character, new_combat_unit, decree, institution, interest_marker, interest_group, journalentry, law, market, market_goods, military_formation, pop, province, state, trade_route<br>Output Scopes: country",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "num_mandates",
"contents": "num_mandates",
"details": "Scope to the number of available mandates of the scoped power bloc (power_bloc.num_mandates > 0)<br>Input Scopes: power_bloc<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "power_bloc_leader",
"contents": "power_bloc_leader",
"details": "Scope to the leader country of the scoped power bloc<br>Input Scopes: power_bloc<br>Output Scopes: country",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "power_struggle_contender",
"contents": "power_struggle_contender",
"details": "Scope to the contender country if there is a power struggle<br>Input Scopes: power_bloc<br>Output Scopes: country",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "attacker_side",
"contents": "attacker_side",
"details": "Scope from a battle to the BattleSide corresponding to the attacker<br>Input Scopes: battle<br>Output Scopes: battle_side",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "defender_side",
"contents": "defender_side",
"details": "Scope from a battle to the BattleSide corresponding to the defender<br>Input Scopes: battle<br>Output Scopes: battle_side",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "num_garrison_units",
"contents": "num_garrison_units",
"details": "Returns the number of units garrisoned in a HQ<br>Input Scopes: hq<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "momentum",
"contents": "momentum",
"details": "Get the scoped party's raw momentum<br>Input Scopes: party<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "combat_width",
"contents": "combat_width",
"details": "Scope to combat width multiplier of scope province<br>Input Scopes: province<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "naval_controller_hq",
"contents": "naval_controller_hq",
"details": "Returns the province or state controller navy HQ<br>Input Scopes: province<br>Output Scopes: hq",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "naval_hq",
"contents": "naval_hq",
"details": "Returns the province or state owner local navy HQ<br>Input Scopes: province<br>Output Scopes: hq",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "civil_war",
"contents": "civil_war",
"details": "Scope to the civil war started by the scoped (revolutionary) political movement.<br>Input Scopes: political_movement<br>Output Scopes: civil_war",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "desired_law",
"contents": "desired_law",
"details": "Scope to the law the scoped political movement wants to enact/preserve.<br>scope:example_movement = { desired_law = law_type:law_serfdom }<br>Input Scopes: political_movement<br>Output Scopes: law_type",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "theater",
"contents": "theater",
"details": "Scope from a BattleSide or State to its theater<br>Input Scopes: battle_side, state<br>Output Scopes: theater",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "region_state",
"contents": "region_state",
"details": "Unknown, add something in code registration<br>Requires Data: yes<br>Input Scopes: state_region<br>Output Scopes: state",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "state",
"contents": "state",
"details": "Scope to the state of the object<br>Input Scopes: building, market, pop, province<br>Output Scopes: state",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "num_provinces",
"contents": "num_provinces",
"details": "Get the scoped entity's current number of provinces<br>scopes: state, stateregion, front<br>Input Scopes: front, state, state_region<br>Output Scopes: value",
"kind": ["namespace", "S", "Scope"]
},
{
"trigger": "building",
"contents": "building",
"details": "Scope to the related building<br>Input Scopes: new_combat_unit<br>Output Scopes: building",
"kind": ["namespace", "S", "Scope"]
},