条件用于仅在满足特定条件时才执行效果中的命令。命令将在特定的作用域内执行。
运算符
运算符用于组合多个条件。在大多数情况下,AND 运算符为默认值。
| 运算符 | 说明 | 示例 |
|---|---|---|
| AND | 若所有包含的条件均返回 true,则返回 true | AND = {
adm_power = 10
dip_power = 10
}
|
| OR | 若至少有一个包含的条件返回 true,则返回 true | OR = {
adm_power = 10
dip_power = 10
}
|
| NOT | 若所有包含的条件均不返回 true,则返回 true | NOT = {
adm_power = 10
dip_power = 10
}
|
简单条件
简单条件可在其作用域内按如下方式使用:
<trigger> = <X>
- 布尔条件可与 yes/no 比较
- 整数条件可与整数值比较(...-1,0,5...)
- 浮点条件可与浮点数或整数值比较(...0.25, 1.6, 2...)
- 标签条件可与国家标签比较(ENG, PRU, ...)
- ID 条件可与省份 ID 比较
- 日期条件可与日期值比较(1444.11.11, 1745.11.03, ...)
- 标识符条件可与相应的标识符比较
基础作用域
|
|
请协助验证或更新本节内容。本节最后一次验证的版本为 1.32。 |
基础作用域代表单个国家标签或省份 ID,在大多数条件中也可使用。对于数值/标识符条件,游戏会将其与基础作用域对应同一条件的数值/标识符进行比较。
| 值 | 作用域 | 说明 |
|---|---|---|
| ROOT | 任意 | 指代事件、决议、任务等的接收方 |
| FROM | 任意 | 指代事件、决议、任务等的发送方/目标 |
| PREV | 任意 | 指代上一个作用域。与 PDS 之前的作品(CKII)不同,不能重复使用(如 PREVPREV)来指代嵌套的上上级作用域。 |
| THIS | 任意 | 指代当前作用域。对 is_in_war 等特定条件很有用。 |
| owner | 省份作用域 | 指代拥有当前作用域省份的国家 |
| controller | 省份作用域 | 指代控制当前作用域省份的国家 |
| overlord | 国家作用域 | 指代以当前作用域国家为附属国的国家 |
| capital | 国家作用域 | 指代当前作用域国家的首都省份 |
| emperor | 任意 | 指代神圣罗马帝国当前的皇帝国家 |
| event_target:<target> | 任意 | 指代已保存的事件目标 "<target>" |
条件列表
|
|
请协助验证或更新本章节。本章节最后验证于版本 1.25。 |
| 值 | 类型 | 说明 | 作用域 | 示例 |
|---|---|---|---|---|
| <advisor> | 整数 | 若国家雇佣了指定类型且等级至少为 X 的顾问,则返回 true。 | 国家 | statesman = 3
|
| <building> | 整数 | 若国家拥有至少 X 个指定建筑类型的建筑,则返回 true。 | 国家 | temple = 3
|
| <idea group> | 整数 | 若国家拥有指定理念组中至少 X 个理念,则返回 true。 | 国家 | religious_ideas = 3
|
| <institution> | 整数 | 若省份中指定制度的支持度至少为 X,则返回 true。 | 省份 | printing_press = 50
|
| <religion> | 整数 | 若国家对指定宗教的宽容度至少为 X,则返回 true。 注意:没有正确的本地化。 |
国家 | orthodox = -2
|
| <subject_type> | 整数 | 若国家拥有至少 X 个指定类型的附属国,则返回 true。 | 国家 | vassal = 3
|
| <trade good> | 整数 | 若国家拥有至少 X 个生产指定商品的省份,则返回 true。 | 国家 | gold = 2
|
| absolutism | 整数 | 若国家的绝对君权至少为 X,则返回 true。 | 国家 | absolutism = 50
|
| accepted_culture | 标识符,省份作用域 | 若国家接受指定的文化,则返回 true。 | 国家 | accepted_culture = ROOT
|
| active_major_mission | 标识符 | 若 X 是国家当前的任务,则返回 true。自 1.25 起已废弃。 | 国家 | active_major_mission = finish_reconquista
|
| adm | 整数 | 若国家拥有行政能力至少为 X 的统治者,则返回 true。 | 国家 | adm = 3
|
| 标签,作用域 | 若国家统治者的行政能力不低于指定国家统治者,则返回 true。 | 国家 | adm = GEO
| |
| adm_power | 整数 | 若国家拥有至少 X 点行政点数,则返回 true。 | 国家 | adm_power = 600
|
| 标签,作用域 | 若国家的行政点数不少于指定国家,则返回 true。 | 国家 | adm_power = FIN
| |
| adm_tech | 整数,作用域 | 若国家的行政科技至少为 X 或目标作用域的等级,则返回 true。 | 国家 | adm_tech = 4adm_tech = ROOT
|
| advisor | 标识符 | 若国家拥有指定类型的顾问,则返回 true。 | 国家 | advisor = trader
|
| advisor_exists | 顾问 ID[1] | 若顾问 X 存在,则返回 true。 | 国家 | advisor_exists = 225
|
| ai | 布尔 | 若国家由AI控制,则返回 true。 | 国家 | ai = yes
|
| ai_attitude | 子句 | 若国家对国家 X 持有指定的态度,则返回 true。 | 国家 | ai_attitude = {
who = FROM
attitude = attitude_hostile
}
|
| all_regiments_morale_percent | 浮点 | 若国家控制的所有团的士气百分比均不低于指定值,则返回 true。 | 国家 | all_regiments_morale_percent = 90
|
| alliance_with | 标签,作用域 | 若国家与 X 存在同盟,则返回 true。 | 国家 | alliance_with = FRA
|
| allows_female_emperor | 布尔 | 若女性可以成为皇帝,则返回 true。 | 任意 | allows_female_emperor = no
|
| always | 布尔 | 设为 yes 时在任何情况下都返回 true,设为 no 时在任何情况下都返回 false。 | 任意 | always = no
|
| area | 标识符 | 若省份属于地区 X,则返回 true。 | 省份 | area = amazon_area
|
| army_size | 整数 | 若国家拥有至少 X 千人的陆军,则返回 true。 | 国家 | army_size = 15
|
| 标签,作用域 | 若国家的陆军士兵数不少于指定国家,则返回 true。 | 国家 | army_size = SPA
| |
| army_size_percentage | 浮点 | 若国家的陆军总规模至少占其陆军上限的 X%,则返回 true。 | 国家 | army_size_percentage = 0.6
|
| army_strength | 子句 | 若国家的陆军战力至少是指定国家陆军战力的 X 倍,则返回 true。战力的计算方式未知。陆军规模和军事科技都有影响,但可能还有其他因素 | 国家 | army_strength = {
who = FRA
value = 0.66
}
|
| army_professionalism | 浮点 | 若国家的陆军职业度至少为 X,则返回 true。 | 国家 | army_professionalism = 0.10
|
| army_tradition | 整数 | 若国家的陆军传统至少为 X,则返回 true。 | 国家 | army_tradition = 75
|
| 标签,作用域 | 若国家的陆军传统不低于指定国家,则返回 true。 | 国家 | army_tradition = RUS
| |
| artillery_fraction | 浮点 | 若国家炮兵占陆军规模的比例至少为 X,则返回 true。 | 国家 | artillery_fraction = 0.6
|
| artillery_in_province | 整数 | 若省份中至少有 X 个炮兵单位,则返回 true。 | 省份 | artillery_in_province = 5
|
| 标签,作用域 | 若省份中有来自指定国家的炮兵单位,则返回 true。 | 省份 | artillery_in_province = OMA
| |
| at_war_with_religious_enemy | 布尔 | 若国家正与任一不同宗教的国家处于战争中,则返回 true。 | 国家 | at_war_with_religious_enemy = yes
|
| authority | 整数 | 若印第(Inti)国家的权威至少为 X,则返回 true。 | 国家 | authority = 5
|
| 标签,作用域 | 若印第国家的权威不低于指定国家,则返回 true。 | 国家 | authority = MCA
| |
| average_autonomy | 整数 | 若国家各省份的平均自治度至少为 X,则返回 true。 | 国家 | average_autonomy = 5
|
| average_autonomy_above_min | 整数 | 需要补充说明 | 国家 | average_autonomy_above_min = 40
|
| average_effective_unrest | 整数 | 需要补充说明 | 国家 | average_effective_unrest = 2
|
| average_home_autonomy | 整数 | 若国家各省份(不含海外省份)的平均自治度至少为 X,则返回 true。 | 国家 | average_home_autonomy = 5
|
| average_unrest | 整数 | 若国家各省份的平均动荡度至少为 X,则返回 true。 | 国家 | average_unrest = 2
|
| base_manpower | 整数 | 若省份的基础人力至少为 X,则返回 true。 | 省份 | base_manpower = 3
|
| 子句 | 若省份的基础人力不低于变量的值,则返回 true。变量名必须加引号。 | 省份 | base_manpower = "province_mil_var"
| |
| base_production | 整数 | 若省份的基础生产至少为 X,则返回 true。 | 省份 | base_production = 5
|
| 子句 | 若省份的基础生产不低于变量的值,则返回 true。变量名必须加引号。 | 省份 | base_production = "province_dip_var"
| |
| base_tax | 整数 | 若省份的基础税收至少为 X,则返回 true。 | 省份 | base_tax = 5
|
| 子句 | 若省份的基础税收不低于变量的值,则返回 true。变量名必须加引号,否则该条件将始终为 true。 | 省份 | base_tax = "province_adm_var"
| |
| blockade | 浮点 | 若国家的封锁惩罚至少为 X%,则返回 true。 | 国家 | blockade = 0.75
|
| border_distance | 子句 | 若两国边界之间的距离至少为 X,则返回 true。 | 国家 | border_distance = {
who = FRA
distance = 100
}
|
| calc_true_if | 子句 | 若至少有 amount 个子条件为 true,则返回 true。条件可以逐个显式列出,也可以通过 all_ 作用域选取(必须是 all_ 作用域才能正常工作)。警告:许多条件返回的是其所检查的值,而不是 true 或 false,这可能导致不符合直觉的行为。例如,当每月行政点数达到 10 或以上时, monthly_adm = 10 将返回每月行政点数的数值,而不是 true。这可以通过将只应计数一次的条件包裹在 OR 条件中来解决,其中的所有条件只会计数一次。请注意,返回的值会穿过 AND 条件,因此该条件可能也需要嵌套在 OR 中。接受 desc = <loc_key> 参数,该参数会将本地化键附加到条件描述的末尾。 |
任意 | calc_true_if = {
all_country = {
religion = protestant
}
amount = 10
desc = <loc_key>
}
|
| can_be_overlord | 标识符 | 若国家满足该附属类型 is_potential_overlord 部分中定义的条件,则返回 true。 |
国家 | MNG = { can_be_overlord = tributary_state }
|
| can_build | 标识符 | 若指定建筑可以在省份中建造,则返回 true。 | 省份 | can_build = armory
|
| can_create_vassals | yes | 若国家可以创建附庸国,则返回 true。 警告:会将“=”之后的任何内容都视为“yes”。 注意:仅对独立国家有效。 |
国家 | can_create_vassals = yes
|
| can_heir_be_child_of_consort | 布尔 | 若国家的继承人有可能是配偶的孩子,则返回 true。 | 国家 | can_heir_be_child_of_consort = yes
|
| can_justify_trade_conflict | 标签,作用域 | 若国家可以对国家 X 发起贸易冲突的正当化,则返回 true。 | 国家 | can_justify_trade_conflict = FROM
|
| can_migrate | 布尔 | 若国家可以迁移到其他省份,则返回 true。若计时器仍在倒计时则不返回 true。 | 国家 | can_migrate = yes
|
| can_spawn_rebels | 标识符 | 若指定的叛军派系是该省份的有效叛军派系,则返回 true。 | 省份 | can_spawn_rebels = catholic_rebels
|
| can_use_crown_land_interaction | 标识符 | 若可以使用指定的阶层互动,则返回 true。 | 国家 | can_use_crown_land_interaction = seize_land
|
| can_use_peace_treaty | 子句 | 若国家可以使用指定的和平条约,则返回 true。
|
国家 | can_use_peace_treaty = {
who = FROM
treaty = po_join_empire
}
|
| capital | 省份 ID | 若国家的首都是 ID 为 X 的省份,则返回 true。 | 国家 | capital = 151
|
| capital_distance | 子句 | 若两国首都之间的距离至少为 X,则返回 true。 | 国家 | capital_distance = {
who = FRA
distance = 100
}
|
| cavalry_fraction | 浮点 | 若国家骑兵占陆军规模的比例至少为 X,则返回 true。 | 国家 | cavalry_fraction = 0.5
|
| cavalry_in_province | 整数 | 若省份中至少有 X 个骑兵单位,则返回 true。 | 省份 | cavalry_in_province = 10
|
| 标签,作用域 | 若省份中有来自指定国家的骑兵单位,则返回 true。 | 省份 | cavalry_in_province = ORI
| |
| province_has_center_of_trade_of_level | 整数 | 若省份的贸易中心等级不低于此等级,则返回 true。 | 省份 | province_has_center_of_trade_of_level = 2
|
| check_variable | 子句 | 若指定变量至少为 X,则返回 true。 | check_variable = {
which = grand_embassy
value = 6
}
| |
| church_power | 整数 | 若国家拥有至少 X 点教会权力,则返回 true。 | 国家 | church_power = 20
|
| 标签,作用域 | 若国家的教会权力不少于指定国家,则返回 true。 | 国家 | church_power = SAX
| |
| coalition_target | 标签,作用域 | 若国家是联盟的目标,则返回 true。 | 国家 | coalition_target = FRA
|
| colonial_claim_by_anyone_of_religion | 需要补充类型 | 若……已从任何潜在的类教宗实体处获得了该作用域殖民地区域的殖民授权,则返回 true。 | 需要补充作用域' | {需要补充示例 |
| colonial_region | 标识符 | 若省份属于殖民地区 X,则返回 true。 | 省份 | colonial_region = colonial_colombia
|
| colony | 整数 | 若国家拥有至少这么多殖民附属国,则返回 true。 | 国家 | colony = 5
|
| colony_claim | 标签 | 若国家对殖民地拥有宣称,则返回 true | 国家 | colony_claim = SPA
|
| colonysize | 整数 | 若殖民地规模至少为 X,则返回 true。 | 省份 | colonysize = 600
|
| consort_adm | 整数 | 若国家拥有行政能力至少为 X 的配偶,则返回 true。 | 国家 | consort_adm = 5
|
| consort_age | 整数 | 若国家配偶的年龄至少为 X,则返回 true。 注意:若没有配偶则始终返回 false。 |
国家 | consort_age = 43
|
| consort_dip | 整数 | 若国家拥有外交能力至少为 X 的配偶,则返回 true。 | 国家 | consort_dip = 5
|
| consort_culture | 标识符,作用域 | 若国家的配偶拥有指定文化,则返回 true。可使用事件作用域值。 | 国家 | consort_culture = prussian
|
| consort_has_personality | 标识符 | 若国家的配偶拥有指定性格,则返回 true。 | 国家 | consort_has_personality = cruel_personality
|
| consort_mil | 整数 | 若国家拥有军事能力至少为 X 的配偶,则返回 true。 | 国家 | consort_mil = 5
|
| consort_religion | 标识符,作用域 | 若国家的配偶拥有指定宗教,则返回 true。可使用事件作用域值。 | 国家 | consort_religion = catholic
|
| construction_progress | 浮点 | 若建造进度至少为 X%,则返回 true。 | 省份 | construction_progress = 0.5
|
| continent | 标识符,标签,作用域,省份 ID | 若省份位于大陆 X,则返回 true。 | 省份 | continent = north_america
|
| controlled_by | 标签,作用域 | 若省份由 X 控制,则返回 true。 | 省份 | controlled_by = TUR
|
| controls | 省份 ID | 若 ID 为 X 的省份由该国家控制,则返回 true。 | 国家 | controls = 151
|
| claim | 标签,作用域 | 若国家对国家 X 所拥有的任一省份持有宣称或永久宣称,则返回 true。 | 国家 | claim = FRA
|
| core_claim | 标签,作用域 | 若国家在国家 X 所拥有的任一省份上持有核心,则返回 true。 | 国家 | core_claim = FRA
|
| core_percentage | 浮点 | 若国家已将其至少 X% 的省份核心化,则返回 true。 | 国家 | core_percentage = 0.55
|
| corruption | 浮点 | 若国家的腐败度至少为 X,则返回 true。 | 国家 | corruption = 1
|
| council_position | 标识符 | 若 X 是国家在特伦托会议中的议会席位,则返回 true。 | 国家 | council_position = concilatory
|
| country_or_non_sovereign_subject_holds | 标签,作用域 | 若省份属于指定国家或其非朝贡附属国,则返回 true。 | 省份 | country_or_non_sovereign_subject_holds = ROOT
|
| country_or_subject_holds | 标签,作用域 | 若省份属于指定国家或其附属国,则返回 true。 旧的 country_or_vassal_holds 名称为兼容而映射到新名称。 |
省份 | country_or_subject_holds = ROOT
|
| crown_land_share | 标识符,整数 | 若王室领地持有国家发展度的 X%,则返回 true。若指定了阶层,则当王室领地占比高于该阶层所拥有的土地时返回 true。 | 国家 | crown_land_share = 50crown_land_share = estate_nobles
|
| culture | 标识符,作用域 | 若省份文化为 X,则返回 true。 | 省份 | culture = basque
|
| culture_group | 标识符,作用域 | 若国家/省份的文化属于指定的文化组,则返回 true。 | 国家 省份 |
culture_group = iberian
|
| culture_group_claim | 标签 | 若国家的主文化与国家 X 所拥有的任一省份属于同一文化组,则返回 true。 | 国家 | culture_group_claim = FROM
|
| current_age | 标识符 | 若当前时代为 X,则返回 true。 | 任意 | current_age = age_of_discovery
|
| current_bribe | 标识符 | 若省份中的议席要求贿赂 X,则返回 true。贿赂见于 common/parliament_bribes。 | 省份 | current_bribe = diplomatic_support
|
| current_debate | 标识符 | 若国家议会正在辩论 X,则返回 true。 | 国家 | current_debate = quartering_of_troops
|
| current_icon | 标识符 | 若国家拥有指定的(东正教)圣像,则返回 true。 | 国家 | current_icon = icon_eleusa
|
| current_income_balance | 浮点 | 若当前收支差额为 X,则返回 true。 | 国家 | current_income_balance = 5
|
| current_institution | 浮点 | 若当前制度(严格来说是第一个尚未接纳的制度,若有两个未接纳则为较早的那个)的进度至少为 X,则返回 true | 省份 | current_institution = 55
|
| current_institution_growth | 浮点 | 若国家/省份对第一个尚未接纳的制度的年度(省份界面显示的是月度)制度增长至少为 X,则返回 true。 | 国家,省份 | current_institution_growth = 12
|
| current_size_of_parliament | 整数 | 若国家的议会至少有 X 个议席,则返回 true。 | 国家 | current_size_of_parliament = 20
|
| custom_trigger_tooltip | 子句 | 隐藏所包含的条件,使其仍然是必需的,但人类玩家无法看到,并在其位置显示指定的提示。 | 任意 | custom_trigger_tooltip = {
tooltip = EST_CRUSHED_NOMADIC_TRIBES
NOT = { has_country_flag = nomadic_tribes_estate_in_power
}
}
|
| defensive_war_with | 标签,作用域 | 若国家与国家 X 处于防御性战争中,则返回 true。 | 国家 | defensive_war_with = TUR
|
| devastation | 整数 | 若省份的荒废度至少为 X,则返回 true。 | 省份 | devastation = 1
|
| development | 整数,作用域 | 若省份的发展度至少为 X,则返回 true。自 1.32 起不接受基础作用域。 | 省份 | development = 9
|
| development_in_provinces | 子句 | 若满足条件的所拥有省份的发展度总和为 X,则返回 true | 国家 | development_in_provinces = {
value = 200
region = korea_region
}
|
| development_of_overlord_fraction | 浮点 | 若国家拥有其宗主国发展度的 X%,则返回 true | 国家 | development_of_overlord_fraction = 0.33
|
| devotion | 整数 | 若国家拥有至少 X 点虔诚度,则返回 true。 | 国家 | devotion = 75
|
| 标签,作用域 | 若国家的虔诚度不少于指定国家,则返回 true。 | 国家 | devotion = KOL
| |
| dip | 整数 | 若国家拥有外交能力至少为 X 的统治者,则返回 true。 | 国家 | dip = 6
|
| 标签,作用域 | 若国家统治者的外交能力不低于指定国家统治者,则返回 true。 | 国家 | dip = GRM
| |
| diplomatic_reputation | 整数 | 若国家的外交声望至少为 X,则返回 true。 | 国家 | diplomatic_reputation = 10
|
| 标签,作用域 | 若国家的外交声望不低于指定国家,则返回 true。 | 国家 | diplomatic_reputation = CAS
| |
| dip_power | 整数 | 若国家拥有至少 X 点外交点数,则返回 true。 | 国家 | dip_power = 600
|
| 标签,作用域 | 若国家的外交点数不少于指定国家,则返回 true。 | 国家 | dip_power = TEU
| |
| dip_tech | 整数,作用域 | 若国家的外交科技至少为 X 级或目标作用域的等级,则返回 true。 | 国家 | dip_tech = 4dip_tech = ROOT
|
| dominant_culture | 标识符,首都 | 若国家的主体文化为 X,则返回 true。 | 国家 | dominant_culture = turkish
|
| dominant_religion | 标识符,首都 | 若国家的主体宗教为 X,则返回 true。 | 国家 | dominant_religion = catholic
|
| doom | 整数 | 若国家拥有至少 X 点厄运,则返回 true。 | 国家 | doom = 30
|
| 标签,作用域 | 若国家的厄运不少于指定国家,则返回 true。 | 国家 | doom = ROOT
| |
| dynasty | 名称 | 若国家当前统治的王朝为 X,则返回 true。 | 国家 | dynasty = "von Habsburg"
|
| 标签,作用域 | 若两国由同一王朝统治,则返回 true。 | 国家 | dynasty = CAS
| |
| empire_of_china_reform_passed | 标识符(?) | 若已颁布 X 中华帝国改革,则返回 true。 | 任意 | empire_of_china_reform_passed = establish_gaituguiliu_decision
|
| empire_of_china_num_reforms_passed | 整数 | 若中国皇帝已通过至少 X 项改革,则返回 true。 | 任意 | empire_of_china_num_reforms_passed = 2
|
| empire_of_china_has_active_decree | 布尔,标识符 | 若中国皇帝有生效的改革,或有指定的 X 改革,则返回 true。 | 任意 | empire_of_china_has_active_decree = increase_tariff_control
|
| employed_advisor | 子句 | 若国家雇佣了具有指定特征的顾问,则返回 true。 (允许任意组合。) |
国家 | employed_advisor = {
category = ADM | DIP | MIL
is_male = yes
religion = reformed
culture = basque
type = treasurer
skill = <int>
name = "string"
is_discounted = <yes/no>
}
|
| estate_influence | 子句 | 若国家中的阶层 X 的影响力至少为 Y,则返回 true。
*注意:对负的全阶层影响力修正无法正确工作 |
国家 | estate_influence = {
estate = estate_church
influence = 80
}
|
| estate_led_regency_influence | 整数 | 若国家中主导摄政的阶层影响力至少为 X,则返回 true。
|
国家 | estate_led_regency_influence = 50
|
| estate_led_regency_loyalty | 整数 | 若国家中主导摄政的阶层忠诚度至少为 X,则返回 true。
|
国家 | estate_led_regency_loyalty = 50 |
| estate_loyalty | 子句 | 若国家中的阶层 X 的忠诚度至少为 Y,则返回 true。 | 国家 | estate_loyalty = {
estate = estate_burghers
loyalty = 50
}
|
| num_of_estate_agendas_completed | 子句 | 若阶层 Y 已完成 X 项议程,则返回 true | 国家 | num_of_estate_agendas_completed = {
estate = estate_nobility
value = 3
}
|
| estate_territory | 子句 | 若国家中的阶层 X 控制至少 Y% 的总发展度,则返回 true。 | 国家 | estate_territory = {
estate = estate_nobles
territory = 12
}
|
| exclude_from_progress | 子句 | 在界面显示中合并所有条件,以避免列表过长。可与自定义提示配合使用。 | 任意 | exclude_from_progress = {
any_owned_province = {
is_core = ROOT
controlled_by = owner
}
}
|
| exiled_same_dynasty_as_current | 布尔 | 若某位流亡统治者与当前统治者属于同一王朝,则返回 true。 | 国家 | exiled_same_dynasty_as_current = yes
|
| exists | 标签 | 若国家 X 存在,则返回 true。 | 任意 | exists = MNG
|
| 布尔 | 若作用域内的国家存在,则返回 true。 | 国家 | exists = yes
| |
| expelled_different_minorities | 整数 | 若国家已驱逐 X 个少数文化,则返回 true。 | 国家 | expelled_different_minorities = 5
|
| faction_in_power | 标识符 | 若国家当权的派系为 X,则返回 true。 | 国家 | faction_in_power = eunuchs
|
| faction_influence | 子句 | 若国家的派系 X 的影响力至少为 Y,则返回 true。 | 国家 | faction_influence = {
faction = mr_aristocrats
influence = 50
}
|
| federation_size | 整数 | 若国家所在的联邦至少有 X 个成员,则返回 true。 | 国家 | federation_size = 5
|
| fervor | 整数 | 若国家已储存至少 X 点狂热,则返回 true。 | 国家 | fervor = 5
|
| fort_level | 整数 | 若省份中的要塞等级至少为 X,则返回 true。 | 省份 | fort_level = 1
|
| full_idea_group | 标识符 | 若国家已完成 X 理念组,则返回 true。 | 国家 | full_idea_group = naval_ideas
|
| galley_fraction | 浮点 | 若国家桨帆船占海军规模的比例至少为 X,则返回 true。 | 国家 | galley_fraction = 0.33
|
| galleys_in_province | 整数 | 若省份中至少有 X 艘桨帆船,则返回 true。 | 省份 | galleys_in_province = 10
|
| 标签,作用域 | 若省份中有来自指定国家的桨帆船,则返回 true。 | 省份 | galleys_in_province = VEN
| |
| garrison | 整数 | 若驻军为 X 人,则返回 true。 注意:本地化具有误导性。 |
省份 | garrison = 1000
|
| gives_military_access_to | 标签,作用域 | 若作用域内国家给予指定国家军事通行权,则返回 true。 | 国家 | FRA = {
gives_military_access_to = ROOT
}
|
| gives_fleet_basing_rights_to | 标签,作用域 | 若作用域内国家
给予指定国家舰队驻扎权,则返回 true。 |
国家 | FRA = {
gives_fleet_basing_rights_to = ROOT
}
|
| gold_income | 浮点 | 若国家来自黄金的收入至少为 X,则返回 true。 | 国家 | gold_income = 6
|
| gold_income_percentage | 浮点 | 若国家来自黄金的收入占比至少为 X,则返回 true。 | 国家 | gold_income_percentage = 0.1
|
| governing_capacity_percentage | 浮点 | 若国家已使用的治理能力占比至少为 X,则返回 true。 | 国家 | governing_capacity_percentage = 0.9
|
| government | 标识符 | 若国家的政府类型为 X,或拥有改变特定机制的政府改革(后宫、独裁),则返回 true。 标识符:monarchy, has_harem, republic, dictatorship, theocracy, tribal, native. |
国家 | government = monarchy
|
| government_power_frozen | 子句 | 若国家指定政府机制的指定政府力量被冻结,则返回 true。 | 国家 | government_power_frozen = {
mechanic_type = russian_modernization_mechanic
power_type = russian_modernization
}
|
| government_rank | 整数 | 若国家的政府等级为 X 或更高,则返回 true。 | 国家 | government_rank = 2
|
| grown_by_development | 整数 | 若国家的总发展度增长了指定数值,则返回 true | 国家 | grown_by_development = 50
|
| grown_by_states | 整数 | 若国家的州(而非地区)总数增长了指定数量,则返回 true。这些州不必被完全拥有,省份也不需要完整核心。 | 国家 | grown_by_states = 5
|
| great_power_rank | 整数 | 若国家的大国排名为 2 或更差,则返回 true。 | 国家 | great_power_rank = 2
|
| guaranteed_by | 标签,作用域 | 若国家被 X 保障独立,则返回 true。 | 国家 | guaranteed_by = ROOT
|
| had_active_policy | 子句 | 若国家仍拥有且已拥有指定政策至少 X 天,则返回 true。 | 国家 | had_active_policy = {
policy = the_combination_act
days = 365
}
|
| had_consort_flag | 子句 | 若配偶标记 X 最后一次设置至少是在 Y 天之前,则返回 true | 国家 | had_consort_flag = {
flag = my_first_consort_flag
days = 365
}
|
| had_country_flag | 子句 | 若国家标记 X 最后一次为该国家设置至少是在 Y 天之前,则返回 true。 | 国家 | had_country_flag = {
flag = bur_successor
days = 180
}
|
| had_global_flag | 子句 | 若全局标记 X 最后一次设置至少是在 Y 天之前,则返回 true。 | 任意 | had_global_flag = {
flag = inc_smallpox
days = 9125
}
|
| had_heir_flag | 子句 | 若继承人标记 X 最后一次设置至少是在 Y 天之前,则返回 true | 国家 | had_heir_flag = {
flag = inc_pacific_exploration
days = 270
}
|
| had_province_flag | 子句 | 若省份标记 X 最后一次为该省份设置至少是在 Y 天之前,则返回 true。 | 省份 | had_province_flag = {
flag = dutch_revolt
days = 1825
}
|
| had_recent_war | 整数 | 若国家在最近 X 年内打过仗,则返回 true。 | 国家 | had_recent_war = 10
|
| had_ruler_flag | 子句 | 若统治者标记 X 最后一次为当前统治者设置至少是在 Y 天之前,则返回 true | 国家 | had_ruler_flag = {
flag = helped_rival
days = 730
}
|
| harmonization_progress | 整数 | 若国家当前的和谐化进度至少为 X,则返回 true。 | 国家 | harmonization_progress = 90
|
| harmony | 整数 | 若国家拥有至少 X 点和谐,则返回 true。 | 国家 | harmony = 50
|
| has_active_debate | 布尔 | 若国家在议会中有正在进行的辩论,则返回 true。 | 国家 | has_active_debate = yes
|
| has_active_fervor | 布尔 | 若国家已激活狂热效果,则返回 true。
自 1.37 起可检查特定的狂热效果。 |
国家 | has_active_fervor = no
|
| has_active_policy | 标识符 | 若国家已激活指定的政策,则返回 true。 | 国家 | has_active_policy = noble_loyalty_act
|
| has_active_triggered_province_modifier | 标识符 | 若省份拥有指定的省份触发修正,则返回 true。该省份触发修正不必处于生效状态。 | 省份 | has_active_triggered_province_modifier = test_modifier
|
| has_administration_efficiency_value | 子句 | 若国家的行政效率不低于指定值,则返回 true。 | 国家 | has_administration_efficiency_value = { value = 0.1 }
|
| has_adopted_cult | 标识符 | 若国家已采纳指定的信仰崇拜,则返回 true。 | 国家 | has_adopted_cult = roog_cult
|
| has_advisor | 布尔 | 若国家已雇佣顾问,则返回 true。 警告:会将右侧的任何参数都视为 yes。 |
国家 | has_advisor = yes
|
| has_age_ability | 标识符 | 若国家拥有指定的时代能力,则返回 true。 | 国家 | has_age_ability = ab_justified_wars
|
| has_any_active_estate_agenda | 布尔 | 若国家有生效中的阶层议程,则返回 true。 | 国家 | has_any_active_estate_agenda = yes
|
| has_any_disaster | 布尔 | 若国家当前正处于灾难中,则返回 true。 | 国家 | has_any_disaster = no
|
| has_assimilated_culture_group | 标识符,作用域 | 若国家已同化指定的文化组,则返回 true。
仅对基础作用域有效。 |
国家 | has_assimilated_culture_group = lost_cultures_group
|
| has_assimilated_culture | 标识符,作用域 | 若国家已同化指定的文化,则返回 true。
仅对基础作用域有效。 |
国家 | has_assimilated_culture = roman
|
| has_border_with_religious_enemy | yes | 若国家与任何不同宗教的国家接壤,则返回 true。 警告:会将“=”之后的任何内容都视为“yes”。 |
国家 | has_border_with_religious_enemy = yes
|
| has_building | 标识符 | 若省份中有指定建筑,则返回 true。 | 省份 | has_building = fort_15th
|
| has_cardinal | 布尔 | 若省份在教廷中拥有红衣主教,则返回 true。 | 省份 | has_cardinal = yes
|
| has_casus_belli | 子句 | 若国家对国家 Y 拥有 X 类型的战争借口,则返回 true。 | 国家 | has_casus_belli = {
type = cb_trade_war_triggered
target = TOT
}
|
| has_casus_belli_against | 标签,作用域 | 若国家对国家 X 拥有战争借口,则返回 true。 | 国家 | has_casus_belli_against = PREV
|
| has_center_of_trade_of_level | 整数 | 若国家拥有至少 X 级的贸易中心,则返回 true。 | 国家 | has_center_of_trade_of_level = 3
|
| has_changed_nation | 布尔 | 若正在扮演独立出来的附庸国,则返回 true。 | 全局 | has_changed_nation = yes
|
| has_church_aspect | 标识符 | 若国家已启用教会方针 X,则返回 true。 | 国家 | has_church_aspect = allow_usury_aspect
|
| has_climate | 标识符 | 若省份的气候为 X,则返回 true。 | 省份 | has_climate = tropical
|
| has_colonial_parent | 标签 | 若指定国家是该国家的殖民宗主,则返回 true。 | 国家 | has_colonial_parent = GBR
|
| has_colonist | 布尔 | 若作用域内的省份有生效中的殖民者,则返回 true | 省份 | has_colonist = yes
|
| has_commanding_three_star | 布尔 | 若国家拥有三星将领,则返回 true。 | 国家 | has_commanding_three_star = yes
|
| has_consort | 布尔 | 若国家拥有配偶,则返回 true。 | 国家 | has_consort = yes
|
| has_consort_flag | 标识符 | 若已设置配偶标记 X,则返回 true。 | 国家 | has_consort_flag = royal_couple_shared_adm_interests
|
| has_consort_regency | 布尔 | 若国家拥有配偶摄政,则返回 true。 | 国家 | has_consort_regency = yes
|
| has_construction | 标识符 | 若省份中有指定的建设正在进行,则返回 true。 可能的取值为 core、culture、building、merchant、diplomat、missionary、army、navy、canal、great_project,以及任何具体的建筑和大型工程名称。 注意:在 1.35 中,用于建筑条件时存在加载顺序问题,只能检查最近的一项建设。如果先开始建造大学再开始建造单位,它将无法识别该省份中存在建筑建设。请改用 "can_build = university"。 |
省份 | has_construction = core
|
| has_country_flag | 标识符 | 若该国家已设置标记 X,则返回 true。 | 国家 | has_country_flag = zan_shirazi_islam_confirmed
|
| has_country_modifier | 标识符 | 若国家拥有修正 X,则返回 true。 | 国家 | has_country_modifier = western_embassy_mission
|
| has_custom_ideas | 布尔 | 若国家拥有自定义理念,则返回 true。 | 国家 | has_custom_ideas = yes
|
| has_disaster | 标识符 | 若国家当前正处于灾难 X 中,则返回 true。 | 国家 | has_disaster = time_of_troubles
|
| has_disaster_progress | 子句 | 若国家中指定灾难的灾难进度至少为 X,则返回 true。 | 国家 | has_disaster_progress = {
disaster = time_of_troubles
value = 50
}
|
| has_discovered | 省份 ID,作用域 | 若国家已发现 ID 为 X 的省份,则返回 true。 | 国家 | has_discovered = 313
|
| 标签,作用域 | 若国家 X 已发现该省份,则返回 true。 | 省份 | has_discovered = ROOT
| |
| has_dlc | 标识符 | 若已启用DLC X,则返回 true。对单位包和音乐包无效。 | 任意 | has_dlc = "The Cossacks"
|
| has_divert_trade | 布尔 | 若该保护国已将贸易转向其宗主国,则返回 true。 | (附属)国家 | has_divert_trade = yes
|
| has_eclipsed | 标签,作用域 | 若国家无法将指定国家设为对手,则返回 true。 | 国家 | has_eclipsed = GBR
|
| has_been_eclipsed_by | 标签,作用域 | 若国家无法被指定国家设为对手,则返回 true。 | 国家 | has_been_eclipsed_by = FRA
|
| has_embargo_rivals | 布尔 | 若附属国正在禁运宗主国的对手,则返回 true。 | (附属)国家 | has_embargo_rivals = no
|
| has_empty_adjacent_province | yes | 若相邻省份中有未殖民的省份,则返回 true。 警告:仅对 'yes' 有效。 |
省份 | has_empty_adjacent_province = yes
|
| has_estate | 标识符 | 若国家拥有阶层 X,则返回 true。 | 国家 | has_estate = estate_dhimmi
|
| has_estate | 布尔 | 若省份由某个阶层控制,则返回 true。 | 省份 | has_estate = no
|
| 标识符 | 若省份由阶层 X 控制,则返回 true。 | 省份 | has_estate = estate_church
| |
| has_estate_influence_modifier | 子句 | 若国家中的阶层 X 拥有影响力修正 Y,则返回 true。 | 国家 | has_estate_influence_modifier = {
estate = estate_church
modifier = EST_VAL_RELIGIOUS_ZEALOTS_TRIUMPH
}
|
| has_estate_loan | 布尔 | 若国家拥有阶层贷款(阶层),则返回 true。 | 国家 | has_estate_loan = no
|
| has_estate_loyalty_modifier | 子句 | 若国家中的阶层 X 拥有忠诚度修正 Y,则返回 true。 | 国家 | has_estate_loyalty_modifier = {
estate = estate_nobles
modifier = EST_VAL_NOT_LEGITIMATE
}
|
| has_estate_privilege | 特权 | 若国家拥有所列特权,则返回 true。 | 国家 | has_estate_privilege = foo
|
| has_faction | 标识符 | 若国家拥有指定派系,则返回 true。 | 国家 | has_faction = enuchs
|
| has_factions | 布尔 | 若国家拥有派系,则返回 true。 | 国家 | has_factions = yes
|
| has_female_consort | 布尔 | 若国家拥有女性配偶,则返回 true。 | 国家 | has_female_consort = yes
|
| has_female_heir | 布尔 | 若国家拥有女性继承人,则返回 true。 | 国家 | has_female_heir = yes
|
| has_first_revolution_started | 布尔 | 若世界上已发生革命,则返回 true。 | 任意 | has_first_revolution_started = yes
|
| has_flagship | 布尔 | 若国家拥有旗舰,则返回 true。 | 国家 | has_flagship = yes
|
| has_foreign_consort | 布尔 | 若国家拥有外国配偶,则返回 true。 | 国家 | has_foreign_consort = no
|
| has_foreign_heir | 布尔 | 若国家拥有外国继承人,则返回 true。 | 国家 | has_foreign_heir = no
|
| has_friendly_reformation_center | 布尔 | 若国家拥有友好的宗教改革中心,则返回 true。 | 国家 | has_friendly_reformation_center = yes
|
| has_game_started | 布尔 | 若游戏已经开始,则返回 true。 | 全局 | has_game_started = no
|
| has_given_consort_to | 标签,作用域 | 若作用域内国家已将配偶赠予指定国家,则返回 true。 | 国家 | has_given_consort_to = ROOT
|
| has_great_project | 子句 | 若国家拥有指定的大型工程(或任意大型工程)且达到给定等级或更高,则返回 true。 | 省份 | has_great_project = {
type = alhambra
tier = 3
}has_great_project = {
type = any
tier = 2
}
|
| has_guaranteed | 标签,作用域 | 若国家已保障国家 X 的独立,则返回 true。 | 国家 | has_guaranteed = TUR
|
| has_global_flag | 标识符 | 若已设置指定的全局标记,则返回 true。 | 任意 | has_global_flag = japan_has_encountered_the_west
|
| has_global_modifier_value | 子句 | 若国家指定修正的数值至少为 X,则返回 true。 | 国家 | has_global_modifier_value = {
which = cavalry_power
value = 0.5
}
|
| has_government_mechanic | 标识符 | 若国家使用指定的政府机制,则返回 true。 | 国家 | has_government_mechanic = russian_mechanic
|
| has_government_power | 子句 | 若国家的指定政府机制拥有指定数量的指定政府力量,则返回 true。 | 国家 | has_government_power = {
mechanic_type = russian_modernization_mechanic
power_type = russian_modernization
value = 10
}
|
| has_government_attribute | 标识符 | 若国家的任一政府改革设置了指定属性,则返回 true。 | has_government_attribute = enables_estate_nobles | |
| has_had_golden_age | 布尔 | 若国家拥有黄金时代,则返回 true。 | 国家 | has_had_golden_age = yes |
| has_harmonized_with | 标识符,作用域 | 若国家已与指定宗教或宗教组和谐化,则返回 true。 | 国家 | has_harmonized_with = tengri_pagan_reformed
|
| has_harsh_treatment | 布尔 | 需要补充说明 | 需要补充作用域 | has_harsh_treatment = yes
|
| has_heir | 布尔,名称 | 若国家拥有继承人(名为 X),则返回 true。 | 国家 | has_heir = yes
|
| has_heir_flag | 标识符 | 若已设置继承人标记 X,则返回 true。 | 国家 | has_heir_flag = suspected_bastard
|
| has_heir_leader_from | 标签,作用域 | 若省份中的某支军队由来自 X 的继承人率领,则返回 true。 | 省份 | has_heir_leader_from = ROOT
|
| has_hostile_reformation_center | 布尔 | 若国家拥有敌对的宗教改革中心,则返回 true。 | 国家 | has_hostile_reformation_center = yes
|
| has_idea | 标识符 | 若国家拥有 X 理念,则返回 true。 | 国家 | has_idea = grand_navy
|
| has_idea_group | 标识符 | 若国家已选择 X 理念组,则返回 true。 | 国家 | has_idea_group = humanist_ideas
|
| has_influencing_fort | 布尔 | 若省份处于某座要塞的控制区内,则返回 true。 | 省份 | has_influencing_fort = yes
|
| has_institution | 标识符 | 若国家拥有指定的制度,则返回 true。 | 国家 | has_institution = feudalism
|
| has_latent_trade_goods | 标识符 | 若省份拥有指定的潜在商品,则返回 true。 | 省份 | has_latent_trade_goods = coal
|
| has_leader | 标识符 | 若国家拥有领袖 "X",则返回 true。 | 国家 | has_leader = "János Hunyadi"
|
| has_leader_with | 子句 | 若国家拥有至少具有指定属性的领袖,则返回 true。 还支持 admiral = yes、general = yes 和 is_monarch_leader = yes |
国家 | has_leader_with = {
fire = 3
shock = 3
manuever = 2
siege = 1
total_pips = 11
}
|
| has_leaders | 子句 | 若国家至少拥有 X 名将领,则返回 true。用于在计数中排除继承人和君主。
还支持 |
国家 | has_leaders = {
value = 1
type = general
include_monarch = no
include_heir = no
}
|
| has_local_modifier_value | 子句 | 若省份指定修正的数值至少为 X,则返回 true。 | 省份 | has_local_modifier_value = {
which = local_production_efficiency
value = 0.15
}
|
| has_matching_religion | 标识符 | 若国家拥有指定宗教或融合信仰,则返回 true。 | 国家 | has_matching_religion = mahayana
|
| 作用域 | 若两国拥有相同的宗教或融合信仰,则返回 true。 | 国家 | has_matching_religion = ROOT
| |
| has_merchant | 标签,作用域 | 若作用域内国家在该贸易节点中拥有活跃的商人,则返回 true。 | 省份 (贸易节点) |
has_merchant = PREV
|
| has_mission | 标识符 | 若国家拥有指定任务,则返回 true。 | 国家 | has_mission = rus_patriarchate_mission
|
| has_missionary | 布尔 | 若省份拥有活跃的传教士,则返回 true。 | 省份 | has_missionary = yes
|
| has_monsoon | 标识符 | 若省份的季风为 X,则返回 true。 | 省份 | has_monsoon = normal_monsoon
|
| has_most_province_trade_power | 标签,作用域 | 若国家 X 在贸易节点中拥有最多的贸易力量,则返回 true。 | 省份 (贸易节点) |
has_most_province_trade_power = ROOT
|
| has_naval_doctrine | 标识符,any
|
若省份采用海军学说 X,则返回 true。注意:该条件的本地化存在问题,需要使用 $TYPE$ 而非 $NAME$。
|
国家 | has_naval_doctrine = merchant_navy
|
| has_neighbor | 布尔 | 若国家拥有邻国,则返回 true。 | 国家 | has_neighbor = yes
|
| has_new_dynasty | 布尔 | 若国家拥有的王朝与其历史文件中的第一个王朝不同,则返回 true。 | 国家 | has_new_dynasty = yes
|
| has_num_flagships | 整数 | 若国家至少拥有 X 艘旗舰,则返回 true。 | 国家 | has_num_flagships = 1
|
| has_opinion | 子句 | 若国家对 who 指定的国家的好感度至少为 value,则返回 true。 | 国家 | has_opinion = {
who = ROOT
value = 10
}
|
| has_opinion_modifier | 子句 | 若国家对 who 指定的国家拥有好感度修正 modifier,则返回 true。 也可以指定该修正的数值(但不会显示)。 |
国家 | has_opinion_modifier = {
who = ROOT
modifier = embraced_absolutism
}
|
| has_or_building_flagship | 布尔 | 若作用域内国家拥有或正在建造旗舰,则返回 true | 国家 | has_or_building_flagship = yes
|
| has_owner_accepted_culture | 布尔 | 若省份的文化是其所有者的被接受文化(而非主文化!),则返回 true。 | 省份 | has_owner_accepted_culture = yes
|
| has_owner_culture | 布尔 | 若省份拥有其所有者的主要文化,则返回 true。 | 省份 | has_owner_culture = no
|
| has_owner_religion | 布尔 | 若省份拥有其所有者的宗教,则返回 true。 | 省份 | has_owner_religion = yes
|
| has_owner_secondary_religion | 布尔 | 若省份拥有其所有者的次要宗教,则返回 true。 | 省份 | has_owner_secondary_religion = yes
|
| has_pasha | 布尔 | 若省份拥有帕夏,则返回 true。 | 省份 | has_pasha = yes
|
| has_parliament | 布尔 | 若国家拥有议会,则返回 true。 | 国家 | has_parliament = yes
|
| has_personal_deity | 标识符 | 若国家的统治者已选择指定的个人神祇,则返回 true。 | 国家 | has_personal_deity = shakti
|
| has_pillaged_capital_against | 标签,作用域 | 若国家已对指定国家使用劫掠首都和平条约,则返回 true。 | 国家 | has_pillaged_capital_against = FRA
|
| has_port | 布尔 | 若为沿海省份,则返回 true。 | 省份 | has_port = yes
|
| has_privateers | 布尔 | 若国家在任一贸易节点拥有私掠者,则返回 true。 | 国家 | has_privateers = yes
|
| has_privateer_share_in_trade_node | 子句 | 若国家通过私掠者获得给定节点中一定比例的贸易,则返回 true。 | 省份 (贸易节点) |
has_privateer_share_in_trade_node = {
who = ROOT
share = 10
}
|
| has_protecting_trade_share_in_trade_node | 子句 | 若国家通过保护贸易获得给定节点中一定比例的贸易,则返回 true。 | 省份 (贸易节点) |
has_protecting_trade_share_in_trade_node = {
who = ROOT
share = 10
}
|
| has_promote_investments | 标识符 | 若国家正在指定贸易公司(地区)中推动投资,则返回 true。 | 国家 | has_promote_investments = trade_company_moluccas
|
| has_province_flag | 标识符 | 若省份拥有省份标记 X,则返回 true。 | 省份 | has_province_flag = bur_succession_province
|
| has_province_modifier | 标识符 | 若省份拥有省份修正 X,则返回 true。 | 省份 | has_province_modifier = local_christian_mission
|
| has_rebel_faction | 标识符 | 若省份被(指定的)叛军派系控制,则返回 true。 | 省份 | has_rebel_faction = pretender_rebels
|
| REB | 由 Paradox 使用,但似乎无效(EU4 1.25 版本)。 | 省份 | has_rebel_faction = REB
| |
| has_regency | 布尔 | 若国家拥有摄政,则返回 true。 | 国家 | has_regency = no
|
| has_reform | 标识符 | 若国家拥有特定的政府改革,则返回 true。
在 run 文件中无效 |
国家 | has_reform = ottoman_government
|
| government_reform_progress | 浮点 | 若国家储存了 x 或更多的改革进度,则返回 true。 | 国家 | government_reform_progress = 5
|
| has_removed_fow | 布尔 | 若国家已驱散指定国家的战争迷雾,则返回 true。 | 国家 | FRA = { has_removed_fow = yes }
|
| has_revolution_in_province | 布尔 | 若省份中存在革命,则返回 true。 | 省份 | has_revolution_in_province = yes
|
| has_ruler | 名称 | 若国家拥有名为 "X" 的统治者,则返回 true。 | 国家 | has_ruler = "Pachacuti"
|
| has_ruler_flag | 标识符 | 若该国家已设置统治者标记 X,则返回 true。 | 国家 | has_ruler_flag = helped_rival
|
| has_ruler_leader_from | 标签,作用域 | 若省份中的某支军队由来自 X 的统治者率领,则返回 true。 | 省份 | has_ruler_leader_from = ROOT
|
| has_ruler_modifier | 标识符 | 若国家在统治者更替前拥有修正 X,则返回 true。 | 国家 | has_ruler_modifier = inside_man
|
| has_saved_event_target | 标识符 | 若指定的事件目标已被保存,则返回 true。 | 任意 | has_saved_event_target = muslim_neighbor
|
| has_saved_global_event_target | 标识符 | 若指定的全局事件目标已被保存,则返回 true。 | 任意 | has_saved_global_event_target = EmperorOfChina
|
| has_scutage | 布尔 | 若该附庸国缴纳免役税,则返回 true。 | (附属)国家 | has_scutage = yes
|
| has_seat_in_parliament | 布尔 | 若省份在议会中拥有议席,则返回 true。 | 省份 | has_seat_in_parliament = no
|
| has_secondary_religion | 布尔 | 若该郡拥有次要宗教,则返回 true。 | 国家 | has_secondary_religion = yes
|
| has_send_officers | 布尔 | 若该保护国已接收军官,则返回 true。 | (附属)国家 | has_send_officers = yes
|
| has_siege | 布尔 | 若省份正被围攻,则返回 true。 | 省份 | has_siege = yes
|
| has_spawned_rebels | 标识符 | 若国家中有指定类型的活跃叛军,则返回 true。 | 国家 | has_spawned_rebels = particularist_rebels
|
| has_spawned_supported_rebels | 作用域 | 若国家中有受指定国家支持的活跃叛军,则返回 true。 | 国家 | has_spawned_supported_rebels = FROM
|
| has_spy_network_from | 子句 | 若国家 X 在该国家拥有至少指定规模的间谍网络,则返回 true。 | 国家 | has_spy_network_from = {
who = ROOT
value = 25
}
|
| has_spy_network_in | 子句 | 若国家在国家 X 拥有至少指定规模的间谍网络,则返回 true。 | 国家 | has_spy_network_in = {
who = ROOT
value = 25
}
|
| has_state_edict | 标识符 | 若该州已启用 X 法令,则返回 true。 | 州 | has_state_edict = edict_of_absolutism
|
| has_state_patriach | 布尔 | 若省份拥有任意国教牧首,则返回 true。 | 省份 | has_state_patriach = yes
|
| has_subsidize_armies | 布尔 | 若该卫戍国有补贴军队,则返回 true。 | (附属)国家 | has_subsidize_armies = yes
|
| has_supply_depot | 标签,作用域 | 若省份拥有由 X 建造的补给站,则返回 true | 省份 | has_supply_depot = ROOT
|
| has_support_loyalists | 布尔 | 若该附属国接受对效忠派的支持,则返回 true。 | (附属)国家 | has_support_loyalists = yes
|
| has_subject_of_type | 标识符 | 若国家至少拥有一个指定附属国类型的附属国,则返回 true。 | 国家 | has_subject_of_type = tributary_state
|
| has_switched_nation | 布尔 | 若玩家通过扮演独立出来的附庸国更换了国家,则返回 true。 | 任意 | has_switched_nation = no
|
| has_terrain | 标识符 | 若省份的地形为 X,则返回 true。地形列于基础游戏文件 terrains.txt 中 | 省份 | has_terrain = marsh
|
| has_trade_company_investment_in_area | 子句 | 若指定投资者在该地区拥有指定的贸易公司投资,则返回 true。 | 省份 | has_trade_company_investment_in_area = {
investment = officers_mess
investor = ROOT
}
|
| has_trade_modifier | 子句 | 若指定国家在该贸易节点中拥有贸易修正 X,则返回 true。 | 省份 (贸易节点) |
has_trade_modifier = {
who = ROOT
key = income_bonanza
}
|
| has_trader | 标签,作用域 | 若指定国家在该贸易节点中拥有商人,则返回 true。 | 省份 (贸易节点) |
has_trader = VEN
|
| has_truce | 布尔 | 若国家拥有休战,则返回 true。 | 国家 | has_truce = yes
|
| has_unembraced_institution | 标识符 | 若国家尚未接纳指定的制度,则返回 true。 | 国家 | has_unembraced_institution = feudalism
|
| has_unified_culture_group | 布尔 | 若国家或其附属国拥有其文化组的所有省份,则返回 true。 | 国家 | has_unified_culture_group = yes
|
| has_unit_type | 标识符 | 若国家已选择单位类型 X 作为优先单位,则返回 true。 | 国家 | has_unit_type = polish_winged_hussar
|
| has_unlocked_cult | 标识符 | 若国家已解锁指定的信仰崇拜,则返回 true。 | 国家 | has_unlocked_cult = jewish_cult
|
| has_wartaxes | 布尔 | 若国家已征收战争税,则返回 true。 | 国家 | has_wartaxes = yes
|
| has_winter | 标识符 | 若省份的冬季为 X,则返回 true。 | 省份 | has_winter = normal_winter
|
| has_won_war_against | 子句 | 若国家在过去 X 年内战胜了指定国家,则返回 true。 | 国家 | has_won_war_against = {
who = PREV
max_years_since = 100
}
|
| have_had_reform | 标识符 | 若国家曾经拥有特定的政府改革,则返回 true。 | 国家 | have_had_reform = ottoman_government
|
| heavy_ship_fraction | 浮点 | 若国家重型舰占海军规模的比例至少为 X,则返回 true。 | 国家 | heavy_ship_fraction = 0.33
|
| heavy_ships_in_province | 整数 | 若省份中至少有 X 艘重型舰,则返回 true。 | 省份 | heavy_ships_in_province = 2
|
| 标签,作用域 | 若省份中有来自指定国家的重型舰,则返回 true。 | 省份 | heavy_ships_in_province = TUN
| |
| heir_adm | 整数 | 若国家拥有行政能力至少为 X 的继承人,则返回 true。 | 国家 | heir_adm = 5
|
| heir_age | 整数 | 若国家拥有年龄至少为 X 岁的继承人,则返回 true。 注意:若没有继承人则始终返回 false。 |
国家 | heir_age = 15
|
| heir_dip | 整数 | 若国家拥有外交能力至少为 X 的继承人,则返回 true。 | 国家 | heir_dip = 5
|
| heir_claim | 整数 | 若国家拥有继承权强度至少为 X 的继承人,则返回 true。 | 国家 | heir_claim = 90
|
| heir_culture | 标识符,作用域 | 若国家的继承人拥有指定文化,则返回 true。可使用事件作用域值。 | 国家 | heir_culture = prussian
|
| heir_has_consort_dynasty | 布尔 | 若国家的继承人与配偶属于同一王朝,则返回 true。 | 国家 | heir_has_consort_dynasty = yes
|
| heir_has_personality | 标识符 | 若国家的继承人拥有指定的性格,则返回 true。 | 国家 | heir_has_personality = intricate_web_weaver_personality
|
| heir_has_ruler_dynasty | 布尔 | 若国家的继承人与统治者属于同一王朝,则返回 true。 | 国家 | heir_has_ruler_dynasty = yes
|
| heir_mil | 整数 | 若国家拥有军事能力至少为 X 的继承人,则返回 true。 | 国家 | heir_mil = 5
|
| heir_nationality | 标签,作用域 | 若国家拥有国籍为 X 的继承人,则返回 true。 | 国家 | heir_nationality = PREV
|
| heir_religion | 标识符,作用域 | 若国家的继承人拥有指定宗教,则返回 true。可使用事件作用域值。 | 国家 | heir_religion = catholic
|
| hidden_trigger | 子句 | 隐藏所包含的条件,使其仍然是必需的,但人类玩家无法看到。 | 任意 | hidden_trigger = {
NOT = {
estate_influence = {
estate = estate_nomadic_tribes
influence = 85
}
}
}
|
| higher_development_than | 标识符,作用域 | 若作用域的发展度高于该省份,则返回 true | 省份 | 101 = {
higher_development_than = 20
} |
| highest_value_trade_node | 布尔 | 若该贸易节点是世界上价值最高的贸易节点,则返回 true。 其价值的计算方式为总贸易价值减去流出的贸易价值。 |
省份 (贸易节点) |
highest_value_trade_node = yes
|
| historical_friend_with | 标签,作用域 | 若两国互为历史盟友,则返回 true。 | 国家 | historical_friend_with = FROM
|
| historical_rival_with | 标签,作用域 | 若两国互为历史宿敌,则返回 true | 国家 | historical_rival_with = TEU
|
| holy_order | 标识符 | 若省份拥有生效中的指定圣骑士团,则返回 true。 | 省份 | holy_order = jesuit_order |
| horde_unity | 整数 | 若国家的游牧团结至少为 X,则返回 true。 | 国家 | horde_unity = 50
|
| 标签,作用域 | 若国家的游牧团结不低于指定国家,则返回 true。 | 国家 | horde_unity = GOL
| |
| hre_heretic_religion | 标识符,作用域 | 若指定宗教是神圣罗马帝国的反对宗教,则返回 true。 注意:否定形式没有本地化。 |
任意 | hre_heretic_religion = catholic
|
| hre_leagues_enabled | 布尔 | 若已启用宗教同盟,则返回 true。 | 任意 | hre_leagues_enabled = yes
|
| hre_reform_passed | 标识符 | 若特定的帝国改革已颁布,则返回 true。 | 任意 | hre_reform_passed = emperor_privilegia_de_non_appelando
|
| hre_religion | 标识符,作用域 | 若指定宗教是神圣罗马帝国的主导信仰,则返回 true。 | 任意 | hre_religion = catholic
|
| hre_religion_locked | 布尔 | 若神圣罗马帝国的官方信仰已被永久确立,则返回 true。 | 任意 | hre_religion_locked = no
|
| hre_religion_treaty | 布尔 | 若神圣罗马帝国的宗教和平条约已签署,则返回 true。 | 任意 | hre_religion_treaty = no
|
| hre_size | 整数 | 若神圣罗马帝国至少包含 X 个成员,则返回 true。 | 任意 | hre_size = 10
|
| humiliated_by | 标签,作用域 | 若当前国家作用域曾被指定国家羞辱,则返回 true。 | 国家 | ENG = {
humiliated_by = FRA
}
|
| imperial_influence | 整数 | 若神圣罗马帝国皇帝的帝国权威至少为 X,则返回 true。 | 任意 | imperial_influence = 25
|
| imperial_mandate | 整数 | 若中国皇帝的天命至少为 X,则返回 true。 | 任意 | imperial_mandate = 80
|
| in_golden_age | 布尔 | 若国家当前正处于黄金时代,则返回 true。 | 国家 | in_golden_age = yes
|
| infantry_fraction | 浮点 | 若国家步兵占陆军规模的比例至少为 X,则返回 true。 | 国家 | infantry_fraction = 0.6
|
| infantry_in_province | 整数 | 若省份中至少有 X 个步兵单位,则返回 true。 | 省份 | infantry_in_province = 17
|
| 标签,作用域 | 若省份中有来自指定国家的步兵单位,则返回 true。 | 省份 | infantry_in_province = SHL
| |
| inflation | 浮点 | 若国家的通货膨胀至少为 X,则返回 true | 国家 | inflation = 10
|
| 标签,作用域 | 若国家的通货膨胀不低于国家 X,则返回 true。 | 国家 | inflation = NOV
| |
| incident_variable_value | 子句 | 若指定事件的数值至少为 X,则返回 true。 | 国家 | incident_variable_value = {
incident = incident_neo_confucianism
value = 10
}
|
| innovativeness | 整数 | 若国家拥有至少 X 点创新性,则返回 true。 | 国家 | innovativeness = 15
|
| institution_difference | 子句 | 若国家比指定国家多接纳至少 X 个制度,则返回 true。 | 国家 | institution_difference = {
who = SWE
value = 2
}
|
| invested_papal_influence | 整数 | 若国家在下一任教宗控制者的选举中已投入至少 X 点教廷影响力,则返回 true。 | 国家 | invested_papal_influence = 50
|
| in_league | 标识符 | 若国家属于 X 同盟,则返回 true。 | 国家 | in_league = protestant
|
| ironman | 布尔 | 若已启用铁人模式,则返回 true | 任意 | ironman = yes
|
| is_advisor_employed | 顾问 ID[1] | 若雇佣了 ID 为 X 的顾问,则返回 true。 | is_advisor_employed = 562
| |
| is_ahead_of_time_in_technology | 子句 | 若国家在指定科技上领先于时代,则返回 true。 | 国家 | is_ahead_of_time_in_technology = { tech = dip }
|
| is_all_concessions_in_council_taken | 布尔 | 若特伦托会议中的所有让步均已被采纳,则返回 true。 | 全局 | is_all_concessions_in_council_taken = yes
|
| is_at_war | 布尔 | 若国家正处于战争中,则返回 true。 | 国家 | is_at_war = yes
|
| is_any_heresy_enabled | 布尔 | 若当前作用域宗教启用了异端宗教,则返回 true。 | 国家 省份 |
is_any_heresy_enabled = yes
|
| is_backing_current_issue | 布尔 | 若省份支持议会中的当前议题,则返回 true。 | 省份 | is_backing_current_issue = yes
|
| is_bankrupt | 布尔 | 若国家已破产,则返回 true。 | 国家 | is_bankrupt = yes
|
| is_blockaded | 布尔 | 若省份被封锁,则返回 true。 | 省份 | is_blockaded = yes
|
| is_blockaded_by | 标签,作用域 | 若省份被指定国家封锁,则返回 true。 | 省份 | is_blockaded_by = SPA |
| is_capital | 布尔 | 若省份是首都,则返回 true。 | 省份 | is_capital = yes
|
| is_capital_of | 标签,作用域 | 若省份是指定国家的首都,则返回 true。 | 省份 | is_capital_of = ROOT
|
| is_city | 布尔 | 若省份是城市(即人口至少为 1000),则返回 true。 | 省份 | is_city = yes
|
| is_claim | 省份 ID,作用域 | 若国家对 ID 为 X 的省份拥有宣称,则返回 true。 | 国家 | is_claim = 337
|
| 标签,作用域 | 若指定国家对该省份拥有宣称,则返回 true。 | 省份 | is_claim = MCH
| |
| is_permament_claim | 省份 ID,作用域 | 若国家对 ID 为 X 的省份拥有永久宣称,则返回 true。 | 国家 | is_permament_claim = 337
|
| 标签,作用域 | 若指定国家对该省份拥有永久宣称,则返回 true。 | 省份 | is_permanent_claim = MCH
| |
| is_client_nation | 布尔 | 若国家是傀儡国,则返回 true。 | 国家 | is_client_nation = yes
|
| is_client_nation_of | 标签,作用域 | 若国家是 X 的傀儡国,则返回 true。 | 国家 | is_client_nation_of = ROOT
|
| is_colonial_nation | 布尔 | 若国家是非独立的殖民国,则返回 true。 | 国家 | is_colonial_nation = yes
|
| is_colonial_nation_of | 标签,作用域 | 若国家是 X 的殖民国,则返回 true。 | 国家 | is_colonial_nation_of = ROOT
|
| is_colony | 布尔 | 若省份是殖民地,则返回 true。 | 省份 | is_colony = yes
|
| is_core | 省份 ID | 若国家在 ID 为 X 的省份上拥有核心,则返回 true。 | 国家 | is_core = 950
|
| 标签,作用域 | 若国家 X 在该省份上拥有核心,则返回 true。 | 省份 | is_core = NED
| |
| is_council_enabled | 布尔 | 若特伦托会议已经开始,则返回 true。 | 全局 | is_council_enabled = yes
|
| is_crusade_target | 布尔 | 若国家是十字军的目标,则返回 true。 | 国家 | is_crusade_target = yes
|
| is_defender_of_faith | 布尔 | 若国家是信仰扞卫者,则返回 true。 | 国家 | is_defender_of_faith = yes
|
| is_defender_of_faith_of_tier | 整数 | 若国家是至少 X 级的信仰扞卫者,则返回 true。即使没有皇帝 DLC 也有效,尽管此时游戏中不会显示该等级。 | 国家 | is_defender_of_faith_of_tier = 4
|
| is_dynamic_tag | 布尔 | 若国家是动态创建的标签(例如傀儡国),则返回 true。 | 国家 | is_dynamic_tag = yes
|
| is_elector | 布尔 | 若国家是神圣罗马帝国的选帝侯,则返回 true。 | 国家 | is_elector = yes
|
| is_emperor | 布尔 | 若国家是神圣罗马帝国的皇帝,则返回 true。 | 国家 | is_emperor = yes
|
| is_emperor_of_china | 布尔 | 若国家是中国皇帝,则返回 true。 | 国家 | is_emperor_of_china = yes
|
| is_empty | 布尔 | 若省份为空,则返回 true | 省份 | is_empty = yes
|
| is_enemy | 布尔 | 若国家 X 已将该国家设为对手,则返回 true。 | 国家 | is_enemy = ROOT
|
| is_excommunicated | 布尔 | 若国家的统治者被逐出教会,则返回 true。 | 国家 | is_excommunicated = yes
|
| is_federation_leader | 布尔 | 若国家是联邦领袖,则返回 true。 | 国家 | is_federation_leader = yes
|
| is_federation_nation | 布尔 | 若国家是联邦成员,则返回 true。 | 国家 | is_federation_nation = yes
|
| is_female | 布尔 | 若国家的统治者为女性,则返回 true。 | 国家 | is_female = yes
|
| is_force_converted | 布尔 | 若国家曾通过宗教叛军或强制宗教和平条约被强制改宗,则返回 true。 注意:附属国互动“强制宗教”不会使该附属国被视为被强制改宗。 |
国家 | is_force_converted = no
|
| is_former_colonial_nation | 布尔 | 若国家是已获得独立的殖民国,则返回 true。 | 国家 | is_former_colonial_nation = no
|
| is_foreign_claim | 布尔 | 若省份是任何非该省份所有者的国家的(永久)宣称,则返回 true | 省份 | is_foreign_claim = yes |
| is_great_power | 布尔 | 若国家是大国,则返回 true。 | 国家 | is_great_power = yes
|
| is_harmonizing_with | 标识符,作用域 | 若国家当前正在与指定宗教或宗教组进行和谐化,则返回 true。 | 国家 | is_harmonizing_with = tengri_pagan_reformed
|
| is_heir_leader | 布尔 | 若国家的继承人是将领,则返回 true。 注意:仅在使用 NOT = … 时否定形式才有正确的本地化。 |
国家 | is_heir_leader = yes
|
| is_hegemon | 布尔 | 若国家被视为三种霸权类型之一,则返回 true。 | 国家 | is_hegemon = yes
|
| is_hegemon_of_type | 标识符 | 若国家拥有特定的霸权,则返回 true。 | 国家 | is_hegemon_of_type = naval_hegemon |
| is_hiring_condottiere_from | 布尔 | 若国家正在雇佣来自指定国家的佣兵队长,则返回 true。 | 国家 | is_hiring_condottiere_from = FRA
|
| hegemon_strength | 整数 | 若国家的霸权进度达到 X,则返回 true | 国家 | hegemon_strength = 100
|
| is_imperial_ban_allowed | 布尔 | 若皇帝对占领帝国领土者拥有战争借口,则返回 true。 注意:通过号召帝国改革启用/禁用。 |
任意 | is_imperial_ban_allowed = yes
|
| is_incident_active | 标识符 | 若指定事件处于活跃状态,则返回 true。 | 国家 | is_incident_active = incident_neo_confucianism
|
| 布尔,any,none | 若任一/没有事件处于活跃状态,则返回 true。 | 国家 | is_incident_active = any
| |
| is_incident_happened | 标识符 | 若指定事件已经发生,则返回 true。 | 国家 | is_incident_happened = incident_neo_confucianism
|
| is_incident_possible | 标识符 | 若指定事件有可能发生,则返回 true。 | 国家 | is_incident_possible = incident_neo_confucianism
|
| is_incident_potential | 标识符 | 若指定事件可见,因而将来可能发生,则返回 true。 | 国家 | is_incident_potential = incident_neo_confucianism
|
| is_institution_enabled | 标识符 | 若指定的制度已被发现,则返回 true。 | 任意 | is_institution_enabled = renaissance
|
| is_institution_origin | 标识符 | 若省份是指定制度的起源地,则返回 true。 | 省份 | is_institution_origin = printing_press
|
| is_in_capital_area | 布尔 | 若省份与其所有者的首都相连(即存在陆地连接,包括海峡),则返回 true。 | 省份 | is_in_capital_area = yes
|
| is_in_coalition | 布尔 | 若国家处于联盟中,则返回 true。 | 国家 | is_in_coalition = no
|
| is_in_coalition_war | 布尔 | 若国家正在进行联盟战争,则返回 true。 | 国家 | is_in_coalition_war = yes
|
| is_in_deficit | 布尔 | 若国家处于赤字状态,则返回 true。 | 国家 | is_in_deficit = yes
|
| is_in_extended_regency | 布尔 | 若国家处于延长摄政期间,则返回 true。 | 国家 | is_in_extended_regency = yes |
| is_in_league_war | 布尔 | 若国家正处于宗教同盟战争中,则返回 true。 | 国家 | is_in_league_war = yes
|
| is_in_trade_league | 布尔 | 若国家是贸易同盟的成员,则返回 true。 | 国家 | is_in_trade_league = yes
|
| is_in_trade_league_with | 标签,作用域 | 若国家与国家 X 是同一个贸易同盟的成员,则返回 true。 | 国家 | is_in_trade_league_with = VEN
|
| is_in_war | 子句 | 若国家正处于战争中且满足所述条件,则返回 true。 可能的条件有:
|
国家 | is_in_war = {
attacker_leader = ROOT
attackers = FRA # Is the tag an attacker?
defenders = BOH # Is the tag a defender?
participants = AUS # Is the tag on either side?
duration = 1875
}
|
| is_island | 布尔 | 若省份是岛屿,即没有相邻的陆地省份,也无法通过海峡到达任何省份,则返回 true。 | 省份 | is_island = yes
|
| is_league_enemy | 作用域 | 若国家 X 是该国家(所在同盟)的同盟敌人,则返回 true。 | 国家 | is_league_enemy = ROOT
|
| is_lacking_institutions | 布尔 | 若国家缺少任何制度,则返回 true。 | 国家 | is_lacking_institutions = yes
|
| is_league_friend | 作用域 | 若国家与指定国家处于同一个宗教同盟中,则返回 true。 | 国家 | is_league_friend = ROOT
|
| is_league_leader | 布尔 | 若国家领导一个宗教同盟,则返回 true。 | 国家 | is_league_leader = yes
|
| is_lesser_in_union | 布尔 | 若国家是联合统治中的次要一方,则返回 true。 | 国家 | is_lesser_in_union = no
|
| is_looted | 布尔 | 若省份被劫掠,则返回 true。 | 省份 | is_looted = yes
|
| is_monarch_leader | 布尔 | 若国家的统治者是将领,则返回 true。 注意:仅在使用 NOT = … 时否定形式才有正确的本地化。 |
国家 | is_monarch_leader = yes
|
| is_month | 整数 | 若当前月份至少为 X(从零开始计数),则返回 true。 | 任意 | is_month = 1 # February or later
|
| is_march | 布尔 | 若国家是卫戍国,则返回 true。 | 国家 | is_march = yes
|
| is_migratory_tribe | 布尔 | 若国家是迁徙部落,则返回 true。 | 国家 | is_migratory_tribe = yes
|
| is_most_powerful_estate | 标识符 | 若国家中最强大的阶层是指定阶层,则返回 true。 | 国家 | is_most_powerful_estate = estate_nobles
|
| is_neighbor_of | 标签,作用域 | 若国家是 X 的邻国,则返回 true。现在既可用于省份作用域,也可用于国家作用域。 | 国家
省份 |
is_neighbor_of = FRA
|
| is_neighbor_of_province | 省份 ID,作用域 | 若当前作用域与指定对象相邻,则返回 true。 | 国家
省份 |
is_neighbor_of = 229is_neighbor_of = PREV
|
| is_node_in_trade_company_region | 布尔 | 若省份的贸易节点位于贸易公司地区内,则返回 true。 | 省份 | is_node_in_trade_company_region = yes
|
| is_nomad | 布尔 | 若国家的政府为游牧政府,则返回 true。 (注意:只有草原游牧民族政府被标记为游牧。) |
国家 | is_nomad = yes
|
| is_orangists_in_power | 布尔 | 若国家中的奥兰治派当权,则返回 true。 | 国家 | is_orangists_in_power = yes
|
| is_origin_of_consort | 标签,作用域 | 若指定国家是作用域内国家配偶的出身国,则返回 true。 | 国家 | is_origin_of_consort = ROOT
|
| is_or_was_tag | 子句 | 若当前作用域是或曾经是指定标签,则返回 true。 | 国家 | is_or_was_tag = { tag = ARL }
|
| is_overseas | 布尔 | 若省份是海外省份,则返回 true | 省份 | is_overseas = yes
|
| is_overseas_subject | 布尔 | 若该附属国位于海外,则返回 true。 | 国家(附属国) | is_overseas_subject = yes
|
| is_owned_by_trade_company | 布尔 | 若省份属于某个贸易公司,则返回 true。 | 省份 | is_owned_by_trade_company = yes
|
| is_papal_controller | 布尔 | 若国家是教宗控制者,则返回 true。 | 国家 | is_papal_controller = yes
|
| is_part_of_hre | 布尔 | 若国家/省份属于神圣罗马帝国,则返回 true。 | 国家 省份 |
is_part_of_hre = yes
|
| is_playing_custom_nation | 布尔 | 若国家是玩家设计的自定义国家,则返回 true。 | 国家 | is_playing_custom_nation = yes
|
| is_possible_march | 标签,作用域 | 若附庸国 X 是该国家可能的卫戍国,则返回 true。 | 国家 | is_possible_march = ROOT
|
| is_possible_vassal | 标签,作用域 | 若国家 X 可作为该国家的附庸国被释放,则返回 true。 | 国家 | ENG = { is_possible_vassal = CRN }
|
| is_previous_papal_controller | 布尔 | 若国家是上一任教宗控制者,则返回 true。 | 国家 | is_previous_papal_controller = yes
|
| is_prosperous | 布尔 | 若省份繁荣,则返回 true。注意:没有提示文本。 | 省份 | is_prosperous = yes
|
| is_protectorate | 布尔 | 若国家是保护国,则返回 true | 国家 | is_protectorate = yes
|
| is_random_new_world | 布尔 | 若正在使用随机新大陆,则返回 true。 | 任意 | is_random_new_world = no
|
| is_reform_available | 标识符 | 若指定的政府改革对当前国家作用域可用,则返回 true。 | 国家 | is_reform_available = plutocratic_reform
|
| is_reformation_center | 布尔 | 若省份是宗教改革中心,则返回 true。 | 全局 | is_reformation_center = no
|
| is_religion_grant_colonial_claim | 布尔,标签,作用域 | 若省份已被授予任一国家、无国家或特定国家,则返回 true。 | 省份 | is_religion_grant_colonial_claim = ROOT
|
| is_religion_enabled | 标识符 | 若指定的宗教已启用,则返回 true。 | 任意 | is_religion_enabled = reformed
|
| is_religion_reformed | 布尔 | 若国家已改革其宗教,则返回 true。 | 国家 | is_religion_reformed = yes
|
| is_renting_condottieri_to | 标签 | 若国家正在向指定国家租借佣兵队长,则返回 true。 | 国家 | is_renting_condottieri_to = ENG
|
| is_revolution_target | 布尔 | 若国家是革命目标,则返回 true。 | 国家 | is_revolution_target = yes
|
| is_revolutionary | 布尔 | 若国家已拥抱革命,则返回 true。 | 国家 | is_revolutionary = yes
|
| is_rival | 标签,作用域 | 若国家 X 是该国家的对手,则返回 true。 | 国家 | is_rival = FRA
|
| is_ruler_commanding_unit | 布尔 | 若单位由所有者的统治者、继承人或配偶指挥,则返回 true。 | 单位 | is_ruler_commanding_unit = yes
|
| is_sea | 布尔 | 若省份是海域,则返回 true。 主要用于贸易节点。 |
省份 | is_sea = yes
|
| is_state | 布尔 | 若省份位于某个州中,则返回 true。 | 省份 | is_state = yes
|
| is_state_core | 省份 ID | 若国家在 ID 为 X 的省份上拥有州核心,则返回 true。 | 国家 | is_state_core = 950
|
| 标签,作用域 | 若国家 X 在该省份上拥有州核心,则返回 true。 | 省份 | is_state_core = NED
| |
| is_statists_in_power | 布尔 | 若国家中的国家派当权,则返回 true。 | 省份 | is_statists_in_power = yes
|
| is_strongest_trade_power | 标签,作用域 | 若指定国家在该地区拥有最多的贸易力量,则返回 true。 | 省份 (贸易节点) |
is_strongest_trade_power = POR
|
| is_subject | 布尔 | 若国家是附属国,则返回 true。 | 国家 | is_subject = yes
|
| is_subject_of | 标签 | 若国家是 X 的附属国,则返回 true。 | 国家 | is_subject_of = FRA
|
| is_subject_of_type | 标识符 | 若国家是附属国类型的附属国,则返回 true。 | 国家 | is_subject_of_type = tributary_state
|
| is_subject_of_type_with_overlord | 子句 | 若国家是指定宗主国的附属国类型的附属国,则返回 true。who 可以使用 ROOT 等作用域,但提示文本只对标签有效。 |
国家 |
is_subject_of_type_with_overlord = {
who = MNG
type = tributary_state
}
|
| is_supporting_independence_of | 标签,作用域 | 若国家正在支持指定国家的独立,则返回 true。 | 国家 | is_supporting_independence_of = SWI
|
| is_territorial_core | 省份 ID | 若国家在 ID 为 X 的省份上拥有领土核心,则返回 true。 | 国家 | is_territorial_core = 950
|
| 标签,作用域 | 若国家 X 在该省份上拥有领土核心,则返回 true。 | 省份 | is_territorial_core = NED
| |
| is_territory | 布尔 | 若省份位于领地中,则返回 true。 | 省份 | is_territory = no
|
| is_threat | 标签,作用域 | 若国家受到国家 X 的威胁,则返回 true。 | 国家 | is_threat = FRA
|
| is_trade_league_leader | 布尔 | 若国家是贸易同盟的领导者,则返回 true。 | 国家 | is_trade_league_leader = yes
|
| is_tribal | 布尔 | 若国家拥有部落政府,则返回 true。 本质上等同于 "government = tribal" |
国家 | is_tribal = yes
|
| is_vassal | 布尔 | 若国家是附庸国,则返回 true。 | 国家 | is_vassal = yes
|
| is_variable_equal | 子句 | 若指定变量等于 X,则返回 true。 | is_variable_equal = {
which = myvar
value = 5
}
| |
| is_wasteland | 布尔 | 若省份是荒地,则返回 true。 | 省份 | is_wasteland = yes
|
| is_year | 整数 | 若当前年份至少为 X,则返回 true。 | 任意 | is_year = 1750
|
| island | 布尔 | 若省份是岛屿,即没有相邻的陆地省份,则返回 true。 | 省份 | island = yes
|
| isolationism | 整数 | 若国家的孤立主义等级至少为 X,则返回 true。 | 国家 | isolationism = 2
|
| janissary_percentage | 浮点 | 若国家拥有至少 X 千名耶尼切里的军队,则返回 true。 |
国家 | janissary_percentage = 0.3
|
| num_of_janissaries | 整数 | 若国家至少拥有 X 名耶尼切里,则返回 true。 | 国家 | num_of_janissaries = 10
|
| 标签,作用域 | 若国家的耶尼切里数量不少于指定国家,则返回 true。 | 国家 | num_of_janissaries = TUR
| |
| junior_union_with | 标签,作用域 | 若国家是国家 X 治下联合统治中的次要成员,则返回 true。 | 国家 | junior_union_with = ENG
|
| karma | 整数 | 若国家的业力至少为 X,则返回 true。 | 国家 | karma = -50
|
| 标签,作用域 | 若国家的业力不低于指定国家,则返回 true。 | 国家 | karma = DAI
| |
| knows_country | 标签,作用域 | 若国家知晓国家 X,则返回 true。 | 国家 | knows_country = INC
|
| land_forcelimit | 整数 | 若国家的陆军上限至少为 X,则返回 true。 | 国家 | land_forcelimit = 32
|
| 标签,作用域 | 若国家的陆军上限(以团数计)不低于指定国家,则返回 true。 | 国家 | land_forcelimit = ROOT
| |
| land_maintenance | 浮点 | 若国家将其陆军维护费设为 X,则返回 true。 | 国家 | land_maintenance = 0.90
|
| land_morale | 浮点 | 若国家的陆军士气至少为 X,则返回 true。 | 国家 | land_morale = 3.5
|
| 标签,作用域 | 若国家的陆军士气不低于指定国家,则返回 true。 | 国家 | land_morale = PRU
| |
| last_mission | 标识符 | 若国家上一个任务是指定任务,则返回 true。 | 国家 | NOT = { last_mission = conquer_finland }
|
| legitimacy | 整数 | 若国家拥有至少 X 点正统性,则返回 true。 | 国家 | legitimacy = 100
|
| 标签,作用域 | 若国家的正统性不低于指定国家,则返回 true。 | 国家 | legitimacy = ENG
| |
| legitimacy_equivalent | 整数 | 若国家的正统性等价值(正统性、共和传统、虔诚度、游牧团结、精英治国度等)至少为 X,则返回 true。 | 国家 | legitimacy_equivalent = 80
|
| 标签,作用域 | 若国家的正统性等价值(正统性、共和传统、虔诚度、游牧团结、精英治国度等)不低于指定国家,则返回 true。 | 国家 | legitimacy_equivalent = FRA
| |
| legitimacy_or_horde_unity | 整数 | 若国家拥有至少 X 点正统性或游牧团结,则返回 true。 | 国家 | legitimacy_or_horde_unity = 90
|
| 标签,作用域 | 若国家的正统性或游牧团结不低于指定国家,则返回 true。 | 国家 | legitimacy_or_horde_unity = ROOT
| |
| liberty_desire | 整数 | 若附属国的独立倾向至少为 X,则返回 true。 | 国家(附属国) | liberty_desire = 50
|
| light_ship_fraction | 浮点 | 若国家轻型舰占海军规模的比例至少为 X,则返回 true。 | 国家 | light_ship_fraction = 0.3
|
| light_ships_in_province | 整数 | 若省份中至少有 X 艘轻型舰,则返回 true。 | 省份 | light_ships_in_province = 10
|
| 标签,作用域 | 若省份中有来自指定国家的轻型舰,则返回 true。 | 省份 | light_ships_in_province = ROOT
| |
| likely_rebels | 标识符 | 若省份以指定的叛军派系为可能的叛军,则返回 true。 | 省份 | likely_rebels = revolutionary_rebels
|
| local_autonomy | 整数 | 若省份的本地自治度至少为 X,则返回 true。 | 省份 | local_autonomy = 50
|
| local_autonomy_above_min | 浮点 | 若省份的本地自治度比该省份的最低本地自治度至少高出 X,则返回 true。 | 省份 | local_autonomy_above_min = 10
|
| luck | 布尔 | 若国家是幸运国家,则返回 true。(仅限 AI 控制的国家。) | 国家 | luck = yes
|
| march_of | 标签,作用域 | 若国家是国家 X 治下的卫戍国,则返回 true。 | 国家 | march_of = PAP
|
| manpower | 整数 | 若国家拥有至少可用人力,则返回 true。 | 国家 | manpower = 22
|
| manpower_percentage | 浮点 | 若国家的人力水平至少为 X%,则返回 true。 | 国家 | manpower_percentage = 0.50
|
| marriage_with | 标签,作用域 | 若国家与 X 存在王室联姻,则返回 true。 | 国家 | marriage_with = ROOT
|
| max_manpower | 整数 | 若国家拥有至少最大人力,则返回 true。 | 国家 | max_manpower = 5
|
| mercantilism | 浮点 | 若国家的重商主义至少为 X,则返回 true。 | 国家 | mercantilism = 5
|
| 标签,作用域 | 若国家的重商主义不低于指定国家,则返回 true。 | 国家 | mercantilism = ENG | |
| meritocracy | 整数 | 若国家的精英治国度至少为 X,则返回 true。 | 国家 | meritocracy = 80
|
| mil | 整数 | 若国家拥有军事能力至少为 X 的统治者,则返回 true。 | 国家 | mil = 6
|
| 标签,作用域 | 若国家统治者的军事能力不低于指定国家统治者,则返回 true。 | 国家 | mil = HJO
| |
| militarised_society | 整数 | 若国家的社会军事化程度至少为 X,则返回 true。 | 国家 | militarized_society = 20
|
| mil_power | 整数 | 若国家拥有至少 X 点军事点数,则返回 true。 | 国家 | mil_power = 333
|
| 标签,作用域 | 若国家的军事点数不少于指定国家,则返回 true。 | 国家 | mil_power = MAM
| |
| mil_tech | 整数,作用域 | 若国家的军事科技至少为 X 级或目标作用域的等级,则返回 true。 | 国家 | mil_tech = 4mil_tech = ROOT
|
| mission_completed | 标识符 | 若国家已完成任务 X,则返回 true。 | 国家 | mission_completed = eng_mighty_army
|
| monthly_income | 整数 | 若国家的每月收入至少为 X,则返回 true。 | 国家 | monthly_income = 5
|
| 标签,作用域 | 若国家的每月收入不低于指定国家,则返回 true。 | 国家 | monthly_income = MAM
| |
| monthly_trade_income | 整数 | 若国家的每月贸易收入至少为 X,则返回 true。 | 国家 | monthly_trade_income = 5
|
| 标签,作用域 | 若国家的每月贸易收入不低于指定国家,则返回 true。 | 国家 | monthly_trade_income = MAM
| |
| monthly_dip | 整数 | 若国家每月至少获得 X 点外交点数,则返回 true。 | 国家 | monthly_dip = 3
|
| monthly_mil | 整数 | 若国家每月至少获得 X 点军事点数,则返回 true。 | 国家 | monthly_mil = 3
|
| months_of_ruling | 整数 | 若国家的统治者已统治至少 X 个月,则返回 true。 | 国家 | months_of_ruling = 12
|
| months_since_defection | 整数 | 若省份在最近 X 个月内发生过倒戈,则返回 true。 | 省份 | months_since_defection = 12
|
| military_strength | 子句 | 若国家的军事实力(陆军规模与海军规模之和)至少是指定国家军事实力的 X 倍,则返回 true | 国家 | military_strength = {
who = FROM
value = 2.0
}
|
| nationalism | 整数 | 若省份还剩至少 X 年的分离主义,则返回 true。 | 省份 | nationalism = 5
|
| nationalism_debug | 整数 | 省份 | nationalism_debug = 1
| |
| national_focus | 标识符 | 若国家将国家重点设为 X,则返回 true。 | 国家 | national_focus = ADM
|
| nation_designer_points | 标识符 | 若创建自定义国家时至少使用了 X 点,则返回 true。 | 国家 | nation_designer_points = 802
|
| native_ferocity | 整数 | 若省份中原住民的凶猛度至少为 X,则返回 true。 | 省份 | native_ferocity = 3
|
| native_hostileness | 整数 | 若省份中原住民的敌意至少为 X,则返回 true。 | 省份 | native_hostileness = 2
|
| native_policy | 标识符 | 若国家拥有指定的原住民政策,则返回 true。 | 国家 | native_policy = native_policy_trade |
| native_size | 整数 | 若省份中原住民的规模至少为 X,则返回 true。 | 省份 | native_size = 30
|
| naval_forcelimit | 整数 | 若国家的海军上限至少为 X,则返回 true。 | 国家 | naval_forcelimit = 24
|
| 标签,作用域 | 若国家的海军上限(以舰船数计)不低于指定国家,则返回 true。 | 国家 | naval_forcelimit = SWE
| |
| naval_maintenance | 浮点 | 若国家的海军维护费滑块至少为最大值的 X 比例,则返回 true。 | 国家 | naval_maintenance = 0.33
|
| naval_morale | 浮点 | 若国家的海军士气至少为 X,则返回 true。 | 国家 | naval_morale = 2.5
|
| 标签,作用域 | 若国家的海军士气不低于指定国家,则返回 true。 | 国家 | naval_morale = GBR
| |
| navy_size | 整数 | 若当前作用域拥有至少 X 艘舰船的海军,则返回 true。 | 国家 | navy_size = 300
|
| 标签,作用域 | 若当前作用域的海军规模不小于指定国家,则返回 true。 | 国家 | navy_size = SPA
| |
| navy_size_percentage | 整数 | 若国家海军总规模与其海军上限之比至少为 X,则返回 true。 | 国家 | navy_size_percentage = 0.50
|
| naval_strength | 子句 | 若国家的海军规模至少是指定国家海军规模的 X 倍,则返回 true。 | 国家 | naval_strength = {
who = ENG
value = 0.5
}
|
| navy_tradition | 整数 | 若国家的海军传统至少为 X,则返回 true。 | 国家 | navy_tradition = 95
|
| 标签,作用域 | 若国家的海军传统不低于指定国家,则返回 true。 | 国家 | navy_tradition = GBR
| |
| normal_or_historical_nations | 布尔 | 若游戏设置为使用普通或历史国家,则返回 true。 | 任意 | normal_or_historical_nations = yes
|
| normal_province_values | 布尔 | 若游戏设置为使用普通省份数值,则返回 true。 | 任意 | normal_province_values = yes
|
| num_accepted_cultures | 整数 | 若国家至少拥有 X 个被接受文化,则返回 true。 | 国家 | num_accepted_cultures = 1
|
| num_free_building_slots | 整数 | 若省份至少还剩 X 个建筑栏位,则返回 true。 | 省份 | num_free_building_slots = 1
|
| num_investments_in_trade_company_region | 子句 | 若贸易公司地区中至少有 X 项贸易公司投资,则返回 true。 | 省份 | num_investments_in_trade_company_region = {
investment = company_administration
value = 3
}
|
| num_of_active_blessings | 整数 | 若国家至少启用了 X 个祝福,则返回 true。 | 国家 | num_of_active_blessings = 5
|
| num_of_admirals | 整数 | 若国家至少拥有 X 名海军将领,则返回 true。 | 国家 | num_of_admirals = 2
|
| 标签,作用域 | 若国家的海军将领数量不少于指定国家,则返回 true。 | 国家 | num_of_admirals = SPA
| |
| num_of_admirals_with_traits | 整数 | 若国家至少拥有 X 名带特质的海军将领,则返回 true。 | 国家 | num_of_admirals_with_traits = 1
|
| num_of_allies | 整数 | 若国家至少拥有 X 个盟友,则返回 true。 | 国家 | num_of_allies = 7
|
| 标签,作用域 | 若国家的盟友数量不少于指定国家,则返回 true。 | 国家 | num_of_allies = ARA
| |
| num_of_artillery | 整数 | 若国家至少拥有 X 个炮兵团,则返回 true。 | 国家 | num_of_artillery = 12
|
| 标签,作用域 | 若国家的炮兵团数量不少于指定国家,则返回 true。 | 国家 | num_of_artillery = FRA
| |
| num_of_aspects | 整数 | 若国家至少拥有 X 个教会方针,则返回 true。 | 国家 | num_of_aspects = 2
|
| 标签,作用域 | 若国家的教会方针数量不少于指定国家,则返回 true。 | 国家 | num_of_aspects = SWE
| |
| num_of_banners | 整数 | 若国家至少拥有 X 个旗兵单位,则返回 true。 | 国家 | num_of_banners = 3
|
| 标签,作用域 | 若国家的旗兵数量不少于指定国家,则返回 true。 | 国家 | num_of_banners = MCH
| |
| num_of_buildings_in_province | 整数 | 若省份至少拥有 X 座建筑,则返回 true | 省份 | num_of_buildings_in_province = 3
|
| num_of_captured_ships_with_boarding_doctrine | 整数 | 若国家在拥有“接舷战”海军学说时至少俘获了 X 艘舰船,则返回 true。 | 国家 | num_of_captured_ships_with_boarding_doctrine = 20
|
| num_of_centers_of_trade | 整数 | 若国家至少拥有 X 个贸易中心,则返回 true。 | 国家 | num_of_centers_of_trade = 5
|
| num_of_cardinals | 整数 | 若国家在教廷中至少拥有 X 名红衣主教,则返回 true。 | 国家 | num_of_cardinals = 3
|
| 标签,作用域 | 若国家的红衣主教数量不少于指定国家,则返回 true。 | 国家 | num_of_cardinals = FRA
| |
| num_of_caravel | 整数 | 若国家至少拥有 X 艘卡拉维尔帆船,则返回 true。 | 国家 | num_of_caravel = 100
|
| 标签,作用域 | 若国家的卡拉维尔帆船团数量不少于指定国家,则返回 true。 | 国家 | num_of_caravel = SPA
| |
| num_of_cavalry | 整数 | 若国家至少拥有 X 个骑兵团,则返回 true。 | 国家 | num_of_cavalry = 23
|
| 标签,作用域 | 若国家的骑兵团数量不少于指定国家,则返回 true。 | 国家 | num_of_cavalry = FRA
| |
| num_of_cawa | 整数 | 若国家至少拥有 X 个卡瓦(cawa)团,则返回 true。 | 国家 | num_of_cawa = 100
|
| 标签,作用域 | 若国家的卡瓦数量不少于指定国家,则返回 true。 | 国家 | num_of_cawa = ETH
| |
| num_of_carolean | 整数 | 若国家至少拥有 X 个卡罗林(carolean)团,则返回 true。 | 国家 | num_of_carolean = 100
|
| 标签,作用域 | 若国家的卡罗林数量不少于指定国家,则返回 true。 | 国家 | num_of_carolean = SWE
| |
| num_of_cities | 整数 | 若国家拥有至少 X 个城市,则返回 true。 | 国家 | num_of_cities = 15
|
| 标签,作用域 | 若国家拥有的城市数量不少于指定国家,则返回 true。 | 国家 | num_of_cities = ROOT
| |
| num_of_coalition_members | 整数 | 若国家所在的联盟至少有 X 个成员,则返回 true。 | 国家 | num_of_coalition_members = 6
|
| num_of_colonies | 整数 | 若国家至少有 X 个未完成的殖民地,则返回 true。 | 国家 | num_of_colonies = 2
|
| 标签,作用域 | 若国家未完成的殖民地数量不少于指定国家,则返回 true。 | 国家 | num_of_colonies = ENG
| |
| num_of_colonists | 整数 | 若国家至少拥有 X 名殖民者,则返回 true。 | 国家 | num_of_colonists = 2
|
| num_of_conquistadors | 整数 | 若国家至少拥有 X 名征服者,则返回 true。 | 国家 | num_of_conquistadors = 2
|
| 标签,作用域 | 若国家的征服者数量不少于指定国家,则返回 true。 | 国家 | num_of_conquistadors = ROOT
| |
| num_of_consorts | 整数 | 若国家的统治者至少有过 X 位不同的配偶,则返回 true。 | 国家 | num_of_consorts = 6
|
| num_of_continents | 整数 | 若国家在至少 X 个大陆上拥有省份,则返回 true。仅计算国家自身拥有的省份,不计附属国拥有的省份。 | 国家 | num_of_continents = 3
|
| num_of_cossacks | 整数 | 若国家至少拥有 X 个哥萨克单位,则返回 true。 | 国家 | num_of_cossacks = 3
|
| 标签,作用域 | 若国家的哥萨克团数量不少于指定国家,则返回 true。 | 国家 | num_of_cossacks = ZAZ
| |
| num_of_custom_nations | 整数 | 若游戏中至少有 X 个自定义国家,则返回 true。 | 国家 | num_of_custom_nations = 1
|
| num_of_different_religions_in_court | 整数 | 若宫廷中至少有 X 名与国家宗教不同的可用顾问,则返回 true。 | 国家 | num_of_different_religions_in_court = 4
|
| num_of_different_cultures_in_court | 整数 | 若宫廷中至少有 X 名与国家主文化不同的可用顾问,则返回 true。 | 国家 | num_of_different_cultures_in_court = 4
|
| num_of_diplomatic_relations | 整数 | 若国家至少拥有 X 个外交关系,则返回 true。 | 国家 | num_of_diplomatic_relations = 3
|
| num_of_diplomats | 整数 | 若国家至少拥有 X 名外交官,则返回 true。 | 国家 | num_of_diplomats = 2
|
| num_of_electors | 整数 | 若神圣罗马帝国至少有 X 位选帝侯,则返回 true。 | 任意 | num_of_electors = 7
|
| num_of_estate_privileges | 子句 | 若国家已向指定的阶层授予至少 X 项特权,则返回 true。 | 国家 | num_of_estate_privileges = {
estate = estate_brahmins
value = 2
}
|
| num_of_explorers | 整数 | 若国家至少拥有 X 名探险家,则返回 true。 | 国家 | num_of_explorers = 1
|
| 标签,作用域 | 若国家的探险家数量不少于指定国家,则返回 true。 | 国家 | num_of_explorers = ENG
| |
| num_federation_advancements | 整数 | 若国家的联邦发展数量不少于所述数量,则返回 true。 | 国家 | num_federation_advancements = 4
|
| num_of_foreign_hre_provinces | 整数 | 若至少有 X 个省份由非成员国或非成员国的附属国所拥有,则返回 true。 | 任意 | num_of_foreign_hre_provinces = 2
|
| num_of_free_diplomatic_relations | 整数 | 若国家至少有 X 个空闲的外交关系栏位,则返回 true。 | 国家 | num_of_free_diplomatic_relations = 1
|
| num_of_galley | 整数 | 若国家至少拥有 X 艘桨帆船,则返回 true。 | 国家 | num_of_galley = 20
|
| 标签,作用域 | 若国家的桨帆船数量不少于指定国家,则返回 true。 | 国家 | num_of_galley = VEN
| |
| num_of_galleon | 整数 | 若国家至少拥有 X 艘盖伦帆船单位,则返回 true。 | 国家 | num_of_galleon = 100
|
| 标签,作用域 | 若国家的盖伦帆船数量不少于指定国家,则返回 true | 国家 | num_of_galleon = SPA
| |
| num_of_galleass | 整数 | 若国家至少拥有 X 艘大型桨帆船(galleass)单位,则返回 true。 | 国家 | num_of_galleass = 100
|
| 标签,作用域 | 若国家的大型桨帆船数量不少于指定国家,则返回 true。 | 国家 | num_of_galleass = VEN
| |
| num_of_generals | 整数 | 若国家至少拥有 X 名将领,则返回 true。 | 国家 | num_of_generals = 2
|
| 标签,作用域 | 若国家的将领数量不少于指定国家,则返回 true。 | 国家 | num_of_generals = FROM
| |
| num_of_generals_with_traits | 整数 | 若国家至少拥有 X 名带特质的将领,则返回 true。 | 国家 | num_of_generals_with_traits = 1
|
| num_of_geobukseon | 整数 | 若国家至少拥有 X 个龟船(geobukseon)单位,则返回 true。 | 国家 | num_of_geobukseon = 100
|
| 标签,作用域 | 若国家的龟船单位数量不少于指定国家,则返回 true。 | 国家 | num_of_geobukseon = KOR
| |
| num_of_harmonized | 整数 | 若国家已与至少 X 种宗教或宗教组和谐化,则返回 true。 | 国家 | num_of_harmonized = 2
|
| num_of_heavy_ship | 整数 | 若国家至少拥有 X 艘重型舰,则返回 true。 | 国家 | num_of_heavy_ship = 20
|
| 标签,作用域 | 若国家的重型舰数量不少于指定国家,则返回 true。 | 国家 | num_of_heavy_ship = ENG
| |
| num_of_hussars | 整数 | 若国家至少拥有 X 个骠骑兵,则返回 true。 | 国家 | num_of_hussars = 100
|
| 标签,作用域 | 若国家的骠骑兵数量不少于指定国家,则返回 true。 | 国家 | num_of_hussars = POL
| |
| num_of_infantry | 整数 | 若国家至少拥有 X 个步兵团,则返回 true。 | 国家 | num_of_infantry = 300
|
| 标签,作用域 | 若国家的步兵团数量不少于指定国家,则返回 true。 | 国家 | num_of_infantry = FROM
| |
| num_of_light_ship | 整数 | 若国家至少拥有 X 艘轻型舰,则返回 true。 | 国家 | num_of_light_ship = 20
|
| 标签,作用域 | 若国家的轻型舰数量不少于指定国家,则返回 true。 | 国家 | num_of_light_ship = GEN
| |
| num_of_loans | 整数 | 若国家至少有 X 笔贷款,则返回 true。 | 国家 | num_of_loans = 15
|
| 标签,作用域 | 若国家借的贷款数量不少于指定国家,则返回 true。 | 国家 | num_of_loans = LIT
| |
| num_of_mamluks | 整数 | 若国家至少拥有 X 个马穆鲁克团,则返回 true。 | 国家 | num_of_mamluks = 100
|
| 标签,作用域 | 若国家的马穆鲁克数量不少于指定国家,则返回 true。 | 国家 | num_of_mamluks = MAM
| |
| num_of_man_of_war | 整数 | 若国家至少拥有 X 艘战列舰(man of war)重型舰,则返回 true。 | 国家 | num_of_man_of_war = 100
|
| 标签,作用域 | 若国家的战列舰数量不少于指定国家,则返回 true。 | 国家 | num_of_man_of_war = GBR
| |
| num_of_marches | 整数 | 若国家至少拥有 X 个卫戍国,则返回 true。 | 国家 | num_of_marches = 2
|
| 标签,作用域 | 若国家的卫戍国数量不少于指定国家,则返回 true。 | 国家 | num_of_marches = POL
| |
| num_of_marines | 整数 | 若国家至少启用了 X 个海军陆战队,则返回 true。 | 国家 | num_of_marines = 5
|
| 标签,作用域 | 若国家的海军陆战队数量不少于指定国家,则返回 true。 | 国家 | num_of_marines = GBR
| |
| num_of_mercenaries | 整数 | 若国家至少拥有 X 个雇佣兵团,则返回 true。 | 国家 | num_of_mercenaries = 10
|
| 标签,作用域 | 若国家的雇佣兵团数量不少于指定国家,则返回 true。 | 国家 | num_of_mercenaries = TUR
| |
| num_of_merchants | 整数 | 若国家至少拥有 X 名商人,则返回 true。 | 国家 | num_of_merchants = 3
|
| num_of_missionaries | 整数 | 若国家至少拥有 X 名传教士,则返回 true。 | 国家 | num_of_missionaries = 2
|
| num_of_musketeers | 整数 | 若国家至少拥有 X 个火枪手单位,则返回 true。 | 国家 | num_of_musketeers = 10
|
| 标签,作用域 | 若国家的火枪手数量不少于指定国家,则返回 true。 | 国家 | num_of_musketeers = FRA
| |
| num_of_owned_and_controlled_institutions | 整数 | 若国家拥有并控制至少 X 个制度起源省份,则返回 true。 | 国家 | num_of_owned_and_controlled_institutions = 2
|
| num_of_owned_provinces_with | 子句 | 若作用域内国家至少有 X 个省份满足指定条件,则返回 true。 | 国家 | num_of_owned_provinces_with = {
value = 15
has_owner_accepted_culture = no
NOT = { culture = root }
is_overseas = no
}
|
| num_of_pashas | 整数 | 若国家至少拥有 X 名帕夏,则返回 true。 | 国家 | num_of_pashas = 20
|
| num_of_ports | 整数 | 若国家拥有至少 X 个本土港口(位于与首都连续相连的土地上),则返回 true。 | 国家 | num_of_ports = 20
|
| 标签,作用域 | 若国家的本土港口数量不少于指定国家,则返回 true。 | 国家 | num_of_ports = MNG
| |
| num_of_ports_blockading | 整数 | 若国家封锁了至少 X 个港口,则返回 true。 | 国家 | num_of_ports_blockading = 10
|
| num_of_powerful_estates | 整数 | 若国家至少有 X 个影响力不低于 70 的阶层,则返回 true。 | 国家 | num_of_powerful_estates = 2
|
| num_of_protectorates | 整数 | 若国家至少拥有 X 个保护国,则返回 true。自 1.20 起已废弃。 | 国家 | num_of_protectorates = 2
|
| 标签,作用域 | 若国家的保护国数量不少于指定国家,则返回 true。自 1.20 起已废弃。 | 国家 | num_of_protectorates = POR
| |
| num_of_provinces_in_states | 整数 | 若国家至少有 X 个省份位于州中,则返回 true。 | 国家 | num_of_provinces_in_states = 14
|
| num_of_provinces_in_territories | 整数 | 若国家至少有 X 个省份位于领地中,则返回 true。 | 国家 | num_of_provinces_in_territories = 12
|
| num_of_provinces_owned_or_owned_by_non_sovereign_subjects_with | 子句 | 若国家及其非朝贡附属国拥有的省份中,至少有 X 个满足所声明的条件,则返回 true。 | 国家 | num_of_provinces_owned_or_owned_by_non_sovereign_subjects_with = {
value = 1
colonial_region = colonial_the_carribean
is_city = yes
}
|
| num_of_provinces_owned_or_owned_by_subjects_with | 子句 | 若国家及其附属国拥有的省份中,至少有 X 个满足所声明的条件,则返回 true。 | 国家 | num_of_provinces_owned_or_owned_by_subjects_with = {
value = 8
region = sahel_region
}
|
| num_of_qizilbash | 整数 | 若国家至少拥有 X 个红头军(qizilbash)团,则返回 true。 | 国家 | num_of_qizilbash = 3
|
| 标签,作用域 | 若国家的红头军数量不少于指定国家,则返回 true。 | 国家 | num_of_qizilbash = PER
| |
| num_of_rajput | 整数 | 若国家至少拥有 X 个拉其普特团,则返回 true。 | 国家 | num_of_rajput = 20
|
| 标签,作用域 | 若国家的拉其普特数量不少于指定国家,则返回 true。 | 国家 | num_of_rajput = RJP
| |
| num_of_regiments_at_full_drill | 整数 | 若国家至少有 X 个团处于满训练度,则返回 true | 国家 | num_of_regiments_at_full_drill = 100
|
| num_of_rebel_armies | 整数 | 若国家中的叛军军队数量至少为 X,则返回 true。 | 国家 | num_of_rebel_armies = 3
|
| 标签,作用域 | 若国家中的叛军军队数量不少于指定国家,则返回 true。 | 国家 | num_of_rebel_armies = SWI
| |
| num_of_rebel_controlled_provinces | 整数 | 若国家中被叛军控制的省份数量至少为 X,则返回 true。 | 国家 | num_of_rebel_controlled_provinces = 3
|
| 标签,作用域 | 若国家被叛军控制的省份数量不少于指定国家,则返回 true。 | 国家 | num_of_rebel_controlled_provinces = TIM
| |
| num_of_religion | 子句 | 浮点值:若拥有指定宗教的省份占国家总省份的比例至少为 X,则返回 true。 整数值:若国家至少拥有 X 个信奉指定宗教的省份,则返回 true。 也可以通过 secondary = yes 指定次要宗教。 |
国家 | num_of_religion = {
religion = animism
value = 0.3
}
|
| num_of_revolts | 整数 | 若国家中的叛乱数量至少为 X,则返回 true。 与 ‘num_of_rebel_controlled_provinces’ 相同。 |
国家 | num_of_revolts = 3
|
| 标签,作用域 | 若国家被叛军控制的省份数量不少于指定国家,则返回 true。 | 国家 | num_of_revolts = TIM
| |
| num_of_revolutionary_guard | 整数 | 若国家至少拥有 X 个革命卫队单位,则返回 true | 国家 | num_of_revolutionary_guard = 10
|
| 标签,作用域 | 若国家的革命卫队数量不少于指定国家,则返回 true | 国家 | num_of_revolutionary_guard = FRA
| |
| num_of_royal_marriages | 整数 | 若国家至少拥有 X 个王室联姻,则返回 true。 | 国家 | num_of_royal_marriages = 2
|
| 标签,作用域 | 若国家的王室联姻数量不少于指定国家,则返回 true。 | 国家 | num_of_royal_marriages = ENG
| |
| num_of_samurai | 整数 | 若国家至少拥有 X 个武士团,则返回 true。 | 国家 | num_of_samurai = 100
|
| 标签,作用域 | 若国家的武士团数量不少于指定国家,则返回 true。 | 国家 | num_of_samurai = JAP
| |
| num_of_special_units | 子句 | 若国家至少拥有 X 个 <type> 类型的特殊团,则返回 true
接受此处列出的所有特殊单位 |
国家 | num_of_special_units = {
special_unit_category = man_of_war
type = heavy_ship
value = 40
}
|
| num_of_streltsy | 整数 | 若国家至少拥有 X 个射击军(streltsy)单位,则返回 true。 | 国家 | num_of_streltsy = 3
|
| 标签,作用域 | 若国家的射击军数量不少于指定国家,则返回 true。 | 国家 | num_of_streltsy = RUS
| |
| num_of_states | 整数 | 若国家至少拥有 X 个州,则返回 true。 | 国家 | num_of_states = 8
|
| num_of_strong_trade_companies | 整数 | 若国家至少拥有 X 个强大的贸易公司,则返回 true。 | 国家 | num_of_strong_trade_companies = 4
|
| num_of_subjects | 整数 | 若国家是至少 X 个任意类型附属国的宗主国,则返回 true。 | 国家 | num_of_subjects = 1
|
| num_of_tercio | 整数 | 若国家至少拥有 X 个特西奥(tercio)团,则返回 true。 | 国家 | num_of_tercio = 10
|
| 标签,作用域 | 若国家的特西奥数量不少于指定国家,则返回 true。 | 国家 | num_of_tercio = SPA
| |
| num_of_territories | 整数 | 若国家至少拥有 X 个领地(非州的地区),则返回 true。 | 国家 | num_of_territories = 10
|
| num_of_times_improved | 整数 | 若省份的发展度已被提升至少 X 次,则返回 true。 | 省份 | num_of_times_improved = 5
|
| num_of_times_improved_by_owner | 整数 | 若省份的发展度已被当前所有者提升至少 X 次,则返回 true。 | 省份 | num_of_times_improved_by_owner = 5
|
| num_of_times_used_pillage_capital | 整数 | 若国家已使用劫掠首都和平条约至少 X 次,则返回 true。 | 国家 | num_of_times_used_pillage_capital = 10 |
| num_of_times_used_transfer_development | 整数 | 若国家已使用集中发展行动至少 X 次,则返回 true。 | 国家 | num_of_times_used_transfer_development = 5
|
| num_of_times_expanded_infrastructure | 整数 | 若省份的基础设施已被扩建至少 X 次,则返回 true。 | 省份 | num_of_times_expanded_infrastructure = 2
|
| num_of_total_ports | 整数 | 若国家拥有至少 X 个港口总数(世界任何地方),则返回 true。 | 国家 | num_of_total_ports = 20
|
| 标签,作用域 | 若国家拥有的港口总数不少于指定国家,则返回 true。 | 国家 | num_of_total_ports = JAP
| |
| num_of_trade_companies | 整数 | 若国家至少拥有 X 个贸易公司,则返回 true。 | 国家 | num_of_trade_companies = 3
|
| num_of_trade_embargos | 整数 | 若国家至少有 X 项贸易禁运,则返回 true。 | 国家 | num_of_trade_embargos = 3
|
| num_of_trading_bonuses | 整数 | 若国家至少拥有 X 个“贸易中的”加成,则返回 true。 | 国家 | num_of_trading_bonuses = 7
|
| num_of_transport | 整数 | 若国家至少拥有 X 艘运输船,则返回 true。 | 国家 | num_of_transport = 24
|
| 标签,作用域 | 若国家的运输船数量不少于指定国家,则返回 true。 | 国家 | num_of_transport = DEN
| |
| num_of_trusted_allies | 整数 | 若国家至少有 X 个信任度为 100 的盟友,则返回 true。 | 国家 | num_of_trusted_allies = 3
|
| personal_union | 整数 | 若国家至少拥有 X 个联合统治,则返回 true。 | 国家 | personal_union = 3
|
| num_of_units_in_province | 子句 | 若指定国家在省份中至少有 X 个指定类型的单位,则返回 true。(type 和 who 不是必需的,若不包含则默认为全部。) |
省份 | num_of_units_in_province = {
who =
type =
amount =
}
|
| num_of_unlocked_cults | 整数 | 若国家已解锁至少 X 个信仰崇拜,则返回 true。 | 国家 | num_of_unlocked_cults = 13
|
| num_of_voc_indiamen | 整数 | 若国家至少拥有 X 个东印度公司商船(voc indiamen)单位,则返回 true。 | 国家 | num_of_voc_indiamen = 100
|
| 标签,作用域 | 若国家的东印度公司商船单位数量不少于指定国家,则返回 true。 | 国家 | num_of_voc_indiamen = NED
| |
| num_of_war_reparations | 整数 | 若国家从至少 X 个国家获得战争赔款,则返回 true。 | 国家 | num_of_war_reparations = 4
|
| 标签,作用域 | 若国家获得战争赔款的国家数量不少于指定国家,则返回 true。 | 国家 | num_of_war_reparations = ROOT
| |
| num_mothballed_forts | 整数 | 若国家封存的要塞数量不少于指定值,则返回 true。 | 国家 | num_mothballed_forts = 1
|
| num_ships_privateering | 整数 | 若国家至少有 X 艘舰船正在进行私掠,则返回 true。 | 国家 | num_ships_privateering = 20
|
| 标签,作用域 | 若国家进行私掠的舰船数量不少于指定国家,则返回 true。 | 国家 | num_ships_privateering = HSA
| |
| num_ships_protecting_trade | 整数 | 若国家至少有 X 艘舰船正在保护贸易,则返回 true。 | 国家 | num_ships_protecting_trade = 20
|
| 标签,作用域 | 若国家保护贸易的舰船数量不少于指定国家,则返回 true。 | 国家 | num_ships_protecting_trade = HSA
| |
| offensive_war_with | 标签,作用域 | 若国家正与国家 X 处于进攻性战争中,则返回 true。 | 国家 | offensive_war_with = ROOT
|
| overextension_percentage | 浮点 | 若国家的过度扩张至少为 X%,则返回 true。 | 国家 | overextension_percentage = 0.75
|
| overlord_of | 标签,作用域 | 若国家是 X 的宗主国,则返回 true。 | 国家 | overlord_of = FRA
|
| overseas_provinces_percentage | 浮点 | 若国家的海外省份占比为 X,则返回 true。 | 国家 | overseas_provinces_percentage = 0.05
|
| owes_favors | 整数 | 若作用域内国家欠指定国家人情,则返回 true。 | 国家 | owes_favors = {
who = FRA
value = 10
}
|
| owned_by | 标签,作用域 | 若省份由国家 X 拥有,则返回 true。 | 省份 | owned_by = TUR
|
| owns | 省份 ID | 若国家拥有指定省份,则返回 true。 | 国家 | owns = 236
|
| owns_all_provinces | 子句 | 若国家或其非朝贡附属国拥有所有满足指定条件的省份,则返回 true。 | 国家 | owns_all_provinces = {
continent = asia
has_terrain = grasslands
}
|
| owns_core_province | 省份 ID | 若国家拥有指定省份并在其上拥有核心,则返回 true。 | 国家 | owns_core_province = 217
|
| owns_or_non_sovereign_subject_of | 省份 ID | 若国家或某个未被归类为“主权”的附属国(例如朝贡国不包括在内)拥有指定省份,则返回 true。 | 国家 | owns_or_non_sovereign_subject_of = 151
|
| owns_or_subject_of | 省份 ID,作用域 | 若国家或某个附属国拥有指定省份,则返回 true。 | 国家 | owns_or_subject_of = 151
|
| owned_by_subject_of | 标签,作用域 | 若当前省份作用域由国家 X 的某个附属国拥有,则返回 true。 | 省份 | owned_by_subject_of = FRA
|
| papacy_active | 布尔 | 若教廷处于活跃状态,则返回 true。 | 任意 | papacy_active = yes
|
| papal_influence | 整数 | 若国家的教廷影响力至少为 X,则返回 true。 | 国家 | papal_influence = 100
|
| 标签,作用域 | 若国家的教廷影响力不低于指定国家,则返回 true。 | 国家 | papal_influence = KID
| |
| patriarch_authority | 浮点 | 若国家的牧首权威至少为 X,则返回 true。 | 国家 | patriarch_authority = 0.75
|
| percentage_backing_issue | 浮点 | 若议会中至少有 X 分之一的议席支持当前议题,则返回 true。 | 国家 | percentage_backing_issue = 0.5
|
| personality | 标识符 | 若国家拥有性格为 X 的统治者,则返回 true。仅限基础游戏文件 'common/ai_personalities/00_ai_personalities.txt' 中列出的 ai_personalities。统治者性格请使用 ruler_has_personality | 国家 | personality = ai_militarist
|
| piety | 浮点 | 若国家的虔诚度至少为 X,则返回 true。 | 国家 | piety = -0.75
|
| 标签,作用域 | 若国家的虔诚度不低于指定国家,则返回 true。 | 国家 | piety = MOR
| |
| preferred_emperor | 标签,作用域 | 若某位选帝侯将国家 X 作为首选皇帝,则返回 true。 | 国家(选帝侯) | preferred_emperor = HAB
|
| possible_buildings | 整数 | 若省份至少有 X 个建筑栏位(包括已占用的),则返回 true。 | 省份 | possible_buildings = 3
|
| prestige | 整数 | 若国家的威望至少为 X,则返回 true。 | 国家 | prestige = 99
|
| 标签,作用域 | 若国家的威望不低于指定国家,则返回 true。 | 国家 | prestige = ADA
| |
| previous_owner | 标签,作用域 | 若省份的前任所有者是 X,则返回 true。 | 省份 | previous_owner = HUN
|
| power_projection | 整数 | 若国家的Power_projection至少为 X,则返回 true。出现于 1.30 | 国家 | power_projection = 90
|
| primary_culture | 标识符,作用域 | 若国家的主文化为 X,则返回 true。 | 国家 | primary_culture = dutch
|
| primitives | 布尔 | 若国家是原始国家,则返回 true。 | 国家 | primitives = yes
|
| privateer_power | 子句 | 若国家在贸易节点中来自私掠的贸易力量至少为 X,则返回 true。 | 省份 (贸易节点) |
1744 = { #Antwerpen
privateer_power = {
country = FROM
share = 25
}
}
|
| production_efficiency | 浮点 | 若国家的生产效率至少为 X,则返回 true。 | 国家 | production_efficiency = 0.10
|
| 标签,作用域 | 若国家的生产效率不低于指定国家,则返回 true。 | 国家 | production_efficiency = AAC
| |
| production_income_percentage | 浮点 | 若生产收入占总收入的比例至少为 X,则返回 true。 | 国家 | production_income_percentage = 0.10
|
| production_leader | 子句 | 若国家是商品 X 的生产领先者,则返回 true。 | 国家 | production_leader = {
trade_goods = coffee
}
|
| province_distance | 子句 | 若指定省份之间的距离至少为 X,则返回 true。 | 省份 | any_owned_province = {
province_distance = {
who = 151
distance = 50
}
}
|
| province_id | 整数,作用域 | 若省份的 ID 为 X,则返回 true。 | 省份 | province_id = 1
|
| province_is_on_an_island | 布尔 | 若省份位于岛上,则返回 true。 | 省份 | province_is_on_an_island = yes
|
| province_getting_expelled_minority | 布尔 | 若省份正在产生少数群体,则返回 true。 | 省份 | province_getting_minorities = yes
|
| province_group | 标识符 | 若省份属于指定的省份组,则返回 true。 | 省份 | province_group = my_province_group
|
| province_size | 整数 | 若省份在 provinces.bmp 中包含 X 个像素,则返回 true。 | 省份 | province_size = 100
|
| province_trade_power | 整数 | 若省份产生的贸易力量至少为 X,则返回 true。 | 省份 | province_trade_power = 5
|
| provinces_on_continent | 作用域 | 若当前作用域在指定大陆上拥有省份,则返回 true。 | 国家 | provinces_on_continent = europe
|
| provinces_on_capital_continent_of | 作用域 | 若国家在指定国家首都所在的大陆上拥有省份,则返回 true。 | 国家 | provinces_on_capital_continent_of = ROOT
|
| pure_unrest | 整数 | 若省份的基础动荡度至少为 X,则返回 true。 | 省份 | pure_unrest = 2
|
| range | 标签,作用域 | 若省份处于指定国家的范围内,则返回 true。
这不会考虑省份是否因附属国或宗主国的边界而处于范围内,即使它们设置了 extend_trading_range = yes 也不会。 |
省份 | range = TUR
|
| real_day_of_year | 整数 | 若今天至少为 X(1 月 1 日 ≙ 0),则返回 true。指的是现实中的实际日期(可能取系统时间)。 | 任意 | 需要补充示例 |
| real_month_of_year | 整数 | 若现实中的月份至少为 X(1 月 ≙ 0),则返回 true | 任意 | real_month_of_year = 6 # Mai
|
| rebel_progress_at_least | 整数 | 若指定叛军派系的起义进度至少为 X,则返回 true。未指定时默认为任意派系。 | 国家 | rebel_progress_at_least = {
rebel_type = nationalist_rebels
value = 50
}
|
| reform_desire | 浮点 | 若改革意愿至少为 X%,则返回 true。 | 任意 | reform_desire = 0.95
|
| receives_military_access_from | 标签,作用域 | 若作用域内国家从指定国家获得军事通行权,则返回 true。 | 国家 | owner = {
receives_military_access_from = FRA
}
|
| receives_fleet_basing_rights_from | 标签,作用域 | 若作用域内国家从指定国家获得舰队驻扎权,则返回 true。 | 国家 | owner = {
receives_fleet_basing_rights_from = FRA
}
|
| recent_treasure_ship_passage | 布尔 | 若宝藏舰队最近经过了该省份的贸易节点(由 define 设置,默认 = 365 天),则返回 true。 | 省份 | recent_treasure_ship_passage = yes
|
| reform_level | 标识符 | 若国家的政府改革等级至少达到 X 级,则返回 true。 | 国家 | reform_level = 5
|
| region | 标识符 | 若省份属于区域 X,则返回 true。 | 省份 | region = west_india_region
|
| religion | 标识符,作用域 | 若国家/省份的宗教为 X,则返回 true。 | 国家 省份 |
religion = catholic
|
| religion_group | 标识符,作用域 | 若国家/省份的宗教属于指定的宗教组,则返回 true。 | 国家 省份 |
religion_group = christian
|
| religion_years | 子句 | 若指定宗教已启用至少 X 年,则返回 true。 | 任意 | religion_years = { confucianism = 100 }
|
| religious_school | 子句 | 若国家拥有指定的宗教学派,则返回 true。 | 国家 | religious_school = {
group = muslim
school = hanbali_school
}
|
| religious_unity | 浮点 | 若国家的宗教统一度至少为 X,则返回 true。 | 国家 | religious_unity = 0.99
|
| republican_tradition | 整数 | 若国家的共和传统至少为 X,则返回 true。 | 国家 | republican_tradition = 90
|
| revanchism | 整数 | 若国家的复仇主义至少为 X,则返回 true。 | 国家 | revanchism = 10
|
| reverse_has_opinion | 子句 | 若 who 指定的国家对该国家的好感度至少为 value,则返回 true。 | 国家 | reverse_has_opinion = {
who = DAN
value = 80
}
|
| reverse_has_opinion_modifier | 子句 | 若 who 指定的国家对该国家拥有好感度修正 modifier,则返回 true。 也可以指定该修正的数值(但不会显示)。 |
国家 | reverse_has_opinion_modifier = {
who = ROOT
modifier = opinion_spurned_pu
}
|
| revolt_percentage | 浮点 | 若国家至少有 X 分之一的省份发生叛乱,则返回 true。 | 国家 | revolt_percentage = 0.1
|
| revolution_target_exists | 布尔 | 若世界上存在革命目标,则返回 true。 | 全局 | revolution_target_exists = yes
|
| revolution_spread | 浮点 | 检查革命思想在国家中的传播百分比 | 国家 | revolution_spread = 0.5 |
| ruler_age | 整数 | 若国家拥有年龄至少为 X 岁的统治者,则返回 true。 | 国家 | ruler_age = 40
|
| ruler_consort_marriage_length | 整数 | 需要补充说明 | 国家 | ruler_consort_marriage_length = 10
|
| ruler_culture | 标识符,作用域 | 若国家的统治者拥有指定文化,则返回 true。可使用事件作用域值。 | 国家 | ruler_culture = prussian
|
| ruler_has_personality | 标识符 | 若国家的统治者拥有指定的性格,则返回 true。 | 国家 | ruler_has_personality = malevolent_personality
|
| ruler_is_foreigner | 布尔 | 若国家拥有外国统治者,则返回 true。 | 国家 | ruler_is_foreigner = no
|
| ruler_religion | 标识符,作用域 | 若国家的统治者拥有指定宗教,则返回 true。可使用事件作用域值。 | 国家 | ruler_religion = catholic
|
| sailors | 整数 | 若国家拥有至少 X 名水手,则返回 true。 | 国家 | sailors = 2500
|
| sailors_percentage | 浮点 | 若国家的水手水平至少为 X%,则返回 true。 | 国家 | sailors_percentage = 0.50
|
| max_sailors[2] | 整数 | 若国家的最大水手数至少为 X,则返回 true。 | 国家 | max_sailors = 5000
|
| same_continent | 整数,作用域 | 若指定省份与该省份位于同一大陆,则返回 true。用于国家作用域时检查首都。 | 国家,省份 | FRA = {
same_continent = ROOT
}
all_owned_province = {
same_continent = capital
}
|
| same_trade_node_as | 作用域 | 若当前省份作用域与指定省份作用域位于同一贸易节点,则返回 true。 | 省份 | capital_scope = {
same_trade_node_as = event_target:my_trade_port
}
|
| same_home_trade_node_as | 作用域 | 若当前国家作用域与指定国家作用域拥有相同的本土贸易节点,则返回 true。 | 国家 | same_home_trade_node_as = FRA
|
| secondary_religion | 标识符 | 若国家的次要宗教为 X,则返回 true。 | 国家 | secondary_religion = ibadi
|
| secondary_religion_group | 标识符 | 若国家的次要宗教属于 X 宗教组,则返回 true。 | 国家 | secondary_religion_group = muslim
|
| senior_union_with | 标签,作用域 | 若国家是国家 X 的联合统治中的主导成员,则返回 true。 | 国家 | senior_union_with = HAB
|
| sieged_by | 标签,作用域 | 若省份正被 X 围攻,则返回 true。 | 省份 | sieged_by = ROOT
|
| splendor | 整数 | 若国家拥有至少 X 点辉煌,则返回 true。 | 国家 | splendor = 800
|
| stability | 整数 | 若国家的稳定度至少为 X,则返回 true。 | 国家 | stability = 1
|
| 标签,作用域 | 若国家的稳定度不低于指定国家,则返回 true。 | 国家 | stability = HAB
| |
| start_date | 日期 | 若战役的开始日期为 X,则返回 true。 | 任意 | start_date = 1776.7.4
|
| started_in | 日期 | 若战役的开始日期为 X 或之后,则返回 true。 | 任意 | started_in = 1776.7.4
|
| statists_vs_orangists | 浮点 | 若国家派相对奥兰治派的比值至少为 X,则返回 true。 | 国家 | statists_vs_orangists = 0.9
|
| subsidised_percent_amount | 浮点 | 若国家获得的补贴至少占其每月收入的 X%,则返回 true。 | 国家 | subsidised_percent_amount = {
value = 0.5
}
|
| subject_owns | 作用域 | 若某个附属国拥有指定的省份作用域,则返回 true | 国家 | subject_owns = 183
|
| succession_claim | 标签,作用域 | 若国家已对国家 X 宣称王位,则返回 true。 | 国家 | succession_claim = FROM
|
| superregion | 标识符 | 若省份属于超级区域 X,则返回 true。 | 省份 | superregion = east_indies_superregion
|
| supply_limit | 整数 | 若国家的补给上限至少为 X,则返回 true。 | 省份 | supply_limit = 10
|
| 标签,作用域 | 若作用域内省份的补给上限不低于指定作用域,则返回 true。 | 省份 | supply_limit = PREV
| |
| tag | 标签,作用域 | 若国家是指定国家,则返回 true。 | 国家 | tag = HAB
|
| tariff_value | 浮点 | 若殖民国缴纳至少 X% 的关税,则返回 true。 | 国家 | tariff_value = 0.25
|
| tax_income_percentage | 浮点 | 若税收收入占总收入的比例至少为 X,则返回 true。 | 国家 | tax_income_percentage = 0.2
|
| tech_difference | 整数 | 若作用域内国家的科技(相较于该国家)领先至少 X 项,则返回 true。 | 国家 | any_neighbor_country = {
tech_difference = 3
}
|
| technology_group | 标识符 | 若国家的科技组为 X,则返回 true。 | 国家 | technology_group = western
|
| 作用域 | 若两国拥有相同的科技组,则返回 true。 | 国家 | technology_group = PREV
| |
| tolerance_to_this | 整数 | 若国家对该国家或作用域内省份的宗教的宽容度至少为 X,则返回 true。 | 国家 省份 | tolerance_to_this = 0
|
| total_base_tax | 整数 | 若国家各省份的基础税收总和至少为 X,则返回 true。 | 国家 | total_base_tax = 75
|
| 标签,作用域 | 若国家的基础税收总和不低于指定国家,则返回 true。 | 国家 | total_base_tax = MNG
| |
| total_development | 整数 | 若国家的总发展度至少为 X,则返回 true。 | 国家 | total_development = 200
|
| 标签,作用域 | 若国家的总发展度高于指定国家,则返回 true。 | 国家 | total_development = HUN
| |
| total_number_of_cardinals | 整数 | 若红衣主教总数至少为 X,则返回 true。 | 任意 | total_number_of_cardinals = 49
|
| total_losses_in_won_wars | 子句 | 若 looser 指定的国家在对 winner 指定国家所输掉的战争中,损失的兵力至少达到 casualties 指定的数量,则返回 true。双方都必须是主要目标。 | 任意 | total_losses_in_won_wars = {
winner = NPL
looser = PRU
casualties = 100000
}
|
| trade_league_embargoed_by | 标签,作用域 | 需要补充说明 | 国家 | trade_league_embargoed_by = FROM
|
| total_own_and_non_tributary_subject_development | 整数 | 若国家及其非朝贡附属国的总发展度至少为 X,则返回 true。 | 国家 | total_own_and_non_tributary_subject_development = 300
|
| 标签,作用域 | 若国家及其非朝贡附属国的总发展度高于指定国家及其非朝贡附属国,则返回 true。 | 国家 | total_own_and_non_tributary_subject_development = FRA
| |
| transports_in_province | 整数 | 若省份中至少有 X 艘运输船,则返回 true。 | 省份 | transports_in_province = 10
|
| 标签,作用域 | 若省份中有来自指定国家的运输船,则返回 true。 | 省份 | transports_in_province = TER
| |
| trade_company_region | 标识符 | 若省份位于贸易公司地区,则返回 true。 | 省份 | trade_company_region = trade_company_moluccas
|
| trade_company_size | 整数 | 若贸易公司至少拥有 X 个省份,则返回 true。 | 省份 | trade_company_size = 5
|
| trade_efficiency | 浮点 | 若国家的贸易效率超过 X,则返回 true。 | 国家 | trade_efficiency = 0.50
|
| trade_embargoing | 标签,作用域 | 若国家正在对国家 X 实施禁运,则返回 true。 | 国家 | trade_embargoing = HAB
|
| trade_embargo_by | 标签,作用域 | 若国家 X 正在对该国家实施禁运,则返回 true。 | 国家 | trade_embargo_by = HAB
|
| trade_goods | 标识符 | 若省份生产商品 X,则返回 true。 | 省份 | trade_goods = fur
|
| trade_goods_produced_amount | 子句 | 若国家 X 生产数量为 Y 的商品 Z,则返回 true。 | 国家 | trade_goods_produced_amount = {
trade_goods = grain
amount = 25
} |
| trade_income_percentage | 浮点 | 若贸易收入占总收入的比例至少为 X,则返回 true。 | 国家 | trade_income_percentage = 0.10
|
| trade_node_value | 浮点 | 若节点中的总贸易价值至少为 X,则返回 true。 | 省份(贸易节点) | 1744 = { #Antwerpen
trade_node_value = 50
}
|
| trade_range | 标签,作用域 | 若贸易节点处于指定国家的贸易范围内,则返回 true。 | 省份 (贸易节点) |
trade_range = ENG
|
| trade_share | 子句 | 若国家控制指定贸易节点中至少 X% 的贸易,则返回 true。 | 省份 (贸易节点) |
1744 = { #Antwerpen
trade_share = {
country = NED
share = 25
}
}
|
| trading_bonus | 子句 | 若国家拥有指定商品的“贸易中的”加成,则返回 true。 | 国家 | trading_bonus = {
trade_goods = coffee
value = yes
}
|
| trading_part | 子句 | 若国家拥有指定商品世界市场的 X% 的份额,则返回 true。 | 国家 | trading_part = {
trade_goods = cocoa
value = 0.05
}
|
| trading_policy_in_node | 子句 | 若国家在指定贸易节点中拥有指定的贸易政策,则返回 true。也可使用 "policy = any"。 | 国家 | any_active_trade_node = {
ROOT = {
trading_policy_in_node = {
node = PREV
policy = propagate_religion
}
}
}
|
| transport_fraction | 浮点 | 若国家运输船占海军规模的比例至少为 X,则返回 true。 | 国家 | transport_fraction = 0.55
|
| transfers_trade_power_to | 标签,作用域 | 若国家将贸易力量转移给国家 X,则返回 true。 | 国家 | transfers_trade_power_to = FRA
|
| treasury | 整数 | 若国家的国库至少有 X 杜卡特,则返回 true。 | 国家 | treasury = 100
|
| 标签,作用域 | 若国家国库中的杜卡特不少于指定国家,则返回 true。 | 国家 | treasury = ROOT
| |
| tribal_allegiance | 整数 | 若国家的部落效忠度至少为 X,则返回 true。 | 国家 | tribal_allegiance = 10
|
| tribal_development | 整数 | 若国家或省份的部落发展度至少为 X,则返回 true | 省份,国家 | tribal_development = 50
|
| 标签,作用域 | 若国家的发展度高于指定国家,则返回 true | 国家 | tribal_development = DAN
| |
| tribal_land_of | 标签,作用域 | 若省份是指定国家的部落领地,则返回 true 任何不是有效标签的内容都将检查“不是部落领地” |
省份 | tribal_land_of = ROOT
|
| truce_with | 标签,作用域 | 若国家与 X 存在休战,则返回 true。 | 国家 | truce_with = FRA
|
| trust | 标签,作用域 | 若当前作用域对指定标签的信任度至少为 X,则返回 true。 | 国家 | trust = { who = FRA value = 50 }
|
| unit_has_leader | yes | 若省份中有任一单位拥有领袖,则返回 true。 警告:仅对 'yes' 有效。 |
省份 | unit_has_leader = yes
|
| unit_in_battle | 布尔 | 若省份中有任一单位处于战斗中,则返回 true。 | 省份 | unit_in_battle = no
|
| unit_in_siege | 布尔 | 若省份中有任一单位处于围攻中,则返回 true。 | 省份 | unit_in_siege = yes
|
| units_in_province | 整数 | 若省份中至少有 X 个单位,则返回 true。 | 省份 | units_in_province = 1
|
| 标签,作用域 | 若指定国家在省份中拥有单位,则返回 true。 | 省份 | units_in_province = RUS
| |
| unit_type | 标识符 | 若国家拥有 X 类型的单位,则返回 true。 | 国家 | unit_type = sub_saharan
|
| unrest | 整数 | 若省份的动荡度至少为 X,则返回 true。用于国家作用域时,检查的是 global_unrest 修正 | 省份,国家 | unrest = 3
|
| uses_authority | 布尔 | 若国家使用权威机制,则返回 true。 | 国家 | uses_authority = yes
|
| uses_church_aspects | 布尔 | 若国家使用教会方针机制,则返回 true。 | 国家 | uses_church_aspects = yes
|
| uses_blessings | 布尔 | 若国家使用祝福机制,则返回 true。 | 国家 | uses_blessings = yes
|
| uses_cults | 布尔 | 若国家使用信仰崇拜机制,则返回 true。 | 国家 | uses_cults = yes
|
| uses_devotion | 布尔 | 若国家使用虔诚度而非正统性,则返回 true。 | 国家 | uses_devotion = yes
|
| uses_doom | 布尔 | 若国家使用厄运机制,则返回 true。 | 国家 | uses_doom = yes
|
| uses_fervor | 布尔 | 若国家使用狂热机制,则返回 true。 | 国家 | uses_fervor = yes
|
| uses_isolationism | 布尔 | 若国家使用孤立主义机制,则返回 true。 | 国家 | uses_isolationism = yes
|
| uses_karma | 布尔 | 若国家使用业力机制,则返回 true。 | 国家 | uses_karma = yes
|
| uses_papacy | 布尔 | 若国家使用教廷机制,则返回 true。 | 国家 | uses_papacy = yes
|
| uses_patriarch_authority | 布尔 | 若国家使用牧首权威机制,则返回 true。 | 国家 | uses_patriarch_authority = yes
|
| uses_personal_deities | 布尔 | 若国家使用个人神祇机制,则返回 true。 | 国家 | uses_personal_deities = yes
|
| uses_piety | 布尔 | 若国家使用虔诚度机制,则返回 true。 | 国家 | uses_piety = yes
|
| uses_religious_icons | 布尔 | 若国家使用宗教圣像,则返回 true。 | 国家 | uses_religious_icons = yes
|
| uses_syncretic_faiths | 布尔 | 若国家使用融合信仰机制,则返回 true。 | 国家 | uses_syncretic_faiths = yes
|
| variable_arithmetic_trigger | 子句 | 可以使用变量效果和条件来比较或更改并比较修正值和条件值。"variable_arithmetic_trigger" 区块中可以包含更多 "variable_arithmetic_trigger" 区块。对于 "change_variable" 之类的效果,或 "variable_arithmetic_trigger" 内部 "if" 区块中的效果,必须这样做,否则游戏可能崩溃。 | 任意 | variable_arithmetic_trigger = {
custom_tooltip = from_total_development_is_10_times_bigger_than_ours
export_to_variable = {
which = our_total_development
value = trigger_value:total_development
}
export_to_variable = {
which = from_total_development
value = trigger_value:total_development
who = FROM
}
multiply_variable = { which = from_total_development value = 10 }
check_variable = { which = from_total_development which = our_total_development }
}
|
| vassal_of | 标签,作用域 | 若国家是国家 X 的附庸国,则返回 true。 | 国家 | vassal_of = ROOT
|
| war_exhaustion | 整数 | 若国家的厌战度至少为 X,则返回 true。 | 国家 | war_exhaustion = 8
|
| 标签,作用域 | 若国家的厌战度不低于指定国家,则返回 true。 | 国家 | war_exhaustion = NPL
| |
| war_score | 整数 | 若国家的战争分数至少为 X%,则返回 true。 | 国家 | war_score = 100
|
| war_score_against | 子句 | 若国家对指定国家的战争分数至少为 X,则返回 true。 | 国家 | war_score_against = {
who = INC
value = 75
}
|
| war_with | 标签,作用域 | 若国家与国家 X 处于战争中,则返回 true。 | 国家 | war_with = INC
|
| was_player | 布尔 | 若国家曾由人类玩家控制,则返回 true。 | 国家 | was_player = no
|
| was_tag | 国家 | 若国家曾经是某个特定标签,则返回 true。 | 国家 | was_tag = MUG
|
| will_back_next_reform | 布尔 | 若神圣罗马帝国成员支持下一次帝国改革,则返回 true。 | 国家 | will_back_next_reform = yes
|
| yearly_corruption_increase | 浮点 | 若国家每年的腐败度增长至少为 X,则返回 true。 | 国家 | NOT = { yearly_corruption_increase = 0.001 }
|
| years_in_union_under | 子句 | 若国家处于指定国家治下的联合统治中已至少 X 年,则返回 true。 | 国家 | years_in_union_under = {
who = ROOT
years = 50
}
|
| years_in_vassalage_under | 子句 | 若国家作为指定国家的附庸国已至少 X 年,则返回 true。 | 国家 | years_in_vassalage_under = {
who = ROOT
years = 10
}
|
| years_of_income | 浮点 | 若国家国库中的杜卡特至少为其年收入的 X 倍,则返回 true。 | 国家 | years_of_income = 1.0
|
| 标签,作用域 | 若国家国库中的杜卡特至少为指定国家的年收入,则返回 true。 | 国家 | years_of_income = SER
| |
| years_of_manpower | 浮点 | 若国家的人力池中至少有 X 年的人力,则返回 true。 | 国家 | years_of_manpower = 2.5
|
| years_of_sailors | 浮点 | 若国家的水手池中至少有 X 年的水手,则返回 true。 | 国家 | years_of_sailors = 2.5
|
| is_mod_active | 标识符 | 若指定模组当前已启用,则返回 true。可通过模组名称或 ID 指定。 | 任意 | is_mod_active = "2164202838"
|
脚本化条件
|
|
请协助验证或更新本节内容。本节最后一次验证的版本为 1.32。 |
脚本化条件是指将两个或多个条件打包在一起,使其可以用单个字符串一起使用,而不必每次都逐个输入。当需要在多处使用同一组条件,尤其是以后可能需要修改时,这非常有用。脚本化条件位于 "common/scripted_triggers" 文件夹中。以下是一个脚本化条件的示例:
example_scripted_trigger = {
primary_culture = irish
religion = catholic
}
要检查某个国家的主文化是否为爱尔兰且信奉天主教,现在可以使用如下字符串:
example_scripted_trigger = yes
也可以添加省份作用域的脚本化条件。
自 1.23 版本起,可以为脚本化条件添加参数:
is_subject_of_scripted_trigger = {
is_subject_of = $overlord$
is_subject_of_type = $subject_type$
}
在条件区块中,现在可以使用该脚本化条件,并将 overlord 和 subject_type 设为匹配的值/类型:
is_subject_of_scripted_trigger = {
overlord = FRA
subject_type = tributary_state
}
参数可以自由选择,脚本化条件可拥有的参数数量没有上限。每次调用该脚本化效果时,必须恰好提供它所期望的参数。
参考资料
| 文档 | 效果 • 触发条件 • 修正列表 • 作用域 • 变量 • 本地化 • 可自定义本地化 • 运行文件 • 事件图片列表 |
| 脚本 | 脚本函数 • 顾问 • 时代 • 开局设定 • 建筑 • 宣战理由 • 殖民区域 • 国家创建 • 文化 • 决议 • Defines • 外交行动 • 灾难 • 中华帝国 • 阶层 • 事件 • 派系 • 政府 • 政府互动 • 伟大工程 • 历史 • 神圣罗马帝国 • 理念组 • 思潮 • 佣兵 • 任务树 • 修正 • On Actions • 议会 • 和约 • 君主性格 • 政策 • 叛军类型 • 宗教 • 附属国类型 • 科技 • 贸易公司 • 商品 • 单位 |
| 地图 | 地图 • 地图修改速查 • 随机新世界 • 贸易节点 |
| 图形 | 3D模型 • 界面 • 贴图库 • 字体 • 单位模型 |
| 音频 | 音乐 • 音效 |
| 其他 | 控制台命令 • 校验和 • 模组结构 • 故障排查 • 运行文件 |
| 工具 | 克劳塞维茨开局编辑器 • EU4模组编辑工具 • JoroDox模组制作工具 • The Validator |
| 指南 | 省份 • 地图修改速查 • 存档编辑 • 脚本教程 |