条件¶
論理演算子¶
論理演算子は条件とトリガーを組み合わせ、処理に渡す単純なtrueまたはfalseを返します。次の場所で使われます。
- イベントの
trigger節や、mult_modifier、can_use_…、potential、allowなどの条件ブロック。 - コマンドブロックの
limit節。 - 条件を再利用可能なマクロへまとめる
scripted_trigger(またはscripted_effect)。 - 性能改善用のイベント直下の
pre_trigger(原文時点では惑星のみ)。
| 名前 | 説明 | 例 |
|---|---|---|
if / else_if / else |
ブロック内の条件式が成立すればtrueを返す。 |
if = { limit = { owner = { has_ethic = ethic_fanatic_xenophile } } … } else_if = { limit = { … } … } else = { … } |
AND |
内部の全条件が成立するとtrue。トリガーや新スコープ内では通常これが既定なので明記不要。偽になりやすい条件を先に置くとわずかに高速化できる。 |
AND = { has_ethic = ethic_fanatic_xenophile has_ethic = ethic_egalitarian } |
OR |
内部の条件が1つ以上成立するとtrue。真になりやすい条件を先に置くとわずかに高速化できる。 |
OR = { has_ethic = ethic_fanatic_xenophile has_ethic = ethic_egalitarian } |
NOT |
内部条件が偽ならtrue、真ならfalse。受け付ける文は1つだけで、複数条件にはNORまたはNANDを使う。 |
NOT = { has_ethic = ethic_fanatic_xenophile } |
NOR |
内部条件が1つも真でなければtrue。NOT = { OR = { <conditions> } }と同じ。 |
NOR = { has_ethic = ethic_fanatic_xenophile has_ethic = ethic_fanatic_militarist } |
NAND |
内部条件のすべてが真でない限りtrue。NOT = { AND = { <conditions> } }と同じ。 |
NAND = { has_ethic = ethic_fanatic_xenophile has_technology = "tech_zero_point_power" } |
calc_true_if |
amount個以上の条件が真ならtrue。amountは数値比較演算子に対応する。 |
calc_true_if = { amount >= 3 leader_class = scientist is_researching_area = society gender = female has_level > 2 leader_age < 85 } |
NORとNANDを正しく使うにはド・モルガンの法則が重要です。
NAND = { A B } <=> NOT = { AND = { A B } } <=> OR = { NOT = { A } NOT = { B } }
NOR = { A B } <=> NOT = { OR = { A B } } <=> AND = { NOT = { A } NOT = { B } }
したがってAND内の複数NOTはNOR = { A B C }へ、OR内の複数NOTはNAND = { A B C }へ簡略化できます。
排他的論理和(XOR)はcalc_true_ifまたは次の組み合わせで表現できます。
trigger = {
OR = { A B }
NAND = { A B }
}
# 同じ意味
trigger = { calc_true_if = { amount = 1 A B } }
3入力XORは、3条件すべてが真の場合と、ちょうど1条件だけが真の場合を組み合わせます。
trigger = {
OR = {
AND = { A B C }
calc_true_if = { amount = 1 A B C }
}
}
スコープ¶
スコープは対象となるトリガー/条件の参照先を指定し、スクリプトが直接属していない別オブジェクトの変数も確認できるようにします。帝国・国家のスコープはcountryスコープと呼ばれます。主要なスコープは次の通りです。詳しくはスコープを参照してください。
| 名前 | 説明 |
|---|---|
capital_scope |
国家スコープから、その国家の首都惑星を返す。 |
controller |
所有者とは異なる場合も含め、現在このオブジェクトを支配する国家(占領国など)を返す。 |
owner |
スクリプトが属するオブジェクトを所有する国家を返す。 |
space_owner |
スクリプト対象が現在いる星系の所有国を返す。未入植惑星ではownerの代わりに使う。 |
leader |
現在の国家・惑星・調査船・軍事艦隊・地上軍などに割り当てられたリーダーを返す。 |
species |
現在の国家・リーダー・POP・地上軍・コロニー船に関連する種族を返す。 |
planet |
現在のオブジェクトがある惑星を返す。 |
this |
反復中の現在のスコープオブジェクト(any_owned_sector内の各要素など)を返す。 |
root |
スクリプトが属するオブジェクトを返す。惑星レベルのスクリプトなら惑星。 |
from |
スクリプトが属するオブジェクトの場所を返す。艦船レベルなら現在いる惑星。 |
fromfrom |
呼び出し元を2段遡ったスコープを返す。 |
prev |
直前のスコープにあったオブジェクトを返す。 |
prevprev |
直前よりさらに1つ前のスコープを返す。 |
prevprevprev |
3つ前のスコープを返す。 |
prevprevprevprev |
4つ前のスコープを返す。 |
トリガー一覧¶
バニラにはここに出ないscripted_triggerも多数あります。この一覧はエンジン組み込みトリガーだけです。独自のものは./common/scripted_triggers/へ記述します。現行の組み込み一覧は、ローカルユーザーデータのlogs/script_documentation/triggers.logにも生成できます。
エンジン組み込みトリガー(1,041件)
| 名前 | 説明 | 例 | 使用可能なスコープ |
|---|---|---|---|
text |
desc = { trigger = {内で使い、カスタムテキストを表示する |
text = <text> |
all |
not |
反転トリガー | |
all |
custom_tooltip |
内部のトリガーのツールチップをカスタムテキストに置き換える | custom_tooltip = { text = <text used as fallback for both fails and successes> fail_text = <text used for fails["string"/default/none]> success_text = <text used for successes["string"/default/none]> <triggers> } |
all |
if |
limitのdisplay_triggersを満たす場合に内部のトリガーを評価する |
if = { limit = { <display_triggers> } <triggers> } |
all |
has_mission |
観測拠点が特定のミッションを持っているかどうかをチェック | has_mission = technological_enlightenment_4 |
fleet |
switch |
トリガー用のスイッチケース | switch = { trigger = pop_has_ethic ethic_xenophile = { <trigger> } ethic_xenophobe = { <trigger> } default = { <trigger> } } |
all |
num_fleets |
国の艦隊の数をチェック | num_fleets < 8 |
country |
num_ships |
国/艦隊の艦船の数をチェック | num_ships > 39 |
country ship fleet |
has_fleet_order |
艦船または艦隊が特定の艦隊命令を持つか確認する。命令には move_to_system_point_order、orbit_planet_order、build_orbital_station_order、build_space_station_order、colonize_planet_order、survey_planet_order、research_discovery_orde、research_anomaly_order、collect_data_fleet_order、upgrade_design_at_starbase_fleet_order、upgrade_design_at_orbitable_fleet_order、return_fleet_order、repair_fleet_order、evade_hostiles_order、follow_order、land_armies_order、merge_fleet_order、aggressive_stance_fleet_order、auto_explore_order、build_megastructure_fleet_order、destroy_planet_order、planet_killer_weapon_windup_order、planet_killer_weapon_fire_order、explore_bypass_order、use_bypass_order、jumpdrive_order、jumpdrive_windup、experimental_subspace_navigation_fleet_order、excavate_archaeological_site_fleet_orderがある |
has_fleet_order = survey_planet_order |
ship fleet |
closest_system |
指定したハイパーレーン距離内でlimitを満たす最寄りの星系を探す。存在しなければfalseを返し、存在すればlimit外のトリガーで評価する |
closest_system = { limit = { <triggers> } min_steps = 2 max_steps = 20 use_bypasses = yes/no (default: no) <triggers> } |
all |
has_orbital_station |
惑星にあらゆる種類の軌道ステーションがあるかどうかをチェック | has_orbital_station = yes |
planet |
else_if |
直前のifまたはelse_ifのdisplay_triggersを満たさず、自身のlimitのdisplay_triggerを満たす場合に内部のトリガーを評価する |
if = { limit = { <display_triggers> } <triggers> } else_if = { limit = { <display_triggers> } <triggers> } |
all |
is_orbiting_star |
艦船が恒星を周回しているか確認する | |
ship fleet |
cosmic_storm_influence_value |
星系に及ぶ宇宙嵐の影響量を返す | |
galactic_object |
happiness |
POPグループの幸福率をチェック | happiness < 0.5 |
pop pop_group |
leader_years_of_service |
スコープ対象のリーダーの在職年数を確認する | years_of_service > 25 |
leader |
num_leader_traits |
指定したリーダーの特性数、または特性ティアの合計を確認する | num_leader_traits = { value > 2/variable is_councilor = <any(default)/yes(only)/no(only)> negative <any(default)/no(only)/yes(only)> count_tiers = <yes/no(default)> contains_modifier = { string = "federation" type=<any(default)/yes(only)/no(only) # filters on whether the trait has a modifier that contains the string "string"is_subclass = <any(default)/yes(only)/no(only) } |
leader |
is_ruler |
スコープ対象のリーダーが帝国の統治者か確認する | is_ruler = yes/no |
leader |
is_heir |
スコープ対象のリーダーが帝国の後継者か確認する | is_heir = yes/no |
leader |
agreement_preset |
契約が指定されたプリセットを持っているかどうかチェック | agreement_preset = <preset key> |
agreement |
get_councilor_level |
特定の評議員のレベルを取得する | get_councilor_level = { type = <key> } |
country |
faction_approval |
スコープ対象の派閥の支持率を確認する | faction_approval < 0.9 |
pop_faction |
has_designation |
植民地が指定した惑星特化を持つか確認する | has_designation = col_rural/<planet scope> |
planet |
colony_type |
植民地が指定した種類か確認する | colony_type = col_rural/<planet scope> |
planet |
num_favors |
スコープ対象の国家が対象国から回収できる好意の量を確認する | num_favors = { target = <country> value ><= <value>/<variable> } |
country |
num_ships_in_debris |
デブリ内にある指定艦種の艦船数を確認する | num_ships_in_debris = { ship_size = corvette value > 15 } |
debris |
last_building_changed |
最後に建設キューへ追加・キューから削除・建設・解体・アップグレードした建造物が指定対象か確認する | last_building_changed = building_capitol |
planet |
empire_size |
帝国規模を確認する。empire_sprawlトリガーと同一 |
empire_size < 20 |
country |
empire_sprawl |
帝国規模を確認する。empire_sizeトリガーと同一 |
empire_sprawl < 20 |
country |
empire_sprawl_over_cap |
帝国規模が管理許容量をどれだけ超えているか確認する | empire_sprawl_over_cap < 5 |
country |
empire_sprawl_cap_fraction |
帝国規模を管理水準との比率で確認する | empire_sprawl_cap_fraction < 0.5 |
country |
last_district_changed |
最後に建設キューへ追加・キューから削除・建設・解体・アップグレードした区域が指定対象か確認する | last_district_changed = district_capitol |
planet |
capital_tier |
惑星の首都建造物のティアを確認する | capital_tier > 1 |
planet |
has_ring |
惑星に環があるか確認する | has_ring = yes |
planet |
is_moon |
惑星が別の惑星の衛星か確認する | is_moon = yes |
planet |
opinion |
スコープ対象の国家から対象国への態度値を確認する | opinion = { who = <target> value = -70/variable } |
country |
opinion_level |
スコープ対象の国家から対象国への態度水準を確認する(比較演算子に対応) | opinion_level = { who = <target> level >= neutral } |
country |
envoy_opinion_change |
使節による対象国への態度値の変化量を確認する | envoy_opinion_change = { who = <target> value >= 25/variable } |
country |
ideal_planet_class |
POPグループ、種、または国の理想的な惑星クラスが特定のクラスであるかどうかをチェックする | ideal_planet_class = pc_tundra/<planet scope> |
country pop pop_group species |
ethos |
惑星の平均志向乖離度、すなわち国家の志向と異なるPOP数を総POP数で割った値を確認する | ethos < 0.4 |
planet |
distance |
艦船・艦隊・惑星・リーダー・POPグループ・星系から対象までの銀河地図上の距離を絶対値で確認する | distance = { source = <target> min_distance >= 50 max_distance <= 120 type=<hyperlane/euclidean> bypass_empire=<empire> min_jumps = 2 max_jumps = 10 same_solar_system = yes/no (default: no; this toggles whether the trigger checks galaxy map or solar system distances) } |
megastructure planet ship pop pop_group fleet galactic_object leader ambient_object starbase deposit archaeological_site first_contact |
is_pirate |
国が海賊国であるかどうかをチェック | is_pirate = yes |
country |
planet_size |
惑星のサイズをチェック | planet_size < 20 |
planet |
gender |
リーダーの性別をチェック | gender = female/male/indeterminable |
leader |
pop_has_ethic |
POPが特定の志向を持っているかどうかをチェック | pop_has_ethic = ethic_fanatic_xenophile |
pop pop_group |
pop_group_has_ethic |
POPグループが特定の志向を持っているかどうかをチェック | pop_group_has_ethic = ethic_fanatic_xenophile |
pop_group |
pop_group_has_trait |
POPグループが特定のトレイトを持っているかどうかをチェック | pop_group_has_trait = trait_decadent |
pop_group |
has_observation_outpost |
惑星が観測ポストを持っているかどうかをチェック | has_observation_outpost = yes |
planet |
starting_system |
星系がいずれかの国家の開始星系か確認する | starting_system = yes |
galactic_object |
graphical_culture |
国家・艦船・巨大構造物・種族が、指定した外観または対象と同じ外観を使うか確認する | When used on a species this compares the culture of the species class to the target. graphical_culture = <fungoid_01/FROM> |
megastructure country ship species |
is_civilian |
スコープ対象の艦隊または艦船が民間船か確認する(艦種定義による) | is_civilian = <yes/no> |
ship fleet |
vassals |
国家が持つ、協定プリセットpreset_vassalの従属国数を確認する |
vassals > 0 |
country |
exists |
ターゲットスコープが存在するかどうかチェック | exists = <target> |
all |
has_edict |
国家で指定した布告が有効か確認する | has_edict = crystal_sonar |
country |
is_designable |
スコープ対象の艦船設計・艦船・艦隊(全艦船)の艦種が設計可能か確認する | is_designable = yes |
ship fleet design ship_growth_stage |
is_in_cluster |
惑星または星系が指定した生成クラスターに属するか確認する | is_in_cluster = resource_cluster_3 |
planet galactic_object |
num_empires |
銀河の通常帝国の数をチェック | num_empires > 3 |
country |
leader_class |
リーダーが特定のクラスであるかをチェックする | leader_class = scientist |
leader |
leader_age |
スコープリーダーの年齢を確認する | leader_age > 85 |
leader |
leader_lifespan |
スコープリーダーの寿命をチェック | leader_lifespan > 85 |
leader |
has_deposit |
惑星にいずれか、または指定した資源埋蔵量があるか確認する | has_deposit = yes has_deposit = d_immense_engineering_deposit |
planet deposit |
is_same_value |
現在のスコープとターゲットスコープが同じものかどうかをチェックする | is_same_value = <target> |
all |
intel |
対象国の情報値をチェック | intel = { who = <target> value = 70/variable } |
country |
has_pop_faction_flag |
POP派閥に指定したフラグがあるか確認する | has_pop_faction_flag = <flag> (note: one can use e.g. my_flag@from to track relationships between objects) |
pop pop_group pop_faction |
num_communications |
国の確立された通信の数を確認します | num_communications > 3 |
country |
last_changed_policy |
国家が最後に変更した政策が指定した政策か確認する | last_changed_policy = slavery |
country |
is_species |
POPグループ/国家の創始種が特定の既定種であるかどうかをチェック | is_species = ROBOT_POP_SPECIES_2 |
country pop pop_group leader species |
last_increased_tech |
国の最後の研究技術が特定の技術だったかどうかチェック | last_increased_tech = tech_gene_expressions |
country |
original_owner |
惑星が最初の入植国に引き続き所有されているか確認する | original_owner = yes |
planet |
subjects |
国の従属国数を確認する | subjects > 0 |
country |
tech_unlocked_ratio |
国家と対象国の研究済み技術量を相対的に比較する | tech_unlocked_ratio = { who = <target> ratio = 0.4/variable } |
country |
can_colonize |
惑星へ対象国が入植できるか確認する | can_colonize = { who = <target> status = yes } |
planet |
has_special_project |
国家に指定した特別プロジェクトが利用可能か確認する | has_special_project = EMERGENCY_BUOY_PROJECT |
country |
has_completed_special_project_in_log |
国家が進行中のイベント連鎖の一部として指定した特別プロジェクトを完了済みか確認する | has_completed_special_project_in_log = EMERGENCY_BUOY_PROJECT |
country |
has_failed_special_project_in_log |
国家が進行中のイベント連鎖の一部として指定した特別プロジェクトに失敗、時間切れ、または中止したか確認する | has_failed_special_project_in_log = EMERGENCY_BUOY_PROJECT |
country |
is_subspecies |
POPグループ・国家・種族が対象種族の亜種か確認する | is_subspecies = <target> |
country pop pop_group leader species |
is_valid |
対象スコープが国家・惑星・地上軍にとって有効か確認する | is_valid = yes/no |
planet country army |
city_graphical_culture |
国家の都市画像が指定した外観、または対象と同じ外観を使うか確認する | If the target is a country, this trigger will compare its city graphical culture to the scoped country city graphical culture city_graphical_culture = <fungoid_01/FROM> |
country |
check_pop_faction_parameter |
派閥のパラメータの1つがターゲットスコープと同じかどうかチェック | check_pop_faction_parameter = { which = <parameter> value = <target> } |
pop_faction |
is_robot_pop |
POPがロボットかどうかチェック | is_robot_pop = yes |
pop pop_group |
is_robot_pop_group |
POPグループがロボットかどうかをチェック | is_robot_pop_group = yes |
pop_group |
num_fallen_empires |
銀河に存在する没落帝国の数を確認する | num_fallen_empires > 3 |
country |
is_preferred_weapons |
国家AIが、このコンポーネントタグを使う兵器を優先するか確認する | is_preferred_weapons = weapon_type_energy |
country |
has_access_fleet |
対象国が星系へ進入できるか確認する | has_access_fleet = <target> |
galactic_object |
is_point_of_interest |
惑星・国家・艦船・星系・環境オブジェクトに、指定国の指定イベントチェーン用の要注目地点があるか確認する | is_point_of_interest = { id = <id> event_chain = <event_chain> owner = <target> } |
planet country ship galactic_object ambient_object |
terraformed_by |
惑星が指定国によってテラフォーミングされたか確認する | terraformed_by = <scope> |
planet |
has_megastructure |
国家または恒星が巨大構造物を持つか確認する | has_megastructure = spy_orb_4 |
country galactic_object |
recently_lost_war |
国家が最近戦争に敗れたか確認する(ここでの「最近」は休戦期間中を意味する) | recently_lost_war = yes |
country |
has_research_agreement |
2つの国が研究協定を持っているかどうかを確認します。 | has_research_agreement = <target> |
country |
upgrade_days_left |
アップグレード中の巨大構造物が完了するまでの日数を確認する | upgrade_days_left > 360 |
megastructure |
has_any_megastructure |
スコープ対象に巨大構造物があるか確認する | has_any_megastructure = yes |
planet galactic_object |
former_living_standard_type |
以前の生活水準の種類を指定値と比較する | former_living_standard_type = living_standard_normal |
pop pop_group |
former_citizenship_type |
以前の市民権の種類を指定値と比較する | former_citizenship_type = citizenship_full |
pop pop_group |
former_military_service_type |
以前の兵役の種類を指定値と比較する | former_military_service_type = military_service_full |
pop pop_group |
former_slavery_type |
以前の奴隷制の種類を指定値と比較する | former_slavery_type = slavery_normal |
pop pop_group |
former_purge_type |
以前の浄化の種類を指定値と比較する | former_purge_type = purge_normal |
pop pop_group |
former_population_control_type |
以前の人口統制の種類を指定値と比較する | former_population_control_type = population_control_yes |
pop pop_group |
former_migration_control_type |
以前の移民統制の種類を指定値と比較する | former_migration_control_type = migration_control_yes |
pop pop_group |
inner_radius |
星系の内部半径をチェック | inner_radius > 300 |
galactic_object |
council_agenda_progress |
現在のアジェンダの進捗状況を確認します。 | council_agenda_progress >= <value> |
country |
additional_crisis_strength |
multiply_crisis_strengthエフェクトが終盤危機の強度をどれだけ増加させているか確認する |
additional_crisis_strength > 1.4 |
all |
is_alliance_fleet |
スコープ対象の艦隊が連合艦隊か確認する | is_alliance_fleet = <yes/no> |
fleet |
has_forbidden_jobs |
指定した種類の就業禁止職があるか確認する | has_forbidden_jobs = "miner" |
planet |
is_researching_special_project |
現在、特定の特別なプロジェクトを研究しているかチェック | is_researching_special_project = special_project_name |
country leader |
last_activated_relic |
指定した遺産が最後に起動した遺産か確認する | last_activated_relic = <relic_key> |
country |
is_scope_type |
現在のスコープが指定した種類か確認する | is_scope_type = fleet valid tokens are: none, megastructure, planet, country, ship, pop, fleet, galactic_object, leader, army, ambient_object, species, design,pop_faction, war, alliance, starbase,deposit,observer, sector, astral_rift. |
all |
is_robotic |
スコープ内の種族がロボット種族か確認する | is_robotic=<yes/no> |
species |
has_unlocked_all_traditions |
国がすべての伝統を開放しているかどうかチェック | has_unlocked_all_traditions = yes/no |
country |
has_potential_claims |
国家が作成可能な潜在的請求権を持つか確認する | has_potential_claims = yes/no |
country |
is_councilor_type |
リーダーが指定した評議員職を務めているか確認する | is_councilor_type = councilor_research |
leader |
is_ethic_represented_on_council |
いずれかの評議員が指定した志向を持つか確認する | is_ethic_represented_on_council = ethic_materialist |
country |
last_lost_relic |
指定した遺産が最後に失った遺産か確認する | last_lost_relic = <relic_key> |
country |
last_received_relic |
指定した遺産が最後に受け取った遺産か確認する | last_received_relic = <relic_key> |
country |
civics_count |
国家の国是数を確認する | civics_count < 3 |
country |
has_available_jobs |
指定した種類の空き職業枠があるか確認する | has_available_jobs = "miner" |
planet |
free_jobs_of_type |
惑星にある指定職業またはPOPカテゴリの空き職業枠数を確認する | free_jobs_of_type = { job = <jobtype> category = <pop_category> include_deprioritized_jobs = <yes/no>: default = no value <comparator> <value> } |
planet |
is_galactic_custodian |
帝国が銀河共同体の銀河守護者か確認する | is_galactic_custodian = yes/no |
country |
has_galactic_custodian |
銀河共同体が銀河守護者を任命済みか確認する | has_galactic_custodian = yes/no |
all |
is_galactic_emperor |
帝国が銀河皇帝か確認する | is_galactic_emperor = yes/no |
country |
has_galactic_emperor |
銀河皇帝が即位済みか確認する | has_galactic_emperor = yes/no |
all |
imperial_authority |
帝国権威を確認する | imperial_authority >=< 40 |
all |
has_stage_modifier |
諜報作戦に、現在の段階固有の指定補正があるか確認する | has_stage_modifier = <modifier> |
espionage_operation astral_rift |
galactic_defense_force_exists |
銀河防衛軍または帝国宇宙軍が存在するか確認する | galactic_defense_force_exists = yes/no |
all |
has_intel_level |
対象国の指定カテゴリについて、国家が持つ情報値水準を確認する | has_intel_level = { who = <target> category = economy level = 2/variable } |
country |
has_intel_report |
対象国の指定カテゴリについて、国家が指定水準以上の情報報告を持つか確認する | has_intel_report = { who = <target> category = economy level = 2/variable } |
country |
has_intel |
対象国について指定した情報が利用可能か確認する(古くなった情報はtrueを返さない) | has_intel = { who = <target> intel = system_low_intel } |
country |
has_stale_intel |
対象国について指定した情報が古くなっているか確認する(利用可能な情報はtrueを返さない) | has_stale_intel = { who = <target> intel = system_low_intel } |
country |
and |
すべての内部トリガーは真でなければなりません | |
all |
or |
トリガー内の少なくとも1つのエントリは真でなければなりません | |
all |
is_star |
惑星が星であるかどうかをチェック | is_star = yes |
planet |
is_asteroid |
惑星が小惑星か確認する | is_asteroid = yes |
planet |
is_astral_scar |
惑星が天体の傷跡か確認する | is_astral_scar = yes |
planet |
species_portrait |
種族(またはPOPグループ・帝国の主要種族)が指定したポートレートを使うか確認する | species_portrait = rep13 |
country pop pop_group species |
is_reanimated |
スコープ対象の艦隊または艦船が蘇生されたものか確認する(艦種定義による) | is_reanimated = <yes/no> |
ship fleet ship_growth_stage |
is_neutral_to |
国がターゲット国に対する中立的な態度を持っているかどうかチェック | is_neutral_to = <target> |
country |
trust |
対象国の信頼チェック | trust = { who = <target> value = 50/variable } |
country |
name_list_category |
帝国作成時に種族へ指定した名称リストを使っているか確認する | |
dlc_recommendation |
is_under_societal_enlightenment |
国家が社会的啓蒙を受けているか確認する | is_under_societal_enlightenment = <target> |
country |
is_under_open_technological_enlightenment |
国家が開放的技術啓蒙を受けているか確認する | is_under_open_technological_enlightenment = <target> |
country |
is_under_stratified_technological_enlightenment |
国家が階層的技術啓蒙を受けているか確認する | is_under_stratified_technological_enlightenment = <target> |
country |
has_pre_ftl_trade |
国家が前FTL文明との交易を持つか確認する | has_pre_ftl_trade = <target> |
country |
current_stage |
スコープ対象の状況で、指定段階が現在有効か確認する | current_stage = <stage> (name defined in situation's stages) |
situation |
is_leased |
スコープ付き艦隊がリースされているかどうかを確認します。 | is_leased = <yes/no> |
fleet |
lease_days |
艦隊リース契約が終了するまでの残り日数を確認する | lease_days < 77 |
fleet |
has_loyalty |
従属国の宗主国に対する現在の忠誠度を確認する | has_loyalty >=< -50 |
country |
has_monthly_loyalty |
従属国の現在の月間忠誠度増減を確認する | has_monthly_loyalty >=< -5 |
country |
can_lock_be_renewed |
バイパスロックが更新可能であればtrueを返す | can_lock_be_renewed = yes |
bypass |
acquired_specimen_count |
国家が取得済みの標本数を返す | acquired_specimen_count > <num> |
country |
balance |
国のエネルギークレジット残高を確認する | balance < 39 |
country |
is_inside_storm |
星系がいずれか、または指定した種類の宇宙嵐内にあるか確認する | is_inside_storm = yes/no/<storm_type> |
galactic_object |
is_leader_tier |
リーダーのティアが指定値か確認する | is_leader_tier = leader_tier_default |
leader |
is_on_border |
星系が国家の国境上にあるか確認する | |
galactic_object |
is_infertile |
POPグループまたは種族が不妊のトレイトを持つか確認する | is_infertile = yes/no |
pop pop_group species |
must_scavenge |
"must scavenge" としてデブリが設定されているかどうかをチェック | must_scavenge = yes/no |
debris |
must_research |
デブリにmust researchが設定されているか確認する |
must_research = yes/no |
debris |
voidworms_scaling |
ゲーム設定のボイドワーム出現倍率を確認する | |
all |
cutholoids_scaling |
ゲーム設定のカサロイド出現倍率を確認する | |
all |
attunement |
シュラウドとの同調水準を確認する | attunement > 0.5 |
country |
has_picked_auto_mod_habitability |
POPが自動改造された居住適性特性をすでに選択済みか確認する | has_picked_auto_mod_habitability = <yes/no> |
pop_group |
has_highest_technology_score |
国が最高の技術スコアを持っているかどうかをチェック | has_highest_technology_score = yes/no |
country |
is_growth_complete |
艦船の成長進捗が最大に達したか確認する | is_growth_complete = yes / no |
ship |
is_in_domain |
現在の国家が指定したパトロンの領域に属するか確認する | is_in_domain = the_eater_of_worlds |
country |
can_be_crisis_terraformed |
星系にcan_be_crisis_terraformedフラグがあるか確認する |
can_be_crisis_terraformed = <yes/no> |
galactic_object |
hidden_trigger |
トリガー内のツールチップを非表示にする | hidden_trigger = { <triggers> } |
all |
has_district |
惑星にいずれか、または指定した区域があるか確認する | has_district = yes has_district = district_mining |
planet |
free_district_slots |
惑星で新たな区域を建設できる空きスロット数を確認する | free_district_slots > 2 |
planet |
diplomacy_weight |
国家の外交発言力を確認する | diplomacy_weight > 200 |
country |
has_owner |
惑星スコープでは惑星が入植済みか、星系スコープでは星系に所有者がいるか確認する | has_owner = yes |
planet galactic_object |
free_housing |
惑星の利用可能な住宅をチェック | free_housing > 5 |
planet |
is_ai |
国家をAIが操作しているか確認する | is_ai = no |
country |
always |
トリガーを常に true または false に設定します。 | always = yes |
all |
has_trait |
POPグループ、リーダー、種族、または国家の主要種族が特定のトレイトを持つか確認する | has_trait = leader_trait_carefree |
country pop pop_group leader species dlc_recommendation |
has_ethic |
国家・POPグループ・リーダー・派閥が指定した志向を持つか確認する | has_ethic = ethic_fanatic_pacifist |
country pop pop_group leader pop_faction dlc_recommendation |
is_owned_by |
惑星・星系・地上軍・艦船が対象国に所有されているか確認する | is_owned_by = <target> |
megastructure planet ship pop pop_group fleet galactic_object leader army pop_faction starbase deposit sector archaeological_site first_contact spy_network espionage_operation agreement situation |
is_immortal |
リーダーが不滅(スクリプト効果や種特性による)かどうかチェック | is_immortal = yes/no |
leader |
is_hidden |
リーダーがプレーヤーから隠されているかどうかチェック | is_hidden = yes/no |
leader |
can_live_on_planet |
POPグループまたは種族が指定惑星での居住を許可されているか確認する | can_live_on_planet = from.capital_scope |
pop pop_group species |
days_passed |
2200年1月1日から経過したゲーム内日数を確認する | days_passed < 15 |
all |
free_amenities |
惑星の利用可能なアメニティをチェック | free_amenities > 5 |
planet |
has_deficit |
国家または惑星に指定資源の不足があるか確認する。資源不足を持てる惑星は入植済み惑星だけ | has_deficit = minerals |
planet country |
has_commercial_pact |
国家が対象国と通商協定を結んでいるか確認する | has_commercial_pact = <target> |
country |
has_role |
艦船設計に指定したロールがあるか確認する | has_role = gunship |
design ship_growth_stage |
is_being_assimilated |
POPグループが同化されているかどうかをチェック | is_being_assimilated = yes |
pop pop_group |
num_guaranteed_colonies |
セットアップで定義された保証されたコロニーの数をチェックします。 | num_guaranteed_colonies > 1 |
all |
num_owned_relics |
スコープ対象の国家が所有する遺産数を確認する | num_owned_relics > 1 |
country |
has_civic_in_slot |
国家の指定スロットに国是があるか確認する | has_civic_in_slot = { civic = civic_galactic_sovereign index = 2 } |
country |
has_total_civic_points |
国是ポイントの合計を比較する | has_total_civic_points >= <value> |
country |
has_unused_civic_points |
未使用の国是ポイントを比較する | has_unused_civic_points >= <value> |
country |
num_candidate_supported |
選挙候補を支援した回数を比較する | num_candidate_supported >= <value> |
leader |
council_agenda_progress_percent |
現在のアジェンダの進捗(0-1)を比較します。 | council_agenda_progress_percent >= <value> |
country |
council_legitimacy |
スコープ対象の国家における評議会の正統性を確認する | council_legitimacy >= <value> |
country |
has_agenda_selected |
国家が指定した評議会方針、またはいずれかの評議会方針を選択しているか確認する | has_agenda_selected = <yes/any/no/none/type> |
country |
has_unlocked_council_positions |
通常はunlock_council_slotsで解禁した評議員職の数を比較する |
has_unlocked_council_positions >= <value> |
country |
has_branch_office |
惑星に、対象国・いずれかの国家・どの国家にも所有されていない支社があるか確認する | has_branch_office = <target/yes/no> |
planet |
is_same_species |
スコープ対象のオブジェクトが別のオブジェクトと同じ種族か確認する | is_same_species = <target> |
country ship pop pop_group leader army species |
is_criminal_syndicate |
国家が犯罪組織か確認する | is_criminal_syndicate = yes |
country |
is_blocker |
スコープ付き資源埋蔵量がブロッカータイプであるかどうかチェック | is_blocker = yes |
deposit |
is_same_empire |
国家が対象国と同じ国家か確認する | is_same_empire = <target> |
country |
free_branch_office_building_slots |
惑星の支社にある空き建造物スロット数を確認する | free_branch_office_building_slots > 2 |
planet |
branch_office_value |
惑星の支社価値を確認する | branch_office_value = { who = <target> value > 10/variable } |
planet |
free_jobs |
惑星の未割り当て職業枠数を確認する | free_jobs > 12 |
planet |
is_planet_class |
惑星が特定のクラスのものであるかどうかをチェックする | is_planet_class = pc_tundra/<planet scope> |
planet dlc_recommendation |
has_strategic_resource |
惑星または天体の裂け目に戦略資源があるか確認する | has_strategic_resource = yes |
planet astral_rift |
is_star_class |
星系または恒星が指定したクラスか確認する | is_star_class = sc_black_hole/<system scope> |
planet galactic_object |
has_technology |
国家が指定水準以上の技術を持つか確認する | has_technology = tech_spaceport_4 |
country |
can_research_technology |
現在の国家が、指定技術とその前提技術のpotential条件を満たし、その技術を取得できるか確認する |
can_research_technology = <tech key> |
country |
can_copy_random_tech_from |
対象国に、現在の国家がcopy_random_tech_fromエフェクトで盗める技術があるか確認する |
can_copy_random_tech_from = { who = <country> category = computing (optional) area = physics (optional) } |
country |
can_set_policy |
国家がset_policyエフェクトで指定した政策を設定できるか確認する |
can_set_policy = { policy = <key> option = <key> } |
country |
planet_devastation |
惑星の荒廃度を確認する | planet_devastation > 10 |
planet |
is_pop_category |
POPグループが選択したPOPカテゴリを持っているかどうかをチェック | is_pop_category = <key> |
pop_group |
won_the_game |
スコープされた国がゲームに勝ったかどうかチェック | won_the_game = yes |
country |
planet_stability |
惑星の安定度を指定値と比較する | planet_stability > 50 |
planet |
perc_communications_with_playable |
プレイ可能な帝国のうち、国家が通信を確立した帝国の割合を確認する | perc_communications_with_playable > 0.3 |
country |
planet_crime |
惑星の犯罪度を指定値と比較する | planet_crime > 50 |
planet |
has_planetary_ascension_tier |
惑星のアセンション・ティアが指定値か確認する | has_planetary_ascension_tier >= 1 |
planet |
num_planetary_ascension_tiers |
帝国が有効化した惑星アセンション・ティアの総数を確認する | num_planetary_ascension_tiers >= 15 |
country |
has_job_type |
ジョブに特定のタイプが設定されているかどうかを確認します。 | has_job_type = <key> |
pop job |
has_background_job |
リーダーの経歴に指定した以前の職業が含まれるか確認する。yesなら職業の有無を問う |
has_background_job = <key/yes> |
leader |
has_planet_modifier |
惑星が特定の惑星補正を持つか確認する | has_planet_modifier = pm_titanic_life |
planet |
is_deposit_type |
資源埋蔵量が指定した種類か確認する | is_deposit_type = d_immense_engineering_deposit |
deposit |
has_built_species |
国家に建造対象として定義された種族がいるか確認する | has_built_species = yes/no |
country |
is_faction_extorted |
スコープ対象のPOP派閥が恐喝されているか確認する | is_faction_extorted = yes/no |
pop_faction |
has_extorted_faction |
国家に恐喝済みの派閥があるか確認する | has_extorted_faction = yes/no |
country |
num_buildings |
惑星にある全建造物、または指定建造物の数を確認する | num_buildings = { type = <key/any> value > 2/variable disabled = <any(default)/yes(only)/no(only)> in_construction = <any/no(default)/yes(only)> category = <any(default)/for example unity or resource> owner_type = <normal/corporate/subject_holding> limit = {} (scope = planet) } |
planet country galactic_object |
num_districts |
惑星にある全区域、または指定区域の数を確認する | num_districts = { type = <key/any> value > 2/variable } |
planet country |
num_free_districts |
惑星で建設可能な全区域、または指定区域の空きスロット数を確認する | num_free_districts = { type = <key/any> value > 2/variable } |
planet |
has_planet_flag |
惑星が特定のフラグを持っているかどうかをチェック | has_planet_flag = <flag> (note: one can use e.g. my_flag@from to track relationships between objects) |
planet |
has_first_contact_flag |
ファーストコンタクト地点に指定したフラグがあるか確認する | has_first_contact_flag = <flag> (note: one can use e.g. my_flag@from to track relationships between objects) |
first_contact |
has_situation_flag |
状況が特定のフラグを持っているかどうかチェック | has_situation_flag = <flag> (note: one can use e.g. my_flag@from to track relationships between objects) |
situation |
has_agreement_flag |
協定に指定したフラグがあるか確認する | has_agreement_flag = <flag> (note: one can use e.g. my_flag@from to track relationships between objects) |
agreement |
has_federation_flag |
連邦が特定のフラグを持っているかどうかチェック | has_federation_flag = <flag> (note: one can use e.g. my_flag@from to track relationships between objects) |
federation |
has_country_flag |
帝国が特定のフラグを持っているかどうかチェック | has_country_flag = <flag> (note: one can use e.g. my_flag@from to track relationships between objects) |
country |
has_fleet_flag |
艦隊が特定のフラグを持っているかどうかをチェック | has_fleet_flag = <flag> (note: one can use e.g. my_flag@from to track relationships between objects) |
fleet |
has_ship_flag |
艦船に指定したフラグがあるか確認する | has_ship_flag = <flag> (note: one can use e.g. my_flag@from to track relationships between objects) |
ship |
has_army_flag |
地上軍に指定したフラグがあるか確認する | has_army_flag = <flag> (note: one can use e.g. my_flag@from to track relationships between objects) |
army |
has_deposit_flag |
資源埋蔵量が特定のフラグを持っているかどうかをチェック | has_deposit_flag = <flag> (note: one can use e.g. my_flag@from to track relationships between objects) |
deposit |
has_war_flag |
戦争が特定のフラグを持っているかどうかチェック | has_war_flag = <flag> (note: one can use e.g. my_flag@from to track relationships between objects) |
war |
has_starbase_flag |
星系基地に指定したフラグがあるか確認する | has_starbase_flag = <flag> (note: one can use e.g. my_flag@from to track relationships between objects) |
starbase |
has_sector_flag |
セクターが特定のフラグを持っているかどうかチェック | has_sector_flag = <flag> (note: one can use e.g. my_flag@from to track relationships between objects) |
sector |
has_archaeology_flag |
考古学調査地点に指定したフラグがあるか確認する | has_archaeology_flag = <flag> (note: one can use e.g. my_flag@from to track relationships between objects) |
archaeological_site |
has_spynetwork_flag |
諜報網に指定したフラグがあるか確認する | has_spynetwork_flag = <flag> (note: one can use e.g. my_flag@from to track relationships between objects) |
spy_network |
has_espionage_asset_flag |
諜報アセットに指定したフラグがあるか確認する | has_espionage_asset_flag = <flag> (note: one can use e.g. my_flag@from to track relationships between objects) |
espionage_asset |
has_astral_rift_flag |
天体の裂け目に指定したフラグがあるか確認する | has_astral_rift_flag = <flag> (note: one can use e.g. my_flag@from to track relationships between objects) |
astral_rift |
has_any_flag |
指定されたスコープにフラグが設定されているかどうかをチェックする | has_any_flag = yes/no |
all |
is_ship_class |
艦船/艦隊/設計が特定のクラスであるかどうかチェック | is_ship_class = shipclass_colonizer |
ship fleet ship_growth_stage |
has_attitude_behavior |
国が別の国に対して指定されたAI行動を持っているかどうかをチェックする | has_attitude_behavior = { target = <country> behavior = attack/weaken/vassalize/alliance/coexist/trade } |
country |
is_ship_size |
艦船・艦隊・設計が指定した艦種か確認する | is_ship_size = mining_station |
ship fleet design starbase ship_growth_stage |
is_capital |
惑星が所有者の首都であるかどうかチェック | is_capital = yes |
planet |
is_capital_system |
星系にその所有国の首都があるか確認する | is_capital_system = yes |
galactic_object |
has_ground_combat |
惑星で地上戦が発生中か確認する | has_ground_combat = yes |
planet |
is_at_war |
国家が戦争中か確認する | is_at_war = yes |
country |
num_owned_leaders |
国家が雇用している使節以外のリーダー数を確認する(統治者を含む) | num_owned_leaders < 8 |
country |
num_owned_planets |
国家またはセクターが所有する惑星数を確認する | num_owned_planets < 8 |
country sector |
has_government |
国家が指定した政府形態、またはいずれかの政府形態を持つか確認する | has_government = <yes/any/no/none/type> |
country |
num_unemployed |
惑星や国全体で失業したPOPの数をチェック | num_unemployed > 301 |
planet country |
can_work_specific_job |
空きが生じた場合に、POPグループが指定職業に就けるか確認する | can_work_specific_job = <key> |
pop pop_group |
is_primitive |
国家が原始的な前FTL文明か確認する | is_primitive = yes |
country |
is_archetype |
種族が指定したアーキタイプか確認する | is_archetype = PRESAPIENT |
species |
uplift_is_archetype |
知性化後の種族が指定したアーキタイプか確認する | uplift_is_archetype = LITHOID |
species |
is_inside_nebula |
惑星・艦船・艦隊・星系が星雲内にあるか確認する | is_inside_nebula = yes |
planet ship fleet galactic_object |
is_in_frontier_space |
惑星・艦船・艦隊・星系が辺境宙域にあるか確認する | is_in_frontier_space = yes |
planet ship fleet galactic_object |
is_inside_border |
惑星・艦船・艦隊・星系が対象国の国境内にあるか確認する | is_inside_border = <target> |
planet ship fleet galactic_object |
is_overlord |
国家がいずれかの従属国の宗主国か確認する | is_overlord = yes |
country |
is_at_war_with |
国家が対象国と戦争中か確認する | is_at_war_with = <target> |
country |
their_opinion |
対象国から現在の国家への態度値を確認する | their_opinion = { who = <target> value > 25/variable } |
country |
is_same_species_class |
POPグループまたは国家が、別のPOPグループまたは国家と同じ種族クラスか確認する | is_same_species_class = <target> |
country ship pop pop_group leader army species |
has_federation |
国家が連邦に加盟しているか確認する | has_federation = yes |
country |
is_colonizable |
惑星が理論上入植可能か確認する | is_colonizable = yes |
planet |
num_minerals |
惑星の鉱物産出量合計を確認する | num_minerals < 20 |
planet |
num_physics |
惑星の物理学研究産出量合計を確認する | num_physics = 8 |
planet |
num_society |
惑星の社会学研究産出量合計を確認する | num_society > 8 |
planet |
num_engineering |
惑星の工学研究産出量合計を確認する | num_engineering < 8 |
planet |
num_modifiers |
惑星の補正数を確認する | num_modifiers < 3 |
planet |
has_any_strategic_resource |
惑星にいずれかの戦略資源があるか確認する | has_any_strategic_resource = yes |
planet |
has_pop_flag |
POPが特定のフラグを持っているかどうかをチェック | has_pop_flag = <flag> (note: one can use e.g. my_flag@from to track relationships between objects) |
pop |
has_pop_group_flag |
POPグループが特定のフラグを持っているかどうかをチェック | has_pop_group_flag = <flag> (note: one can use e.g. my_flag@from to track relationships between objects) |
pop_group |
is_occupied_flag |
惑星が軍占領下にあるかどうかをチェック | is_occupied_flag = yes |
planet |
is_damaged |
艦船が破損しているかどうかチェック | is_damaged = yes |
ship |
has_hp |
艦船の船体値を確認する | has_hp > 200 |
ship |
has_shield_hp |
艦船のシールドポイントをチェック | has_shield_hp > 200 |
ship |
has_max_hp |
艦船の最大船体値を確認する | has_max_hp > 200 |
ship |
has_max_armor_hp |
艦船の最大装甲値を確認する | has_max_armor_hp > 200 |
ship |
is_surveyed |
惑星・天体の裂け目・星系が対象国に調査済みか確認する | is_surveyed = { who = <target> status = yes } |
planet galactic_object astral_rift |
has_global_flag |
グローバルフラグが設定されているかどうかチェック | has_global_flag = <flag> (note: one can use e.g. my_flag@from to track relationships between objects) |
all |
is_variable_set |
指定された変数が現在のスコープにセットされているかどうかを確認します。 設定されていない変数エラーを避けるために使用します | is_variable_set = my_var |
megastructure planet country ship pop pop_group fleet galactic_object leader army ambient_object species bypass pop_faction war federation starbase deposit sector archaeological_site first_contact spy_network espionage_operation espionage_asset agreement situation astral_rift ship_growth_stage |
check_variable |
国家・リーダー・惑星・星系・艦隊の変数を確認する | check_variable = { which = <variable> value >=< <float>/<variable>/<scope.variable>/trigger:<trigger> } |
megastructure planet country ship pop pop_group fleet galactic_object leader army ambient_object species bypass pop_faction war federation starbase deposit sector archaeological_site first_contact spy_network espionage_operation espionage_asset agreement situation astral_rift ship_growth_stage |
check_variable_arithmetic |
スコープ対象の変数に指定した算術演算を適用した値を確認する(変数自体の値は変更しない) | check_variable_arithmetic = { which = <variable> add/subtract/multiply/divide/modulo = <float>/<variable>/<scope.variable>/trigger:<trigger> (note: this line can be repeated as many times as desired) value <=> <float>/<variable>/<scope.variable>/trigger:<trigger> (the value to compare against) } |
megastructure planet country ship pop pop_group fleet galactic_object leader army ambient_object species bypass pop_faction war federation starbase deposit sector archaeological_site first_contact spy_network espionage_operation espionage_asset agreement situation astral_rift ship_growth_stage |
check_modifier_value |
現在のスコープにある指定補正の値を指定値と比較する | check_modifier_value = { modifier = logistic_growth_mult value > 1.05/variable |
megastructure planet country ship pop pop_group fleet galactic_object leader army species design pop_faction spy_network espionage_operation |
check_economic_production_modifier_for_job |
POPが指定職業で指定資源を生産するときの経済生産補正値を確認する。全補正か特性由来だけかを指定できる。警告: 負荷の高いトリガー | check_economic_production_modifier_for_job = { job = miner resource = minerals resource = { minerals = 0.5 energy = 0.5 } (for evaluating the bonuses to multiple resources, with weights) species_modifiers_only = no (default: yes - only checks trait modifiers, trait triggered pop modifiers, and species habitability) value > 1.25 } |
planet pop_group |
check_galaxy_setup_value |
銀河の設定から特定のオプションの値をチェック | check_galaxy_setup_value = { setting = <string> value >=< <float>/<variable> } possible values: num_empires, num_advanced_empires, num_fallen_empires, num_marauder_empires, mid_game_year, end_game_year, victory_year, num_guaranteed_colonies, num_gateways, num_wormhole_pairs, num_hyperlanes, habitable_worlds_scale, primitive_worlds_scale, crisis_strength_scale, tech_costs_scale |
all |
is_colony |
惑星が入植済みか確認する | is_colony = yes |
planet |
habitability |
対象POPグループまたは種族にとっての惑星の居住性(0~1)を確認する | habitability = { who = <target> value = 0.6 } |
planet |
has_building |
惑星にいずれか、または指定した建造物があるか確認する | has_building = yes has_building = building_capital_3 |
planet |
has_holding |
惑星にいずれか、または指定した保有施設があるか確認する | has_holding = { holding = any/none/<holding> owner = <owner> } |
planet |
has_active_building |
惑星に、無効化も廃墟化もされていない指定建造物があるか確認する | has_active_building = building_capital_3 |
planet |
is_controlled_by |
惑星・艦船・艦隊・天体の裂け目・星系基地が対象国の支配下にあるか確認する | is_controlled_by = <target> |
planet ship fleet starbase astral_rift |
is_terraformed |
惑星が過去にテラフォーミングされたことがあるか確認する | is_terraformed = yes |
planet |
is_terraforming |
惑星が現在テラフォーミング中か確認する | is_terraforming = yes |
planet |
is_scripted_terraforming |
惑星が現在スクリプトによって手動でテラフォーミング中か確認する | is_scripted_terraforming = yes |
planet |
is_federation_leader |
国家が所属連邦の議長国か確認する | is_federation_leader = yes |
country |
is_mobile |
スコープ対象の艦隊が移動可能か確認する | is_mobile = <yes/no> |
fleet |
is_in_sensor_range |
指定した艦船・艦隊・惑星・星系がスコープ対象の国家から視認可能か確認する | is_in_sensor_range = <ship/fleet/system> |
country |
is_in_sensor_range_of_country |
スコープ対象の艦船・艦隊・惑星・星系が指定国から視認可能か確認する | is_in_sensor_range_of_country = root.owner |
planet ship fleet galactic_object |
has_sensor_link_from |
国が別の帝国からアクティブセンサーリンクを持っているかどうかをチェック | has_sensor_link_from = <target> |
country |
has_star_flag |
星系が特定のフラグを持っているかどうかチェック | has_star_flag = <flag> (note: one can use e.g. my_flag@from to track relationships between objects) |
galactic_object dlc_recommendation |
has_mining_station |
惑星の軌道上に採掘ステーションがあるか確認する | has_mining_station = yes |
planet |
has_research_station |
惑星の軌道上に研究ステーションがあるか確認する | has_research_station = yes |
planet |
army_type |
地上軍の種類を確認する | army_type = assault_army |
army |
is_defensive_army |
地上軍が防衛軍か確認する | is_defensive_army = yes |
army |
has_army |
惑星に地上軍があるか確認する | has_army = yes |
planet |
is_advisor_active |
国がアドバイザーを持っているかどうかをチェック | is_advisor_active = yes |
country |
is_idle |
スコープ付きリーダーがアイドルかどうかチェック | is_idle = yes |
leader |
income |
国家の月間エネルギー通貨収入を確認する | income < 90 |
country |
expenses |
国家の月間エネルギー通貨支出を確認する | expenses > 28 |
country |
num_uncleared_blockers |
惑星に残る未除去の障害物数を確認する | num_uncleared_blockers > 3 |
planet |
num_envoys_to_federation |
国家が連邦へ派遣した使節数を確認する | num_envoys_to_federation < 2 |
country |
num_envoys_to_galcom |
国家が銀河共同体へ派遣した使節数を確認する | num_envoys_to_galcom < 2 |
country |
has_envoy_task |
スコープ対象のリーダーに割り当てられた外交・使節任務を確認する | has_envoy_task = { task = improve_relations/harm_relations/federation/galactic_community/spy_network/first_contact/strengthen_imperial_authority/undermine_imperial_authority/none target = <country> (optional) } |
leader |
has_envoy_cooldown |
スコープ対象の使節が現在、状態変更のクールダウン中か確認する | has_envoy_cooldown = yes/no |
leader |
has_anomaly |
惑星に異常があるかどうかチェック | has_anomaly = yes |
planet |
stored_physics_points |
国家が備蓄している物理学研究ポイントを確認する | stored_physics_points |
country |
stored_society_points |
国家が備蓄している社会学研究ポイントを確認する | stored_society_points |
country |
stored_engineering_points |
国家が備蓄している工学研究ポイントを確認する | stored_engineering_points |
country |
running_balance |
国家の継続的なエネルギー通貨収支を確認する | running_balance > 61 |
country |
is_planet |
惑星がターゲット惑星と同じかどうかをチェック | is_planet = <target> |
planet |
is_ship |
艦船が対象艦船と同じか確認する | is_ship = <target> |
ship |
is_army |
地上軍が対象地上軍と同じか確認する | is_army = <target> |
army |
is_country |
国がターゲット国と同じかどうかをチェック | is_country = <target> |
country |
is_tutorial_level |
国のチュートリアルレベル(0オフ、1限定、2フル)をチェック | is_tutorial_level = 0 |
country |
is_multiplayer |
ゲームがマルチプレイヤーで実行されているかどうかをチェック | is_multiplayer = yes |
all |
has_event_chain |
国が特定のイベントチェーンを持っているかどうかをチェック | has_event_chain = old_gods_chain |
country |
has_completed_event_chain |
国が特定のイベントチェーンをクリアしたかどうかをチェック | has_completed_event_chain = <event_chain_key> |
country |
is_species_class |
POPグループまたは国家の創設種族が指定した種族クラスか確認する | is_species_class = MAM |
country pop pop_group species dlc_recommendation |
has_opinion_modifier |
国家が対象国またはいずれかの国家に対して指定した態度補正を持つか確認する | has_opinion_modifier = { who = <target (optional)> modifier = encroaching_colony is_reverse = no } |
country |
has_established_contact |
国家が対象国との通信を確立済みか確認する | has_established_contact = <target> |
country |
has_completed_event_chain_counter |
国家がイベント連鎖内の指定カウンターを完了済みか確認する | has_completed_event_chain_counter = { event_chain = amoebas_2_chain counter = amoebas_slaughtered } |
country |
has_planet_class |
星系が特定のクラスの惑星を持っているかどうかをチェック | has_planet_class = pc_tundra/<scope> |
galactic_object |
is_disabled |
艦船/艦隊が無効になっているかどうかチェック | is_disabled = yes |
ship fleet |
has_existing_ship_design |
国が利用可能な特定の艦船設計を持っているかどうかをチェック | |
country |
has_resource |
惑星に指定資源が指定量あるか確認する | has_resource = { type = minerals amount < 5 } has_resource = no |
planet country deposit astral_rift |
has_building_construction |
惑星でいずれか、または指定建造物を建設中か確認する | has_building_construction = yes has_building_construction = building_capital_3 |
planet |
num_fallen_empires_setting |
ゲーム設定で指定された没落帝国数を確認する | num_fallen_empires_setting > 1 |
all |
free_building_slots |
惑星で新たな建造物を建設できる空きスロット数を確認する | free_building_slots > 2 |
planet |
has_relation_flag |
国が対象国に対する関係フラグを持っているかどうかをチェック | has_relation_flag = { who = <target> flag = <flag> (note: one can use e.g. my_flag@from to track relationships between objects) } |
country |
reverse_has_relation_flag |
対象国が国に対して関係フラグを持っているかどうかチェック | reverse_has_relation_flag = { who = <target> flag = <flag> (note: one can use e.g. my_flag@from to track relationships between objects) } |
country |
has_moon |
惑星に衛星があるか確認する | has_moon = yes |
planet |
num_moons |
惑星の衛星数を確認する | num_moons < 4 |
planet |
is_sapient |
POPグループまたは種族が知的生命体か確認する | is_sapient = no |
pop_group species |
inherits_parent_rights |
POPグループまたは種族が基本種族の権利を継承しているか確認する。親種族がなければfalseを返す | inherits_parent_rights = no |
pop_group species |
is_preventing_anomaly |
惑星でアノマリー生成が禁止されているか確認する | is_preventing_anomaly = yes |
planet |
has_deposit_for |
惑星が特定の艦船クラスの資源埋蔵量を持っているかどうかをチェック | has_deposit_for = shipclass_mining_station |
planet |
colony_age |
惑星(植民地)の経過月数を確認する | colony_age > 12 |
planet |
colony_age_years |
惑星(植民地)の経過年数を確認する | colony_age_years > 12 |
planet |
is_bottleneck_system |
星系がNDefines::NGameplay::SYSTEM_BOTTLENECK_RADIUSの範囲内でボトルネックか確認する |
is_bottleneck_system = yes |
galactic_object |
is_rim_system |
星系が銀河の縁にあるかどうかチェック | is_rim_system = yes |
galactic_object |
is_country_type |
国が特定のタイプであるかどうかチェック | is_country_type = fallen_empire |
country |
has_modifier |
スコープ対象のオブジェクトに指定した補正があるか確認する | has_modifier = <modifier> |
megastructure planet country ship pop pop_group fleet galactic_object pop_faction federation starbase spy_network espionage_operation astral_rift |
mission_progress |
観測拠点で進行中のミッションが指定進捗に達したか確認する | mission_progress > 0.7 |
fleet |
num_ethics |
国家またはPOPグループの志向数を確認する | num_ethics = 3 |
country pop pop_group |
num_traits |
国家、POPグループ、リーダー、または種族のトレイト数を確認する | num_traits < 3 |
country pop pop_group leader species |
has_truce |
国家が対象国と休戦中か確認する | has_truce = <target> |
country |
can_access_system |
スコープ対象の艦隊が星系へ進入できるか確認する。注意: 負荷の高いトリガーなので多用しないこと | can_access_system = <solar system> |
fleet |
is_ringworld |
惑星がリングワールドであるかどうかをチェック | is_ringworld = yes |
planet |
member_of_faction |
POPグループがいずれか、または特定の派閥に所属するか確認する | member_of_faction = no/<pop faction scope>/isolationist |
pop pop_group |
support |
派閥、またはリーダーが属する派閥の支持度を確認する | support > 0.5 |
leader pop_faction |
is_ideal_planet_class |
惑星が対象国・種族・POPにとって理想的な惑星クラスか確認する | is_ideal_planet_class = { who = <target> status = yes/no } |
planet |
is_pop_faction_type |
派閥の種類を確認する | is_pop_faction_type = isolationist |
pop_faction |
intel_level |
ターゲット星系の国の情報値レベルをチェック | intel_level = { level > low system = <target> } |
country |
situation_progress |
スコープされた状況の進捗が特定の値であるかどうかを確認します。 | situation_progress > 15 |
situation |
situation_monthly_progress |
スコープ対象の状況の月間進捗が指定値か確認する。直前の月次更新でキャッシュされた値を返す | situation_monthly_progress > 1 |
situation |
is_situation_type |
スコープされた状況が特定のタイプであるかどうかを確認します。 | is_situation_type = my_situation_type |
situation |
current_situation_approach |
指定されたアプローチがスコープされた状況で選択されているかどうかを確認します。 | current_situation_approach = <approach> (name field of the approach) |
situation |
can_set_situation_approach |
スコープ対象の状況で、指定方針をpotentialとallowに従って選択できるか確認する |
can_set_situation_approach = <approach> (name field of the approach) |
situation |
has_faction |
国家に対象派閥種類の派閥があるか確認する | has_faction = isolationist |
country |
can_declare_war |
国がターゲット国に対して戦争を宣言できるかどうかをチェック | can_declare_war = { target = <target country> attacker_war_goal = <war goal> } |
country |
is_hostile |
国家が対象国に敵対しているか確認する | is_hostile = <target> |
country |
is_forced_neutral |
国家がset_faction_hostilityによって対象国へ中立的に設定されているか確認する |
is_forced_neutral = <target> |
country |
is_forced_friendly |
国家がset_faction_hostilityによって対象国へ友好的に設定されているか確認する |
is_forced_friendly = <target> |
country |
has_communications |
国がターゲット国とのコミュニケーションを確立しているかどうかチェック | has_communications = <target> |
country |
has_country_resource |
国家が備蓄する指定資源量を確認する | has_country_resource = { type = minerals amount > 99/variable } |
country |
has_leader_flag |
リーダーが特定のフラグを持っているかどうかチェック | has_leader_flag = <flag> (note: one can use e.g. my_flag@from to track relationships between objects) |
leader |
num_killed_ships |
国家が破壊した対象国の艦船数を確認する | num_killed_ships = { target = <target> value > 5/variable } |
country |
num_taken_planets |
国家が対象国から奪った惑星数を確認する | num_taken_planets = { target = <target> value > 1 } |
country |
is_scope_valid |
現在のスコープが有効なかどうかをチェックする | is_scope_valid = yes |
all |
opposing_ethics_divergence |
国家またはPOPグループの志向が対象の志向からどれだけ離れているか確認する | opposing_ethics_divergence = { steps > 1/variable who = <target> } |
country pop pop_group |
is_war_leader |
国家が戦争指導国か確認する | is_war_leader = yes |
country pop_faction |
is_in_federation_with |
国家が対象国と同じ連邦に加盟しているか確認する | is_in_federation_with = <target> |
country |
can_change_policy |
国家が指定政策を変更できるか確認する | can_change_policy = slavery |
country |
is_ironman |
現在のゲームがアイアンマンモードで実行されているかどうかチェック | is_ironman = yes |
all |
species_gender |
種族に許可された性別設定を確認する | species_gender = female/male/indeterminable/not_set |
species |
has_monthly_income |
特定の資源の国の月次収入をチェックする | has_monthly_income = { resource = engineering_research value < 20 } |
country |
else |
前の 'if' または 'else if' の display triggers が満たされていない場合、トリガーを評価する | if = { limit = { <display_triggers> } <triggers> } else = { <triggers> } |
all |
has_policy_flag |
国家が指定政策を持つか確認する | has_policy_flag = slavery_not_allowed |
country |
count_deposits |
指定された条件を満たす惑星上の資源埋蔵量の数をチェック | count_deposits = { type = <deposit> category = <category> count < 2 } |
planet |
count_species_traits |
種族またはPOPグループについて、指定条件内にある固有特性の数を確認する | count_species_traits = { limit = {} category = <category> cost < = > <trait cost> | count < 2 } |
pop pop_group species |
has_tech_option |
国家に現在利用可能な技術研究候補があるか確認する | has_tech_option = tech_mining_network_2 |
country |
count_tech_options |
国家にある指定分野の利用可能な技術研究候補数を確認する | count_tech_options = { area = physics count > 0/variable } |
country |
has_point_of_interest |
スコープ対象の国家の状況ログに指定した要注目地点があるか確認する | has_point_of_interest = { poi = <id> } |
planet country ship fleet galactic_object ambient_object |
is_being_repaired |
艦船または艦隊が修理中か確認する | is_being_repaired = yes |
ship fleet |
compare_distance |
現在のスコープが同じ星系内で、第2の指定対象より第1の指定対象に近いか確認する | compare_distance = { closer_object = root further_object = from } |
megastructure planet ship pop pop_group fleet galactic_object leader ambient_object starbase deposit archaeological_site first_contact |
has_ambient_object_flag |
環境オブジェクトに指定したフラグがあるか確認する | has_ambient_object_flag = <flag> (note: one can use e.g. my_flag@from to track relationships between objects) |
ambient_object |
is_ambient_object_type |
周囲オブジェクトが特定のタイプであるかどうかを確認します。 | is_ambient_object_type = caravaneer_billboard_1 |
ambient_object |
galaxy_percentage |
国がその境界内の銀河の特定の割合(0.00-1.00)を持っているかどうかチェック | galaxy_percentage > 0.40 |
country |
custom_tooltip_fail |
関連するトリガーが失敗したときにのみカスタムテキストを表示します | custom_tooltip_fail = { text = <text> <triggers> } |
all |
custom_progress |
内部のトリガーの進捗を調整する | custom_progress = { ... current_val_coeff = 0.5 final_val_coeff = 0.5 mode = <normal/simplified/clamped> } |
all |
hidden_progress |
内部のトリガーの進捗を無効化し、進捗0 of 0を返す |
hidden_progress = { <triggers> } |
all |
simple_progress |
内部のトリガーの進捗を隠し、0 of 1または1 of 1を返す |
simple_progress = { <triggers> } |
all |
is_in_combat |
艦船または艦隊が戦闘中か確認する | is_in_combat = yes |
ship fleet |
is_in_frontline |
地上軍が現在、戦闘の前線にいるか確認する | is_in_frontline = yes |
army |
is_guaranteeing |
国がターゲット国の独立性を保証するかどうかをチェック | is_guaranteeing = <target> |
country |
is_war_participant |
対象となる国が指定された側で戦争に参加しているかどうかチェック | is_war_participant = { who = <target>/war = <target> side = attackers/defenders/<target> } |
country war |
is_homeworld |
惑星が所有国の母星か確認する | is_homeworld = yes |
planet |
is_friendly_to |
国がターゲット国に対するフレンドリーな態度を持っているかどうかをチェック | is_friendly_to = <target> |
country |
is_hostile_to |
国がターゲット国に対する敵対的な態度を持っているかどうかをチェック | is_hostile_to = <target> |
country |
is_protective_to |
国がターゲット国に対する保護態度を持っているかどうかチェック | is_protective_to = <target> |
country |
is_threatened_to |
国家が対象国へ脅威を感じる態度を取っているか確認する | is_threatened_to = <target> |
country |
years_passed |
2200開始以降、ゲーム内の年数をチェック | years_passed < 150 |
all |
mid_game_years_passed |
中盤開始年から経過したゲーム内年数を確認する | mid_game_years_passed >= 50 |
all |
end_game_years_passed |
エンドゲーム開始日以降経過したゲーム内の年数をチェック | end_game_years_passed >= 50 |
all |
is_dismissive_to |
国家が対象国へ侮蔑的な態度を取っているか確認する | is_dismissive_to = <target> |
country |
is_patronizing_to |
国家が対象国へ恩着せがましい態度を取っているか確認する | is_patronizing_to = <target> |
country |
is_angry_to |
国がターゲット国に対する怒っている態度を持っているかどうかをチェック | is_angry_to = <target> |
country |
is_neighbor_of |
国家または惑星が対象国と隣接しているか確認する | is_neighbor_of = <target> |
planet country ship fleet galactic_object |
is_rival |
国家が対象国へ宿敵の態度を取っているか確認する | is_rival = <target> |
country |
is_unfriendly_to |
国がターゲット国に対する不親切な態度を持っているかどうかをチェック | is_unfriendly_to = <target> |
country |
is_loyal_to |
国がターゲット国に対する忠実な態度を持っているかどうかをチェック | is_loyal_to = <target> |
country |
is_disloyal_to |
国家が対象国へ不忠な態度を取っているか確認する | is_disloyal_to = <target> |
country |
is_cordial_to |
国家が対象国へ親密な態度を取っているか確認する | is_cordial_to = <target> |
country |
is_domineering_to |
国家が対象国へ横暴な態度を取っているか確認する | is_domineering_to = <target> |
country |
fleet_power |
スコープ対象の合計艦隊戦力を確認する | fleet_power > 2500 |
country fleet federation |
has_election_type |
国が特定の選挙タイプを持っているかどうかチェック | has_election_type = oligarchic |
country |
is_background_planet |
惑星がリーダーの出身惑星か確認する | is_background_planet = <target> |
leader |
has_ai_personality |
AI帝国が指定したAIパーソナリティか確認する | has_ai_personality = fanatic_befrienders |
country |
has_ai_personality_behaviour |
国家が指定したAIパーソナリティ行動を持つか確認する | has_ai_personality_behaviour = slaver |
country |
has_valid_ai_personality |
国家に有効なAIパーソナリティがあるか確認する | has_valid_ai_personality = yes |
country |
has_migration_access |
国家から対象国への移住が可能か確認する | has_migration_access = <target> |
country |
logged_in_to_pdx_account |
ローカルの人間プレイヤーがParadoxアカウントへログイン済みか確認する。ゲーム状態を変えうる用途で使うと必ず同期ずれを起こす | |
all |
would_join_war |
仮想戦争で国家が対象国側に参戦するか確認する | would_join_war = { attacker = <target> defender = <target> side = <target> } |
country |
count_war_participants |
戦争の指定陣営で条件を満たす参加国数を確認する | count_war_participants = { limit = { <triggers> } side = target count < 4/variable |
war |
count_potential_war_participants |
指定戦争で条件を満たす潜在的参加国数を確認する | count_potential_war_participants = { attacker = <target> defender = <target> side = <target> limit = { <triggers> } count > 2/variable |
all |
has_base_skill |
リーダーが指定した基本スキルレベルを持つか確認する | has_base_skill > 2 |
leader |
has_total_skill |
リーダーが指定した合計スキルレベル(基本値+実効値)を持つか確認する | has_total_skill > 2 |
leader |
has_experience |
リーダーが特定の経験量を持っているかどうかをチェック | has_experience < 900 |
leader |
is_under_colonization |
惑星が入植作業中か確認する | is_under_colonization = yes |
planet |
distance_to_empire |
艦船・艦隊・惑星・星系から対象帝国までの銀河地図上の距離を確認する | distance_to_empire = { who = <target> distance = x use_bypasses = no (default: yes) type = hyperlane/euclidean (default: hyperlane) } |
planet ship fleet galactic_object |
years_of_peace |
国家が平和を保っているゲーム内年数を確認する。ゲーム開始からの起算を遅らせる任意パラメータも指定できる | years_of_peace = { value > 10/variable delay = 0 } |
country |
is_within_borders_of |
惑星・星系・艦隊・艦船が対象国の国境内にあるか確認する | is_within_borders_of = <target> |
planet ship fleet galactic_object |
num_marauder_empires_to_spawn |
銀河設定で指定されたマローダー帝国数を確認する | num_marauder_empires_to_spawn > 1 |
all |
has_species_flag |
種族に指定したフラグがあるか確認する | has_species_flag = <flag> (note: one can use e.g. my_flag@from to track relationships between objects) |
species |
has_auto_move_target |
艦隊または艦船に有効な自動移動先が設定されているか確認する | has_auto_move_target = yes |
ship fleet |
count_starbase_modules |
指定した種類に該当する、または該当しない星系基地モジュール数を確認する | count_starbase_modules = { type = anchorage (optional) include_being_constructed = yes/no count < 12/variable } |
country galactic_object starbase |
count_starbase_buildings |
指定した種類に該当する、または該当しない星系基地建造物数を確認する | count_starbase_buildings = { type = command_center (optional) include_being_constructed = yes/no count < 12/variable } |
country galactic_object starbase |
is_belligerent_to |
国家が対象国へ好戦的な態度を取っているか確認する | is_belligerent_to = <target> |
country |
is_imperious_to |
国家が対象国へ尊大な態度を取っているか確認する | is_imperious_to = <target> |
country |
is_arrogant_to |
国がターゲット国に対する傲慢な態度を持っているかどうかをチェック | is_arrogant_to = <target> |
country |
has_association_status |
国家が対象国の連邦準加盟国か確認する | has_association_status = <target> |
country |
is_original_owner |
ターゲット国が惑星の元の所有者であるかどうかチェック | is_original_owner = <target> |
planet |
subject_can_diplomacy |
現在の国家が外交行動を取ることを宗主国から許可されているか確認する | subject_can_diplomacy = <target> |
country |
has_surveyed_class |
国が特定のクラスの任意の惑星を調査したかどうかをチェック | has_surveyed_class = pc_tundra |
country |
fleet_size |
艦隊のサイズを確認する | fleet_size < 125 |
fleet |
host_has_dlc |
ホストで指定DLCが有効か確認する | |
all |
local_has_dlc |
ローカルプレイヤーで指定DLCが有効か確認する | |
all |
num_rare_techs |
国家が研究済みの希少技術数を確認する | num_rare_techs < 4 |
country |
num_dangerous_techs |
国家が研究済みの危険な技術数を確認する | num_dangerous_techs < 4 |
country |
num_insight_techs |
国家が研究済みの洞察技術数を確認する | num_insight_techs < 4 |
country |
num_custom_1_techs |
国の研究された custom 1 技術の数を確認します。 | num_custom_1_techs < 4 |
country |
num_custom_2_techs |
国の研究された custom 2 技術の数を確認します。 | num_custom_2_techs < 4 |
country |
num_custom_3_techs |
国の研究された custom 3 技術の数を確認します。 | num_custom_3_techs < 4 |
country |
num_repeatable_techs |
国家が研究済みの反復技術数を確認する | num_repeatable_techs < 4 |
country |
num_researched_techs |
国家が研究済みの技術数を確認する | num_researched_techs > 21 |
country |
num_researched_techs_of_tier |
国家が研究済みの指定ティア技術数を確認する | num_researched_techs_of_tier = { tier = 2 value > 21 |
country |
can_research_tier |
国家が指定ティアの技術を研究可能か確認する | can_research_tier = { tier = 1 area = society } |
country |
nor |
反転ORトリガー | |
all |
nand |
反転ANDトリガー | |
all |
num_energy |
惑星のエネルギーの総量をチェック | num_energy > 19 |
planet |
num_armies |
国家または惑星の地上軍数を確認する | num_armies < 20 |
planet country |
has_war_goal |
戦争目標が設定されているか確認する。外交文面でのみ機能する | has_war_goal = yes |
all |
max_naval_capacity |
国家の宇宙軍許容量上限を絶対値で確認する | max_naval_capacity > 120 |
country |
used_naval_capacity_integer |
国家が使用中の宇宙軍許容量を絶対値で確認する | used_naval_capacity_integer < 89 |
country |
used_naval_capacity_percent |
国家が使用中の宇宙軍許容量を相対値(0.00~1.00)で確認する | used_naval_capacity_percent < 0.75 |
country |
max_starbase_capacity |
国家の星系基地許容量上限を確認する | max_starbase_capacity = 15 |
country |
used_starbase_capacity_integer |
国家が使用中の星系基地許容量を絶対値で確認する | used_starbase_capacity_integer = 15 |
country |
used_starbase_capacity_percent |
国家が使用中の星系基地許容量を相対値(0.00~1.00)で確認する | used_starbase_capacity_percent < 0.75 |
country |
used_defense_platform_capacity_percent |
星系基地が使用中の防衛プラットフォーム許容量を相対値(0.00~1.00)で確認する | used_defense_platform_capacity_percent < 0.75 |
starbase |
war_begun_num_fleets_gone_mia |
開戦時に行方不明となった対象国の艦隊数を確認する | war_begun_num_fleets_gone_mia = { who = <target> value < 10 } |
war |
custom_tooltip_success |
関連するトリガーが成功したときだけカスタムテキストを表示する | custom_tooltip_success = { text = <text> <triggers> } |
all |
has_active_event |
国がアクティブなイベントを持っているかどうかをチェック: | has_active_event = { event.1 event.2 event.n } |
country |
success_text |
desc = { trigger = {内で使い、関連するトリガーが成功したときにカスタムテキストを表示する |
success_text = { text = <text> <triggers> } |
all |
fail_text |
desc = { trigger = {内で使い、関連するトリガーが失敗したときにカスタムテキストを表示する |
fail_text = { text = <text> <triggers> } |
all |
has_defensive_pact |
国家が対象国と防衛協定を結んでいるか確認する | has_defensive_pact = <target> |
country |
calc_true_if |
サブトリガーの指定された数がtrueを返す場合、trueを返す | calc_true_if = { amount = 2/variable <trigger> <trigger> <trigger> } |
all |
is_researching_technology |
国家が現在指定技術を研究中か確認する | is_researching_technology = tech_gene_seed_purification |
country |
is_subject |
国家がいずれかの国家の従属国か確認する | is_subject = no |
country |
log |
デバッグ用メッセージをgame.logへ出力する |
log = <string> |
all |
is_enigmatic_to |
国家が対象国へ謎めいた態度を取っているか確認する | is_enigmatic_to = <target> |
country |
is_berserker_to |
国家が対象国へ狂戦士的な態度を取っているか確認する | is_berserker_to = <target> |
country |
has_same_ethos |
国家が別の国家またはPOPグループと同じ志向一式を持つか確認する | has_same_ethos = <target> |
country pop pop_group |
is_majority_species |
指定種族が現在の惑星で最多数の種族か確認する | is_majority_species = <species> |
planet |
has_closed_borders |
国が対象国に国境を閉じているかどうかをチェック | has_closed_borders = <target> |
country |
is_difficulty |
ゲーム難易度を確認する(0が民間人、6が元帥) | is_difficulty = 2 |
all |
is_exact_same_species |
スコープ対象が別の対象と同じ原種に由来するか、または現在まったく同じ種族インスタンスか確認する | is_exact_same_species = <target> |
country ship pop pop_group leader army species |
can_control_access_for |
国家が、対象国から自国への国境通行権を制御できるか確認する | can_control_access_for = <target> |
country |
is_overlord_to |
国家が対象国へ宗主国の態度を取っているか確認する | is_overlord_to = <target> |
country |
is_improving_relations_with |
国家が関係改善のため対象国へ使節を派遣しているか確認する | is_improving_relations_with = <target> |
country |
is_harming_relations_with |
国家が関係悪化のため対象国へ使節を派遣しているか確認する | is_harming_relations_with = <target> |
country |
distance_to_core_percent |
艦船・艦隊・惑星・リーダー・POP・星系から銀河中心までの距離を割合で確認する(中心0、銀河外縁100) | distance_to_core_percent < 60 |
all |
distance_to_capital |
支配中の星系から所有国の首都までの距離を確認する | distance_to_capital > 5 |
planet galactic_object |
has_non_aggression_pact |
国家が対象国と不可侵条約を結んでいるか確認する | has_non_aggression_pact = <target> |
country |
happiness_planet |
惑星上の平均幸福をチェック | happiness_planet < 0.6 |
planet |
has_hp_percentage |
艦隊または艦船の船体値割合を確認する | has_hp_percentage > 0.5 |
ship fleet |
has_armor_percentage |
艦隊または艦船の装甲値割合を確認する | has_armor_percentage > 0.5 |
ship fleet |
has_shield_percentage |
艦隊または艦船のシールド値割合を確認する | has_shield_percentage > 0.5 |
ship fleet |
can_join_factions |
スコープ付きPOPグループが派閥に参加できるかどうかチェック | |
pop pop_group |
is_custodial_to |
国家が対象国へ保護者的な態度を取っているか確認する | is_custodial_to = <target> |
country |
num_pops_assigned_to_job |
ジョブに割り当てられたPOPの数を確認します(合計または特定のPOPグループから) | num_pops_assigned_to_job = { pop_group = <target> (if not specified, check total number) value < 300 } |
pop job |
has_valid_civic |
現在の国家が指定した国是を持ち、その国是が有効か確認する | has_valid_civic = my_test_civic_1 |
country |
has_active_tradition |
国家が指定した伝統または置換伝統を持つか確認する。効果を与える伝統を指定し、inherit_effects = yesの置換伝統は無視して基本伝統を指定する |
has_active_tradition = tr_my_santa_claus_tradition |
country |
num_tradition_categories |
国が選んだ伝統カテゴリーの数をチェック | num_tradition_categories > 2 |
country |
is_event_leader |
リーダーが特別なイベントリーダーであるかどうかを確認します(create leaderで定義) | is_event_leader = no |
leader |
is_crises_allowed |
現在のゲームで危機が許可されているか確認する | is_crises_allowed = yes |
all |
allowed_crisis_type |
現在のゲームで出現可能な危機の種類を確認する | allowed_crisis_type = prethoryn/unbidden/contingency/synth_queen/all |
all |
is_custom_capital_location |
空間オブジェクトが所有国のカスタム首都位置か確認する | is_custom_capital_location = yes |
planet ship fleet galactic_object |
resource_income_to_expenditure_balance_ratio |
国家における指定資源の収入と支出の比率を確認する。たとえば収入80・支出100なら0.8 | resource_income_to_expenditure_balance_ratio = { resource = <resource_name> category = <category_name> # Optional; if not provided, will use sum for all Categories value ><= <value> } |
country |
resource_stockpile_compare |
国家スコープの指定資源備蓄量を確認する | resource_stockpile_compare = { resource = <resource_name> value ><= <value> mult = <variable> (optional: multiply the value by a variable, e.g. for when you are doing the same with add_resource) } |
country |
planet_resource_compare |
スコープ対象の惑星にある指定資源量を確認する。警告: 負荷の高いトリガー | planet_resource_compare = { resource = <resource_name> value ><= <value>/variable> type = upkeep/produces/balance(default) } |
planet |
resource_income_compare |
国家スコープの指定資源の純収入(収益から支出を引いた値)を確認する | resource_income_compare = { resource = <resource_name> value ><= <value> } |
country |
resource_expenses_compare |
国家スコープの指定資源支出を確認する | resource_expenses_compare = { resource = <resource_name> category = <category_name> # Optional; if not provided, will use sum for all Categories value ><= <value> } |
country |
resource_revenue_compare |
国家スコープの指定資源収益を確認する | resource_revenue_compare = { resource = <resource_name> category = <category_name> # Optional; if not provided, will use sum for all Categories value ><= <value> } |
country |
market_resource_price |
現在の国家における指定資源の市場価格を確認する | market_resource_price = { resource = <resource_name> amount = <value> (how much are you buying/selling) trade_type = market_buy/market_sell/not_set (i.e. price without market fees) value ><= <value>/<variable> } |
country |
pop_amount_percentage |
指定された基準を満たす範囲内のPOPの割合を確認します | pop_amount_percentage = { percentage > 0.74/variable limit = { <triggers> } exclude = { <triggers> } (optional: specifies pop groups to exclude from the calculation) } |
planet country pop_faction sector |
num_species |
惑星・帝国・POP派閥内の種族数を引数と比較する。遺伝子改変種を別種として数えない | num_species > 8 |
planet country pop_faction |
num_unique_species |
惑星・帝国・POP派閥内の種族数を引数と比較する。遺伝子改変種を別種として数える | num_unique_species < 12 |
planet country pop_faction |
has_diplo_migration_treaty |
2国間に移民条約があるか確認する | |
country |
has_presence |
星系に艦隊・ステーション・巨大構造物・入植済み惑星のいずれかがあるか確認する | has_presence = yes |
galactic_object |
is_megastructure_type |
スコープ対象の巨大構造物の種類をデータベース上の種類と比較する | is_megastructure_type = <name of type> |
megastructure |
is_upgrading |
スコープ対象の艦隊または巨大構造物がアップグレード中か確認する | is_upgrading = <yes/no> |
megastructure fleet |
can_be_upgraded |
スコープ対象の艦隊・艦船・星系基地・巨大構造物がアップグレード可能か確認する | can_be_upgraded = <yes/no>. |
megastructure ship fleet starbase |
relative_power |
2国間の相対戦力を比較する | |
country federation |
has_tradition |
国が与えられた伝統を持っているかどうかを確認します。 | has_tradition = tr_my_santa_claus_tradition |
country |
is_job_of_pop_category |
職業が指定したPOPカテゴリか確認する。この結果は使用箇所に依存せず、テンプレート化したスクリプト値などに使用できる | is_job_of_pop_category = { job = <job> category = <category> } |
all |
has_megastructure_flag |
巨大構造物に指定したフラグがあるか確認する | has_megastructure_flag = <flag> (note: one can use e.g. my_flag@from to track relationships between objects) |
megastructure |
has_citizenship_type |
種族・POPグループ・リーダーが所属国で指定した市民権の種類を持つか確認する | has_citizenship_type = { country = <who> type = <type> } |
pop pop_group leader species |
former_colonization_control_type |
以前の入植統制の種類を指定値と比較する | former_colonization_control_type = colonization_control_yes |
pop pop_group |
has_population_control |
POPグループの繁殖が禁止されているか確認する | has_population_control = { type = bool/<type> country = scope } |
pop pop_group leader species |
has_migration_control |
POPグループの移住が禁止されているか確認する | has_migration_control = { type = bool/<type> country = scope } |
pop pop_group leader species |
has_ascension_perk |
国が与えられたアセンションパークを持っているかどうかをチェックします。 | has_ascension_perk = ap_my_ascension_perk |
country |
num_ascension_perks |
国家が消費したアセンションパーク・ポイント数を指定値と比較する | num_ascension_perks > 7 |
country |
has_military_service_type |
種族・POPグループ・リーダーが所属国で指定した兵役の種類を持つか確認する | has_military_service_type = { country = <who> type = <type> } |
pop pop_group leader species |
has_purge_type |
種族・POPグループ・リーダーが所属国で指定した浄化の種類を持つか確認する | has_purge_type = { country = <who> type = <type> } |
pop pop_group leader species |
has_slavery_type |
種族・POPグループ・リーダーが所属国で指定した奴隷制の種類を持つか確認する | has_slavery_type = { country = <who> type = <type> } |
pop pop_group leader species |
has_living_standard |
種族・POPグループ・リーダーが所属国で指定した生活水準を持つか確認する | has_living_standard = { country = <who> type = <type> } |
pop pop_group leader species |
has_citizenship_rights |
POPグループ・種族・リーダーに権利があるか確認する | has_citizenship_rights = yes/no |
pop pop_group leader species |
num_ascension_perk_slots |
スコープ対象が解禁したアセンションパーク・スロット数を指定値と比較する | num_ascension_perks > 7 |
country |
is_fleet_idle |
艦船または艦隊が待機中か確認する | is_fleet_idle = yes |
ship fleet |
debug_break |
このトリガーに遭遇したときにデバッガを停止するアサーションをトリガーします。割り当てられた値を返します。 | debug_break = yes |
all |
has_civic |
現在の国家が指定した国是を持つか確認する | has_civic = my_test_civic_1 |
country dlc_recommendation |
has_authority |
現在の国家が指定した統治形態を持つか確認する | has_authority = auth_democratic |
country dlc_recommendation |
has_invalid_civic |
現在の国家が指定した国是を持ち、その国是が無効か確認する | has_invalid_civic = my_test_civic_1 |
country |
has_colonization_control |
POPグループの入植が禁止されているか確認する | has_colonization_control = { type = bool/<type> country = scope } |
pop pop_group leader species |
planet_garrison_strength |
惑星の地上軍戦力を確認する(現在の支配国が所有する攻撃軍と防衛軍をすべて含む)。警告: やや負荷の高いトリガー | planet_garrison_strength >= 510 |
planet |
count_species |
条件を満たす種族数を数える。亜種を別種として数えない | count_species = { count > 4 limit = { <triggers> } } |
planet country |
count_exact_species |
条件を満たす種族数を数える。亜種を別種として数える | count_exact_species = { count > 4 limit = { <triggers> } } |
planet country |
is_constructing |
スコープされた建設艦船が指定されたものを構築するかどうかチェック | is_constructing = megastructure | <megastructure type> | starbase | mining_station | research_station | observation_post | <ship class> |
ship fleet |
has_secret_fealty_from_subject_of |
対象国のいずれかの従属国から国家へ秘密の忠誠が誓われているか確認する | has_secret_fealty_from_subject_of = <country> |
country |
has_ruler_trait |
現在統治者でなくても、リーダーが指定した統治者特性を持つか確認する | has_ruler_trait = leader_trait_carefree |
leader |
num_trait_points |
国家、POPグループ、リーダー、または種族が消費したトレイトポイント数を確認する | num_trait_points < 3 |
country pop pop_group leader species |
has_component |
艦船が特定のコンポーネントを持っているかどうかをチェック | has_component = <component template key> |
ship ship_growth_stage |
has_notification_modifier |
国家に指定した通知補正があるか確認する | has_notification_modifier = <key> |
country |
pop_maintenance_cost |
POPグループの維持費を確認する | pop_maintenance_cost = { value > 0.5/variable resource = energy } |
pop_group |
conditional_tooltip |
"trigger" が真でないと、内部のトリガーは完全に無視されます。 関係しないツールチップの一部を隠すのに便利です。 | |
all |
has_natural_wormhole |
スコープ星系が少なくとも1つの自然なウォームホールを含んでいる場合trueを返します | has_natural_wormhole = yes |
galactic_object |
is_astral_rift_pool_empty |
天体の裂け目の開始イベントプールが空ならtrueを返す | is_astral_rift_pool_empty = yes |
country |
has_astral_rift |
スコープ対象の星系に天体の裂け目が1つ以上ある場合trueを返す | has_astral_rift = yes |
galactic_object |
has_claim |
国家が指定国または指定星系への請求権を持つか確認する | has_claim = <country|system> |
country |
num_active_gateways |
銀河のアクティブゲートウェイの数をチェック | num_active_gateways < 3 |
all |
attacker_war_exhaustion |
戦争の攻撃側の戦争疲弊を確認する | attacker_war_exhaustion > 0.6 |
war |
defender_war_exhaustion |
戦争の防衛側の戦争疲弊を確認する | defender_war_exhaustion < 0.2 |
war |
off_war_exhaustion_sum |
国家が行う全攻撃戦争の戦争疲弊合計を確認する | off_war_exhaustion_sum < 0.1 |
country |
def_war_exhaustion_sum |
国家が行う全防衛戦争の戦争疲弊合計を確認する | def_war_exhaustion_sum > 0.75 |
country |
has_starbase_module |
星系基地に指定したモジュールがあるか確認する | has_starbase_module = <starbase module> |
starbase |
has_starbase_building |
星系基地に指定した建造物があるか確認する | has_starbase_building = <starbase building> |
starbase |
has_starbase_size |
星系基地の艦種を比較する | has_starbase_size >= <starbase ship size> |
starbase |
has_seen_any_bypass |
スコープ対象の国家が指定種類のバイパスに遭遇したことがあるか確認する | has_seen_any_bypass = bypass_type |
country |
has_seen_specific_bypass |
スコープされた国が特定のバイパスに遭遇したことをチェック | has_seen_specific_bypass = ROOT |
country |
owns_any_bypass |
スコープされた国が特定のタイプのバイパスを含む星系を制御するかどうかチェック | owns_any_bypass = bypass_type |
country |
has_casus_belli |
国家が指定国に対して、いずれかまたは指定した有効な開戦事由を持つか確認する | has_casus_belli = { target = <country> type = <cb_type> #optional } |
country |
num_starbases |
スコープされた国が所有する星系基地の数をカウント | num_starbases >= 1 |
country |
num_owned_active_gateways |
スコープされた国が所有するアクティブなゲートウェイの数を確認します。 | num_owned_active_gateways < 3 |
country |
using_war_goal |
戦争に指定した戦争目標があるか確認する | using_war_goal = { type = <war goal> owner = <eventtarget, country> } |
war |
has_specialist_perk |
協定で指定した特化従属国パークが有効か確認する | has_specialist_perk = <perk_key> |
agreement |
has_active_specialization |
協定で指定した種類の特化が有効か確認する。anyなら種類を問わない |
has_active_specialization = <specialist_type_key/any> |
agreement |
specialist_tier |
協定に属する従属国の特化ティアを確認する | specialist_tier >=< 2 |
agreement |
is_total_war |
戦争が総力戦か確認する | is_total_war = yes/no |
war |
has_status |
スコープ対象の艦船または艦隊の現在の状態を確認する | has_status = <colossus status> #charging/firing |
ship fleet |
valid_planet_killer_target |
スコープ対象の艦隊が保有する惑星破壊兵器で指定惑星を攻撃可能か確認する | valid_planet_killer_target = <planet> |
fleet |
has_secret_fealty_with |
国家と別の国家との間に、いずれかの方向の秘密の忠誠があるか確認する | has_secret_fealty_with = <country> |
country |
has_orbital_bombardment |
惑星が軌道爆撃を受けているか確認する | has_orbital_bombardment = yes |
planet |
has_orbital_bombardment_stance |
惑星がどの程度の軌道爆撃を受けているか確認する | has_orbital_bombardment_stance = selective |
planet |
count_starbase_sizes |
スコープ対象の国家が指定艦種の星系基地を指定数持つか確認する | count_starbase_sizes = { starbase_size = <starbase_ship_size> count >= 2/variable } |
country |
is_starbase_type |
スコープ対象の星系基地が現在の所有国にとって指定したstarbase_typeか確認する |
is_starbase_type = sfortress |
starbase |
command_limit |
国家の艦隊指揮上限を確認する | command_limit > 120 |
country |
has_hyperlane_to |
星系から対象星系へハイパーレーン接続があるか確認する | has_hyperlane_to = <target> |
galactic_object |
is_bridge |
星系にbridgeフラグがあるか確認する |
is_bridge = <yes/no> |
galactic_object |
is_capitals_connected_through_relay_network |
現在の国家と対象国の首都がハイパーリレーネットワークで接続されているか確認する | is_capitals_connected_through_relay_network = <target> |
country |
is_system_connected_to_relay_network |
対象星系と自国の首都がハイパーリレーネットワークで接続されているか確認する | is_system_connected_to_relay_network = <target> |
galactic_object |
inverted_switch |
NOTとして扱われるトリガー用のswitch文 | inverted_switch = { trigger = pop_has_ethic ethic_xenophile = { <trigger> } ethic_xenophobe = { <trigger> } default = { <trigger> } } |
all |
is_scope_set |
スコープが適切なターゲットに設定されているかどうかをチェックする | is_scope_set = <target> |
planet country ship pop pop_group fleet |
is_primary_star |
惑星が星系の主星か確認する | is_primary_star = yes |
planet |
uses_district_set |
惑星が区域セット用の指定タグを持つか確認する | uses_district_set = standard |
planet |
has_climate |
惑星の気候がplanet_classesで指定した文字列に設定されているか確認する |
has_climate = dry |
planet |
built_on_planet |
スコープ対象の巨大構造物が惑星上に建設されているか確認する | built_on_planet = yes |
megastructure |
last_changed_species_rights_type |
POPグループまたはリーダーで最後に変更された種族権利が指定タイプか確認する | last_changed_species_rights_type = <living_standard/citizenship/military_service/slavery/purge/colonization_control/population_control/migration_control/none> |
pop pop_group leader |
controlled_systems |
国家またはセクターが所有する星系数を確認する | controlled_systems < 3 |
country sector |
exploitable_planets |
国家に未開発の惑星(軌道ステーションを建設可能な惑星)があるか確認する | exploitable_planets < 3 |
country |
controlled_colonizable |
現在の国家の国境内にある、居住可能だが未入植の惑星数を返す | controlled_colonizable > 0 |
country |
ai_colonize_plans |
AIが持つ入植計画数を確認する(AIではcontrolled_colonizableより軽量) |
ai_colonize_plans > 0 |
country |
ai_terraform_plans |
AIが持つテラフォーミング計画数を確認する | ai_terraform_plans > 0 |
country |
scientist_count |
国の科学者数をチェック | scientist_count < 4 |
country |
has_ai_expansion_plan |
国家AIに領土拡張計画があるか確認する | has_ai_expansion_plan = no |
country |
ai_wants_to_negotiate_agreement |
国のAIが既存の合意を再交渉したいかどうかをチェック | |
country |
is_on_market |
資源が銀河市場で有効か確認する | is_on_market = <resource_name> |
all |
can_buy_on_market |
現在の国家が市場または銀河市場で指定資源を購入できるか確認する | can_buy_on_market = <resource_name> |
country |
highest_threat |
国家に対する最大脅威度を確認する | highest_threat > 100 |
country |
has_rival |
対象国が国のライバルであるかどうかチェック | has_rival = <target> |
country |
has_subject |
対象国が現在の国家の従属国か確認する | has_subject = <target> |
country |
has_overlord |
対象国が国家の宗主国か確認する | has_overlord = <target> |
country |
has_any_overlord |
国家に宗主国がいるか確認する | has_any_overlord = yes |
country |
has_sector_type |
セクターが指定した種類か確認する | has_sector_type = <sector type> |
sector |
num_sectors |
スコープされた国が所有するセクターの数をカウント | num_sectors >= 1 |
country |
has_deposit_category |
資源埋蔵量が指定したカテゴリか確認する | has_deposit_category = <category key> |
deposit |
has_relic |
スコープ対象の国家が指定した遺産を所有するか確認する | has_relic = <relic_key> |
country |
caravaneers_enabled |
ゲーム設定でキャラバンが有効か確認する | |
all |
lgate_enabled |
ゲームのセットアップでL-Gatesが有効になっているかどうかチェック | |
all |
num_housing |
惑星の住居合計を確認する | num_housing > 5 |
planet |
num_deposits |
惑星の資源埋蔵量の総数をチェック | num_deposits > 5 |
planet |
is_sector_capital |
惑星がそのセクターの首都であるかどうかチェック | is_sector_capital = yes |
planet |
is_site_last_die_result |
最後のダイス ロールを比較します。 | is_site_last_die_result >= <int> |
archaeological_site first_contact astral_rift |
is_current_stage_difficulty |
現在のステージの難易度を比較します。 | is_current_stage_difficulty >= <int> |
archaeological_site first_contact astral_rift |
is_site_at_stage |
現在のステージインデックスを比較します。 | is_site_at_stage >= <int> |
archaeological_site |
is_current_stage_clues |
現在の段階で得た手がかり数を比較する | is_current_stage_clues >= <int> |
archaeological_site first_contact |
is_site_days_to_next_die_roll |
次のダイスロールまでの日数を比較する | is_site_days_to_next_die_roll >= <int> |
archaeological_site first_contact |
is_site_last_excavator |
最後に発掘した国家を確認する | is_site_last_excavator = <country> |
archaeological_site |
is_site_type |
サイトの種類を確認してください。 | is_site_type = <archaeological site type key> |
archaeological_site |
is_site_completed |
考古学調査地点の発掘が完了済みか確認する | is_site_completed = yes/no |
archaeological_site first_contact |
is_site_under_excavation |
現在サイトが発掘されているかどうかを確認します。 | is_site_under_excavation = yes/no |
archaeological_site |
is_site_locked |
考古学調査地点の進捗がロックされているか確認する | is_site_locked = yes/no |
archaeological_site |
is_site_current_stage_score |
現在の段階の発見スコアを比較する | is_site_current_stage_score >= <int> |
archaeological_site first_contact astral_rift |
is_site_current_stage_score_no_die |
現在のダイスロールを除いた、現在の段階の発見スコアを比較する | is_site_current_stage_score_no_die >= <int> |
archaeological_site first_contact astral_rift |
is_current_excavator_fleet |
現在発掘中の艦隊を確認する | is_current_excavator_fleet = <fleet> |
archaeological_site |
is_artificial |
惑星が人工的なかどうかを確認します(Planet classesで設定) | is_artificial = yes |
planet |
is_ideal |
惑星が理想的なかどうかをチェックします(Planet classesで設定) | is_ideal = yes |
planet |
federation_experience |
連邦の経験値を確認する | federation_experience >=< 40 ); |
federation |
federation_cohesion |
連邦の団結度を確認する | federation_cohesion >=< 40 ); |
federation |
federation_cohesion_growth |
連邦の団結度増加量を確認する | federation_cohesion_growth >=< 40 ); |
federation |
has_any_federation_law_in_category |
指定した連邦法カテゴリでいずれかの法律が有効か確認する | has_any_federation_law_in_category = <federation law category> |
federation |
has_federation_law |
指定した法律がスコープ対象の連邦で制定済みか確認する | has_federation_law = <federation law> |
federation |
has_federation_perk |
与えられたパークがスコープ付き連邦でアンロックされているかどうかをチェック | has_federation_perk = <federation perk> |
federation |
has_federation_type |
連邦が特定の連邦タイプを持っているかどうかチェック | has_federation_type = <federation type> |
federation |
federation_level |
スコープ付き連邦で与えられた値と比較して連邦レベルをチェック | federation_level >=< <federation level> |
federation |
is_voting_on_resolution |
銀河共同体がいずれか、または指定した決議を採決中か確認する | is_voting_on_resolution = <resolution/any> |
all |
is_proposing_resolution |
スコープ対象の国家がいずれか、または指定した決議を提案中か確認する | is_proposing_resolution = <resolution/any> |
country |
last_resolution_changed |
銀河共同体が最後に採決した、または可決・否決した決議が指定対象か確認する | last_resolution_changed = <resolution> |
all |
last_resolution_category_changed |
銀河共同体が最後に採決した、または可決・否決した決議が指定カテゴリか確認する | last_resolution_category_changed = <resolution_category> |
all |
position_on_current_resolution |
現在提案中の銀河共同体決議に、国家が賛成・反対・棄権のどの立場を取るか確認する | position_on_current_resolution = support/oppose/abstain |
country |
position_on_last_resolution |
直前に提案された銀河共同体決議に、国家が賛成・反対・棄権のどの立場を取ったか確認する | position_on_last_resolution = support/oppose/abstain |
country |
is_years_since_community_formation |
銀河共同体の設立から経過した年数を比較する。負の値は未設立を示す | is_years_since_community_formationn >= <int32> |
all |
is_years_since_council_establishment |
銀河理事会の設立から経過した年数を比較する。負の値は未設立を示す | is_years_since_council_establishment >= <int32> |
all |
is_galactic_community_formed |
銀河共同体が設立済みか確認する | is_galactic_community_formed = yes/no |
all |
is_galactic_council_established |
銀河理事会が設立済みか確認する | is_galactic_council_established = yes/no |
all |
is_galactic_community_member |
スコープ対象の国家が銀河共同体の加盟国か確認する | is_galactic_community_member = yes/no |
country |
has_galactic_community_emissary |
スコープ対象の国家に、銀河共同体へ配属した使節がいるか確認する | has_galactic_community_emissary = yes/no |
country |
has_passed_resolution |
過去x日・月・年以内に、国家が銀河共同体決議を可決させたか確認する | has_passed_resolution = { days/months/years = <int32> } |
country |
is_part_of_galactic_council |
スコープ対象の国家が銀河理事会の一員か確認する | is_part_of_galactic_council = yes/no |
country |
num_members |
スコープ対象の連邦の加盟国数を確認する | num_members >=< <integer value> |
federation |
num_associates |
スコープ対象の連邦の準加盟国数を確認する | num_associates >=< <integer value> |
federation |
has_origin |
スコープ対象の国家が指定した起源を持つか確認する | has_origin = <origin key> |
country dlc_recommendation |
is_last_lost_relic |
引数で渡した遺産が、現在のスコープの国家が最後に失った遺産か確認する | is_last_lost_relic = <relic_key> |
country |
is_last_received_relic |
引数で渡した遺産が、現在のスコープの国家が最後に受け取った遺産か確認する | is_last_received_relic = <relic_key> |
country |
is_active_resolution |
提供された決議がコミュニティで有効であるかどうかチェック | is_active_resolution = <resolution_type_key> |
all |
is_in_breach_of_any |
帝国が銀河の決議に違反しているかどうかを確認します。 | is_in_breach_of_any = yes/no |
country |
in_breach_of |
スコープ対象の国家が指定決議に違反中か、決議が制定されれば違反状態になるか確認する | in_breach_of = <resolution> |
country |
num_council_positions |
銀河共同体の理事国枠数を比較する | num_council_positions >= <int32> |
all |
galactic_community_rank |
銀河共同体での帝国順位(外交発言力順)を比較する。非加盟国なら-1を返す | galactic_community_rank >= <int32> |
country |
is_permanent_councillor |
帝国が銀河理事会の常任理事国か確認する | is_permanent_councillor = yes/no |
country |
is_councilor |
スコープ対象のリーダーが帝国評議会の一員または統治者か確認する | is_councilor = yes/no |
leader |
has_federation_setting |
スコープ対象の連邦で指定設定が有効か確認する | has_federation_setting = <setting> |
federation |
num_ai_empires_setting |
セットアップで定義されたAI帝国の数をチェック | num_ai_empires_setting >= 1 |
all |
num_defensive_pacts |
現在の国家が結んでいる防衛協定数を確認する | num_defensive_pacts > 2 |
country |
num_support_independence |
現在の国家が独立を支援している帝国数を確認する | num_support_independence > 2 |
country |
num_guarantees |
現在の国家が独立を保証している帝国数を確認する | num_guarantees > 2 |
country |
num_non_aggression_pacts |
現在の国家が結んでいる不可侵条約数を確認する | num_non_aggression_pacts > 2 |
country |
num_commercial_pacts |
現在の国家が結んでいる通商協定数を確認する | num_commercial_pacts > 2 |
country |
num_research_agreements |
国が持っている研究協定の数をチェック | num_research_agreements > 2 |
country |
num_migration_pacts |
国家が結んでいる移民条約数を確認する | num_migration_pacts > 2 |
country |
num_rivals |
国家が持つ宿敵関係の数を確認する | num_rivals > 2 |
country |
num_closed_borders |
国が国境を閉じた国の数をチェック | num_closed_borders > 2 |
country |
num_truces |
国家が結んでいる休戦協定数を確認する | num_truces > 2 |
country |
galaxy_size |
銀河規模が指定した種類か確認する | galaxy_size=medium |
all |
galaxy_shape |
銀河形状が指定した形状か確認する | galaxy_shape = spiral_2 |
all |
pop_has_happiness |
現在のPOPに幸福度があるか確認する | pop_has_happiness = yes/no |
pop pop_group |
pop_group_has_happiness |
現在のPOPグループに幸福度があるか確認する | pop_group_has_happiness = yes/no |
pop_group |
pop_group_size |
POPグループのサイズが引数に従っているかどうかを確認します。 | pop_group_size > 8 |
pop_group |
has_current_purge |
現在の惑星でいずれかのPOPが浄化中か確認する | has_current_purge = yes/no |
planet |
species_has_happiness_with_owner |
指定国が所有者の場合に、現在の種族に幸福度があるか確認する | species_has_happiness_with_owner = country |
species |
num_planets_in_system |
星系の惑星の総数をチェック | num_planets_in_system > 5 |
galactic_object |
num_galaxy_systems |
銀河の星系数を確認する | num_galaxy_systems > 400 |
all |
num_assigned_jobs |
惑星や国が特定の仕事をしているPOPの数をチェックします。 | num_assigned_jobs = { job = <key> value > 201 } |
planet country galactic_object |
has_active_first_contact_with |
スコープ対象の国家に、対象国との進行中のファーストコンタクトがあるか確認する | has_active_first_contact_with = <country> |
country |
can_have_first_contact_site_with |
スコープ対象の国家が対象国とのファーストコンタクトを持てるか確認する | can_have_first_contact_site_with = <country> |
country |
is_current_first_contact_stage |
スコープ対象のファーストコンタクトが指定段階か確認する | is_current_first_contact_stage = default_stage_2 |
first_contact |
has_spynetwork |
スコープ対象の国家に、値が0より大きい諜報網があるか確認する | has_spynetwork = yes |
country |
has_espionage_asset |
スコープが指定されたタイプのアセットを保持しているかどうかをチェックする | has_espionage_asset = <asset type> |
spy_network espionage_operation |
has_espionage_operation_flag |
諜報作戦に指定したフラグがあるか確認する | has_espionage_operation_flag = <flag> (note: one can use e.g. my_flag@from to track relationships between objects) |
espionage_operation |
has_crisis_perk |
国家が指定した危機パークを解禁済みか確認する | has_crisis_perk = <crisis_perk_name> |
country |
has_menace_perk |
国家が指定した脅威パークを解禁済みか確認する | has_menace_perk = <crisis_perk_name> |
country |
organic_pops_last_month_growth |
惑星で先月、成長または製造によって増えた有機POP数を確認する | organic_pops_last_month_growth > 4 |
planet |
artificial_pops_last_month_growth |
惑星で先月製造された人工POP数を確認する | artificial_pops_last_month_growth > 4 |
planet |
has_spy_power |
諜報網の潜入度を比較する | has_spy_power = <num> |
spy_network |
has_available_spy_power |
諜報網の利用可能な潜入度を比較する | has_available_spy_power = <num> |
spy_network |
has_espionage_category |
スコープが特定のカテゴリであるかどうかをチェックする | has_espionage_category = <espionage category key> |
espionage_operation |
is_running_espionage_operation |
スコープ対象で現在諜報作戦を実行中か確認する | is_running_espionage_operation = <bool> |
country spy_network |
has_espionage_type |
スコープが特定のタイプの場合をチェックする | has_espionage_type = <espionage type key> |
espionage_operation |
relative_encryption_decryption |
スコープ対象の暗号力を対象の解読力で割り、指定値と比較する。対象は国家スコープでのみ使う | relative_encryption_decryption = { target = <country> value > 1.0/variable } |
country spy_network espionage_operation |
is_espionage_operation_days_to_next_die_roll |
次のダイスロールまでの日数を比較する | is_espionage_operation_days_to_next_die_roll >= <value> |
espionage_operation |
is_espionage_operation_chapter |
現在の諜報作戦のチャプター番号を比較する | is_espionage_operation_chapter >= <int> |
espionage_operation |
is_espionage_operation_difficulty |
諜報作戦の難易度を比較する | is_espionage_operation_difficulty >= <value> |
espionage_operation |
is_espionage_operation_score_no_die |
現在のダイスロールを除いた諜報作戦スコアを比較する | is_espionage_operation_score_no_die >= <value> |
espionage_operation |
is_espionage_operation_score |
現在の諜報スコアを比較します。 | is_espionage_operation_score >= <value> |
espionage_operation |
is_espionage_operation_last_die_result |
最後のダイスロールを比較する | is_espionage_operation_last_die_result >= <int> |
espionage_operation |
is_espionage_operation_auto_accept_events |
スコープ対象の諜報作戦が、準備できたイベントを自動受諾するか確認する | is_espionage_operation_auto_accept_events = <bool> |
espionage_operation |
num_espionage_assets |
スコープオブジェクトに関連するアセットの数を比較します。 | num_espionage_assets = <int> |
spy_network espionage_operation |
has_ship_owner_type |
艦船・艦隊・設計・成長段階が指定した所有者種別(国家・連邦・銀河共同体・グローバル艦船設計)か確認する | has_ship_owner_type = galactic_community |
ship fleet design ship_growth_stage |
has_crisis_level |
国家が指定した危機レベルを解禁済みか確認する | has_crisis_level = <crisis_level_name> |
country |
has_spynetwork_value |
スコープされたオブジェクトのスパイネットワーク値を比較する | has_spynetwork_value >= <value> |
spy_network |
is_spynetwork_level |
スコープされたオブジェクトのスパイネットワークレベルを比較する | is_spynetwork_level >= <int> |
spy_network |
is_counter_espionage |
スコープ対象のオブジェクトの防諜値を比較する | is_counter_espionage >= <value> |
country |
has_embassy |
国家が対象国に大使館を開設しているか確認する | has_embassy = <target> |
country |
is_spynetwork_max_level |
スコープされたオブジェクトの最大レベルのスパイネットワークを比較する | is_spynetwork_max_level >= <int> |
spy_network |
is_starbase_building_module |
星系基地が現在特定のモジュールをビルドしているかどうかをチェックする | is_starbase_building_module = <starbase module> |
starbase |
is_starbase_building_building |
星系基地が特定の建物を現在構築しているかどうかチェック | is_starbase_building_building = <starbase building> |
starbase |
starbase_buildable_is_in_queue_before |
第1の建設対象が、第2の建設対象より先に星系基地の建設キューへ入っているか確認する(主に前提条件用) | Returns false if the first one, or both aren't in the queue. Returns true if the first one is in, but the second isn't. starbase_buildable_is_in_queue_before = { first = <buildable> second = <buildable> |
starbase |
has_job_category |
ジョブに特定のカテゴリが設定されているかどうかを確認します。 | has_job_category = <key> |
pop job |
has_term_value |
協定に指定した条項があるか確認する | has_term_value = { term = <term> value = <term_value> } |
agreement |
is_action_active |
指定した帝国(または全帝国)との取引協定で、取引アクションがすでに有効か確認する | is_action_active = { action = <action_key> with_country = <other_country_scope/any> } |
country |
is_offer_terms_actual |
スコープ対象と対象国の間にある特別提案の条件が失効していないか確認する | Only works in certain parts of the script marked with ai_trade_facility. is_offer_terms_actual = { target = <country> } |
country |
can_afford_special_offer |
スコープ対象の国家が対象国からの提案を負担可能か確認する。ai_trade_facilityで示されたスクリプト部分だけで機能する |
can_afford_special_offer = { target = <country> } |
country |
has_design_flag |
デザインが特定のフラグを持っているかどうかチェック | has_design_flag = <flag> (note: one can use e.g. my_flag@from to track relationships between objects) |
design |
enclave_capacity_left |
国家の未使用中立機構許容量を絶対値で確認する | enclave_capacity_left > 1 |
country |
is_cloaked |
艦隊または艦船がクローク中か確認する | is_cloaked = <yes/no> |
ship fleet |
has_cloaking_strength |
スコープ対象の艦隊または艦船のクローク強度を比較する | has_cloaking_strength >= <value> |
ship fleet |
has_cloaking_detection |
スコープ対象の艦隊または艦船のクローク探知力を比較する | has_cloaking_detection >= <value> |
ship fleet |
has_awareness |
前FTL文明である国家の認知度を確認する | has_awareness < 90 |
country |
current_awareness_level |
前FTL文明である国家の認知度水準を確認する | current_awareness_level > none/low/medium/high/full |
country |
has_next_pre_ftl_age |
国家が前FTL文明で、現在より後の前FTL技術時代を持つか確認する | has_next_pre_ftl_age = yes |
country |
has_pre_ftl_age |
国家が前FTL文明で、指定した時代にあるか確認する | has_pre_ftl_age = <age_key> |
country |
triumph_days_left |
遺産の勝利効果が切れるまでの日数を確認する | triumph_days_left > 900 |
country |
astral_rift_relative_difficulty |
探索者のレベルと天体の裂け目の現在の難易度との差を確認する | astral_rift_relative_difficulty ><= <int> |
astral_rift |
is_garrison |
スコープ対象の艦隊が駐屯艦隊か確認する | is_garrison = yes / no |
fleet |
num_positive_traits |
国家・POP・リーダー・種族の正の特性数を確認する(コストが0より大きい特性を数える) | num_positive_traits < 3 |
country pop pop_group leader species |
num_negative_traits |
国家・POP・リーダー・種族の負の特性数を確認する(コストが0より小さい特性を数える) | num_negative_traits < 3 |
country pop pop_group leader species |
is_on_galaxy_map |
現在のプレイヤーが銀河地図を表示中か確認する | |
planet country ship pop pop_group fleet |
is_paused |
現在のプレイヤーがゲームを一時停止しているか確認する | |
planet country ship pop pop_group fleet |
astral_rifts_completed |
国家が完了した天体の裂け目の数を返す | astral_rifts_completed ><= <int> |
country |
is_astral_rift_explored |
指定IDの天体の裂け目をスコープ対象の国家が探索中、または探索済みならtrueを返す | is_astral_rift_explored = <rift_id> |
country |
is_bypass_type |
スコープ対象のバイパスが指定種類ならtrueを返す | is_bypass_type = <type> |
bypass |
has_lock |
バイパスが次元ロックで封鎖されていればtrueを返す | has_lock = yes |
bypass |
can_go_mia |
スコープ対象の艦隊が行方不明状態になれるか確認する | can_go_mia = yes / no |
fleet |
is_on_slave_market |
スコープ付きPOPグループから任意のPOPが奴隷市場で販売されているかどうかをチェック: | is_on_slave_market = yes/no |
pop pop_group |
num_cosmic_storms |
現在発生中の宇宙嵐数を確認する | |
all |
timed_flag_days_left |
スコープ対象のオブジェクトについて、指定した期限付きフラグの残り日数を確認する | timed_flag_days_left = { flag = <flag> value > 30 } (note: one can use e.g. my_flag@from to track relationships between objects) |
megastructure planet country ship pop pop_group fleet galactic_object leader army ambient_object species pop_faction war federation starbase deposit sector no_scope archaeological_site first_contact spy_network espionage_operation espionage_asset agreement situation astral_rift |
has_asteroid_belt |
スコープ対象の銀河オブジェクトに小惑星帯があればtrueを返す | has_asteroid_belt = yes/no |
galactic_object |
cosmic_storm_system_influence |
星系の総宇宙嵐の影響をチェック | |
galactic_object |
is_last_acquired_specimen |
指定した標本が最後に取得した標本か確認する | last_acquired_specimen = <specimen> |
country |
can_give_specimen |
指定した標本を譲渡できるか確認する。譲渡済みか、利用可能な展示スロットがあるかも確認する | can_give_specimen = <specimen> |
country |
is_influence_center |
惑星スコープでは惑星が入植済みか、星系スコープでは星系に所有者がいるか確認する | has_owner = yes |
galactic_object |
has_storm_flag |
宇宙嵐が特定のフラグを持っているかどうかチェック | has_storm_flag = <flag> (note: one can use e.g. my_flag@from to track relationships between objects) |
cosmic_storm |
num_asteroid_belts |
星系の小惑星帯数を確認する | num_asteroid_belts > 1 |
galactic_object |
has_environmental_effects |
星系にいずれかの環境効果があるか確認する | |
galactic_object |
num_cosmic_storms_encountered |
国家が影響を受けた宇宙嵐の延べ数を返す。同じ嵐でも一度離れて再び影響した場合は別に数える | |
country |
num_unique_cosmic_storms_encountered |
国家が影響を受けた宇宙嵐の実数を返す。同じ嵐が一度離れて再び影響しても1つと数える | |
country |
num_storm_exploitation_buildings |
国家に有益な効果を与える宇宙嵐活用建造物数を確認する | |
planet country |
is_storm_active_in_storm_sector |
この星系が属する嵐セクター内で宇宙嵐が現在発生中か確認する。銀河は、嵐が近接して発生しないよう複数の嵐セクターに分割される | |
galactic_object |
num_cosmic_storm_early_game_spawn_chance_scale_setting |
ゲーム序盤の宇宙嵐発生確率倍率設定を確認する | |
all |
num_cosmic_storm_mid_game_spawn_chance_scale_setting |
ゲーム中盤の宇宙嵐発生確率倍率設定を確認する | |
all |
num_cosmic_storm_late_game_spawn_chance_scale_setting |
ゲーム終盤の宇宙嵐発生確率倍率設定を確認する | |
all |
num_cosmic_storm_early_game_spawn_max_cap_setting |
ゲーム序盤の宇宙嵐同時発生上限設定を確認する | |
all |
num_cosmic_storm_mid_game_spawn_max_cap_setting |
ゲーム中盤の宇宙嵐同時発生上限設定を確認する | |
all |
num_cosmic_storm_late_game_spawn_max_cap_setting |
ゲーム終盤の宇宙嵐同時発生上限設定を確認する | |
all |
num_cosmic_storm_spawn_cooldown_scale_setting |
宇宙嵐のクールダウンスケールをチェック | |
all |
is_storm_type |
スコープ対象の宇宙嵐が指定種類か確認する | is_storm_type = <type> |
cosmic_storm |
ship_size_multiplier |
スコープ対象の設計または艦船の艦種倍率を比較する | ship_size_multiplier >= <value> |
ship ship_growth_stage |
is_exhibit_active |
スコープ対象の展示が有効か確認する | is_exhibit_active = <yes/no> |
exhibit |
num_vivarium_slots |
国家が使用中のビバリウム・スロット数を返す | num_vivarium_slots > 0 |
country |
has_specimen |
スコープされた国が指定された標本を持っているかどうかチェック | has_specimen = <specimen_key/exhibit> |
country |
is_space_fauna |
スコープ対象の艦隊または艦船が宇宙動物相か確認する(艦種定義による) | is_space_fauna = <yes/no> |
ship fleet design ship_growth_stage |
can_be_reanimated |
艦船または設計を蘇生可能か確認する | can_be_reanimated = yes / no |
ship ship_growth_stage |
is_ship_category |
艦船/艦隊/設計が特定の艦船カテゴリであるかどうかチェック | is_ship_category = <key> |
ship fleet ship_growth_stage |
is_specimen_rarity |
スコープ対象の展示に含まれる指定標本が、示された希少度か確認する | is_specimen_rarity = <rarity> |
exhibit |
is_specimen_category |
スコープ対象の展示に含まれる指定標本が、示されたコレクションカテゴリか確認する | is_specimen_category = <specimen_type> |
exhibit |
count_used_naval_cap |
スコープ対象の国家または艦隊が支配する艦船のうち、条件を満たす艦船が使用する宇宙軍許容量を確認する | count_used_naval_cap = { limit = { <triggers> } count < 6 } |
country ship fleet |
fleet_integrity |
艦隊の完全性(シールド値+船体値)を確認する | fleet_integrity > 100 |
fleet |
ship_size_cost_resource_percent |
艦種費用に占める指定資源の割合を返す。食料100・鉱物300なら食料の値は0.25 | ship_size_cost_resource_percent = <resource_key> |
ship ship_growth_stage |
has_dna |
指定カテゴリのDNAを取得済みか確認する | has_dna = { ship_category = <key> rarity=<key> (optional) } |
country |
is_last_acquired_specimen_rarity |
最後に取得した標本が指定希少度か確認する | is_last_acquired_specimen_rarity = <rarity> |
country |
trait_has_all_tags |
トレイトがリスト内のすべてのタグを持っているかどうかをチェック | trait_has_all_tags = { biological lithoids } |
trait |
trait_has_any_tag |
トレイトがリストから少なくとも1つのタグを持っているかどうかをチェックする | trait_has_any_tag = { biological lithoids } |
trait |
uses_ship_category |
スコープされた国が使用するグラフィカルな文化が特定の艦船カテゴリの使用を可能にするかどうかをチェック | uses_ship_category = <category> |
country |
is_market_leader |
国家が銀河市場の主催国か確認する | is_market_leader = yes/no |
country |
used_favors_on_last_resolution |
直前の決議を可決するためスコープ対象の国家が行使した好意を確認する | used_favors_on_last_resolution >=< <int32> |
country |
is_from_proxy_war |
戦争がプロキシ戦争によって始まったかどうかをチェック | is_from_proxy_war = yes/no |
war |
num_proxy_war |
スコープ対象の国家が開始した代理戦争数を確認する | num_proxy_war >=< <value> |
country |
has_psionic_aura |
スコープ対象の星系が、いずれかまたは指定した種類のサイオニック・オーラの影響下にあるか確認する | has_psionic_aura = <yes/no> |
galactic_object |
has_patron_aura |
スコープ対象の国家に、指定パトロン由来のサイオニック・オーラがあるか確認する | has_patron_aura = the_eater_of_worlds |
country |
has_patron_relation |
スコープ対象の国家が指定パトロンとの関係を確立済みか確認する。接触状態を指定でき、既定は完了済み | has_patron_relation = { patron = <patron_key / any> contact (optional) = <completed (default)/in_progress/none/any> } |
country |
is_aura_intensity_level |
スコープ対象の星系内にあるサイオニック・オーラの強度水準を確認する | is_aura_intensity_level = 2 |
galactic_object |
planet_happiness_above_threshold |
惑星の幸福度が指定閾値を超えるか確認する。星系スコープでは、閾値を超える各惑星の幸福度合計を返す | planet_happiness_above_threshold = { threshold = 0.5 value > 0 |
planet galactic_object |
governors_skill_in_system |
スコープ内の有効な植民地総督が指定した基本スキルレベルを持つか確認する | has_base_skill > 2 |
galactic_object |
num_neighbor_systems |
特定の距離内の近隣星系の数をチェック | num_neighbor_systems = { max_distance = 1 limit = <triggers> } |
all |
is_last_acquired_specimen_from_trade |
最後に取得した標本が取引協定によるものか確認する | is_last_acquired_specimen_from_trade = <yes/no> |
country |
is_default_species |
スコープ対象の国家で、対象種族がその種族グループのデフォルトに設定されているか確認する | is_default_species = <target> |
country |
is_being_integrated_by |
種族が亜種統合を有効にする指定種族権利を持つか確認する | is_being_integrated_by = <country> |
species |
has_active_focus |
国家で指定した帝国方針カードが有効か確認する | has_active_focus = <focus_card_key> |
country |
has_completed_focus |
国家が指定した帝国方針カードを完了済みか確認する | has_completed_focus = <focus_card_key> |
country |
num_zones |
惑星にある全ゾーン、または指定ゾーンの数を確認する | num_zones = { type = <key/any> value > 2/variable } |
planet country |
bioship_can_grow |
バイオシップが成長の進行状況を得られるかどうかを確認します。 | bioship_can_grow = yes / no |
ship |
total_workforce_with_job_tag |
惑星で、指定した全タグを持つ職業に就く労働力を確認する | total_workforce_with_job_tag = { tags = { farmer trader } value = 1000 } |
planet |
total_system_workforce_with_job_tag |
星系で、指定した全タグを持つ職業に就く労働力を確認する | total_system_workforce_with_job_tag = { tags = { farmer trader } value = 1000 } |
galactic_object |
total_country_workforce_with_job_tag |
国家で、指定した全タグを持つ職業に就く労働力を確認する | total_country_workforce_with_job_tag = { tags = { farmer trader } value = 1000 } |
country |
is_last_building_changed_capital |
最後に建設キューへ追加・削除・建設・解体・アップグレードした建造物が首都建造物か確認する。記録がなければfalseを返す | is_last_building_changed_capital = yes |
planet |
category_last_picked_tradition |
最後に取得した伝統が指定カテゴリか確認する。記録がなければfalseを返す | category_last_picked_tradition = tradition_example |
country |
nb_pop_exact_species |
惑星上で指定種族に完全一致するPOP数を確認する | nb_pop_exact_species = { species = <target> value = 1/variable } |
planet |
has_covenant |
現在の国家が指定パトロンと契約を結んでいるか確認する | has_covenant = the_eater_of_worlds |
country |
last_completed_special_project_has_research_cost |
スコープ対象の国家が最後に完了した特別プロジェクトに研究コストがあるか確認する | last_completed_special_project_has_research_cost = yes |
country |
is_researching_any_technology |
国家が現在いずれかの技術を研究中か確認する | is_researching_any_technology = <yes/no> |
country |
is_last_increased_tech_repeatable |
最後に研究した技術が反復技術か確認する | is_last_increased_tech_repeatable = yes |
country |
is_last_increased_tech_rare |
最後に研究した技術が希少技術か確認する | is_last_increased_tech_rare = yes |
country |
is_last_increased_tech_category |
最後に研究した技術が指定カテゴリか確認する | is_last_increased_tech_category = psionics |
country |
get_attunement_points_for |
指定パトロンについて獲得した同調ポイントを確認する | get_attunement_points_for = { patron = <key> value = <int/variable> negative = <yes/no> (default = no, authorize negative attunement) } |
country |
is_cardinal_patron |
指定パトロンが主要パトロン(シュラウドの輪に固有の象限を持つ存在)か確認する | is_cardinal_patron = whisperers_in_the_void |
country |
count_end_cycle_systems |
円環の終わりのサイオニック・オーラに必要な星系数を確認する | count_end_cycle_systems > 50 Only works if one country is currently the crisis. |
all |
count_systems_with_aura |
国家のオーラが及ぶ星系数を確認する | count_systems_with_aura > 50 |
country |
monthly_intensity_increase |
スコープ対象の星系内にあるサイオニック・オーラの月間強度増加量を確認する | monthly_intensity_increase >= 20.5 |
galactic_object |
count_unlocked_active_accords |
国家が解禁した有効な盟約数を確認する | count_unlocked_active_accords > 2 |
country |
is_preferred_patron |
スコープ対象の国家AIが優先するパトロンを確認する | is_preferred_patron = the_eater_of_worlds |
country |
has_most_attunement |
指定パトロンがスコープ対象の国家で最も同調度の高いパトロンか確認する | has_most_attunement = the_eater_of_worlds |
country |
patron_has_all_accords_unlocked |
指定パトロンの全盟約と全契約能力が解禁済みか確認する | patron_has_all_accords_unlocked = the_eater_of_worlds |
country |
pop_group_crime |
POPグループの未補正犯罪度を確認する。植民地スコープでは惑星上の全POPグループの未補正犯罪度合計を確認する | pop_group_crime >= 50 |
planet pop_group |
has_patron_counter |
スコープ対象の国家が指定カウンターを増加させられるか確認する | has_patron_counter = po_grow_pop |
country |
count_ship_size_in_system |
スコープ対象の星系にある全艦船のship_sizeのsize_multiplier合計を確認する |
Checks whether the enclosed triggers return true for X/all of them count_ship_size_in_system = { count = <num/all/variable> limit = { <triggers> } } |
galactic_object |
any_agreement |
各協定を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_agreement = { <triggers> } |
country no_scope |
count_agreement |
各協定を反復し、条件を満たすものが指定数または全部あるか確認する | count_agreement = { count = <num/all/variable> limit = { <triggers> } } |
country no_scope |
any_ambient_object |
ゲーム内の全環境オブジェクトを反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_ambient_object = { <triggers> } |
all |
count_ambient_object |
ゲーム内の全環境オブジェクトを反復し、条件を満たすものが指定数または全部あるか確認する | count_ambient_object = { count = <num/all/variable> limit = { <triggers> } } |
all |
any_system_ambient_object |
星系内の全環境オブジェクトを反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_system_ambient_object = { <triggers> } |
galactic_object |
count_system_ambient_object |
星系内の全環境オブジェクトを反復し、条件を満たすものが指定数または全部あるか確認する | count_system_ambient_object = { count = <num/all/variable> limit = { <triggers> } } |
galactic_object |
any_archaeological_site |
全考古学調査地点を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_archaeological_site = { <triggers> } |
all |
count_archaeological_site |
全考古学調査地点を反復し、条件を満たすものが指定数または全部あるか確認する | count_archaeological_site = { count = <num/all/variable> limit = { <triggers> } } |
all |
any_owned_army |
国家が所有する各地上軍を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_owned_army = { <triggers> } |
country |
count_owned_army |
国家が所有する各地上軍を反復し、条件を満たすものが指定数または全部あるか確認する | count_owned_army = { count = <num/all/variable> limit = { <triggers> } } |
country |
any_planet_army |
所有者を問わず惑星上にいて地上戦には参加していない各地上軍を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_planet_army = { <triggers> } |
planet |
count_planet_army |
所有者を問わず惑星上にいて地上戦には参加していない各地上軍を反復し、条件を満たすものが指定数または全部あるか確認する | count_planet_army = { count = <num/all/variable> limit = { <triggers> } } |
planet |
any_ground_combat_defender |
地上戦で現在惑星を防衛している各地上軍を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_ground_combat_defender = { <triggers> } |
planet |
count_ground_combat_defender |
地上戦で現在惑星を防衛している各地上軍を反復し、条件を満たすものが指定数または全部あるか確認する | count_ground_combat_defender = { count = <num/all/variable> limit = { <triggers> } } |
planet |
any_ground_combat_attacker |
地上戦で現在惑星を攻撃している各地上軍を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_ground_combat_attacker = { <triggers> } |
planet |
count_ground_combat_attacker |
地上戦で現在惑星を攻撃している各地上軍を反復し、条件を満たすものが指定数または全部あるか確認する | count_ground_combat_attacker = { count = <num/all/variable> limit = { <triggers> } } |
planet |
any_astral_rift |
全天体の裂け目を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_astral_rift = { <triggers> } |
all |
count_astral_rift |
全天体の裂け目を反復し、条件を満たすものが指定数または全部あるか確認する | count_astral_rift = { count = <num/all/variable> limit = { <triggers> } } |
all |
any_bypass |
全バイパスを反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_bypass = { <triggers> } |
all |
count_bypass |
全バイパスを反復し、条件を満たすものが指定数または全部あるか確認する | count_bypass = { count = <num/all/variable> limit = { <triggers> } } |
all |
any_bypass_in_system |
スコープ対象の銀河オブジェクト内の全バイパスを反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_bypass_in_system = { <triggers> } |
galactic_object |
count_bypass_in_system |
スコープ対象の銀河オブジェクト内の全バイパスを反復し、条件を満たすものが指定数または全部あるか確認する | count_bypass_in_system = { count = <num/all/variable> limit = { <triggers> } } |
galactic_object |
any_cosmic_storm |
銀河内の全宇宙嵐を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_cosmic_storm = { <triggers> } |
all |
count_cosmic_storm |
銀河内の全宇宙嵐を反復し、条件を満たすものが指定数または全部あるか確認する | count_cosmic_storm = { count = <num/all/variable> limit = { <triggers> } } |
all |
any_system_within_storm |
宇宙嵐内の全星系を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_system_within_storm = { <triggers> } |
cosmic_storm |
count_system_within_storm |
宇宙嵐内の全星系を反復し、条件を満たすものが指定数または全部あるか確認する | count_system_within_storm = { count = <num/all/variable> limit = { <triggers> } } |
cosmic_storm |
any_cosmic_storm_start_position |
宇宙嵐の開始位置として有効な全星系を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_cosmic_storm_start_position = { <triggers> } |
all |
count_cosmic_storm_start_position |
宇宙嵐の開始位置として有効な全星系を反復し、条件を満たすものが指定数または全部あるか確認する | count_cosmic_storm_start_position = { count = <num/all/variable> limit = { <triggers> } } |
all |
any_cosmic_storm_end_position |
宇宙嵐の終了位置として有効な全星系を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_cosmic_storm_end_position = { <triggers> } |
all |
count_cosmic_storm_end_position |
宇宙嵐の終了位置として有効な全星系を反復し、条件を満たすものが指定数または全部あるか確認する | count_cosmic_storm_end_position = { count = <num/all/variable> limit = { <triggers> } } |
all |
any_system_added_to_storm |
宇宙嵐へ追加された全星系を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_system_added_to_storm = { <triggers> } |
cosmic_storm |
count_system_added_to_storm |
宇宙嵐へ追加された全星系を反復し、条件を満たすものが指定数または全部あるか確認する | count_system_added_to_storm = { count = <num/all/variable> limit = { <triggers> } } |
cosmic_storm |
any_system_removed_from_storm |
宇宙嵐から外れた全星系を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_system_removed_from_storm = { <triggers> } |
cosmic_storm |
count_system_removed_from_storm |
宇宙嵐から外れた全星系を反復し、条件を満たすものが指定数または全部あるか確認する | count_system_removed_from_storm = { count = <num/all/variable> limit = { <triggers> } } |
cosmic_storm |
any_owned_storm_influence_field |
国家が所有する全宇宙嵐影響フィールドを反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_owned_storm_influence_field = { <triggers> } |
country |
count_owned_storm_influence_field |
国家が所有する全宇宙嵐影響フィールドを反復し、条件を満たすものが指定数または全部あるか確認する | count_owned_storm_influence_field = { count = <num/all/variable> limit = { <triggers> } } |
country |
any_system_in_cosmic_storm_influence_field |
国家が所有する宇宙嵐影響フィールド内の全星系を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_system_in_cosmic_storm_influence_field = { <triggers> } |
cosmic_storm_influence_field |
count_system_in_cosmic_storm_influence_field |
国家が所有する宇宙嵐影響フィールド内の全星系を反復し、条件を満たすものが指定数または全部あるか確認する | count_system_in_cosmic_storm_influence_field = { count = <num/all/variable> limit = { <triggers> } } |
cosmic_storm_influence_field |
any_country |
全国家を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_country = { <triggers> } |
all |
count_country |
全国家を反復し、条件を満たすものが指定数または全部あるか確認する | count_country = { count = <num/all/variable> limit = { <triggers> } } |
all |
any_relation |
全国家関係を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_relation = { <triggers> } |
country |
count_relation |
全国家関係を反復し、条件を満たすものが指定数または全部あるか確認する | count_relation = { count = <num/all/variable> limit = { <triggers> } } |
country |
any_neighbor_country |
全隣接国を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_neighbor_country = { <triggers> } |
country |
count_neighbor_country |
全隣接国を反復し、条件を満たすものが指定数または全部あるか確認する | count_neighbor_country = { count = <num/all/variable> limit = { <triggers> } } |
country |
any_country_neighbor_to_system |
現在の星系から1ジャンプ先(バイパスを含む)の星系を所有する全国家を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_country_neighbor_to_system = { <triggers> } |
galactic_object |
count_country_neighbor_to_system |
現在の星系から1ジャンプ先(バイパスを含む)の星系を所有する全国家を反復し、条件を満たすものが指定数または全部あるか確認する | count_country_neighbor_to_system = { count = <num/all/variable> limit = { <triggers> } } |
galactic_object |
any_rival_country |
スコープ対象の国家が宿敵とする全国家を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_rival_country = { <triggers> } |
country |
count_rival_country |
スコープ対象の国家が宿敵とする全国家を反復し、条件を満たすものが指定数または全部あるか確認する | count_rival_country = { count = <num/all/variable> limit = { <triggers> } } |
country |
any_federation_ally |
スコープ対象の国家と同じ連邦にいる全国家を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_federation_ally = { <triggers> } |
country |
count_federation_ally |
スコープ対象の国家と同じ連邦にいる全国家を反復し、条件を満たすものが指定数または全部あるか確認する | count_federation_ally = { count = <num/all/variable> limit = { <triggers> } } |
country |
any_playable_country |
全プレイ可能国家を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_playable_country = { <triggers> } |
all |
count_playable_country |
全プレイ可能国家を反復し、条件を満たすものが指定数または全部あるか確認する | count_playable_country = { count = <num/all/variable> limit = { <triggers> } } |
all |
any_subject |
スコープ対象の国家の全従属国を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_subject = { <triggers> } |
country |
count_subject |
スコープ対象の国家の全従属国を反復し、条件を満たすものが指定数または全部あるか確認する | count_subject = { count = <num/all/variable> limit = { <triggers> } } |
country |
any_available_debris |
スコープ対象の国家が利用できる特別プロジェクトに属する全デブリを反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_available_debris = { <triggers> } |
country |
count_available_debris |
スコープ対象の国家が利用できる特別プロジェクトに属する全デブリを反復し、条件を満たすものが指定数または全部あるか確認する | count_available_debris = { count = <num/all/variable> limit = { <triggers> } } |
country |
any_pre_ftl_within_border |
国家またはセクターの国境内にいる全前FTL文明を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_pre_ftl_within_border = { <triggers> } |
country sector |
count_pre_ftl_within_border |
国家またはセクターの国境内にいる全前FTL文明を反復し、条件を満たすものが指定数または全部あるか確認する | count_pre_ftl_within_border = { count = <num/all/variable> limit = { <triggers> } } |
country sector |
any_observed_pre_ftl_within_border |
国家またはセクターの国境内で首都に観測拠点がある全前FTL文明を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_observed_pre_ftl_within_border = { <triggers> } |
country sector |
count_observed_pre_ftl_within_border |
国家またはセクターの国境内で首都に観測拠点がある全前FTL文明を反復し、条件を満たすものが指定数または全部あるか確認する | count_observed_pre_ftl_within_border = { count = <num/all/variable> limit = { <triggers> } } |
country sector |
any_owned_design |
現在の国家が所有する全設計を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_owned_design = { <triggers> } |
country |
count_owned_design |
現在の国家が所有する全設計を反復し、条件を満たすものが指定数または全部あるか確認する | count_owned_design = { count = <num/all/variable> limit = { <triggers> } } |
country |
any_spynetwork |
各諜報網を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_spynetwork = { <triggers> } |
country no_scope |
count_spynetwork |
各諜報網を反復し、条件を満たすものが指定数または全部あるか確認する | count_spynetwork = { count = <num/all/variable> limit = { <triggers> } } |
country no_scope |
any_espionage_operation |
各諜報作戦を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_espionage_operation = { <triggers> } |
country no_scope spy_network |
count_espionage_operation |
各諜報作戦を反復し、条件を満たすものが指定数または全部あるか確認する | count_espionage_operation = { count = <num/all/variable> limit = { <triggers> } } |
country no_scope spy_network |
any_espionage_asset |
各諜報アセットを反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_espionage_asset = { <triggers> } |
no_scope spy_network espionage_operation |
count_espionage_asset |
各諜報アセットを反復し、条件を満たすものが指定数または全部あるか確認する | count_espionage_asset = { count = <num/all/variable> limit = { <triggers> } } |
no_scope spy_network espionage_operation |
any_exhibit |
全展示を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_exhibit = { <triggers> } |
country |
count_exhibit |
全展示を反復し、条件を満たすものが指定数または全部あるか確認する | count_exhibit = { count = <num/all/variable> limit = { <triggers> } } |
country |
any_federation |
各連邦を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_federation = { <triggers> } |
all |
count_federation |
各連邦を反復し、条件を満たすものが指定数または全部あるか確認する | count_federation = { count = <num/all/variable> limit = { <triggers> } } |
all |
any_first_contact |
この国家が行っている全ファーストコンタクト(進行中と完了済み)を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_first_contact = { <triggers> } |
country |
count_first_contact |
この国家が行っている全ファーストコンタクト(進行中と完了済み)を反復し、条件を満たすものが指定数または全部あるか確認する | count_first_contact = { count = <num/all/variable> limit = { <triggers> } } |
country |
any_active_first_contact |
この国家が行っている進行中の全ファーストコンタクトを反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_active_first_contact = { <triggers> } |
country |
count_active_first_contact |
この国家が行っている進行中の全ファーストコンタクトを反復し、条件を満たすものが指定数または全部あるか確認する | count_active_first_contact = { count = <num/all/variable> limit = { <triggers> } } |
country |
any_galaxy_fleet |
ゲーム全体の各艦隊を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_galaxy_fleet = { <triggers> } |
all |
count_galaxy_fleet |
ゲーム全体の各艦隊を反復し、条件を満たすものが指定数または全部あるか確認する | count_galaxy_fleet = { count = <num/all/variable> limit = { <triggers> } } |
all |
any_combatant_fleet |
この艦隊と交戦中の各艦隊を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_combatant_fleet = { <triggers> } |
fleet |
count_combatant_fleet |
この艦隊と交戦中の各艦隊を反復し、条件を満たすものが指定数または全部あるか確認する | count_combatant_fleet = { count = <num/all/variable> limit = { <triggers> } } |
fleet |
any_fleet_in_system |
現在の星系内の各艦隊を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_fleet_in_system = { <triggers> } |
galactic_object |
count_fleet_in_system |
現在の星系内の各艦隊を反復し、条件を満たすものが指定数または全部あるか確認する | count_fleet_in_system = { count = <num/all/variable> limit = { <triggers> } } |
galactic_object |
any_owned_fleet |
国家が所有する各艦隊を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_owned_fleet = { <triggers> } |
country |
count_owned_fleet |
国家が所有する各艦隊を反復し、条件を満たすものが指定数または全部あるか確認する | count_owned_fleet = { count = <num/all/variable> limit = { <triggers> } } |
country |
any_controlled_fleet |
国家が支配する各艦隊を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_controlled_fleet = { <triggers> } |
country |
count_controlled_fleet |
国家が支配する各艦隊を反復し、条件を満たすものが指定数または全部あるか確認する | count_controlled_fleet = { count = <num/all/variable> limit = { <triggers> } } |
country |
any_fleet_in_orbit |
現在の惑星・星系基地・巨大構造物を周回する各艦隊を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_fleet_in_orbit = { <triggers> } |
megastructure planet starbase |
count_fleet_in_orbit |
現在の惑星・星系基地・巨大構造物を周回する各艦隊を反復し、条件を満たすものが指定数または全部あるか確認する | count_fleet_in_orbit = { count = <num/all/variable> limit = { <triggers> } } |
megastructure planet starbase |
any_orbital_station |
現在の国家が所有する、または現在の星系にある各軌道ステーションを反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_orbital_station = { <triggers> } |
country galactic_object |
count_orbital_station |
現在の国家が所有する、または現在の星系にある各軌道ステーションを反復し、条件を満たすものが指定数または全部あるか確認する | count_orbital_station = { count = <num/all/variable> limit = { <triggers> } } |
country galactic_object |
any_galcom_member |
銀河共同体の各加盟国を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_galcom_member = { <triggers> } |
all |
count_galcom_member |
銀河共同体の各加盟国を反復し、条件を満たすものが指定数または全部あるか確認する | count_galcom_member = { count = <num/all/variable> limit = { <triggers> } } |
all |
any_council_member |
銀河理事会の各理事国を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_council_member = { <triggers> } |
all |
count_council_member |
銀河理事会の各理事国を反復し、条件を満たすものが指定数または全部あるか確認する | count_council_member = { count = <num/all/variable> limit = { <triggers> } } |
all |
any_owned_leader |
国家が所有する各リーダーを反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_owned_leader = { <triggers> } |
country |
count_owned_leader |
国家が所有する各リーダーを反復し、条件を満たすものが指定数または全部あるか確認する | count_owned_leader = { count = <num/all/variable> limit = { <triggers> } } |
country |
any_pool_leader |
国家が雇用可能な各リーダーを反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_pool_leader = { <triggers> } |
country |
count_pool_leader |
国家が雇用可能な各リーダーを反復し、条件を満たすものが指定数または全部あるか確認する | count_pool_leader = { count = <num/all/variable> limit = { <triggers> } } |
country |
any_envoy |
国家が利用可能な各使節を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_envoy = { <triggers> } |
country |
count_envoy |
国家が利用可能な各使節を反復し、条件を満たすものが指定数または全部あるか確認する | count_envoy = { count = <num/all/variable> limit = { <triggers> } } |
country |
any_megastructure |
各巨大構造物を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_megastructure = { <triggers> } |
all |
count_megastructure |
各巨大構造物を反復し、条件を満たすものが指定数または全部あるか確認する | count_megastructure = { count = <num/all/variable> limit = { <triggers> } } |
all |
any_owned_megastructure |
所有する各巨大構造物を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_owned_megastructure = { <triggers> } |
country |
count_owned_megastructure |
所有する各巨大構造物を反復し、条件を満たすものが指定数または全部あるか確認する | count_owned_megastructure = { count = <num/all/variable> limit = { <triggers> } } |
country |
any_system_megastructure |
星系内の各巨大構造物を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_system_megastructure = { <triggers> } |
all |
count_system_megastructure |
星系内の各巨大構造物を反復し、条件を満たすものが指定数または全部あるか確認する | count_system_megastructure = { count = <num/all/variable> limit = { <triggers> } } |
all |
any_member |
連邦の各加盟国を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_member = { <triggers> } |
federation |
count_member |
連邦の各加盟国を反復し、条件を満たすものが指定数または全部あるか確認する | count_member = { count = <num/all/variable> limit = { <triggers> } } |
federation |
any_associate |
連邦の各準加盟国を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_associate = { <triggers> } |
federation |
count_associate |
連邦の各準加盟国を反復し、条件を満たすものが指定数または全部あるか確認する | count_associate = { count = <num/all/variable> limit = { <triggers> } } |
federation |
any_system_planet |
現在の星系内の各惑星(植民地か否かを問わない)を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_system_planet = { <triggers> } |
galactic_object |
count_system_planet |
現在の星系内の各惑星(植民地か否かを問わない)を反復し、条件を満たすものが指定数または全部あるか確認する | count_system_planet = { count = <num/all/variable> limit = { <triggers> } } |
galactic_object |
any_system_colony |
現在の星系内の各植民地を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_system_colony = { <triggers> } |
galactic_object |
count_system_colony |
現在の星系内の各植民地を反復し、条件を満たすものが指定数または全部あるか確認する | count_system_colony = { count = <num/all/variable> limit = { <triggers> } } |
galactic_object |
any_planet_within_border |
現在の帝国の国境内にある各惑星を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_planet_within_border = { <triggers> } |
country |
count_planet_within_border |
現在の帝国の国境内にある各惑星を反復し、条件を満たすものが指定数または全部あるか確認する | count_planet_within_border = { count = <num/all/variable> limit = { <triggers> } } |
country |
any_owned_planet |
現在の帝国が所有する各入植済み惑星を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_owned_planet = { <triggers> } |
country sector |
count_owned_planet |
現在の帝国が所有する各入植済み惑星を反復し、条件を満たすものが指定数または全部あるか確認する | count_owned_planet = { count = <num/all/variable> limit = { <triggers> } } |
country sector |
any_controlled_planet |
現在の帝国が支配する各入植済み惑星を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_controlled_planet = { <triggers> } |
country |
count_controlled_planet |
現在の帝国が支配する各入植済み惑星を反復し、条件を満たすものが指定数または全部あるか確認する | count_controlled_planet = { count = <num/all/variable> limit = { <triggers> } } |
country |
any_galaxy_planet |
ゲーム全体の各惑星(警告: 負荷が高い)を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_galaxy_planet = { <triggers> } |
all |
count_galaxy_planet |
ゲーム全体の各惑星(警告: 負荷が高い)を反復し、条件を満たすものが指定数または全部あるか確認する | count_galaxy_planet = { count = <num/all/variable> limit = { <triggers> } } |
all |
any_deposit |
惑星上の各資源埋蔵量を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_deposit = { <triggers> } |
planet |
count_deposit |
惑星上の各資源埋蔵量を反復し、条件を満たすものが指定数または全部あるか確認する | count_deposit = { count = <num/all/variable> limit = { <triggers> } } |
planet |
any_moon |
惑星の各衛星を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_moon = { <triggers> } |
planet |
count_moon |
惑星の各衛星を反復し、条件を満たすものが指定数または全部あるか確認する | count_moon = { count = <num/all/variable> limit = { <triggers> } } |
planet |
any_pop_faction |
国家の全POP派閥を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_pop_faction = { <triggers> } |
country |
count_pop_faction |
国家の全POP派閥を反復し、条件を満たすものが指定数または全部あるか確認する | count_pop_faction = { count = <num/all/variable> limit = { <triggers> } } |
country |
any_owned_pop_group |
所有する全POPグループを反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_owned_pop_group = { <triggers> } |
planet country galactic_object pop_faction sector |
count_owned_pop_group |
所有する全POPグループを反復し、条件を満たすものが指定数または全部あるか確認する | count_owned_pop_group = { count = <num/all/variable> limit = { <triggers> } } |
planet country galactic_object pop_faction sector |
count_owned_pop_amount |
所有する全POPグループのPOP数を合計し、条件を満たすものが指定数または全部あるか確認する | count_owned_pop_amount = { count = <num/all/variable> limit = { <triggers> } } |
planet country galactic_object pop_faction sector |
any_species_pop_group |
この種族に属する各POPグループ(警告: 負荷が高い)を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_species_pop_group = { <triggers> } |
species |
count_species_pop_group |
この種族に属する各POPグループ(警告: 負荷が高い)を反復し、条件を満たすものが指定数または全部あるか確認する | count_species_pop_group = { count = <num/all/variable> limit = { <triggers> } } |
species |
any_job_pop_group |
この職業を含む各POPグループを反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_job_pop_group = { <triggers> } |
pop job |
count_job_pop_group |
この職業を含む各POPグループを反復し、条件を満たすものが指定数または全部あるか確認する | count_job_pop_group = { count = <num/all/variable> limit = { <triggers> } } |
pop job |
any_owned_pop_job |
所有する全POP職業を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_owned_pop_job = { <triggers> } |
planet country galactic_object sector |
count_owned_pop_job |
所有する全POP職業を反復し、条件を満たすものが指定数または全部あるか確認する | count_owned_pop_job = { count = <num/all/variable> limit = { <triggers> } } |
planet country galactic_object sector |
count_owned_workforce |
所有する全労働力を合計し、条件を満たすものが指定数または全部あるか確認する | count_owned_workforce = { count = <num/all/variable> limit = { <triggers> } } |
planet country galactic_object sector |
any_galaxy_sector |
ゲーム内の全セクターを反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_galaxy_sector = { <triggers> } |
all |
count_galaxy_sector |
ゲーム内の全セクターを反復し、条件を満たすものが指定数または全部あるか確認する | count_galaxy_sector = { count = <num/all/variable> limit = { <triggers> } } |
all |
any_owned_sector |
所有する全セクターを反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_owned_sector = { <triggers> } |
country |
count_owned_sector |
所有する全セクターを反復し、条件を満たすものが指定数または全部あるか確認する | count_owned_sector = { count = <num/all/variable> limit = { <triggers> } } |
country |
any_owned_ship |
艦隊内、または国家が支配する各艦船を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_owned_ship = { <triggers> } |
country fleet |
count_owned_ship |
艦隊内、または国家が支配する各艦船を反復し、条件を満たすものが指定数または全部あるか確認する | count_owned_ship = { count = <num/all/variable> limit = { <triggers> } } |
country fleet |
any_controlled_ship |
艦隊内、または国家が支配する各艦船を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_controlled_ship = { <triggers> } |
country fleet |
count_controlled_ship |
艦隊内、または国家が支配する各艦船を反復し、条件を満たすものが指定数または全部あるか確認する | count_controlled_ship = { count = <num/all/variable> limit = { <triggers> } } |
country fleet |
any_ship_in_system |
現在の星系内の各艦船を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_ship_in_system = { <triggers> } |
galactic_object |
count_ship_in_system |
現在の星系内の各艦船を反復し、条件を満たすものが指定数または全部あるか確認する | count_ship_in_system = { count = <num/all/variable> limit = { <triggers> } } |
galactic_object |
any_system_with_aura |
オーラがある全星系を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_system_with_aura = { <triggers> } |
country |
count_system_with_aura |
オーラがある全星系を反復し、条件を満たすものが指定数または全部あるか確認する | count_system_with_aura = { count = <num/all/variable> limit = { <triggers> } } |
country |
any_situation |
国家が経験中の各状況を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_situation = { <triggers> } |
country |
count_situation |
国家が経験中の各状況を反復し、条件を満たすものが指定数または全部あるか確認する | count_situation = { count = <num/all/variable> limit = { <triggers> } } |
country |
any_targeting_situation |
現在の惑星を対象とする各状況を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_targeting_situation = { <triggers> } |
planet |
count_targeting_situation |
現在の惑星を対象とする各状況を反復し、条件を満たすものが指定数または全部あるか確認する | count_targeting_situation = { count = <num/all/variable> limit = { <triggers> } } |
planet |
any_owned_pop_species |
国家が所有するPOPの各種族を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_owned_pop_species = { <triggers> } |
country |
count_owned_pop_species |
国家が所有するPOPの各種族を反復し、条件を満たすものが指定数または全部あるか確認する | count_owned_pop_species = { count = <num/all/variable> limit = { <triggers> } } |
country |
any_galaxy_species |
銀河内で指定条件を満たす各種族を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_galaxy_species = { <triggers> } |
all |
count_galaxy_species |
銀河内で指定条件を満たす各種族を反復し、条件を満たすものが指定数または全部あるか確認する | count_galaxy_species = { count = <num/all/variable> limit = { <triggers> } } |
all |
any_owned_species |
所有種族のうち指定条件を満たす各種族を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_owned_species = { <triggers> } |
planet country |
count_owned_species |
所有種族のうち指定条件を満たす各種族を反復し、条件を満たすものが指定数または全部あるか確認する | count_owned_species = { count = <num/all/variable> limit = { <triggers> } } |
planet country |
any_enslaved_species |
奴隷POPを含み、指定条件を満たす各種族を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_enslaved_species = { <triggers> } |
planet country |
count_enslaved_species |
奴隷POPを含み、指定条件を満たす各種族を反復し、条件を満たすものが指定数または全部あるか確認する | count_enslaved_species = { count = <num/all/variable> limit = { <triggers> } } |
planet country |
any_existing_species_traits |
ゲーム内に存在する全種族特性を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_existing_species_traits = { <triggers> } |
no_scope |
count_existing_species_traits |
ゲーム内に存在する全種族特性を反復し、条件を満たすものが指定数または全部あるか確認する | count_existing_species_traits = { count = <num/all/variable> limit = { <triggers> } } |
no_scope |
any_trait_of_species |
スコープされた種が持つ各特性を通して反復する | trait_of_species = { trait_has_all_tags = { positive } } - checks whether the enclosed triggers return true for any of them any_trait_of_species = { <triggers> } |
pop pop_group leader species |
count_trait_of_species |
スコープされた種が持つ各特性を通して反復する | trait_of_species = { trait_has_all_tags = { positive } } - checks whether the enclosed triggers return true for X/all of them count_trait_of_species = { count = <num/all/variable> limit = { <triggers> } } |
pop pop_group leader species |
any_trait_available_for_species |
すべての種の特性を通して反復し、スコープ種がこの特性を持たないかどうかを確認します | traits_available_for_species = { trait_has_all_tags = { organic positive } } - checks whether the enclosed triggers return true for any of them any_trait_available_for_species = { <triggers> } |
pop pop_group leader species |
count_trait_available_for_species |
すべての種の特性を通して反復し、スコープ種がこの特性を持たないかどうかを確認します | traits_available_for_species = { trait_has_all_tags = { organic positive } } - checks whether the enclosed triggers return true for X/all of them count_trait_available_for_species = { count = <num/all/variable> limit = { <triggers> } } |
pop pop_group leader species |
any_owned_starbase |
所有する全主星系基地を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_owned_starbase = { <triggers> } |
country |
count_owned_starbase |
所有する全主星系基地を反復し、条件を満たすものが指定数または全部あるか確認する | count_owned_starbase = { count = <num/all/variable> limit = { <triggers> } } |
country |
any_owned_nonprimary_starbase |
所有する全非主星系基地(軌道リングなど。ジャガーノートは除く)を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_owned_nonprimary_starbase = { <triggers> } |
country |
count_owned_nonprimary_starbase |
所有する全非主星系基地(軌道リングなど。ジャガーノートは除く)を反復し、条件を満たすものが指定数または全部あるか確認する | count_owned_nonprimary_starbase = { count = <num/all/variable> limit = { <triggers> } } |
country |
any_starbase_in_system |
スコープ対象の銀河オブジェクト内の全星系基地を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_starbase_in_system = { <triggers> } |
galactic_object |
count_starbase_in_system |
スコープ対象の銀河オブジェクト内の全星系基地を反復し、条件を満たすものが指定数または全部あるか確認する | count_starbase_in_system = { count = <num/all/variable> limit = { <triggers> } } |
galactic_object |
any_system |
全星系を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_system = { <triggers> } |
all |
count_system |
全星系を反復し、条件を満たすものが指定数または全部あるか確認する | count_system = { count = <num/all/variable> limit = { <triggers> } } |
all |
any_rim_system |
銀河外縁の全星系を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_rim_system = { <triggers> } |
all |
count_rim_system |
銀河外縁の全星系を反復し、条件を満たすものが指定数または全部あるか確認する | count_rim_system = { count = <num/all/variable> limit = { <triggers> } } |
all |
any_system_within_border |
国家またはセクターの国境内にある全星系を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_system_within_border = { <triggers> } |
country sector |
count_system_within_border |
国家またはセクターの国境内にある全星系を反復し、条件を満たすものが指定数または全部あるか確認する | count_system_within_border = { count = <num/all/variable> limit = { <triggers> } } |
country sector |
any_neighbor_system |
星系からハイパーレーンで隣接する全星系を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_neighbor_system = { <triggers> } |
galactic_object |
count_neighbor_system |
星系からハイパーレーンで隣接する全星系を反復し、条件を満たすものが指定数または全部あるか確認する | count_neighbor_system = { count = <num/all/variable> limit = { <triggers> } } |
galactic_object |
any_neighbor_system_euclidean |
距離上は近いがハイパーレーンでは隣接しない星系を含む全近隣星系を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_neighbor_system_euclidean = { <triggers> } |
galactic_object |
count_neighbor_system_euclidean |
距離上は近いがハイパーレーンでは隣接しない星系を含む全近隣星系を反復し、条件を満たすものが指定数または全部あるか確認する | count_neighbor_system_euclidean = { count = <num/all/variable> limit = { <triggers> } } |
galactic_object |
any_war_participant |
全戦争参加国を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_war_participant = { <triggers> } |
war |
count_war_participant |
全戦争参加国を反復し、条件を満たすものが指定数または全部あるか確認する | count_war_participant = { count = <num/all/variable> limit = { <triggers> } } |
war |
any_attacker |
現在の戦争の全攻撃国を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_attacker = { <triggers> } |
war |
count_attacker |
現在の戦争の全攻撃国を反復し、条件を満たすものが指定数または全部あるか確認する | count_attacker = { count = <num/all/variable> limit = { <triggers> } } |
war |
any_defender |
現在の戦争の全防衛国を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_defender = { <triggers> } |
war |
count_defender |
現在の戦争の全防衛国を反復し、条件を満たすものが指定数または全部あるか確認する | count_defender = { count = <num/all/variable> limit = { <triggers> } } |
war |
any_war |
国家が参戦中の全戦争を反復し、いずれかで内部のトリガーがtrueを返すか確認する | any_war = { <triggers> } |
country |
count_war |
国家が参戦中の全戦争を反復し、条件を満たすものが指定数または全部あるか確認する | count_war = { count = <num/all/variable> limit = { <triggers> } } |
country |
バージョン間でトリガー・補正・エフェクトを比較する場合は、OldEntによる履歴リポジトリも利用できます。
Scripted Trigger¶
複数条件を1つの条件として再利用するにはScripted Triggerを使えます。詳しくは動的MOD制作のScripted Trigger節を参照してください。
出典: Stellaris Wiki — Conditions(原文更新日: 2026年5月20日、版ID 115933)
翻訳日: 2026年8月31日 / 対応バージョン: 4.3
本ページは原文Wiki(CC BY-SA 3.0)の内容を翻訳した非公式ファン翻訳です。