-
Notifications
You must be signed in to change notification settings - Fork 20
/
1.2.5_game_triggers.txt
3250 lines (1981 loc) · 83.5 KB
/
1.2.5_game_triggers.txt
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
[19:33:36][game_application.cpp:254]: Game Version: Stellaris v1.2.5.24012
[19:33:36][defines.cpp:113]: 934 defines loaded
[19:34:26][consolecmdimpl.cpp:2084]:
== TRIGGER DOCUMENTATION ==
text - For 'desc={trigger={' use. Shows custom text
text = <text>
Supported Scopes: ???
Supported targets:
custom_tooltip - Replaces the tooltips for the enclosed triggers with a custom text
custom_tooltip = {
text = <text>
<trigger>
}
Supported Scopes: ???
Supported targets:
if - a conditional trigger
Supported Scopes: ???
Supported targets:
and - all inside trigger must be true
Supported Scopes: ???
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
or - at least one entry inside trigger must be true
Supported Scopes: ???
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
not - negates content of trigger
Supported Scopes: ???
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
happiness - Compares pop happiness
Supported Scopes: pop
Supported targets:
has_ring - Checks if a planet has a ring or not (bool)
Supported Scopes: planet
Supported targets: none
hidden_trigger - Hides the tooltip for the triggers within
hidden_trigger = { trigger }
Supported Scopes: ???
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
has_owner - Checks if the planet/system is colonized
has_owner = yes
Supported Scopes: planet
Supported targets: none
any_owned_planet - Checks if any of the empire's owned planets meet the specified criteria
any_owned_planet = { triggers }
Supported Scopes: country
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
any_controlled_planet - Checks if any of the empire's controlled planets meet the specified criteria
any_owned_planet = { triggers }
Supported Scopes: country
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
is_ai - checks if a empire is played by the AI
is_ai = no
Supported Scopes: country
Supported targets:
always - Trigger is either always false or true
always = yes
Supported Scopes: ???
Supported targets:
has_trait - Checks if an empire's dominant species, a pop, or a leader has a certain Trait
has_trait = leader_trait_carefree
Supported Scopes: country pop
Supported targets:
has_ethic - Checks if an empire's dominant species has a certain Ethic
has_ethic = ethic_fanatic_pacifist
Supported Scopes: country pop
Supported targets:
is_moon - checks if a planet is a moon
Supported Scopes: planet
Supported targets: none
opinion - Checks this country's opinion value of target country
Supported Scopes: country
Supported targets: ???
any_pop - Checks if any of the planet's or species' pops meet the specified criteria
any_pop = { <trigger> }
Supported Scopes: planet
Supported targets: none THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
is_owned_by - Checks if the planet/system/army is owned by a specific empire
is_owned_by = target
Supported Scopes: planet
Supported targets: none THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
is_same_species - checks if a pop or empire is of the same species as another pop or empire
Supported Scopes: country pop
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
any_war_defender - Checks if any defending empire in the current empire's war meets the specified criteria
any_war_defender = {
enemy = <target>
<trigger>
}
Supported Scopes: country
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
any_war_attacker - Checks if any attacking empire in the current empire's war meets the specified criteria
any_war_defender = {
enemy = <target>
<trigger>
}
Supported Scopes: country
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
ideal_planet_class - Checks the ideal planet class of a target country
Supported Scopes: country
Supported targets:
is_same_empire - Checks if the empire is the same as another, target empire
is_same_empire = <target>
Supported Scopes: country
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
is_planet_class - Checks if the planet is of a certain class
is_planet_class = pc_tundra
Supported Scopes: planet
Supported targets: none THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
has_strategic_resource - Checks if the planet has any strategic resource
has_strategic_resource = yes
Supported Scopes: planet
Supported targets: none THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
is_star_class - Checks if the star/system is of a certain class
is_star_class = sc_black_hole
Supported Scopes: planet
Supported targets: none THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
distance - Compares the min/max distance to a target with a value
Supported Scopes: planet ship pop fleet
Supported targets: none
has_technology - Checks if the empire has a technology (of at least a specific level)
has_technology = tech_spaceport_4
Supported Scopes: country
Supported targets:
has_planet_modifier - checks if a planet has a planet modifier
Supported Scopes: planet
Supported targets: none
has_planet_flag - Checks if the planet has a specific flag
has_planet_flag = <flag>
Supported Scopes: planet
Supported targets: none
has_country_flag - Checks if the empire has a specific flag
has_country_flag = <flag>
Supported Scopes: country
Supported targets:
has_fleet_flag - Checks if the fleet has a specific flag
has_fleet_flag = <flag>
Supported Scopes: fleet
Supported targets:
has_ship_flag - Checks if the ship has a specific flag
has_ship_flag = <flag>
Supported Scopes: ship
Supported targets:
is_ship_class - Checks if the ship/fleet is a specified class
is_ship_class = shipclass_colonizer
Supported Scopes: ship fleet
Supported targets:
is_ship_size - Checks if the ship/fleet uses a specified ship size
is_ship_size = mining_station
Supported Scopes: ship fleet
Supported targets:
is_capital - checks if a planet is its owners capital
Supported Scopes: planet
Supported targets: none
has_ground_combat - checks if a planet has ground combat
Supported Scopes: planet
Supported targets: none
is_at_war - checks if a country is at war
Supported Scopes: country
Supported targets:
num_owned_planets - compares the number of owned planets in a country with a value
Supported Scopes: country
Supported targets:
has_government - checks if a country has a specified government
Supported Scopes: country
Supported targets:
num_pops - compares the number of planets on a planet with a value
Supported Scopes: planet country
Supported targets: none
is_primitive - Checks if a country is primitive (bool)
Supported Scopes: country
Supported targets:
is_inside_nebula - checks if a planet/ship is inside a nebula
Supported Scopes: planet ship fleet
Supported targets: none
is_pirate - Checks if a country is a pirate country (bool)
Supported Scopes: country
Supported targets:
is_inside_border - checks if a planet/ship/fleet is inside the border of the specified country
Supported Scopes: planet ship fleet
Supported targets: none THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
any_country - Trigger Scope for any country
Supported Scopes: ???
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
planet_size - compares the planet size
Supported Scopes: planet
Supported targets: ??? none
any_planet - Checks if any planet in the system/sector meets the specified criteria
any_planet = { <trigger> }
Supported Scopes:
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
influence - Checks country influence
Supported Scopes: country
Supported targets:
is_star - checks if a planet is a star
Supported Scopes: planet
Supported targets: none
is_asteroid - checks if a planet is an asteroid
Supported Scopes: planet
Supported targets: none
is_overlord - Returns true if the Empire is an overlord of another Empire.
Supported Scopes: country
Supported targets:
is_at_war_with - Checks if the empire is at war with a specific empire
is_at_war_with = target
Supported Scopes: country
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
their_opinion - Checks target country's opinion value of this country
Supported Scopes: country
Supported targets: ???
is_same_species_class - Checks if a pop or empire is of the same species class as another pop or empire
is_same_species_class = target
Supported Scopes: country pop
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
has_alliance - Checks if a country is in an alliance (bool)
Supported Scopes: country
Supported targets:
has_federation - Checks if a country is in an federation (bool)
Supported Scopes: country
Supported targets:
is_colonizable - Checks if a planet is colonizable (bool)
Supported Scopes: planet
Supported targets: none
gender - Checks the gender of a leader
Supported Scopes:
Supported targets: ???
has_level - Checks if leader has at least specified level of specified skill
Supported Scopes:
Supported targets: ???
num_minerals - compares the number of minerals on a planet with a value
Supported Scopes: planet
Supported targets: none
num_physics - compares the number of physics resources on a planet with a value
Supported Scopes: planet
Supported targets: none
num_society - compares the number of society resources on a planet with a value
Supported Scopes: planet
Supported targets: none
num_engineering - compares the number of engineering resources on a planet with a value
Supported Scopes: planet
Supported targets: none
num_modifiers - Compares the number of modifiers on a planet with a value
Supported Scopes: planet
Supported targets: none
has_any_strategic_resource - Checks whether a planet has any strategic resource (bool)
Supported Scopes: planet
Supported targets: none
free_leader_slots - Compares the number of free leader slots
Supported Scopes: planet country ship pop fleet
Supported targets: none
has_pop_flag - Checks if the pop has a specific flag
has_pop_flag = <flag>
Supported Scopes: pop
Supported targets:
is_occupied_flag - Checks if a planet is under military occupation
Supported Scopes: planet
Supported targets: none
can_colonize - checks if a planet is colonizable by a country's founder species
Supported Scopes: planet
Supported targets: none
is_damaged - Checks if a ship is damaged
Supported Scopes: ship
Supported targets:
has_hp - Compares the hit points of a ship with a value
Supported Scopes: ship
Supported targets:
is_surveyed - Checks if a planet/system as been survey by specified country
Supported Scopes: planet
Supported targets: none
has_global_flag - Checks if a Global Flag has been set
has_global_flag = <flag>
Supported Scopes: ???
Supported targets:
check_variable - Compares the variable value
Supported Scopes: planet country fleet
Supported targets: none
any_planet_within_border - switches Scope to and goes through each random planet within border
Supported Scopes: country
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
any_owned_ship - any ship owned by a country
Supported Scopes: country
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
any_ship - any ship in the game
Supported Scopes: ???
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
energy - Checks the empire's energy stockpile compared to a value
energy > 250
Supported Scopes: country
Supported targets:
pop_has_ethic - checks if a pop has a certain Ethic
Supported Scopes: pop
Supported targets:
pop_has_trait - checks if a pop has a certain trait
Supported Scopes: pop
Supported targets:
is_colony - checks if a planet is a colony
Supported Scopes: planet
Supported targets: none
habitability - Checks for species habitability on current planet
Supported Scopes: planet
Supported targets: none
has_building - checks if a planet or tile has a building
Supported Scopes: planet
Supported targets: none
is_controlled_by - Checks if a planet is controlled by a certain empire
is_controlled_by = target
Supported Scopes: planet
Supported targets: none THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
is_terraformed - checks if a planet has ever been terraformed
Supported Scopes: planet
Supported targets: none
is_terraforming - checks if a planet is being terraformed right now
Supported Scopes: planet
Supported targets: none
has_planet_edict - checks if a planet has an edict
Supported Scopes: planet
Supported targets: none
has_country_edict - checks if a country has an edict
Supported Scopes: country
Supported targets:
has_observation_outpost - checks if a planet has an observation outpost
Supported Scopes: planet
Supported targets: none
is_federation_leader - checks if a country is a federation leader
Supported Scopes: country
Supported targets:
starting_system - checks if a system is the starting system for an empire
Supported Scopes:
Supported targets:
has_star_flag - Checks if the solar system has a specific flag
has_star_flag = <flag>
Supported Scopes:
Supported targets:
has_mining_station - checks if a planet has a mining station
Supported Scopes: planet
Supported targets: none
has_research_station - checks if a planet has a research station
Supported Scopes: planet
Supported targets: none
has_spaceport - checks if a planet has a spaceport
Supported Scopes: planet
Supported targets: none
any_spaceport - any spaceport trigger
Supported Scopes: planet
Supported targets: none THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
any_research_station - any research station outpost
Supported Scopes: planet
Supported targets: none THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
any_mining_station - any mining station outpost
Supported Scopes: planet
Supported targets: none THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
any_system - any system trigger
Supported Scopes: ???
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
any_system_within_border - any system within border trigger
Supported Scopes: country
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
army_type - checks what type an army type is
Supported Scopes:
Supported targets:
has_army - checks if a planet has an army
Supported Scopes: planet
Supported targets: none
is_advisor_active - checks if a country has an advisor
Supported Scopes: country
Supported targets:
count_pops - Counts the amount of pops which fill a requirement and compare it to a number
Supported Scopes: planet
Supported targets: none
is_enslaved - checks if a pop is enslaved
Supported Scopes: pop
Supported targets:
is_being_purged - checks if a pop is being exterminated
Supported Scopes: pop
Supported targets:
graphical_culture - checks if a country has specified graphical culture
Supported Scopes: country
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
income - Compares country income.
Supported Scopes: country
Supported targets:
expenses - Compares country expenses.
Supported Scopes: country
Supported targets:
produced_energy - Compares the amount of produced energy of a country.
Supported Scopes: country
Supported targets:
trade_income - Compares the previous months income from the trade of a country.
Supported Scopes: country
Supported targets:
trade_expenses - Compares the previous months expenses from the trade of a country.
Supported Scopes: country
Supported targets:
ship_maintenance - Compares the previous months ship maintenance of a country.
Supported Scopes: country
Supported targets:
army_maintenance - Compares the previous months army maintenance of a country.
Supported Scopes: country
Supported targets:
colony_maintenance - Compares the previous months colony maintenance of a country.
Supported Scopes: country
Supported targets:
station_maintenance - Compares the previous months station maintenance of a country.
Supported Scopes: country
Supported targets:
construction_expenses - Compares the previous months construction expenses of a country.
Supported Scopes: country
Supported targets:
federation_expenses - Compares the previous months federation expenses of a country.
Supported Scopes: country
Supported targets:
has_anomaly - checks if a planet has a anomaly
Supported Scopes: planet
Supported targets: none
stored_physics_points - Compares the amount of stored physics points a country has.
Supported Scopes: country
Supported targets:
stored_society_points - Compares the amount of stored society points a country has.
Supported Scopes: country
Supported targets:
stored_engineering_points - Compares the amount of stored engineering points a country has.
Supported Scopes: country
Supported targets:
balance - Compares country balance.
Supported Scopes: country
Supported targets:
running_balance - Compares country running balance.
Supported Scopes: country
Supported targets:
is_planet - checks if a planet is of the same as the scope
Supported Scopes: planet
Supported targets: none THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
is_pop - checks if a pop is of the same as the scope
Supported Scopes: pop
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
is_ship - checks if a ship is of the same as the scope
Supported Scopes: planet
Supported targets: none THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
is_army - checks if an army is of the same as the scope
Supported Scopes:
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
is_country - checks if a country is of the same as the scope
Supported Scopes: country
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
is_tutorial_level - Compares the tutorial level of the player of a country.
Supported Scopes: country
Supported targets:
is_multiplayer - checks if the game is running in multiplayer
Supported Scopes: ???
Supported targets:
has_event_chain - checks if the country has an event chain
Supported Scopes: country
Supported targets:
is_species_class - Checks if the founder species of a country, or a pop is of a specific species
Supported Scopes: country pop
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
vassals - compares the number of vassals
Supported Scopes: country
Supported targets: ???
has_opinion_modifier - checks if the country has an opinion modifier
Supported Scopes: country
Supported targets:
has_established_contact - checks if the country has contact with another country.
Supported Scopes: country
Supported targets:
has_completed_event_chain_counter - checks if the country has completed counter in event chain.
Supported Scopes: country
Supported targets:
has_planet_class - checks if a star has planet of certain class
Supported Scopes:
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
is_disabled - checks if a ship or fleet is disabled
Supported Scopes: ship fleet
Supported targets: ???
has_existing_ship_design - checks if a country has a specific ship design
Supported Scopes: country
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
minerals - Checks the empire's mineral stockpile compared to a value
minerals > 250
Supported Scopes: country
Supported targets:
has_grown_pop - Checks if a planet or tile has a grown pop
Supported Scopes: planet
Supported targets: ??? none
has_growing_pop - Checks if a planet or tile has a growing pop
Supported Scopes: planet
Supported targets: ??? none
has_resource - Compares the resources of planet or tile.
Supported Scopes: planet
Supported targets: ??? none
has_building_construction - checks if a planet or tile has a building construction
Supported Scopes: planet
Supported targets: none
any_neighboring_tile - switches scope to and goes through each neighboring tile
Supported Scopes:
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
any_tile - switches scope to and goes through each tile
Supported Scopes: planet
Supported targets: none THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
has_blocker - checks if a planet or tile has a blocker
Supported Scopes: planet
Supported targets: none
free_pop_tiles - compares a value with the amount of free tiles for pops
Supported Scopes: planet
Supported targets: ??? none
free_building_tiles - compares a value with the amount of free tiles for buildings
Supported Scopes: planet
Supported targets: ??? none
has_relation_flag - checks for relation flags
Supported Scopes: country
Supported targets: ???
reverse_has_relation_flag - checks for reverse relation flags
Supported Scopes: country
Supported targets: ???
exists - checks for object existance
Supported Scopes: ???
Supported targets: ???
has_edict - checks if a planet or country has an edict activated
Supported Scopes: planet country
Supported targets: ??? none
has_moon - checks if a planet has a moon
Supported Scopes: planet
Supported targets: none
num_moons - Compares number of moons of planet.
Supported Scopes: planet
Supported targets: none
is_in_cluster - checks if a galactic object belongs to a cluster
Supported Scopes: planet
Supported targets: ??? none
any_moon - any moon trigger
Supported Scopes: planet
Supported targets: none THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
num_adjacent_tiles - adjacent tiles with a value
Supported Scopes:
Supported targets:
is_sentient - checks if a pop is sentient
Supported Scopes: pop
Supported targets:
leader_class - checks if a leader is a specific type
Supported Scopes:
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
is_preventing_anomaly - checks if a planet is currently preventing anomalies
Supported Scopes: planet country ship pop fleet
Supported targets: none
observation_outpost_owner - Owner of an observation outpost
Supported Scopes: planet
Supported targets: none THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
observation_outpost - observation outpost
Supported Scopes: planet
Supported targets: none THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
has_deposit - checks if a tile/planet has a deposit
Supported Scopes: planet
Supported targets: none
has_deposit_for - checks if a tile has a deposit for specific ship class
Supported Scopes: planet
Supported targets: none THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
colony_age - colony age in months compared with a value
Supported Scopes: planet
Supported targets: none
is_rim_system - checks if a system is on the galactic rim
Supported Scopes: planet country ship pop fleet
Supported targets: none OWNER
any_rim_system - switches scope to and goes through each rim system
Supported Scopes:
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
has_mission - checks if a fleet has a certain mission
Supported Scopes: fleet
Supported targets:
is_country_type - checks if country is of specified type
Supported Scopes: country
Supported targets:
has_modifier - Checks if the empire/planet/pop has a certain modifier
has_modifier = <modifier>
Supported Scopes: planet country pop
Supported targets: none
switch - Switches between scopes
Supported Scopes: ???
Supported targets: ???
sectors - Compares number of sectors
Supported Scopes: country
Supported targets:
num_fleets - checks if a country has the said number of fleets
Supported Scopes: country
Supported targets: ???
num_ships - checks if a country has the said number of ships
Supported Scopes: country fleet
Supported targets: ???
any_ship_in_system - any ship in system
Supported Scopes:
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
mission_progress - checks if a mission has a certain progress
Supported Scopes: fleet
Supported targets:
num_ethics - compares the number of ethics with a value
Supported Scopes: country pop
Supported targets:
num_traits - compares the number of traits with a value
Supported Scopes: country pop
Supported targets:
has_truce - checks if a country has truce with certain country
Supported Scopes: country
Supported targets:
has_access_military - checks if a country has military access to a system
Supported Scopes:
Supported targets: ???
has_access_civilian - checks if a country has civilian access to a system
Supported Scopes:
Supported targets: ???
has_access_construction - checks if a country has constraction access to a system
Supported Scopes:
Supported targets: ???
is_ringworld - checks if a planet is a ringworld
Supported Scopes: planet
Supported targets: none
member_of_faction - Checks if pop is a member of a faction ( targets yes/no/specific faction )
Supported Scopes: pop
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
support - Compares the relative support of a pop faction
Supported Scopes:
Supported targets:
is_ideal_planet_class - Checks if a planet is of ideal class for country
Supported Scopes: planet