-
Notifications
You must be signed in to change notification settings - Fork 20
/
1.3.2_game_triggers.txt
3468 lines (2789 loc) · 125 KB
/
1.3.2_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:38:28][game_application.cpp:264]: Game Version: Heinlein v1.3.2
[19:38:28][defines.cpp:113]: 1024 defines loaded
[19:39:39][consolecmdimpl.cpp:2501]:
== TRIGGER DOCUMENTATION ==
text - For 'desc={trigger={' use. Shows custom text
text = <text>
Supported Scopes: all
Supported targets: none
custom_tooltip - Replaces the tooltips for the enclosed triggers with a custom text
custom_tooltip = {
text = <text>
<triggers>
}
Supported Scopes: all
Supported targets: none
if - A conditional trigger
if = { limit = { <triggers> } <effects> }
Supported Scopes: all
Supported targets: none
and - all inside trigger must be true
Supported Scopes: all
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
or - At least one entry inside the trigger must be true
Supported Scopes: all
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
not - An inverted trigger
Supported Scopes: all
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
happiness - Checks the pop's happiness percentage
happiness < 90
Supported Scopes: pop
Supported targets: none
has_ring - Checks if the planet has a planetary ring
has_ring = yes
Supported Scopes: planet
Supported targets: none
hidden_trigger - Hides the tooltip for the triggers within
hidden_trigger = { <triggers> }
Supported Scopes: all
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 country'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 country's controlled planets meet the specified criteria
any_controlled_planet = { <triggers> }
Supported Scopes: country
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
is_ai - Checks if the country is played by the AI
is_ai = no
Supported Scopes: country
Supported targets: none
always - Sets trigger to be either always true or false
always = yes
Supported Scopes: all
Supported targets: none
has_trait - Checks if a pop/leader/species/country's dominant species has a certain trait
has_trait = leader_trait_carefree
Supported Scopes: country pop
Supported targets: none
has_ethic - Checks if a country has a certain ethos
has_ethic = ethic_fanatic_pacifist
Supported Scopes: country pop
Supported targets: none
is_moon - Checks if the planet is the moon of another planet
is_moon = yes
Supported Scopes: planet
Supported targets: none
opinion - Checks the country's opinion of the target country
opinion = { who = <target> value = -70 }
Supported Scopes: country
Supported targets: ???
any_pop - Checks if any of the planet/species/pop faction/sector's pops meet the specified criteria
any_pop = { <triggers> }
Supported Scopes: planet
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
is_owned_by - Checks if the planet/system/army/ship is owned by the target country
is_owned_by = <target>
Supported Scopes: planet ship
Supported targets: 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 countries in any of the current country's wars meet the specified criteria
any_war_defender = {
enemy = <target>
<triggers>
}
Supported Scopes: country
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
any_war_attacker - Checks if any attacking countries in any of the current country's wars meet the specified criteria
any_war_defender = {
enemy = <target>
<triggers>
}
Supported Scopes: country
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
ideal_planet_class - Checks if the country's ideal planet class is a specific class
ideal_planet_class = pc_tundra
Supported Scopes: country
Supported targets: none
is_same_empire - Checks if the country is the same as another, target country
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: 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: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
ethos - Checks the average ethics divergence on the planet
ethos < 0.4
Supported Scopes: planet
Supported targets: none
is_star_class - Checks if the system/planet(star) is of a certain class
is_star_class = sc_black_hole
Supported Scopes: planet
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
distance - Checks the ship/fleet/planet/leader/pop/system's galaxy map distance to target in absolute units
distance = { source = <target> min = 50 max = 120 }
Supported Scopes: planet ship pop fleet
Supported targets: none
has_technology - Checks if the country has a technology (of at least a specific level)
has_technology = tech_spaceport_4
Supported Scopes: country
Supported targets: none
has_planet_modifier - Checks if the planet has a specific planet modifier
has_planet_modifier = pm_titanic_life
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: none
has_fleet_flag - Checks if the fleet has a specific flag
has_fleet_flag = <flag>
Supported Scopes: fleet
Supported targets: none
has_ship_flag - Checks if the ship has a specific flag
has_ship_flag = <flag>
Supported Scopes: ship
Supported targets: none
is_ship_class - Checks if the ship/fleet is a specific class
is_ship_class = shipclass_colonizer
Supported Scopes: ship fleet
Supported targets: none
is_ship_size - Checks if the ship/fleet is a specific ship size
is_ship_size = mining_station
Supported Scopes: ship fleet
Supported targets: none
is_capital - Checks if the planet is its owner's capital
is_capital = yes
Supported Scopes: planet
Supported targets: none
has_ground_combat - Checks if ground combat is taking place on the planet
has_ground_combat = yes
Supported Scopes: planet
Supported targets: none
is_at_war - Checks if the country is at war
is_at_war = yes
Supported Scopes: country
Supported targets: none
num_owned_planets - Checks the country's number of owned planets
num_owned_planets < 8
Supported Scopes: country
Supported targets: none
has_government - Checks if the country has a specific government type
has_government = despotic_hegemony
Supported Scopes: country
Supported targets: none
num_pops - Checks the number of pops on the planet/country/pop faction
num_pops > 12
Supported Scopes: planet country
Supported targets: none
is_primitive - Checks if the country is a primitive, pre-FTL civilization
is_primitive = yes
Supported Scopes: country
Supported targets: none
is_inside_nebula - checks if the planet/ship/fleet is inside a nebula
is_inside_nebula = yes
Supported Scopes: planet ship fleet
Supported targets: none
is_pirate - Checks if the country is a pirate country
is_pirate = yes
Supported Scopes: country
Supported targets: none
is_inside_border - Checks if the planet/ship/fleet/system is inside the borders of the target country
is_inside_border = <target>
Supported Scopes: planet ship fleet
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
any_country - Iterate through all countries
any_country = { <count=<num/all>> <triggers> }
Supported Scopes: all
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
planet_size - Checks the planet's size, in number of tiles
planet_size < 20
Supported Scopes: planet
Supported targets: ???
any_planet - Checks if any planet in the system/sector meets the specified criteria
any_planet = { <triggers> }
Supported Scopes:
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
influence - Checks the country's Influence total
influence > 350
Supported Scopes: country
Supported targets: none
is_star - Checks if the planet is a star
is_star = yes
Supported Scopes: planet
Supported targets: none
is_asteroid - Checks if the planet is an asteroid
is_asteroid = yes
Supported Scopes: planet
Supported targets: none
is_overlord - Checks if the country is the overlord of any subject countries
is_overlord = yes
Supported Scopes: country
Supported targets: none
is_at_war_with - Checks if the country is at war with the target country
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 the current country
their_opinion = { who = <target> value > 25 }
Supported Scopes: country
Supported targets: ???
is_same_species_class - Checks if the pop/country is of the same species class as another pop/country
is_same_species_class = <target>
Supported Scopes: country pop
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
has_federation - Checks if the country is in a federation
has_federation = yes
Supported Scopes: country
Supported targets: none
is_colonizable - Checks if the planet can theoretically be colonized
is_colonizable = yes
Supported Scopes: planet
Supported targets: none
gender - Checks the leader's gender
gender = female
Supported Scopes:
Supported targets: ???
has_level - Checks if the leader has a specific experience level
has_level > 2
Supported Scopes:
Supported targets: ???
num_minerals - Checks the planet's total amount of minerals
num_minerals < 20
Supported Scopes: planet
Supported targets: none
num_physics - Checks the planet's total amount of physics research
num_physics = 8
Supported Scopes: planet
Supported targets: none
num_society - Checks the planet's total amount of society research
num_society > 8
Supported Scopes: planet
Supported targets: none
num_engineering - Checks the planet's total amount of engineering research
num_engineering < 8
Supported Scopes: planet
Supported targets: none
num_modifiers - Checks the planet's number of modifiers
num_modifiers < 3
Supported Scopes: planet
Supported targets: none
has_any_strategic_resource - Checks if the planet has any strategic resource
has_any_strategic_resource = yes
Supported Scopes: planet
Supported targets: none
free_leader_slots - Checks the country's open leader slots
free_leader_slots > 1
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: none
is_occupied_flag - Checks if the planet is under military occupation
is_occupied_flag = yes
Supported Scopes: planet
Supported targets: none
can_colonize - Checks if the planet can be colonized by target country's dominant species
can_colonize = { who = <target> status = yes }
Supported Scopes: planet
Supported targets: none
is_damaged - Checks if the ship is damaged
is_damaged = yes
Supported Scopes: ship
Supported targets: none
has_hp - Checks the ship's hull points
has_hp > 200
Supported Scopes: ship
Supported targets: none
is_surveyed - Checks if the planet/system has been survey by target country
is_surveyed = { who = <target> status = yes }
Supported Scopes: planet
Supported targets: none
has_global_flag - Checks if a Global Flag has been set
has_global_flag = <flag>
Supported Scopes: all
Supported targets: none
check_variable - Checks a variable for the country/leader/planet/system/fleet
check_variable = { which = <variable> value < 4 }
Supported Scopes: planet country fleet
Supported targets: none
any_planet_within_border - Checks if any planets within the country's borders meet the specified criteria
any_planet_within_border = { <triggers> }
Supported Scopes: country
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
any_owned_ship - Checks if any of the country's ships meet the specified criteria
any_owned_ship = { <triggers> }
Supported Scopes: country fleet
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
any_ship - Checks if any ships in the game meet the specified criteria
any_ship = { <triggers> }
Supported Scopes: all
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
energy - Checks the country's Energy Credits total
energy < 2350
Supported Scopes: country
Supported targets: none
pop_has_ethic - Checks if the pop has a specific ethos
pop_has_ethic = ethic_fanatic_xenophile
Supported Scopes: pop
Supported targets: none
pop_has_trait - Checks if the pop has a specific trait
pop_has_trait = trait_decadent
Supported Scopes: pop
Supported targets: none
is_colony - Checks if the planet is colonized
is_colony = yes
Supported Scopes: planet
Supported targets: none
habitability - Checks the planet's habitability (0 to 1) for target pop/species
habitability = { who = <target> value = 0.6 }
Supported Scopes: planet
Supported targets: none
has_building - Checks if the planet/tile has any, or a specific, building
has_building = yes
has_building = building_capital_3
Supported Scopes: planet
Supported targets: none
is_controlled_by - Checks if the planet is controlled by the target country
is_controlled_by = <target>
Supported Scopes: planet
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
is_terraformed - Checks if the planet has ever been terraformed
is_terraformed = yes
Supported Scopes: planet
Supported targets: none
is_terraforming - Checks if the planet is currently being terraformed
is_terraforming = yes
Supported Scopes: planet
Supported targets: none
has_planet_edict - Checks if the planet has a specific edict active
has_planet_edict = edict_reeducation_campaign
Supported Scopes: planet
Supported targets: none
has_country_edict - Checks if the country has a specific edict active
has_planet_edict = society_research_focus
Supported Scopes: country
Supported targets: none
has_observation_outpost - Checks if the planet has an observation post
has_observation_outpost = yes
Supported Scopes: planet
Supported targets: none
is_federation_leader - Checks if the country is the leader of their federation
is_federation_leader = yes
Supported Scopes: country
Supported targets: none
starting_system - Checks if the system is the starting system for any country
starting_system = yes
Supported Scopes:
Supported targets: none
has_star_flag - Checks if the solar system has a specific flag
has_star_flag = <flag>
Supported Scopes:
Supported targets: none
has_mining_station - Checks if the planet has an orbital mining station
has_mining_station = yes
Supported Scopes: planet
Supported targets: none
has_research_station - Checks if the planet has an orbital researc station
has_research_station = yes
Supported Scopes: planet
Supported targets: none
has_spaceport - Checks if the planet has a spaceport
has_spaceport = yes
Supported Scopes: planet
Supported targets: none
any_spaceport - Checks if the planet's spaceport meets the specified criteria
any_spaceport = { <triggers> }
Supported Scopes: planet
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
any_research_station - Checks if the planet's orbital research station meets the specified criteria
any_research_station = { <triggers> }
Supported Scopes: planet
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
any_mining_station - Checks if the planet's orbital mining station meets the specified criteria
any_mining_station = { <triggers> }
Supported Scopes: planet
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
any_system - Checks if any solar systems in the game meet the specified criteria
any_system = { <triggers> }
Supported Scopes: all
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
any_system_within_border - Checks if any systems within the country's borders meet the specified criteria
any_system_within_border = { <triggers> }
Supported Scopes: country
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
army_type - Checks the army's type
army_type = assault_army
Supported Scopes:
Supported targets: none
has_army - Checks if the planet has an army
has_army = yes
Supported Scopes: planet
Supported targets: none
is_advisor_active - checks if a country has an advisor
Supported Scopes: country
Supported targets: none
count_pops - Checks the number of pops in the scope that fulfill the specified criteria
count_pops = { limit = { <triggers> } count < 6 }
Supported Scopes: planet
Supported targets: none
is_enslaved - Checks if the pop is a slave
is_enslaved = yes
Supported Scopes: pop
Supported targets: none
is_being_purged - Checks if the pop is being purged
is_being_purged = yes
Supported Scopes: pop
Supported targets: none
graphical_culture - Checks if the country has specific graphical culture
graphical_culture = fungoid_01
Supported Scopes: country
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
income - Checks the country's monthly energy credit income
income < 90
Supported Scopes: country
Supported targets: none
expenses - Checks the country's monthly energy credit expenses
expenses > 28
Supported Scopes: country
Supported targets: none
produced_energy - Checks the country's gross amount of produced energy credits
produced_energy < 100
Supported Scopes: country
Supported targets: none
trade_income - Checks the country's energy credits income from trade for the previous month
trade_income < 30
Supported Scopes: country
Supported targets: none
trade_expenses - Checks the country's energy credits expenses from trade for the previous month
trade_expenses < 30
Supported Scopes: country
Supported targets: none
ship_maintenance - Checks the country's total ship maintenance expenses for the previous month, in energy credits
ship_maintenance < 226
Supported Scopes: country
Supported targets: none
army_maintenance - Checks the country's total army maintenance expenses for the previous month, in energy credits
army_maintenance > 226
Supported Scopes: country
Supported targets: none
colony_maintenance - Checks the country's total colony maintenance expenses for the previous month, in energy credits
colony_maintenance > 25
Supported Scopes: country
Supported targets: none
station_maintenance - Checks the country's total orbital station maintenance expenses for the previous month, in energy credits
station_maintenance > 126
Supported Scopes: country
Supported targets: none
construction_expenses - Checks the country's construction expenses for the previous month
construction_expenses > 290
Supported Scopes: country
Supported targets: none
federation_expenses - Checks the country's federation expenses for the previous month
federation_expenses < 1000
Supported Scopes: country
Supported targets: none
has_anomaly - Checks if the planet has an anomaly
has_anomaly = yes
Supported Scopes: planet
Supported targets: none
stored_physics_points - Checks the country's amount of stored physics research
stored_physics_points
Supported Scopes: country
Supported targets: none
stored_society_points - Checks the country's amount of stored society research
stored_society_points
Supported Scopes: country
Supported targets: none
stored_engineering_points - Checks the country's amount of stored engineering research
stored_engineering_points
Supported Scopes: country
Supported targets: none
balance - Checks the country's energy credit balance
balance < 39
Supported Scopes: country
Supported targets: none
running_balance - Checks the country's running energy credit balance
running_balance > 61
Supported Scopes: country
Supported targets: none
is_planet - Checks if the planet is the same as target planet
is_planet = <target>
Supported Scopes: planet
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
is_pop - Checks if the pop is the same as target pop
is_pop = <target>
Supported Scopes: pop
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
is_ship - Checks if the ship is the same as target ship
is_ship = <target>
Supported Scopes: planet
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
is_army - Checks if the army is the same as target army
is_army = <target>
Supported Scopes:
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
is_country - Checks if the country is the same as target country
is_country = <target>
Supported Scopes: country
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
is_tutorial_level - Checks the country's tutorial level (0 off, 1 limited, 2 full)
is_tutorial_level = 0
Supported Scopes: country
Supported targets: none
is_multiplayer - Checks if the game is running in multiplayer
is_multiplayer = yes
Supported Scopes: all
Supported targets: none
has_event_chain - Checks if the country has a specific event chain
has_event_chain = old_gods_chain
Supported Scopes: country
Supported targets: none
is_species_class - Checks if the pop/country's founder species is a specific species class
is_species_class = MAM
Supported Scopes: country pop
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
vassals - Checks the country's number of vassals
vassals > 0
Supported Scopes: country
Supported targets: ???
has_opinion_modifier - Checks if the country has a specific opinion modifier towards target country
has_opinion_modifier = { who = <target> modifier = encroaching_colony }
Supported Scopes: country
Supported targets: none
has_established_contact - Checks if the country has established contact with target country
has_established_contact = <target>
Supported Scopes: country
Supported targets: none
has_completed_event_chain_counter - Checks if the country has completed a specific counter in an event chain
has_completed_event_chain_counter = { event_chain = amoebas_2_chain counter = amoebas_slaughtered }
Supported Scopes: country
Supported targets: none
has_planet_class - Checks if the system has planet of specific class
has_planet_class = pc_tundra
Supported Scopes:
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
is_disabled - Checks if the ship/fleet is disabled
is_disabled = yes
Supported Scopes: ship fleet
Supported targets: ???
has_existing_ship_design - Checks if the country has a specific ship design available
Supported Scopes: country
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
minerals - Checks the country's Minerals total
minerals > 3350
Supported Scopes: country
Supported targets: none
has_grown_pop - Checks if the planet/tile has a fully-grown pop
has_grown_pop = yes
Supported Scopes: planet
Supported targets: ???
has_growing_pop - Checks if the planet/tile has a still-growing pop
has_growing_pop = yes
Supported Scopes: planet
Supported targets: ???
has_resource - Checks if the planet/tile has a specific amount of a specific resource
has_resource = { type = minerals amount < 5 }
Supported Scopes: planet
Supported targets: ???
has_building_construction - Checks if the planet/tile has any, or a specific, ongoing building construction
has_building_construction = yes
has_building_construction = building_capital_3
Supported Scopes: planet
Supported targets: none
any_neighboring_tile - Checks if any of the tile's neighbors meet the specified criteria
any_neighboring_tile = { <triggers> }
Supported Scopes:
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
any_tile - Checks if any tiles on the planet meet the criteria
any_tile = { <triggers> }
Supported Scopes: planet
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
has_blocker - Checks if the planet/tile has any, or a specific, tile blocker
has_blocker = yes
has_blocker = tb_dangerous_wildlife
Supported Scopes: planet
Supported targets: none
free_pop_tiles - Checks the planet's number of open tiles for pops
free_pop_tiles < 6
Supported Scopes: planet
Supported targets: ???
free_building_tiles - Checks the planet's number of tiles available for new constructions
free_building_tiles > 2
Supported Scopes: planet
Supported targets: ???
has_relation_flag - Checks if the country has a relation flag towards target country
has_relation_flag = { who = <target> flag = <flag> }
Supported Scopes: country
Supported targets: ???
reverse_has_relation_flag - Checks if the target country has a relation flag towards the country
reverse_has_relation_flag = { who = <target> flag = <flag> }
Supported Scopes: country
Supported targets: ???
exists - Checks if a target scope exists
exists = <target>
Supported Scopes: all
Supported targets: ???
has_edict - Checks if the country/planet has a specific edict enabled
has_edict = crystal_sonar
Supported Scopes: planet country
Supported targets: ???
has_moon - Checks if the planet has a moon
has_moon = yes
Supported Scopes: planet
Supported targets: none
num_moons - Checks the planet's number of moons
num_moons < 4
Supported Scopes: planet
Supported targets: none
is_in_cluster - Checks if the planet/system belongs to a specific spawning cluster
is_in_cluster = resource_cluster_3
Supported Scopes: planet
Supported targets: ???
any_moon - Checks if any of the planet's moons meet the specified criteria
any_moon = { <triggers> }
Supported Scopes: planet
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
num_adjacent_tiles - Checks the tile's number of adjacent tiles
num_adjacent_tiles < 2
Supported Scopes:
Supported targets: none
is_sentient - Checks if the pop is sentient
is_sentient = no
Supported Scopes: pop
Supported targets: none
leader_class - Checks if the leader is of a specific class
leader_class = scientist
Supported Scopes:
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
is_preventing_anomaly - Checks if the planet is prevented from generating anomalies
is_preventing_anomaly = yes
Supported Scopes: planet country ship pop fleet
Supported targets: none
observation_outpost_owner - Checks if the planet's observation post's owner meets the specified criteria
observation_outpost_owner = { <triggers> }
Supported Scopes: planet
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
observation_outpost - Checks if the planet's observation post meets the specified criteria
observation_outpost = { <triggers> }
Supported Scopes: planet
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
has_deposit - Checks if the planet/tile has any, or a specific, deposit
has_deposit = yes
has_deposit = d_immense_engineering_deposit
Supported Scopes: planet
Supported targets: none
has_deposit_for - Checks if the planet has a deposit for a specific ship class
has_deposit_for = shipclass_mining_station
Supported Scopes: planet
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
colony_age - Checks the planet's (colony's) age in months
colony_age > 12
Supported Scopes: planet
Supported targets: none
is_rim_system - Checks if the system is on the galactic rim
is_rim_system = yes
Supported Scopes: planet country ship pop fleet
Supported targets: OWNER
any_rim_system - Iterate through all rim systems
any_rim_system = { <count=<num/all>> <triggers> }
Supported Scopes: all
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
has_mission - Checks if the observation post has a specific mission
has_mission = technological_enlightenment_4
Supported Scopes: fleet
Supported targets: none
is_country_type - Checks if the country is a specific type
is_country_type = fallen_empire
Supported Scopes: country
Supported targets: none
has_modifier - Checks if the country/planet/pop has a certain modifier
has_modifier = <modifier>
Supported Scopes: planet country ship pop
Supported targets: none
switch - Switch case for a trigger
switch = {
trigger = pop_has_ethic
ethic_xenophile = { <effect> }
ethic_xenophobe = { <effect> }
default = { <effect> }
}
Supported Scopes: all
Supported targets: ???
sectors - Checks the country's number of sectors
sectors < 4
Supported Scopes: country
Supported targets: none
num_fleets - Checks the country's number of fleets
num_fleets < 8
Supported Scopes: country
Supported targets: ???
num_ships - Checks the country/fleet's number of ships
num_ships > 39
Supported Scopes: country fleet
Supported targets: ???
any_ship_in_system - Checks if any ships in the system meet the specified criteria
any_ship_in_system = { <triggers> }
Supported Scopes:
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
mission_progress - Checks if the observation post has achieved specific progress in a mission
mission_progress > 0.7
Supported Scopes: fleet
Supported targets: none
num_ethics - Checks the country/pop's number of ethics
num_ethics = 3
Supported Scopes: country pop
Supported targets: none
num_traits - Checks the country/pop/leader/species' number of traits
num_traits < 3
Supported Scopes: country pop
Supported targets: none
has_truce - Checks if the country has a truce with target country
has_truce = <target>
Supported Scopes: country
Supported targets: none
is_ringworld - Checks if the planet is a ringworld
is_ringworld = yes
Supported Scopes: planet
Supported targets: none
member_of_faction - Checks if the pop belongs to any, or a specific, faction
member_of_faction = no
Supported Scopes: pop
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
support - Checks the faction's support level
support > 0.5
Supported Scopes:
Supported targets: none
is_ideal_planet_class - Checks if the planet is of the ideal class for target country
is_ideal_planet_class = { who = <target> status = yes }
Supported Scopes: planet
Supported targets: none
is_pop_faction_type - Checks the faction's type
is_pop_faction_type = malcontent_slaves
Supported Scopes:
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
is_same_value - Checks if the current scope and the target scope are the same thing
is_same_value = <target>
Supported Scopes: all
Supported targets: THIS ROOT PREV PREVPREV PREVPREVPREV PREVPREVPREVPREV FROM FROMFROM OWNER CONTROLLER CAPITAL RANDOM
sector_controlled - Checks if the planet/fleet is controlled by a sector
sector_controlled = yes
Supported Scopes: planet fleet
Supported targets: none
sectors_over_limit - Checks the country's number of sectors over its sector cap
sectors_over_limit > 0
Supported Scopes: country
Supported targets: none
is_orbital_tile - Checks if the tile is the tile that orbital stations work
is_orbital_tile = yes
Supported Scopes:
Supported targets: none
orbital_bombardment - Checks to what degree the planet is being bombarded
orbital_bombardment = limited
Supported Scopes: planet
Supported targets: none
intel_level - Checks the country's intel level of target system
intel_level = { level > low system = <target> }
Supported Scopes: country
Supported targets: none
members - Checks the number of members in the alliance
members < 5
Supported Scopes:
Supported targets: none
is_researching_area - Checks the scientist's field of research
is_researching_area = society
Supported Scopes: