-
Notifications
You must be signed in to change notification settings - Fork 8
/
1.10.2_event_targets.log
1407 lines (1024 loc) · 28.7 KB
/
1.10.2_event_targets.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
Event Target Documentation:
--------------------
dynast - Get dynasty head ( dynast ) of scoped character
Input Scopes: dynasty
Output Scopes: character
--------------------
activity_host - Get host character of the scoped activity
Input Scopes: activity
Output Scopes: character
--------------------
activity_location - Get current location of the scoped activity
Input Scopes: activity
Output Scopes: province
--------------------
activity_type - Get the type of a given activity
Input Scopes: activity
Output Scopes: activity_type
--------------------
calc_culture_dominant_faith - Calculates what faith is the biggest in the culture based on # of counties. Be aware that this is an *expensive* calculation. In a tie, definition order breaks the tie
Input Scopes: culture
Output Scopes: faith
--------------------
calc_culture_dominant_religion - Calculates what religion is the biggest in the culture based on # of counties. Be aware that this is an *expensive* calculation. In a tie, definition order breaks the tie
Input Scopes: culture
Output Scopes: religion
--------------------
culture_head - Get culture head of scoped culture
Input Scopes: culture
Output Scopes: character
--------------------
memory_owner - Get the owner of a character memory
Input Scopes: character_memory
Output Scopes: character
--------------------
memory_participant - Get the participant of a given tag from a memory
Requires Data: yes
Input Scopes: character_memory
Output Scopes: character
--------------------
house_founder - Get house founder of the scoped house
Input Scopes: dynasty_house
Output Scopes: character
--------------------
house_head - Get house head of the scoped character
Input Scopes: dynasty_house
Output Scopes: character
--------------------
last_house_head - Get last house head of scoped house
Input Scopes: dynasty_house
Output Scopes: character
--------------------
faith - Get faith of scoped character, province, title or great holy war
Input Scopes: character, landed_title, province, ghw
Output Scopes: faith
--------------------
councillor - Scope to the councillor in a council task
Input Scopes: council_task
Output Scopes: character
--------------------
secret_owner - Get owner of scoped secret
Input Scopes: secret
Output Scopes: character
--------------------
secret_target - Get target character of scoped secret
Input Scopes: secret
Output Scopes: character
--------------------
army_commander - Get commander of scoped army
Input Scopes: army
Output Scopes: character
--------------------
army_owner - Get owner of scoped army
Input Scopes: army
Output Scopes: character
--------------------
current_location - Get the current province of the travel plan.
Input Scopes: travel_plan
Output Scopes: province
--------------------
departure_location - Get the province from which this travel plan started.
Input Scopes: travel_plan
Output Scopes: province
--------------------
final_destination_province - Get the final (last) destination province of the travel plan.
Input Scopes: travel_plan
Output Scopes: province
--------------------
next_destination_province - Get the next destination province of the travel plan. If you are at a destination province, it will be the one after that one.
Input Scopes: travel_plan
Output Scopes: province
--------------------
next_location - Get the next province the travel plan is going to.
Input Scopes: travel_plan
Output Scopes: province
--------------------
travel_leader - Get the Travel Leader of the scoped travel plan
Input Scopes: travel_plan
Output Scopes: character
--------------------
travel_plan_activity - Activity associated with the scoped travel plan. (may be empty)
Input Scopes: travel_plan
Output Scopes: activity
--------------------
travel_plan_owner - Get the owner of the scoped travel plan
Input Scopes: travel_plan
Output Scopes: character
--------------------
founder - Get founder of scoped faith
Input Scopes: faith
Output Scopes: character
--------------------
great_holy_war - Get great holy war of scoped faith
Input Scopes: faith
Output Scopes: ghw
--------------------
religious_head - Get religious head of scoped faith
Input Scopes: faith
Output Scopes: character
--------------------
religious_head_title - Get landed title belonging to the religious head of the scoped faith
Input Scopes: faith
Output Scopes: landed_title
--------------------
location - Get province of scoped army, character or combat
Input Scopes: character, combat, army
Output Scopes: province
--------------------
ghw_designated_winner - Get designated winner of scoped great holy war
Input Scopes: ghw
Output Scopes: character
--------------------
ghw_target_character - Get target character of scoped great holy war
Input Scopes: ghw
Output Scopes: character
--------------------
ghw_target_title - Get target landed title of scoped great holy war
Input Scopes: ghw
Output Scopes: landed_title
--------------------
ghw_title_recipient - Get the title recipient of scoped great holy war
Input Scopes: ghw
Output Scopes: character
--------------------
ghw_war - Get great holy war from scoped war
Input Scopes: ghw
Output Scopes: war
--------------------
ghw_war_declarer - Get declarer of scoped great holy war
Input Scopes: ghw
Output Scopes: character
--------------------
religion - Get religion of scoped faith, character, province, title or great holy war
Input Scopes: character, landed_title, province, faith, ghw
Output Scopes: religion
--------------------
vassal_contract_type - Get the type of a given activity
Input Scopes: vassal_contract_obligation_level
Output Scopes: vassal_contract
--------------------
war - Get war of scoped casus belli
Input Scopes: casus_belli
Output Scopes: war
--------------------
claimant - Get claimant of scoped casus belli or war
Input Scopes: war, casus_belli
Output Scopes: character
--------------------
primary_attacker - Get primary attacker of scoped casus belli or war
Input Scopes: war, casus_belli
Output Scopes: character
--------------------
primary_defender - Get primary defender of scoped casus belli or war
Input Scopes: war, casus_belli
Output Scopes: character
--------------------
artifact_age - Get age of scoped artifact
Input Scopes: artifact
Output Scopes: value
--------------------
artifact_owner - Get owner of scoped artifact
Input Scopes: artifact
Output Scopes: character
--------------------
creator - Get creator of scoped artifact
Input Scopes: artifact
Output Scopes: character
--------------------
previous_owner - Get the previous owner of the scoped activity
Input Scopes: artifact
Output Scopes: character
--------------------
previous_owner_level_2 - Get the 2 previous owner of the scoped activity
Input Scopes: artifact
Output Scopes: character
--------------------
previous_owner_level_3 - Get the 3 previous owner of the scoped activity
Input Scopes: artifact
Output Scopes: character
--------------------
mercenary_company_leader - Get leader of scoped mercenary company
Input Scopes: mercenary_company
Output Scopes: character
--------------------
accolade_type - Get the accolade_type with the specified key
Requires Data: yes
Global Link: yes
Output Scopes: accolade_type
--------------------
activity_type - Get the activity_type with the specified key
Requires Data: yes
Global Link: yes
Output Scopes: activity_type
--------------------
array_define - Reference the value of a numeric value in an array define: array_define:Namespace|Name|Index. Index is 0-based.
Requires Data: yes
Global Link: yes
Output Scopes: value
--------------------
character - Global link to historical ( scripted ) character scope of the given character string
Requires Data: yes
Global Link: yes
Output Scopes: character
--------------------
compare_complex_value - 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)
Wild Card: yes
Requires Data: yes
Output Scopes: value
--------------------
compare_value - A comparison trigger that will return its value in the context it is used eg: root.gold
Wild Card: yes
Output Scopes: value
--------------------
culture - Global link to culture scope of given culture string
Requires Data: yes
Global Link: yes
Output Scopes: culture
--------------------
culture_pillar - Get the culture_pillar with the specified key
Requires Data: yes
Global Link: yes
Output Scopes: culture_pillar
--------------------
culture_tradition - Get the culture_tradition with the specified key
Requires Data: yes
Global Link: yes
Output Scopes: culture_tradition
--------------------
decision - Get the decision with the specified key
Requires Data: yes
Global Link: yes
Output Scopes: decision
--------------------
define - Reference the value of a numeric define: define:Namespace|Name
Requires Data: yes
Global Link: yes
Output Scopes: value
--------------------
doctrine - Get the doctrine with the specified key
Requires Data: yes
Global Link: yes
Output Scopes: doctrine
--------------------
dummy_female - Global link to the dummy female character
Global Link: yes
Output Scopes: character
--------------------
dummy_male - Global link to the dummy male character
Global Link: yes
Output Scopes: character
--------------------
dynasty - Link to dynasty scope of the given dynasty string
Requires Data: yes
Output Scopes: dynasty
--------------------
event_id - Global link to event scope of the given event id
Global Link: yes
Output Scopes: flag
--------------------
faith - Global link to faith scope of given faith string
Requires Data: yes
Global Link: yes
Output Scopes: faith
--------------------
flag - Flag literals eg: flag:the_boss
Requires Data: yes
Global Link: yes
Output Scopes: flag
--------------------
global_var - Reference a previous set global variable via its name eg: global_var:important_thing
Requires Data: yes
Global Link: yes
--------------------
government_type - Get the government_type with the specified key
Requires Data: yes
Global Link: yes
Output Scopes: government_type
--------------------
house - Link to house scope of the given house string
Requires Data: yes
Output Scopes: dynasty_house
--------------------
local_var - Reference a previous set local variable via its name eg: local_var:person_of_interest
Requires Data: yes
Global Link: yes
--------------------
named_script_value - A script value that will calculate and returns its value in the context it is used
Wild Card: yes
Output Scopes: value
--------------------
no - Boolean literal for false values
Global Link: yes
Output Scopes: boolean
--------------------
prev - The previous scope
Global Link: yes
--------------------
province - Directly scope to a specific province by its ID
Requires Data: yes
Global Link: yes
Output Scopes: province
--------------------
religion - Global link to religion scope of given religion string
Requires Data: yes
Global Link: yes
Output Scopes: religion
--------------------
root - The head of the current top scope eg: reciever of an event, taker of a decision
Global Link: yes
--------------------
scope - Reference a previously saved scope via its name eg: scope:target
Requires Data: yes
Global Link: yes
--------------------
special_guest - Get the special guest of the given type key in the scoped activity
Requires Data: yes
--------------------
struggle - Global link to struggle of the given key
Requires Data: yes
Global Link: yes
Output Scopes: struggle
--------------------
this - The current scope
--------------------
title - Global link to title scope of given landed title template string
Requires Data: yes
Global Link: yes
Output Scopes: landed_title
--------------------
trait - Get the trait with the specified key
Requires Data: yes
Global Link: yes
Output Scopes: trait
--------------------
value - A numeric literal value eg: 1, 5.2, -6
Wild Card: yes
Global Link: yes
Output Scopes: value
--------------------
var - Reference a previous set variable via its name eg: var:mortal_enemy
Requires Data: yes
--------------------
vassal_contract - Get the vassal_contract with the specified key
Requires Data: yes
Global Link: yes
Output Scopes: vassal_contract
--------------------
yes - Boolean literal for true values
Global Link: yes
Output Scopes: boolean
--------------------
province_owner - Get province owner of scoped province
Input Scopes: province
Output Scopes: character
--------------------
casus_belli - Get casus belli of scoped war
Input Scopes: war
Output Scopes: casus_belli
--------------------
holy_order_patron - Get patron of scoped holy order
Input Scopes: holy_order
Output Scopes: character
--------------------
leader - Get leader of scoped holy order
Input Scopes: holy_order
Output Scopes: character
--------------------
title - Get landed title of scoped holy order
Input Scopes: holy_order
Output Scopes: landed_title
--------------------
acclaimed_knight - Get the Acclaimed Knight of given Accolade
Input Scopes: accolade
Output Scopes: character
--------------------
accolade_owner - Get the Owner of given Accolade
Input Scopes: accolade
Output Scopes: character
--------------------
accolade_successor - Get the Successor of given Accolade
Input Scopes: accolade
Output Scopes: character
--------------------
founder_culture - Get the founder Culture of given Accolade
Input Scopes: accolade
Output Scopes: culture
--------------------
founder_dynasty - Get the founder Dynasty of given Accolade
Input Scopes: accolade
Output Scopes: dynasty
--------------------
founder_faith - Get the founder Faith of given Accolade
Input Scopes: accolade
Output Scopes: faith
--------------------
founder_house - Get the founder House of given Accolade
Input Scopes: accolade
Output Scopes: dynasty_house
--------------------
primary_type - Get the primary Accolade Type of given Accolade
Input Scopes: accolade
Output Scopes: accolade_type
--------------------
secondary_type - Get the secondary Accolade Type of given Accolade
Input Scopes: accolade
Output Scopes: accolade_type
--------------------
scheme_artifact - Get artifact of scoped scheme
Input Scopes: scheme
Output Scopes: artifact
--------------------
scheme_defender - Get defender of scoped scheme
Input Scopes: scheme
Output Scopes: character
--------------------
scheme_owner - Get owner of scoped scheme
Input Scopes: scheme
Output Scopes: character
--------------------
scheme_target - Get target character of scoped scheme
Input Scopes: scheme
Output Scopes: character
--------------------
story_owner - Get owner of scoped story
Input Scopes: story
Output Scopes: character
--------------------
accolade - Get the Accolade of which this character is the Acclaimed Knight
Input Scopes: character
Output Scopes: accolade
--------------------
aptitude - The aptitude of the provided court position type for the scoped character.
Requires Data: yes
Input Scopes: character
Output Scopes: value
--------------------
betrothed - Get the betrothed of the scoped character
Input Scopes: character
Output Scopes: character
--------------------
capital_barony - Get capital barony title ( realm capital ) of scoped character
Input Scopes: character
Output Scopes: landed_title
--------------------
capital_county - Get de jure liege title of the capital county ( realm capital ) of the scoped character
Input Scopes: character
Output Scopes: landed_title
--------------------
capital_province - Get capital province of scoped character
Input Scopes: character
Output Scopes: province
--------------------
commanding_army - Get commanding army of scoped character
Input Scopes: character
Output Scopes: army
--------------------
concubinist - Get concubinist of the scoped character
Input Scopes: character
Output Scopes: character
--------------------
council_task - Scope to the active task of the scoped councillor
Input Scopes: character
Output Scopes: council_task
--------------------
council_task - Scope to the active task of the given council position, ex. scope:council_task_steward
Requires Data: yes
Input Scopes: character
Output Scopes: council_task
--------------------
councillor_task_target - Scope to the active task target of the scoped councillor
Input Scopes: character
--------------------
court_owner - Get the court owner of the scoped character
Input Scopes: character
Output Scopes: character
--------------------
court_position - The character currently employed in a specific court position.
Requires Data: yes
Input Scopes: character
Output Scopes: character
--------------------
cp - Scope to the councillor of the given type, ex. scope:cp_steward
Requires Data: yes
Input Scopes: character
Output Scopes: character
--------------------
current_travel_plan - Get the character's current travel plan
Input Scopes: character
Output Scopes: travel_plan
--------------------
default_location - Get the province which the 'default' location a character should be at when not traveling. (considers imprisonment and other things.)
Input Scopes: character
Output Scopes: province
--------------------
designated_diarch - Get the designated diarch of a ruler
Input Scopes: character
Output Scopes: character
--------------------
designated_heir - Get designated heir of scoped character
Input Scopes: character
Output Scopes: character
--------------------
diarch - Get the active diarch of a ruler
Input Scopes: character
Output Scopes: character
--------------------
diarchy_successor - Get the next character in the diarchy line of successon
Input Scopes: character
Output Scopes: character
--------------------
dynasty - Get dynasty of scoped character
Input Scopes: character
Output Scopes: dynasty
--------------------
employer - Get employer of scoped character
Input Scopes: character
Output Scopes: character
--------------------
father - Get father of the scoped character
Input Scopes: character
Output Scopes: character
--------------------
ghw_beneficiary - Get great holy war beneficiary of scoped character
Input Scopes: character
Output Scopes: character
--------------------
home_court - Get the home court owner of the scoped hostage. Returns empty scope if the character is not a hostage
Input Scopes: character
Output Scopes: character
--------------------
host - Get current host of the scoped character
Input Scopes: character
Output Scopes: character
--------------------
house - Get house of the scoped character
Input Scopes: character
Output Scopes: dynasty_house
--------------------
imprisoner - Get imprisoner of scoped character
Input Scopes: character
Output Scopes: character
--------------------
inspiration - Get the current inspiration of the scoped character, may not exist if they have no inspiration
Input Scopes: character
Output Scopes: inspiration
--------------------
intent_target - Get the intent target of scoped character
Input Scopes: character
Output Scopes: character
--------------------
involved_activity - Get involved activity of scoped character
Input Scopes: character
Output Scopes: activity
--------------------
joined_faction - Get joined faction of scoped character
Input Scopes: character
Output Scopes: faction
--------------------
killer - Get the scoped characters killer
Input Scopes: character
Output Scopes: character
--------------------
knight_army - Get knight army of scoped character
Input Scopes: character
Output Scopes: army
--------------------
last_played_character - Get last played character of the currently scoped player character
Input Scopes: character
Output Scopes: character
--------------------
liege - Get the liege of the scoped character
Input Scopes: character
Output Scopes: character
--------------------
liege_or_court_owner - Get the liege of the scoped character, if non then get court owner
Input Scopes: character
Output Scopes: character
--------------------
matchmaker - Get matchmaker of the scoped character
Input Scopes: character
Output Scopes: character
--------------------
mother - Get mother of the scoped character
Input Scopes: character
Output Scopes: character
--------------------
player_heir - Get player heir of scoped character
Input Scopes: character
Output Scopes: character
--------------------
pregnancy_assumed_father - Get the assumed father of the scoped characters unborn baby
Input Scopes: character
Output Scopes: character
--------------------
pregnancy_real_father - Get the real father of the scoped characters unborn baby
Input Scopes: character
Output Scopes: character
--------------------
primary_heir - Get primary heir of scoped character
Input Scopes: character
Output Scopes: character
--------------------
primary_partner - Get the primary partner ( consort ) of the scoped character
Input Scopes: character
Output Scopes: character
--------------------
primary_spouse - Get the primary spouse of the scoped character
Input Scopes: character
Output Scopes: character
--------------------
primary_title - Get primary title of scoped character
Input Scopes: character
Output Scopes: landed_title
--------------------
real_father - Get the real father of the scoped character
Input Scopes: character
Output Scopes: character
--------------------
real_mother - Get the real mother of the scoped character
Input Scopes: character
Output Scopes: character
--------------------
realm_priest - Get realm priest of scoped character
Input Scopes: character
Output Scopes: character
--------------------
top_liege - Get the top liege of the scoped character
Input Scopes: character
Output Scopes: character
--------------------
warden - Get the warden of the scoped hostage. Returns empty scope if the character is not a hostage
Input Scopes: character
Output Scopes: character
--------------------
combat_attacker - Get attacker side of scoped combat
Input Scopes: combat
Output Scopes: combat_side
--------------------
combat_defender - Get defender side of scoped combat
Input Scopes: combat
Output Scopes: combat_side
--------------------
combat_war - Get war of scoped combat
Input Scopes: combat
Output Scopes: war
--------------------
capital_vassal - Get capital vassal title of scoped title
Input Scopes: landed_title
Output Scopes: landed_title
--------------------
current_heir - Get current heir to scoped title
Input Scopes: landed_title
Output Scopes: character
--------------------