-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy path1.4.0_triggers.log
5717 lines (3905 loc) · 167 KB
/
1.4.0_triggers.log
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
Trigger Documentation:
--------------------
debug_log = yes - Outputs to the game log when this trigger is hit
debug_log_details = yes - Outputs full trigger content when this trigger is hit
--------------------
any_dynasty_member - Iterate through all dynasty members
any_dynasty_member = { <count=num/all> / <percent=fixed_point> <triggers> }
Supported Scopes: dynasty
Supported Targets: character
--------------------
blood_legacy_track_perks - How many perks in the lifestyle does this dynasty have?
Traits: <, <=, =, !=, >, >=
Supported Scopes: dynasty
--------------------
dynasty_can_unlock_relevant_perk - Can the scoped dynasty unlock a 'relevant' perk? Relevant meaning one that isn't the first in its track unless the dynasty has no partially filled tracks
Traits: yes/no
Supported Scopes: dynasty
--------------------
dynasty_num_unlocked_perks - does the dynasty has the required number of unlocked dynasty perks?
Traits: <, <=, =, !=, >, >=
Supported Scopes: dynasty
--------------------
dynasty_prestige - does the dynasty have the required prestige?
Traits: <, <=, =, !=, >, >=
Supported Scopes: dynasty
--------------------
dynasty_prestige_level - does the dynasty have the required prestige level?
Traits: <, <=, =, !=, >, >=
Supported Scopes: dynasty
--------------------
erudition_legacy_track_perks - How many perks in the lifestyle does this dynasty have?
Traits: <, <=, =, !=, >, >=
Supported Scopes: dynasty
--------------------
fp1_adventure_legacy_track_perks - How many perks in the lifestyle does this dynasty have?
Traits: <, <=, =, !=, >, >=
Supported Scopes: dynasty
--------------------
fp1_pillage_legacy_track_perks - How many perks in the lifestyle does this dynasty have?
Traits: <, <=, =, !=, >, >=
Supported Scopes: dynasty
--------------------
glory_legacy_track_perks - How many perks in the lifestyle does this dynasty have?
Traits: <, <=, =, !=, >, >=
Supported Scopes: dynasty
--------------------
guile_legacy_track_perks - How many perks in the lifestyle does this dynasty have?
Traits: <, <=, =, !=, >, >=
Supported Scopes: dynasty
--------------------
has_dynasty_modifier - Does the scoped dynasty have a given modifier
has_dynasty_modifier = name
Supported Scopes: dynasty
--------------------
has_dynasty_modifier_duration_remaining - Does the scoped dynasty have the duration remaining on a given modifier
has_dynasty_modifier_duration_remaining = name
Supported Scopes: dynasty
--------------------
has_dynasty_perk - Does the dynasty have this dynasty perk? has_dynasty_perk = key
Supported Scopes: dynasty
--------------------
kin_legacy_track_perks - How many perks in the lifestyle does this dynasty have?
Traits: <, <=, =, !=, >, >=
Supported Scopes: dynasty
--------------------
law_legacy_track_perks - How many perks in the lifestyle does this dynasty have?
Traits: <, <=, =, !=, >, >=
Supported Scopes: dynasty
--------------------
warfare_legacy_track_perks - How many perks in the lifestyle does this dynasty have?
Traits: <, <=, =, !=, >, >=
Supported Scopes: dynasty
--------------------
compare_value - Compare the current value.
Traits: <, <=, =, !=, >, >=
Supported Scopes: value
--------------------
any_house_member - Iterate through all house members
any_house_member = { <count=num/all> / <percent=fixed_point> <triggers> }
Supported Scopes: dynasty house
Supported Targets: character
--------------------
has_house_modifier - Does the scoped house have a given modifier
has_house_modifier = name
Supported Scopes: dynasty house
--------------------
has_house_modifier_duration_remaining - Does the scoped house have the duration remaining on a given modifier
has_house_modifier_duration_remaining = name
Supported Scopes: dynasty house
--------------------
any_faith - Iterate through all faiths within a religion
any_faith = { <count=num/all> / <percent=fixed_point> <triggers> }
Supported Scopes: religion
Supported Targets: faith
--------------------
is_in_family - Is the scoped faith in a given religious family
is_in_family = abrhamic
Supported Scopes: religion
--------------------
any_scheme_agent - Iterate through all agents in the scheme
any_scheme_agent = { <count=num/all> / <percent=fixed_point> <triggers> }
Supported Scopes: scheme
Supported Targets: character
--------------------
has_scheme_modifier - Is the scheme currently affected by the specified modifier? has_scheme_modifier = X
Supported Scopes: scheme
--------------------
is_hostile - Is the scoped scheme a hostile scheme?
is_hostile = bool
Traits: yes/no
Supported Scopes: scheme
--------------------
is_scheme_agent_exposed - Is the target character an exposed agent in the scope scheme?
Traits: character target
Supported Scopes: scheme
--------------------
is_scheme_exposed - Is the scheme exposed?
Traits: yes/no
Supported Scopes: scheme
--------------------
scheme_duration_days - The number of days since scheme was started
Traits: <, <=, =, !=, >, >=
Supported Scopes: scheme
--------------------
scheme_is_character_agent - Is the target character part of this scheme?
Traits: character target
Supported Scopes: scheme
--------------------
scheme_monthly_progress - Monthly scheme progress in % (i.e. 50 equals 50%)
Traits: <, <=, =, !=, >, >=
Supported Scopes: scheme
--------------------
scheme_number_of_agents - The number of agents in a scheme
Traits: <, <=, =, !=, >, >=
Supported Scopes: scheme
--------------------
scheme_number_of_exposed_agents - The number of exposed agents in a scheme
Traits: <, <=, =, !=, >, >=
Supported Scopes: scheme
--------------------
scheme_power - Scheme power
Traits: <, <=, =, !=, >, >=
Supported Scopes: scheme
--------------------
scheme_power_resistance_difference - Scheme power minus scheme resistance difference
Traits: <, <=, =, !=, >, >=
Supported Scopes: scheme
--------------------
scheme_power_resistance_ratio - Scheme power/resistance ratio, the ratio is set to +/-10000 if resistance is zero and power is positive/negative (0 if both power and resistance are 0)
Traits: <, <=, =, !=, >, >=
Supported Scopes: scheme
--------------------
scheme_progress - Scheme progress (0 - 10 (defined))
Traits: <, <=, =, !=, >, >=
Supported Scopes: scheme
--------------------
scheme_resistance - Scheme resistance
Traits: <, <=, =, !=, >, >=
Supported Scopes: scheme
--------------------
scheme_secrecy - Scheme secrecy
Traits: <, <=, =, !=, >, >=
Supported Scopes: scheme
--------------------
scheme_skill - Is the scheme currently affected by the specified modifier? has_scheme_modifier = X
Supported Scopes: scheme
--------------------
scheme_success_chance - Scheme success chance
Traits: <, <=, =, !=, >, >=
Supported Scopes: scheme
--------------------
scheme_type - Is the scheme of the specified type? scheme_type = X
Supported Scopes: scheme
--------------------
active_de_jure_drift_progress - task_current_value = scope:county.active_de_jure_drift_progress
Traits: <, <=, =, !=, >, >=
Supported Scopes: landed title
--------------------
any_claimant - Iterate through all claimants to title. parameters: explicit = yes/no/all - default yes
any_claimant = { <count=num/all> / <percent=fixed_point> <triggers> }
Supported Scopes: landed title
Supported Targets: character
--------------------
any_connected_county - Iterate through all counties connected to this one. Is based on top liege
any/every/whatever_connectec_county = {
max_naval_distance = 500
allow_one_county_land_gap = yes
any_connected_county = { <count=num/all> / <percent=fixed_point> <triggers> }
Supported Scopes: landed title
Supported Targets: landed title
--------------------
any_county_province - Iterate through all provinces in a county
any_county_province = { <count=num/all> / <percent=fixed_point> <triggers> }
Supported Scopes: landed title
Supported Targets: province
--------------------
any_de_jure_county_holder - Iterate through all characters directly holding counties within this dejure title
any_de_jure_county_holder = { <count=num/all> / <percent=fixed_point> <triggers> }
Supported Scopes: landed title
Supported Targets: character
--------------------
any_de_jure_top_liege - Iterate through all top lieges of the counts within this dejure title
any_de_jure_top_liege = { <count=num/all> / <percent=fixed_point> <triggers> }
Supported Scopes: landed title
Supported Targets: character
--------------------
any_dejure_vassal_title_holder - Iterate through all the vassal holders of the title
any_dejure_vassal_title_holder = { <count=num/all> / <percent=fixed_point> <triggers> }
Supported Scopes: landed title
Supported Targets: character
--------------------
any_election_candidate - Iterate through all characters who are valid candidates in an election for a title
any_election_candidate = { <count=num/all> / <percent=fixed_point> <triggers> }
Supported Scopes: landed title
Supported Targets: character
--------------------
any_elector - Iterate through all characters who are valid electors in an election for a title
any_elector = { <count=num/all> / <percent=fixed_point> <triggers> }
Supported Scopes: landed title
Supported Targets: character
--------------------
any_in_de_facto_hierarchy - Iterate through the title itself, all de facto vassals, and below. The continue trigger specifies whether to recursively iterate through the vassal's vassal
This is unrelated to the limit; if the limit is met it is added to the list, but its vassals will get checked even if the limit isn't met as long as the 'continue' trigger is
..._de_jure_vassal_and_below = { continue = { conditions } }
any_in_de_facto_hierarchy = { <count=num/all> / <percent=fixed_point> <triggers> }
Supported Scopes: landed title
Supported Targets: landed title
--------------------
any_in_de_jure_hierarchy - Iterate through the title itself, all de jure vassals, and below. The continue trigger specifies whether to recursively iterate through the vassal's vassal
This is unrelated to the limit; if the limit is met it is added to the list, but its vassals will get checked even if the limit isn't met as long as the 'continue' trigger is
..._de_jure_vassal_and_below = { continue = { conditions } }
any_in_de_jure_hierarchy = { <count=num/all> / <percent=fixed_point> <triggers> }
Supported Scopes: landed title
Supported Targets: landed title
--------------------
any_neighboring_county - Iterate through all neighboring counties. Can only be used in county scope
any_neighboring_county = { <count=num/all> / <percent=fixed_point> <triggers> }
Supported Scopes: landed title
Supported Targets: landed title
--------------------
any_this_title_or_de_jure_above - Iterate through this title and all its dejure liege titles
any_this_title_or_de_jure_above = { <count=num/all> / <percent=fixed_point> <triggers> }
Supported Scopes: landed title
Supported Targets: landed title
--------------------
any_title_heir - Line of succession for the scoped title
any_title_heir = { <count=num/all> / <percent=fixed_point> <triggers> }
Supported Scopes: landed title
Supported Targets: character
--------------------
any_title_joined_faction - Iterate through all factions joined the scope landed title
any_title_joined_faction = { <count=num/all> / <percent=fixed_point> <triggers> }
Supported Scopes: landed title
Supported Targets: faction
--------------------
any_title_to_title_neighboring_and_across_water_barony - Scopes from a title to a neighboring barony (incl. across water, looking trough the de Jure lieges)
any_title_to_title_neighboring_and_across_water_barony = { <count=num/all> / <percent=fixed_point> <triggers> }
Supported Scopes: landed title
Supported Targets: landed title
--------------------
any_title_to_title_neighboring_and_across_water_county - Scopes from a title to a neighboring county (incl. across water, looking trough the de Jure lieges)
any_title_to_title_neighboring_and_across_water_county = { <count=num/all> / <percent=fixed_point> <triggers> }
Supported Scopes: landed title
Supported Targets: landed title
--------------------
any_title_to_title_neighboring_and_across_water_duchy - Scopes from a title to a neighboring duchy (incl. across water, looking trough the de Jure lieges)
any_title_to_title_neighboring_and_across_water_duchy = { <count=num/all> / <percent=fixed_point> <triggers> }
Supported Scopes: landed title
Supported Targets: landed title
--------------------
any_title_to_title_neighboring_and_across_water_empire - Scopes from a title to a neighboring empire (incl. across water, looking trough the de Jure lieges)
any_title_to_title_neighboring_and_across_water_empire = { <count=num/all> / <percent=fixed_point> <triggers> }
Supported Scopes: landed title
Supported Targets: landed title
--------------------
any_title_to_title_neighboring_and_across_water_kingdom - Scopes from a title to a neighboring kingdom (incl. across water, looking trough the de Jure lieges)
any_title_to_title_neighboring_and_across_water_kingdom = { <count=num/all> / <percent=fixed_point> <triggers> }
Supported Scopes: landed title
Supported Targets: landed title
--------------------
any_title_to_title_neighboring_barony - Scopes from a title to a neighboring barony (looking trough the de Jure lieges)
any_title_to_title_neighboring_barony = { <count=num/all> / <percent=fixed_point> <triggers> }
Supported Scopes: landed title
Supported Targets: landed title
--------------------
any_title_to_title_neighboring_county - Scopes from a title to a neighboring county (looking trough the de Jure lieges)
any_title_to_title_neighboring_county = { <count=num/all> / <percent=fixed_point> <triggers> }
Supported Scopes: landed title
Supported Targets: landed title
--------------------
any_title_to_title_neighboring_duchy - Scopes from a title to a neighboring duchy (looking trough the de Jure lieges)
any_title_to_title_neighboring_duchy = { <count=num/all> / <percent=fixed_point> <triggers> }
Supported Scopes: landed title
Supported Targets: landed title
--------------------
any_title_to_title_neighboring_empire - Scopes from a title to a neighboring empire (looking trough the de Jure lieges)
any_title_to_title_neighboring_empire = { <count=num/all> / <percent=fixed_point> <triggers> }
Supported Scopes: landed title
Supported Targets: landed title
--------------------
any_title_to_title_neighboring_kingdom - Scopes from a title to a neighboring kingdom (looking trough the de Jure lieges)
any_title_to_title_neighboring_kingdom = { <count=num/all> / <percent=fixed_point> <triggers> }
Supported Scopes: landed title
Supported Targets: landed title
--------------------
can_be_leased_out - Can the scoped title be leased out?
Traits: yes/no
Supported Scopes: landed title
--------------------
can_title_create_faction - can the title create the faction of the specified type against the specified character?
can_title_create_faction = { type = X target = Y }
Supported Scopes: landed title
--------------------
can_title_join_faction - Can the scope title join the faction? can_title_join_faction = faction
Supported Scopes: landed title
--------------------
county_control - does the county title have the required county countrol?
Traits: <, <=, =, !=, >, >=
Supported Scopes: landed title
--------------------
county_control_rate - how much county control is the county gaining each month?
Traits: <, <=, =, !=, >, >=
Supported Scopes: landed title
--------------------
county_control_rate_modifier - What's the multiplier to the control gain rate? E.G., if there's just a +20% modifier, this would return 1.2
Traits: <, <=, =, !=, >, >=
Supported Scopes: landed title
--------------------
county_holder_opinion - Compares the county's opinion of its holder
Traits: <, <=, =, !=, >, >=
Supported Scopes: landed title
--------------------
county_opinion - compares the county's opinion of the current count
Traits: <, <=, =, !=, >, >=
Supported Scopes: landed title
--------------------
county_opinion_target - compares the county's opinion of the target character to the specified value, county_opinion_target = { target = X value >/</= Y }
Supported Scopes: landed title
--------------------
de_jure_drift_progress - Compare drift progress towards target with value<drifting_title> = { de_jure_drif_progress = { target = <drift_target_title> value > 50 } }
Supported Scopes: landed title
--------------------
de_jure_drifting_towards - Is the scoped landed title de jure drifts toward another title?<drifting_title> = { de_jure_drifting_towards = <drift_target_title> }
Traits: landed title scope
Supported Scopes: landed title
Supported Targets: landed title
--------------------
development_level - does the county title have the required county development level?
Traits: <, <=, =, !=, >, >=
Supported Scopes: landed title
--------------------
development_rate - how much development progress is the county gaining each month?
Traits: <, <=, =, !=, >, >=
Supported Scopes: landed title
--------------------
development_rate_modifier - What's the multiplier to the development progress?
Traits: <, <=, =, !=, >, >=
Supported Scopes: landed title
--------------------
development_towards_level_increase - does the county title have the required progress towards the next level of development? E.G., if level 1 is 100, level 2 is 300 (these are set in defines), and current total is 150, this would return 50
Traits: <, <=, =, !=, >, >=
Supported Scopes: landed title
--------------------
has_character_nominiated - Has the target character nominated a successor for the scoped title
Traits: character target
Supported Scopes: landed title
--------------------
has_county_modifier - Does the scoped county have a given modifier
has_county_modifier = name
Supported Scopes: landed title
--------------------
has_county_modifier_duration_remaining - Does the scoped county have the duration remaining on a given modifier
has_county_modifier_duration_remaining = name
Supported Scopes: landed title
--------------------
has_disabled_building - Is the scope landed title connected to a holding that contains at least one disabled building?
Traits: yes/no
Supported Scopes: landed title
--------------------
has_holy_site_flag - Does the barony have a holy site with the given flag? has_holy_site_flag = some flag
Supported Scopes: landed title
--------------------
has_order_of_succession - Does the scoped title have a given order of succession
has_order_of_succession = election
Supported Scopes: landed title
--------------------
has_revokable_lease - Is the title under a lease that can be revoked manually?
Traits: yes/no
Supported Scopes: landed title
--------------------
has_title_law - Does the scoped title have the given title-specifc-law?
Supported Scopes: landed title
--------------------
has_title_law_flag - Does the scoped title have a title-specific law with the given flag?
Supported Scopes: landed title
--------------------
has_user_set_coa - Has the user set a specific coat of arms for this title?
Traits: yes/no
Supported Scopes: landed title
--------------------
has_wrong_holding_type - Is the scope landed title connected to a holding that cannot be governed by the current lessee or holder?
Traits: yes/no
Supported Scopes: landed title
--------------------
is_capital_barony - Is title in the scope a capital barony?
Traits: yes/no
Supported Scopes: landed title
--------------------
is_coastal_county - is the county coastal?
Traits: yes/no
Supported Scopes: landed title
--------------------
is_connected_to - Is the county connected to the other county? Is based on top liege
is_connected_to = {
max_naval_distance = 500
allow_one_county_land_gap = yes
target = some other county
}
Supported Scopes: landed title
--------------------
is_contested - Is the scope landed title contested in any war?
Traits: yes/no
Supported Scopes: landed title
--------------------
is_de_facto_liege_or_above_target - is the title de facto liege or above the target title?
Traits: landed title target
Supported Scopes: landed title
--------------------
is_de_jure_liege_or_above_target - is the title de jure liege or above the target title?
Traits: landed title target
Supported Scopes: landed title
--------------------
is_head_of_faith - Is this title a head of faith title
Traits: yes/no
Supported Scopes: landed title
--------------------
is_holy_order - Is the scope landed title a holy order?
Traits: yes/no
Supported Scopes: landed title
--------------------
is_holy_site - Is the barony a holy site of any faith? is_holy_site = yes
Traits: yes/no
Supported Scopes: landed title
--------------------
is_holy_site_controlled_by - Does the target character control a holy site of the scoped object
is_holy_site_controlled_by = root
Traits: character scope
Supported Scopes: landed title
Supported Targets: character
--------------------
is_holy_site_of - Is the barony a holy site of the given faith? is_holy_site_of = some faith
Supported Scopes: landed title
--------------------
is_landless_type_title - Is this title considered a landless type title?
Traits: yes/no
Supported Scopes: landed title
--------------------
is_leased_out - Is the scoped title leased out?
Traits: yes/no
Supported Scopes: landed title
--------------------
is_mercenary_company - Is the scope landed title a mercenary company?
Traits: yes/no
Supported Scopes: landed title
--------------------
is_neighbor_to_realm - Is this landed title adjacent to the character's realm
is_neighbor_to_realm = character
Traits: character scope
Supported Scopes: landed title
Supported Targets: character
--------------------
is_target_of_council_task - Is the county currently affected by the specified council task? Needs to be in a county title scope
Supported Scopes: landed title
--------------------
is_title_created - Is title in the scope created?
Traits: yes/no
Supported Scopes: landed title
--------------------
is_titular - Is this title titular (has no dejure counties in it, and is not a barony/county)?
Traits: yes/no
Supported Scopes: landed title
--------------------
is_under_holy_order_lease - Is the scoped title leased out to any holy order?
Traits: yes/no
Supported Scopes: landed title
--------------------
place_in_line_of_succession - what place in line of succession does the character hold?
Supported Scopes: landed title
--------------------
recent_history - Does the scope title have a history entry of the specified type in recent history?
recent_history = { type = X days/months/years = Y }
The type can be omitted, all history types are considered then
Possible types:
conquest
conquest_holy_war
conquest_claim
conquest_populist
election
inheritance
abdication
created
destroyed
usurped
granted
revoked
independency
leased_out
lease_revoked
returned
faction_demand
swear_fealty
Supported Scopes: landed title
--------------------
target_is_de_facto_liege_or_above - is the target title de facto liege or above?
Traits: landed title target
Supported Scopes: landed title
--------------------
target_is_de_jure_liege_or_above - is the target title de jure liege or above?
Traits: landed title target
Supported Scopes: landed title
--------------------
tier - What tier is the scoped title? barony = 1, empire = 5. Use the script values please, not raw numbers
Traits: <, <=, =, !=, >, >=
Supported Scopes: landed title
--------------------
title_create_faction_type_chance - Check if the chance to create a faction against a target of the scope landed title is is true against the scripted value
title_create_faction_type_chance = {
type = faction_type #An ongoing faction
target = target_character
value <|<=|>=|> 0
}
Supported Scopes: landed title
--------------------
title_held_years - Returns the number of years a title is held if valid (otherwise returns 0)
Traits: <, <=, =, !=, >, >=
Supported Scopes: landed title
--------------------
title_is_a_faction_member - Is the scope title a member of a faction?
Traits: yes/no
Supported Scopes: landed title
--------------------
title_join_faction_chance - Check if the chance of the scope landed title to join the faction against the scripted value
title_join_faction_chance = {
faction = faction_target #An ongoing faction
value <|<=|>=|> 0
}
Supported Scopes: landed title
--------------------
title_will_leave_sub_realm_on_succession - Will the title leave the sub-realm of the character on the right-hand-side upon succession? That is, is the first heir in someone outside the sub-realm, and the highest tier title they'll inherit from the person holding the title is not higher than their current tier
Traits: character target
Supported Scopes: landed title
--------------------
story_type - Is the story in scope of this type?
Supported Scopes: story cycle
--------------------
can_get_innovation_from - Get random applicable innovation from another culture
Supported Scopes: culture
--------------------
has_all_innovations - Has the culture discovered all innovations matching the filter?
has_all_innovations = {
with_flag = flag_name # innovation matches if it has the flag; optional
without_flag = flag_name # innovation matches if it does not have the flag; optional
culture_era = era_key # innovation matches if it is from the era; optional
}
Supported Scopes: culture
--------------------
has_cultural_era_or_later - Has this culture achieved specified era<culture> = { has_cultural_era_or_later = culture_era_early_medieval }
Supported Scopes: culture
--------------------
has_graphical_culture - Does the culture (or its culture group) have this graphical culture?
<culture> = { has_graphical_culture = celticgfx }
Supported Scopes: culture
--------------------
has_innovation - Have the culture discovered this innovation?
Supported Scopes: culture
--------------------
has_innovation_flag - Has the culture discovered an innovation with this flag? has_innovation_flag = flag
Supported Scopes: culture
--------------------
mercenary_company_expiration_days - How many days are left in the mercenary contract. 0 if not hired.
Traits: <, <=, =, !=, >, >=
Supported Scopes: mercenary company
--------------------
age - is the character old/young enough?
Traits: <, <=, =, !=, >, >=
Supported Scopes: character
--------------------
ai_boldness - AI boldness
Traits: <, <=, =, !=, >, >=
Supported Scopes: character
--------------------
ai_compassion - AI compassion
Traits: <, <=, =, !=, >, >=
Supported Scopes: character
--------------------
ai_diplomacy_stance - The AI's diplomatic view of the target character
ai_diplomacy_stance = {
target = target_character
stance = neutral/threat/enemy/friend
}
Supported Scopes: character
--------------------
ai_energy - AI energy
Traits: <, <=, =, !=, >, >=
Supported Scopes: character
--------------------
ai_greed - AI greed
Traits: <, <=, =, !=, >, >=
Supported Scopes: character
--------------------
ai_honor - AI honor
Traits: <, <=, =, !=, >, >=
Supported Scopes: character
--------------------
ai_rationality - AI rationality
Traits: <, <=, =, !=, >, >=
Supported Scopes: character
--------------------
ai_reserved_gold - does the character have the required gold? (AI category reserved)
Traits: <, <=, =, !=, >, >=
Supported Scopes: character
--------------------
ai_sociability - AI sociability
Traits: <, <=, =, !=, >, >=
Supported Scopes: character
--------------------
ai_values_divergence - target = other character value >/</= sum of differences in ai values
Supported Scopes: character
--------------------
ai_vengefulness - AI vengefulness
Traits: <, <=, =, !=, >, >=
Supported Scopes: character
--------------------
ai_war_chest - does the character have the required gold? (AI category war chest)
Traits: <, <=, =, !=, >, >=
Supported Scopes: character
--------------------
ai_zeal - AI zeal
Traits: <, <=, =, !=, >, >=
Supported Scopes: character
--------------------
allowed_concubines - Can the scope owner have concubines?
Traits: yes/no
Supported Scopes: character
--------------------
allowed_more_concubines - Can the scope owner have more concubines?
Traits: yes/no
Supported Scopes: character
--------------------
allowed_more_spouses - Can the scope owner have more spouses?
Traits: yes/no
Supported Scopes: character
--------------------
any_alert_creatable_title - Iterate through all titles that can be created by the character. (only for alerts)
any_alert_creatable_title = { <count=num/all> / <percent=fixed_point> <triggers> }
Supported Scopes: character
Supported Targets: landed title
--------------------
any_alert_usurpable_title - Iterate through all titles that can be usurped by the character. (only for alerts)
any_alert_usurpable_title = { <count=num/all> / <percent=fixed_point> <triggers> }
Supported Scopes: character
Supported Targets: landed title
--------------------
any_ally - Iterate through all allies
any_ally = { <count=num/all> / <percent=fixed_point> <triggers> }
Supported Scopes: character
Supported Targets: character
--------------------
any_ancestor - Iterate through all the ancestors of the scope character up to 5 generations
any_ancestor = { <count=num/all> / <percent=fixed_point> <triggers> }
Supported Scopes: character
Supported Targets: character
--------------------
any_army - Iterate through all armies
any_army = { <count=num/all> / <percent=fixed_point> <triggers> }
Supported Scopes: character
Supported Targets: army
--------------------
any_character_to_title_neighboring_and_across_water_county - Scopes from a character to a neighboring county (incl. across water, looking trough the de Jure lieges)
any_character_to_title_neighboring_and_across_water_county = { <count=num/all> / <percent=fixed_point> <triggers> }
Supported Scopes: character
Supported Targets: landed title
--------------------
any_character_to_title_neighboring_and_across_water_duchy - Scopes from a character to a neighboring duchy (incl. across water, looking trough the de Jure lieges)
any_character_to_title_neighboring_and_across_water_duchy = { <count=num/all> / <percent=fixed_point> <triggers> }
Supported Scopes: character
Supported Targets: landed title
--------------------