修正:修订间差异

本页面所适用的版本可能已经过时,最后更新于2.7
(19:04, 18 December 2020‎ 2a02:ab88:81:8480:4c39:86ca:4dc4:d067)
 
(未显示2个用户的5个中间版本)
第7行: 第7行:


 所有修正的数值均为两倍,但取决于公式中使用它们的方式,它们可能会像:
 所有修正的数值均为两倍,但取决于公式中使用它们的方式,它们可能会像:
*Flat (additive): 1 means +1
*Flat (additive): 1 意味着 +1
*Percentage (multiplicative): 1 means +100% (i.e. x 2), 0.1 means +10% (i.e. x 1.1), etc.
*Percentage (multiplicative): 1 意味着 +100% (即 x 2 ),0.1 意味着 +10% (即 x 1.1 ),及其他。


==修正列表==
==修正列表==


 修正只能在正确的 范围 内使用。
 修正只能在正确的 作用域 内使用。
 当在错误的 范围 内使用修正时,它将在工具提示中显示为NONE,并将完全不执行任何操作(但是某些显示为NONE的修正实际上会有效果):
 当在错误的 作用域 内使用修正时,它将在工具提示中显示为NONE,并将完全不执行任何操作(但是某些显示为NONE的修正实际上会有效果):


*'''<sup>[1]</sup>角色''': Character modifiers are attached to characters and modify their personal or state abilities, their behavior (for the AI characters), or the opinion a group of people have of that character. They are primarily used in events via command <code>add_character_modifier</code>, combat [[tactics]] (for commanders), ambitions & focuses, artifacts, bloodlines, and religion <code>character_modifier</code>.
*'''<sup>[1]</sup>角色''' :角色修正依附于角色,修正他们的个人或国家能力,他们的行为(对于AI角色),或者一群人对那个角色的好感。它们主要在事件中通过指令<code>add_character_modifier</code> [[ 作战战术]] (对于指挥官),野心& 重心,宝物,血脉和宗教<code>character_modifier</code> 来使用。
*'''特质''': Traits modifiers are used inside [[traits modding|traits]]. All character modifiers work in traits, but not vice-versa.
*'''特质''' :特质修正用于[[ 特质模组制作| 特质]] 内。所有角色修正在特质内有效,但反过来不成立。
*'''<sup>[2]</sup>省份''': Province modifiers are attached to provinces and impact the actions of characters while they are in that province. They are added in events via <code>add_province_modifier</code> command, or via disease.
*'''<sup>[2]</sup>省份''' :省份修正依附于省份,影响角色在那个省份的行动。它们在事件中通过<code>add_province_modifier</code> 指令或疾病添加。
*'''内阁''': Councillor jobs modifiers give bonus to a province where the job is being performed by the councillor.
*'''内阁''' :内阁任务修正应用于内阁成员执行任务所在的省份。
*'''科技''': Technology modifiers give bonus to a provinces which have attained that technological level. Anything that works as a province modifier will work as a tech modifier, though not vice-versa.
*'''科技''' :科技修正给予已经到达该科技等级的省份一个加成。任何可作为省份修正的也可以作为科技修正,但反过来不成立。
*'''<sup>[3]</sup>地产''': Holding modifiers are attached to individual holdings in a province with the <code>add_holding_modifier</code> command. In pre-2.4 patches, this kind of modifier was only attached via vanilla code.
*'''<sup>[3]</sup>地产''' :地产修正依附于省份内的个人地产,使用<code>add_holding_modifier</code> 指令。在2.4 版本前,此种修正仅通过原版代码附加。
*'''<sup>[4]</sup>建筑物''': Building modifiers only affect the holding they're built in. For family palace buildings, any character modifier can also be used, and will apply to its owner. Some modifiers can only work in family palaces.
*'''<sup>[4]</sup>建筑物''' :建筑物修正仅影响它们所在的地产。对于家族宅邸建筑物,任何角色修正也可用,将应用于其拥有者。一些修正仅在家族宅邸内有效。
*'''法律''': Laws modifiers apply to the primary title having such laws active.
*'''法律''' :法律修正应用于这些法律生效的主头衔。


Notes:
注释:
*''<holding_type>'' can be city, castle or temple
*'''<holding_type>'''可以是city,castle,temple或tribal
*''<unit>'' can be pikemen, light_cavalry, knights, heavy_infantry, archers or light_infantry. Entries from ''/common/special_troops'' are also valid: horse_archers, war_elephants, camel_cavalry.
*'''<unit>'''可以是pikemen,light_cavalry,knights,heavy_infantry,archers或light_infantry,来自'''/common/special_troops'''的也有效:horse_archers,war_elephants,camel_cavalry
*''<tech_type>'' can be economy, culture or military
*'''<tech_type>'''可以是economy,culture或military
*✓ means the modifier is known to work in that scope (used in vanilla or tested)
*✓ 意味着已知这个修正在该作用域生效(用于原版或测试)
*X means the modifier is known not to work in that scope
*X 意味着已知这个修正在该作用域不生效


{| class="wikitable sortable"
{| class="wikitable sortable"
!Character [[attributes|attribute]] modifiers
! 角色[[attributes| 属性]] 修正
!Description !! Type !! Character<sup>[1]</sup> !! Traits !! Province<sup>[2]</sup> !! Councillor !! Technology !! Holding<sup>[3]</sup> !! Building<sup>[4]</sup> !! Laws
! 描述 !! 类型 !! 角色<sup>[1]</sup> !! 特质 !! 省份<sup>[2]</sup> !! 内阁成员 !! 科技 !! 地产<sup>[3]</sup> !! 建筑物<sup>[4]</sup> !! 法律
|-
|-
|diplomacy
|diplomacy
|Diplomacy skill of a character
| 角色的外交能力
|Flat
|Flat
|✓||✓||X|| || || || ||
|✓||✓||X|| || || || ||
|-
|-
|diplomacy_penalty
|diplomacy_penalty
|Modifies diplomacy skill of character. Total bonus cannot exceed 0.
| 修正角色的外交能力。总加成不能超过0。
|Flat
|Flat
|✓||✓||X|| || || || ||
|✓||✓||X|| || || || ||
|-
|-
|stewardship
|stewardship
|Stewardship skill of a character
| 角色的管理能力
|Flat
|Flat
|✓||✓||X|| || || || ||
|✓||✓||X|| || || || ||
|-
|-
|stewardship_penalty
|stewardship_penalty
|Modifies stewardship skill of character. Total bonus cannot exceed 0.
| 修正角色的管理能力。总加成不能超过0。
|Flat
|Flat
|✓||✓||X|| || || || ||
|✓||✓||X|| || || || ||
|-
|-
|martial
|martial
|Martial skill of a character
| 角色的军事能力
|Flat
|Flat
|✓||✓||X|| || || || ||
|✓||✓||X|| || || || ||
|-
|-
|martial_penalty
|martial_penalty
|Modifies martial skill of character. Total bonus cannot exceed 0.
| 修正角色的军事能力。总加成不能超过0。
|Flat
|Flat
|✓||✓||X|| || || || ||
|✓||✓||X|| || || || ||
|-
|-
|intrigue
|intrigue
|Intrigue skill of a character
| 角色的密谋能力
|Flat
|Flat
|✓||✓||X|| || || || ||
|✓||✓||X|| || || || ||
|-
|-
|intrigue_penalty
|intrigue_penalty
|Modifies intrigue skill of character. Total bonus cannot exceed 0.
| 修正角色的密谋能力。总加成不能超过0。
|Flat
|Flat
|✓||✓||X|| || || || ||
|✓||✓||X|| || || || ||
|-
|-
|learning
|learning
|Learning skill of a character
| 角色的学识能力
|Flat
|Flat
|✓||✓||X|| || || || ||
|✓||✓||X|| || || || ||
|-
|-
|learning_penalty
|learning_penalty
|Modifies learning skill of character. Total bonus cannot exceed 0.
| 修正角色的学识能力。总加成不能超过0。
|Flat
|Flat
|✓||✓||X|| || || || ||
|✓||✓||X|| || || || ||
|-
|-
|fertility
|fertility
|Fertility of a character.
| 角色的生育能力
|Percent
|Percent
|✓||✓||X|| || || ||✓||
|✓||✓||X|| || || ||✓||
|-
|-
|fertility_penalty
|fertility_penalty
|Modifies fertility of character. Total bonus cannot exceed 0.
| 修正角色的生育能力。总加成不能超过0。
|Percent
|Percent
|✓||✓||X|| || || || ||
|✓||✓||X|| || || || ||
|-
|-
|health
|health
|Health of a character
| 角色的健康
|Flat
|Flat
|✓||✓||X|| || || || ||
|✓||✓||X|| || || || ||
|-
|-
|health_penalty
|health_penalty
|Modifies health of character. Total bonus cannot exceed 0, i.e a disease with <code>health_penalty = -1</code> combined with a treatment <code>health_penalty = 2</code> will not result in +1 health, but 0.
| 修正角色的健康。总加成不能超过0,即拥有<code>health_penalty = -1</code> 的疾病和拥有<code>health_penalty = 2</code> 的治疗一起作用,不会导致+1 health ,而是0。
|Flat
|Flat
|✓||✓||X|| || || || ||
|✓||✓||X|| || || || ||
|-
|-
|combat_rating
|combat_rating
|Duel skill of a character
| 角色的个人实战(决斗)技能。
|Flat
|Flat
|✓||✓||X|| || || || ||
|✓||✓||X|| || || || ||
|-
|-
|threat_decay_speed
|threat_decay_speed
|threat decay percentage per month
| 威胁度每月衰减百分比
|Percent
|Percent
|✓||✓|| || || || || ||
|✓||✓|| || || || || ||
|-
|-
!Realm modifiers
! 领地修正
!Description !! Type !! Character<sup>[1]</sup> !! Traits !! Province<sup>[2]</sup> !! Councillor !! Technology !! Holding<sup>[3]</sup> !! Building<sup>[4]</sup> !! Laws
! 描述 !! 类型 !! 角色<sup>[1]</sup> !! 特质 !! 省份<sup>[2]</sup> !! 内阁成员 !! 科技 !! 地产<sup>[3]</sup> !! 建筑物<sup>[4]</sup> !! 法律
|-
|-
|demesne_size
|demesne_size
|Maximum demesne size
| 直辖领规模上限
|Flat
|Flat
|✓||✓||X|| || || || |✓||✓
|✓||✓||X|| || || || |✓||✓
|-
|-
|vassal_limit
|vassal_limit
|Vassal limit
| 封臣上限
|Flat
|Flat
|X||X||X|| || || || |X||✓
|X||X||X|| || || || |X||✓
|-
|-
|global_revolt_risk
|global_revolt_risk
|Revolt risk in a ruler's realm (whole provinces, not only demesne)
| 一位统治者的领地(整个省份,不仅仅是直辖)的叛乱风险
|Percent
|Percent
|✓||✓||X|| || || || ||✓
|✓||✓||X|| || || || ||✓
|-
|-
|local_revolt_risk
|local_revolt_risk
|Revolt risk in a in a province
| 一个省份的叛乱风险
|Percent
|Percent
|X||X||✓||✓|| ||X|| ||
|X||X||✓||✓|| ||X|| ||
|-
|-
|disease_defence
|disease_defence
|Chance of a province to gain a disease
| 省份得某种疾病的几率
|Percent
|Percent
| || ||✓|| || ||X|| ||
| || ||✓|| || ||X|| ||
|-
|-
|culture_flex
|culture_flex
|Tolerance to other cultures
| 对其他文化的包容度
|Percent
|Percent
|✓||✓||✓|| ||✓|| || ||
|✓||✓||✓|| ||✓|| || ||
|-
|-
|religion_flex
|religion_flex
|Tolerance to other religions
| 对其他宗教的包容度
|Percent
|Percent
|✓||✓||✓|| ||✓|| || ||
|✓||✓||✓|| ||✓|| || ||
|-
|-
|short_reign_length
|short_reign_length
|Short reign penalty in years
| 数年的短暂统治惩罚
|Flat
|Flat
|✓|| ||✓|| ||✓|| || ||
|✓|| ||✓|| ||✓|| || ||
|-
|-
|moved_capital_months_mult
|moved_capital_months_mult
|Modifies the delay for how often one can change capital, if their government allows for more frequent switching than once per lifetime. Scripted on capital buildings.
| 修正迁都的冷却期,如果他们的政体允许一生中可迁都不止一次。脚本位于首都地产内。
|
|
| || || || || || ||✓||
| || || || || || ||✓||
|-
|-
!Intrigue modifiers
! 密谋修正
!Description !! Type !! Character<sup>[1]</sup> !! Traits !! Province<sup>[2]</sup> !! Councillor !! Technology !! Holding<sup>[3]</sup> !! Building<sup>[4]</sup> !! Laws
! 描述 !! 类型 !! 角色<sup>[1]</sup> !! 特质 !! 省份<sup>[2]</sup> !! 内阁成员 !! 科技 !! 地产<sup>[3]</sup> !! 建筑物<sup>[4]</sup> !! 法律
|-
|-
|assassinate_chance_modifier
|assassinate_chance_modifier
|Chances to assassinate characters in a province
| 刺杀一个省份内角色的几率
|Percent
|Percent
|✓||✓||✓||✓|| || || ||
|✓||✓||✓||✓|| || || ||
第173行: 第173行:
|arrest_chance_modifier
|arrest_chance_modifier
|
|
|Percent
|Percent
|✓||✓||✓||✓|| || || ||
|✓||✓||✓||✓|| || || ||
|-
|-
|plot_power_modifier
|plot_power_modifier
|Plot power for character's plots
| 角色阴谋的阴谋力量
|Percent
|Percent
|✓|| ||X||✓|| || || ||✓
|✓||X|| ||✓|| || || ||{{sup|✓}}
|-
|-
|murder_plot_power_modifier
|murder_plot_power_modifier
|Defaults to 1, and is multiplied with a character's plot power when it comes to murder plots.
| 默认是1,当涉及到谋杀阴谋时与一个角色的阴谋力量相乘。
|Percent
|Percent
|✓||{{sup|✓}}||X||{{sup|✓}}|| || || ||{{sup|✓}}
|✓||{{sup|✓}}||X||{{sup|✓}}|| || || ||{{sup|✓}}
第192行: 第192行:
|-
|-
|plot_discovery_chance
|plot_discovery_chance
|Chances to uncover plots in a province
| 发现一个省份内阴谋的概率
|Percent
|Percent
|✓||X|| ||✓|| || || ||
|✓||X|| ||✓|| || || ||
|-
|-
!Wealth, prestige, and piety
! 财富,威望和虔诚
!Description !! Type !! Character<sup>[1]</sup> !! Traits !! Province<sup>[2]</sup> !! Councillor !! Technology !! Holding<sup>[3]</sup> !! Building<sup>[4]</sup> !! Laws
! 描述 !! 类型 !! 角色<sup>[1]</sup> !! 特质 !! 省份<sup>[2]</sup> !! 内阁成员 !! 科技 !! 地产<sup>[3]</sup> !! 建筑物<sup>[4]</sup> !! 法律
|-
|-
|tax_income
|tax_income
|Taxes from holding in demesne
| 来自直辖地产的税收
|Flat
|Flat
|✓||✓||✓|| || ||✓||✓||
|✓||✓||✓|| || ||✓||✓||{{sup|✓}}
|-
|-
|global_tax_modifier
|global_tax_modifier
|Tax gained from every province in a ruler's realm. If used as a trait, properly increases the overall demesne income but is listed as 'Stewardship' bonus.
| 来自统治者领地内所有省份的税收。如果在特质作用域使用,适当增加所有直辖收入,但被列作是' 管理' 加成。
|Percent
|Percent
|✓||✓|| || || || || ||X
|✓||✓|| || || || || ||X
|-
|-
|local_tax_modifier
|local_tax_modifier
|Tax gained from every holding in a province
| 来自一个省份内所有地产的税收
|Percent
|Percent
| ||✓||✓||✓|| ||✓||✓||
| ||✓||✓||✓|| ||✓||✓||
|-
|-
|''<holding_type>''_tax_modifier
|''<holding_type>''_tax_modifier
|Tax gained from castles/cities/temples in demesne
| 来自直辖城堡/ 城市/ 神殿的税收
|Percent
|Percent
|✓|| ||✓|| ||✓|| || ||X
|✓|| ||✓|| ||✓|| || ||X
|-
|-
|''<holding_type>''_vassal_tax_modifier
|''<holding_type>''_vassal_tax_modifier
|Tax gained from vassals of the government type that normally corresponds to that holding
| 来自地产相应政体的封臣的税收
|Percent
|Percent
|✓|| || || || || || ||✓
|✓|| || || || || || ||✓
第230行: 第230行:
|-
|-
|monthly_character_prestige
|monthly_character_prestige
|Prestige of a character earned each month
| 一位角色每月获得的威望
|Flat
|Flat
|✓||✓|| ||✓|| || ||✓||
|✓||✓|| ||✓|| || ||✓||
|-
|-
|liege_prestige
|liege_prestige
|Gives prestige to building owner and his/her liege
| 给予地产拥有者和他/ 她的领主威望
|
|
|✓||X||X|| || ||✓||✓||
|✓||X||X|| || ||✓||✓||
|-
|-
|add_prestige_modifier
|add_prestige_modifier
|Modifier of character prestige gain
| 角色威望增加的修正
|Percent
|Percent
|X||X||✓|| ||✓|| || ||
|X||X||✓|| ||✓|| || ||
|-
|-
|monthly_character_piety
|monthly_character_piety
|Piety of a character earned each month
| 一位角色每月获得的虔诚
|Flat
|Flat
|✓||✓||✓||✓|| || ||✓||
|✓||✓||✓||✓|| || ||✓||
|-
|-
|liege_piety
|liege_piety
|Gives piety to building owner and his/her liege
| 给予地产拥有者和他/ 她的领主虔诚
|
|
|✓||X||X|| || ||✓||✓||
|✓||X||X|| || ||✓||✓||
|-
|-
|add_piety_modifier
|add_piety_modifier
|Modifier of character piety gain
| 角色虔诚增加的修正
|Percent
|Percent
|X||X||✓|| ||✓|| || ||
|X||X||✓|| ||✓|| || ||
|-
|-
|monthly_character_wealth
|monthly_character_wealth
|Wealth of a character earned each month
| 一位角色每月获得的财富
|Flat
|Flat
|✓||✓|| || || || || ||
|✓||✓|| || || || || ||{{sup|✓}}
|-
|-
!id="AI_behavior"|AI behavior modifiers
!id="AI_behavior"|AI 行为修正
!Description !! Type !! Character<sup>[1]</sup> !! Traits !! Province<sup>[2]</sup> !! Councillor !! Technology !! Holding<sup>[3]</sup> !! Building<sup>[4]</sup> !! Laws
! 描述 !! 类型 !! 角色<sup>[1]</sup> !! 特质 !! 省份<sup>[2]</sup> !! 内阁成员 !! 科技 !! 地产<sup>[3]</sup> !! 建筑物<sup>[4]</sup> !! 法律
|-
|-
|ai_rationality
|ai_rationality
|Influences the way the AI makes choices, such as whether the AI will compare its own levy size with its enemy levy size if it wants to go to war.
| 影响AI做出选择的方式,例如,如果AI想要开战,它是否会将自己的征召兵规模与敌人的征召兵规模进行比较。
|Flat
|Flat
|X||✓|| || || || || ||
|X||✓|| || || || || ||
|-
|-
|ai_zeal
|ai_zeal
|Influences the way the AI deals with religious conflict, primarily whether the AI will join crusades and neighboring holy wars.
| 影响AI处理宗教冲突的方式,主要是AI是否会加入十字军和邻近的圣战。
|Flat
|Flat
|X||✓|| || || || || ||
|X||✓|| || || || || ||
|-
|-
|ai_greed
|ai_greed
|Influences interactions concerning money, such as the effect of gifts on opinion as well as likelihood to ransom or start embargo wars.
| 影响与金钱有关的互动,例如礼物对好感的效果,以及要求赎金或发动禁运战争的可能性。
|Flat
|Flat
|X||✓|| || || || || ||
|X||✓|| || || || || ||
|-
|-
|ai_honor
|ai_honor
|Influences the likelihood the AI will honor relationships and alliances, and the chance of attacking despite such relations. Also affects its likelihood of joining plots.
| 影响AI尊重关系和同盟的可能性,和尽管有这样的关系仍然进攻的几率。也影响它加入阴谋的可能性。
|Flat
|Flat
|X||✓|| || || || || ||
|X||✓|| || || || || ||
|-
|-
|ai_ambition
|ai_ambition
|Influences the AI's desire for expansion, primarily affecting the likelihood of wanting to declare war.
| 影响AI的扩张欲望,主要影响想要发动战争的可能性。
|Flat
|Flat
|X||✓|| || || || || ||
|X||✓|| || || || || ||
|-
|-
!AI construction modifiers
!AI 建造修正
!Description !! Type !! Character<sup>[1]</sup> !! Traits !! Province<sup>[2]</sup> !! Councillor !! Technology !! Holding<sup>[3]</sup> !! Building<sup>[4]</sup> !! Laws
! 描述 !! 类型 !! 角色<sup>[1]</sup> !! 特质 !! 省份<sup>[2]</sup> !! 内阁成员 !! 科技 !! 地产<sup>[3]</sup> !! 建筑物<sup>[4]</sup> !! 法律
|-
|-
|ai_feudal_modifier
|ai_feudal_modifier
|Influences the AI's building creation weight if the ai is feudal, or if tribal but strive to become feudal
| 如果AI是封建制,或者是部落制但努力成为封建制,则影响AI的建造的权重
|Flat
|Flat
| || || || || || ||✓||
| || || || || || ||✓||
|-
|-
|ai_republic_modifier
|ai_republic_modifier
|Influences the AI's building creation weight if the ai is a republic, or if tribal but strive to become a republic
| 如果AI是共和制,或者是部落制但努力成为共和制,则影响AI的建造的权重
|Flat
|Flat
|X||X|| || || || ||✓||
|X||X|| || || || ||✓||
|-
|-
!Construction modifiers
! 建造修正
!Description !! Type !! Character<sup>[1]</sup> !! Traits !! Province<sup>[2]</sup> !! Councillor !! Technology !! Holding<sup>[3]</sup> !! Building<sup>[4]</sup> !! Laws
! 描述 !! 类型 !! 角色<sup>[1]</sup> !! 特质 !! 省份<sup>[2]</sup> !! 内阁成员 !! 科技 !! 地产<sup>[3]</sup> !! 建筑物<sup>[4]</sup> !! 法律
|-
|-
|build_cost_modifier
|build_cost_modifier
|Cost of constructing a building (demesne only)
| 建造一个地产(仅直辖)的花费
|Flat
|Flat
|✓||✓|| || || || || ||
|✓||✓|| || || || || ||
|-
|-
|build_cost_castle_modifier
|build_cost_castle_modifier
|Cost of constructing a castle building
| 建造一个城堡地产的花费
|Flat
|Flat
||||| || || || || ||
||||| || || || || ||
|-
|-
|build_cost_city_modifier
|build_cost_city_modifier
|Cost of constructing a city building
| 建造一个城市地产的花费
|Flat
|Flat
||||| || || || || ||
||||| || || || || ||
|-
|-
|build_cost_temple_modifier
|build_cost_temple_modifier
|Cost of constructing a temple building
| 建造一个神殿地产的花费
|Flat
|Flat
|✓||{{sup|✓}}|| || || || || ||
|✓||{{sup|✓}}|| || || || || ||
|-
|-
|build_cost_tribal_modifier
|build_cost_tribal_modifier
|Cost of constructing a tribal building
| 建造一个部落地产的花费
|Flat
|Flat
||||| || || || || ||
||||| || || || || ||
|-
|-
|build_time_modifier
|build_time_modifier
|Time to construct a building (demesne only)
| 建造一个地产(仅直辖)的时间
|Flat
|Flat
|✓||✓|| || || || || ||
|✓||✓|| || || || || ||
|-
|-
|build_time_castle_modifier
|build_time_castle_modifier
|Time to construct a building in a castle
| 建造一个城堡地产的时间
|Flat
|Flat
||||| || || || || ||
||||| || || || || ||
|-
|-
|build_time_city_modifier
|build_time_city_modifier
|Time to construct a building in a city
| 建造一个城市地产的时间
|Flat
|Flat
||||| || || || || ||
||||| || || || || ||
|-
|-
|build_time_temple_modifier
|build_time_temple_modifier
|Time to construct a building in a temple
| 建造一个神殿地产的时间
|Flat
|Flat
||||| || || || || ||
||||| || || || || ||
|-
|-
|build_time_tribal_modifier
|build_time_tribal_modifier
|Time to construct a building in a tribe
| 建造一个部落地产的时间
|Flat
|Flat
||||| || || || || ||
||||| || || || || ||
|-
|-
|local_build_cost_modifier
|local_build_cost_modifier
|Cost of constructing a building in a province
| 在一个省份建造一个地产的花费
|Percent
|Percent
|✓||✓||✓||✓||✓||X||X<ref>[[forum:589686/page-1630#post-23600210]]</ref>||
|✓||✓||✓||✓||✓||X||X<ref>[[forum:589686/page-1630#post-23600210]]</ref>||
|-
|-
|local_build_cost_castle_modifier
|local_build_cost_castle_modifier
|Cost of constructing a castle building in a province
| 在一个省份建造一个城堡地产的花费
|Percent
|Percent
| || || || || || ||X||
| || || || || || ||X||
|-
|-
|local_build_cost_city_modifier
|local_build_cost_city_modifier
|Cost of constructing a city building in a province
| 在一个省份建造一个城市地产的花费
|Percent
|Percent
| || || || || || ||X||
| || || || || || ||X||
|-
|-
|local_build_cost_temple_modifier
|local_build_cost_temple_modifier
|Cost of constructing a temple building in a province
| 在一个省份建造一个神殿地产的花费
|Percent
|Percent
|{{sup|✓}}||{{sup|✓}}||{{sup|✓}}||{{sup|✓}}||{{sup|✓}}||X||X||
|{{sup|✓}}||{{sup|✓}}||{{sup|✓}}||{{sup|✓}}||{{sup|✓}}||X||X||
|-
|-
|local_build_cost_tribal_modifier
|local_build_cost_tribal_modifier
|Cost of constructing a tribal building in a province
| 在一个省份建造一个部落地产的花费
|Percent
|Percent
| || || || || || ||X||
| || || || || || ||X||
|-
|-
|local_build_time_modifier
|local_build_time_modifier
|Time to construct a building in a province
| 在一个省份建造一个地产的时间
|Percent
|Percent
|✓||✓||✓||✓||✓||X||X<ref>[[forum:589686/page-1630#post-23600210]]</ref>||
|✓||✓||✓||✓||✓||X||X<ref>[[forum:589686/page-1630#post-23600210]]</ref>||
|-
|-
|local_build_time_castle_modifier
|local_build_time_castle_modifier
|Time to construct a building in a castle
| 在一个省份建造一个城堡地产的时间
|Percent
|Percent
| || || || || || ||X||
| || || || || || ||X||
|-
|-
|local_build_time_city_modifier
|local_build_time_city_modifier
|Time to construct a building in a city
| 在一个省份建造一个城市地产的时间
|Percent
|Percent
| || || || || || ||X||
| || || || || || ||X||
|-
|-
|local_build_time_temple_modifier
|local_build_time_temple_modifier
|Time to construct a building in a temple
| 在一个省份建造一个神殿地产的时间
|Percent
|Percent
| || || || || || ||X||
| || || || || || ||X||
|-
|-
|local_build_time_tribal_modifier
|local_build_time_tribal_modifier
|Time to construct a building in a tribe
| 在一个省份建造一个部落地产的时间
|Percent
|Percent
| || || || || || ||X||
| || || || || || ||X||
|- id="Opinion_modifier_types"
|- id="Opinion_modifier_types"
![[Opinion]] modifiers
![[ 好感]] 修正
!Description !! Type !! Character<sup>[1]</sup> !! Traits !! Province<sup>[2]</sup> !! Councillor !! Technology !! Holding<sup>[3]</sup> !! Building<sup>[4]</sup> !! Laws
! 描述 !! 类型 !! 角色<sup>[1]</sup> !! 特质 !! 省份<sup>[2]</sup> !! 内阁成员 !! 科技 !! 地产<sup>[3]</sup> !! 建筑物<sup>[4]</sup> !! 法律
|-
|-
|ambition_opinion
|ambition_opinion
|Changes the trait-holder's opinion of characters [[Opinion#Ambition_opinion|from which they want something]] (e.g., a county)
| 改变野心勃勃特质持有者对角色的好感,他们想从这些角色处[[ 好感# 野心勃勃的好感| 获得某些事物]] (例如一个省份)。
|Flat
|Flat
|✓|| || || || || || ||
|✓|| || || || || || ||
|-
|-
|vassal_opinion
|vassal_opinion
|For traits, changes opinion of direct vassals and courtiers. For artifacts, changes opinion of vassals and below.
| 用于特质,改变直属封臣和廷臣的好感。用于宝物,改变封臣及其以下的好感。
|Flat
|Flat
|✓||✓|| || || || || |✓||
|✓||✓|| || || || || |✓||
|-
|-
|sex_appeal_opinion
|sex_appeal_opinion
|Changes the opinion of adults interested in your gender. Also changes the opinion of homosexuals of the opposite gender, but only for traits, not for character modifiers or artifacts. Only active for adults below age 45 for women and 65 for men.
| 改变对你的性别有兴趣的成年人的好感。也改变同性恋对异性的好感,但仅用于特质时,不能是用于角色修正或宝物时。仅对45岁以下成年女性和65岁以下成年男性生效。
|Flat
|Flat
|✓||✓|| || || || || |✓||
|✓||✓|| || || || || |✓||
|-
|-
|same_opinion
|same_opinion
|Changes a character's opinion with the same trait as you
| 改变和你有同一特质的角色的好感
|Flat
|Flat
|✓||✓|| || || || || ||
|✓||✓|| || || || || ||
|-
|-
|same_opinion_if_same_religion
|same_opinion_if_same_religion
|Changes a character's opinion with the same trait, if they have your religion
| 改变和你有同一特质的同宗教角色的好感
|Flat
|Flat
|✓||✓|| || || || || ||
|✓||✓|| || || || || ||
|-
|-
|opposite_opinion
|opposite_opinion
|Changes a character's opinion with a trait defined in ''opposites = { }'' of you
| 改变拥有一个与你的特质定义了'''opposites = { }'''的特质(相反特质)的角色好感
|Flat
|Flat
|✓||✓|| || || || || ||
|✓||✓|| || || || || ||
|-
|-
|liege_opinion
|liege_opinion
|Changes your opinion of your liege ''OR'' changes your liege's opinion of you (depending on where it is used)
| 改变你对你的领主的好感''' '''改变你的领主对你的好感(取决于所用为何处)
|Flat
|Flat
|✓||✓|| || || || || ||
|✓||✓|| || || || || ||
|-
|-
|general_opinion
|general_opinion
|Changes all characters' opinion of you
| 改变所有角色对你的好感
|Flat
|Flat
|✓||✓|| || || || || ||
|✓||✓|| || || || || ||{{sup|✓}}
|-
|-
|twin_opinion
|twin_opinion
|Changes your twin's opinion of you
| 改变你的孪生兄弟姐妹对你的好感
|Flat
|Flat
|✓||✓|| || || || || ||
|✓||✓|| || || || || ||
|-
|-
|dynasty_opinion
|dynasty_opinion
|Changes all dynasty members' opinion of you
| 改变你的家族内所有成员对你的好感
|Flat
|Flat
|X||✓|| || || || || ||✓
|X||✓|| || || || || ||✓
|-
|-
|male_dynasty_opinion
|male_dynasty_opinion
|Changes all men in your dynasty's opinion of you
| 改变你的家族内所有男性成员对你的好感
|Flat
|Flat
|X||X|| || || || || ||✓
|X||X|| || || || || ||✓
|-
|-
|female_dynasty_opinion
|female_dynasty_opinion
|Changes all women in your dynasty's opinion of you
| 改变你的家族内所有女性成员对你的好感
|Flat
|Flat
|X||X|| || || || || ||✓
|X||X|| || || || || ||✓
|-
|-
|child_opinion
|child_opinion
|Changes your children's opinion of you
| 改变你的子女对你的好感
|Flat
|Flat
|X||X|| || || || || ||✓
|X||X|| || || || || ||✓
|-
|-
|oldest_child_opinion
|oldest_child_opinion
|Changes your oldest child's opinion of you
| 改变你的长子/女对你的好感
|Flat
|Flat
| ||X|| || || || || ||✓
| ||X|| || || || || ||✓
第487行: 第487行:
|-
|-
|spouse_opinion
|spouse_opinion
|Changes your spouses' opinion of you
| 改变你的配偶对你的好感
|Flat
|Flat
|X||✓|| || || || || |X||
|X||✓|| || || || || |X||
第502行: 第502行:
|-
|-
|''<religion>''_opinion
|''<religion>''_opinion
|Changes the opinion of all characters of that religion toward the character. Custom religions can be added, but must be defined in 00_modifier_definitions.txt first.
| 改变该宗教所有角色对此角色的好感。可以添加自定义宗教,但必须首先在00_modifier_definitions.txt 内定义。
|Flat
|Flat
|✓||✓|| || || || || ||X<ref>[[forum:874495/page-27#post-21629145]]</ref>
|✓||✓|| || || || || ||X<ref>[[forum:874495/page-27#post-21629145]]</ref>
|-
|-
|''<religion_group>''_opinion
|''<religion_group>''_opinion
|Changes the opinion of all characters of that religion group toward the character. Custom religions can be added, but must be defined in 00_modifier_definitions.txt first.
| 改变该宗教组所有角色对此角色的好感。可以添加自定义宗教,但必须首先在00_modifier_definitions.txt 内定义。
|Flat
|Flat
|✓||✓||X|| || || || || ]]
|✓||✓||X|| || || || || ]]
|-
|-
|same_religion_opinion
|same_religion_opinion
|Changes same religion members' opinion of you
| 同宗教角色对你的好感
|Flat
|Flat
|✓||✓|| || || || || ||
|✓||✓|| || || || || ||
|-
|-
|infidel_opinion
|infidel_opinion
|Opinion of other religion groups
| 对其他宗教组的好感
|Flat
|Flat
|✓||✓|| || || || || ||
|✓||✓|| || || || || ||
第527行: 第527行:
|-
|-
|church_opinion
|church_opinion
|Changes the clergy's opinion of you
| 改变神职人员对你的好感
|Flat
|Flat
|✓||✓|| || ||✓|| ||✓||
|✓||✓|| || ||✓|| ||✓||
第547行: 第547行:
|-
|-
|city_opinion
|city_opinion
|Changes Burgher vassals' opinion of you
| 改变市民封臣对你的好感
|Flat
|Flat
|X||X|| || || || || ||✓
|X||X|| || || || || ||✓
|-
|-
|castle_opinion
|castle_opinion
|Changes Feudal vassals' opinion of you. If used in a province modifier, only has an effect if it is your capital.
| 改变封建封臣对你的好感。如果作为省份修正使用,仅在是你的首都时有效果。
|Flat
|Flat
|✓|| ||✓|| ||✓|| || ||
|✓|| ||✓|| ||✓|| || ||
|-
|-
|feudal_opinion
|feudal_opinion
|Opinion of direct feudal vassals
| 对直属封建封臣的好感
|Flat
|Flat
| ||X|| || || || || |X||✓
| ||X|| || || || || |X||✓
|-
|-
|tribal_opinion
|tribal_opinion
|Opinion of tribal vassals (all tribals, including unreformed tribals)
| 对部落封臣的好感(所有部落包括未改革部落)
|Flat
|Flat
|✓||✓|| || || || || ||✓
|✓||✓|| || || || || ||✓
第572行: 第572行:
|-
|-
|rel_head_opinion
|rel_head_opinion
|Opinion of character's religious head
| 对角色的宗教领袖的好感
|Flat
|Flat
|✓||X|| || || || || ||
|✓||X|| || || || || ||
第586行: 第586行:
|{{sup|✓}}|| || || || || ||✓||
|{{sup|✓}}|| || || || || ||✓||
|-
|-
![[Warfare]] modifiers
![[ 战争]] 修正
!Description !! Type !! Character<sup>[1]</sup> !! Traits !! Province<sup>[2]</sup> !! Councillor !! Technology !! Holding<sup>[3]</sup> !! Building<sup>[4]</sup> !! Laws
! 描述 !! 类型 !! 角色<sup>[1]</sup> !! 特质 !! 省份<sup>[2]</sup> !! 内阁成员 !! 科技 !! 地产<sup>[3]</sup> !! 建筑物<sup>[4]</sup> !! 法律
|-
|-
|levy_size
|levy_size
|Maximum levies. Does not influence fleet size.
| 征召兵上限。不影响舰队规模。
|Percent
|Percent
|✓||✓||✓||✓|| ||✓||✓||X
|✓||✓||✓||✓|| ||✓||✓||X
|-
|-
|''<holding_type>''_levy_size
|''<holding_type>''_levy_size
|Maximum levies of a castle/city/temple
| 一个城堡/ 城市/ 神殿/部落的征召兵上限
|Percent
|Percent
| || ||✓||✓|| || || ||
| || ||✓||✓|| || || ||
|-
|-
|global_levy_size
|global_levy_size
|Levy size modifier for characters
| 角色征召兵规模修正
|Percent
|Percent
|✓|| || || || || || ||
|✓|| || || || || || ||
|-
|-
|levy_reinforce_rate
|levy_reinforce_rate
|Time for levies to regenerate
| 征召兵再生时间
|Percent
|Percent
|✓||✓||✓||✓|| ||✓||✓||
|✓||✓||✓||✓|| ||✓||✓||
|-
|-
|army_reinforce_rate
|army_reinforce_rate
|Time for commanded army, retinue, or horde to regenerate (i.e., if character leads centre flank)
| 指挥军队,近卫军或游牧军的再生时间(例如,如果角色指挥侧翼)
|Percent
|Percent
|✓|| || || || || || ||
|✓|| || || || || || ||
|-
|-
|phase_''<phase>''_attack
|phase_''<phase>''_attack
|Increases or decreases the effectiveness of the specified phase, as the attacking army.  e.g., <code>phase_melee_attack</code>.  Phase: melee, skirmish, pursue
| 增加或减少特定阶段的效果,作为进攻的军队。如,<code>phase_melee_attack</code> 。阶段:melee, skirmish, pursue
|Percent
|Percent
|✓|| || || || || || ||
|✓|| || || || || || ||
|-
|-
|phase_''<phase>''_defense
|phase_''<phase>''_defense
|Increases or decreases the effectiveness of the specified phase, as the defending army.
| 增加或减少特定阶段的效果,作为防御的军队。
|Percent
|Percent
|✓|| || || || || || ||
|✓|| || || || || || ||
|-
|-
|''<unit>''
|''<unit>''
|Adds (or removes in case of a negative number) a specified number of the given unit to the holding's levy, indirectly also increasing the holding's garrison size by the same amount.
| 增加(或移除,如果是负值)指定数目的地产征召兵的给定单位,也直接增加同样数量的地产守备部队规模。
|Flat
|Flat
| || ||✓||✓|| || || ||
| || ||✓||✓|| || || ||
第655行: 第655行:
|-
|-
|''<holding_type>''_vassal_min_levy
|''<holding_type>''_vassal_min_levy
|Minimum levy vassals have to provide to their liege. Not cumulative between laws (takes the lowest).
| 封臣必须向领主提供的最小征召兵。法律之间不累积(采用最低的)。
|Percent
|Percent
| || || || || || || ||✓
| || || || || || || ||✓
|-
|-
|''<holding_type>''_vassal_max_levy
|''<holding_type>''_vassal_max_levy
|Maximum levy vassals have to provide to their liege. Not cumulative between laws (takes the highest).
| 封臣必须向领主提供的最大征召兵。法律之间不累积(采用最高的)。
|Percent
|Percent
| || || || || || || ||✓
| || || || || || || ||✓
|-
|-
|land_morale
|land_morale
|Morale of realm army
| 领地军队的士气
|Percent
|Percent
|✓||✓||✓|| ||✓|| ||✓||X
|✓||✓||✓|| ||✓|| ||✓||X
|-
|-
|land_organisation
|land_organisation
|Morale recovery rate
| 士气恢复速率
|Percent
|Percent
|✓|| ||✓|| || || || ||
|✓|| ||✓|| || || || ||
第680行: 第680行:
|-
|-
|garrison_size
|garrison_size
|Size of holding garrison
| 地产守备部队规模
|Percent
|Percent
|X||X||✓||✓|| ||✓||✓||
|X||X||✓||✓|| ||✓||✓||
|-
|-
|global_garrison_size
|global_garrison_size
|Garrison size modifier for characters
| 角色的守备部队规模修正
|Percent
|Percent
|{{sup|✓}}|| || || || || || ||
|{{sup|✓}}|| || || || || || ||
|-
|-
|garrison_growth
|garrison_growth
|Regeneration rate of holding garrison. Doesn't work in 2.2.1 will appear as NONE
| 地产守备部队的回复速度。在2.2.1 无效,显示为NONE
|
|
| || ||✓||✓|| ||✓|| ||
| || ||✓||✓|| ||✓|| ||
|-
|-
|fort_level
|fort_level
|Holding fort level
| 地产要塞等级
|Flat
|Flat
|X||X||✓|| || ||✓||✓||
|X||X||✓|| || ||✓||✓||
第715行: 第715行:
|-
|-
|global_winter_supply
|global_winter_supply
|Applicable on the capital.
| 适用于首都。
|
|
| || || || || || ||✓||
| || || || || || ||✓||
|-
|-
|supply_limit
|supply_limit
|Amount of soldiers that can remain in a province until attrition occurs
| 在一个省份停留直到导致损耗发生的士兵数量
|Percent
|Percent
|X||✓||✓|| || ||X|| ||
|X||✓||✓|| || ||X|| ||
|-
|-
|max_attrition
|max_attrition
|Province maximum attrition
| 省份最大损耗
|Percent
|Percent
|✓||✓||✓|| || ||X|| ||
|✓||✓||✓|| || ||X|| ||
|-
|-
|attrition
|attrition
|Amount of attrition received by the troops being led. Not a command modifier
| 被指挥的部队受到的损耗数量。不是指挥修正
|Percent
|Percent
|✓|| || || || || || ||
|✓|| || || || || || ||
|-
|-
|days_of_supply
|days_of_supply
|Additional days troops can go without supplies before receiving attrition. Not a command modifier
| 部队在在受到损害前可以无补给坚持的额外天数。不是指挥修正
|Flat
|Flat
|✓|| || || || || || ||
|✓|| || || || || || ||
|-
|-
|siege_defence
|siege_defence
|Siege defence speed
| 围攻防御速度
|Percent
|Percent
|✓|| ||✓|| ||✓|| || ||
|✓|| ||✓|| ||✓|| || ||
|-
|-
|siege_speed
|siege_speed
|Siege offence speed
| 围攻进攻速度
|Percent
|Percent
|✓||✓||✓|| ||✓|| || ||
|✓||✓||✓|| ||✓|| || ||
第755行: 第755行:
|-
|-
|local_movement_speed
|local_movement_speed
|Increases movement rate
| 增加移动速度
|Percent
|Percent
| || ||✓|| || ||X||X||
| || ||✓|| || ||X||X||
|-
|-
|galleys_perc
|galleys_perc
|Number of galleys
| 舰队数量
|Percent
|Percent
|X||X||✓|| ||✓|| || ||
|X||X||✓|| ||✓|| || ||
|-
|-
|retinuesize
|retinuesize
|Number of retinues
| 近卫军数量
|Flat
|Flat
|✓||X<ref>[[forum:589686/page-1273#post-20658606]]</ref>|| || || ||✓||✓||
|✓||X<ref>[[forum:589686/page-1273#post-20658606]]</ref>|| || || ||✓||✓||
|-
|-
|retinuesize_perc
|retinuesize_perc
|Number of retinues
| 近卫军数量Number of retinues
|Percent
|Percent
|✓|| || || || || ||✓||
|✓|| || || || || ||✓||
|-
|-
|retinue_maintenence_cost
|retinue_maintenence_cost
|Applicable on characters, family palaces and the capital. The equivalent for tribal governments is <code>horde_maintenence_cost</code>.
| 适用于角色,家族宅邸和首都。部落政体的等价物是<code>horde_maintenence_cost</code>.
|
|
|{{sup|✓}}||X|| || || || ||{{sup|✓}}||
|{{sup|✓}}||X|| || || || ||{{sup|✓}}||
|-
|-
|horde_maintenence_cost
|horde_maintenence_cost
|Applicable on characters, family palaces and the capital.
| 适用于角色,家族宅邸和首都。
|
|
|{{sup|✓}}|| || || || || ||✓||
|{{sup|✓}}|| || || || || ||✓||
|-
|-
![[Technology]] modifiers
![[ 科技]] 修正
!Description !! Type !! Character<sup>[1]</sup> !! Traits !! Province<sup>[2]</sup> !! Councillor !! Technology !! Holding<sup>[3]</sup> !! Building<sup>[4]</sup> !! Laws
! 描述 !! 类型 !! 角色<sup>[1]</sup> !! 特质 !! 省份<sup>[2]</sup> !! 内阁成员 !! 科技 !! 地产<sup>[3]</sup> !! 建筑物<sup>[4]</sup> !! 法律
|-
|-
|tech_growth_modifier
|tech_growth_modifier
|Growth rate of all technology types.
| 所有科技类型发展速度
|Percent
|Percent
|X||X||X||✓|| ||✓||✓||
|X||X||X||✓|| ||✓||✓||
|-
|-
|commander_limit
|commander_limit
|Increases the number of commanders a ruler can have. Scripted in buildings for capital settlements.
| 增加一位统治者可以拥有的指挥官数量。脚本用于首都地产的建筑物中。
|Flat
|Flat
| || ||X|| || || ||✓||
| || ||X|| || || ||✓||
|-
|-
|tech_growth_modifier_''<tech_type>''
|tech_growth_modifier_''<tech_type>''
|Growth rate of cultural/military/economy technology. Cumulative with tech_growth_modifier.
| 文化/ 军事/ 经济科技发展速率。与tech_growth_modifier累积。
|Percent
|Percent
|X||X||X||✓|| || ||✓||
|X||X||X||✓|| || ||✓||
|-
|-
|''<tech_type>''_techpoints
|''<tech_type>''_techpoints
|Generation of technology points in province
| 在省份产生科技点
|Percent
|Percent
| || ||✓||✓|| ||X<ref>[[forum:589686/page-1362#post-21600911]]</ref>||✓||
| || ||✓||✓|| ||X<ref>[[forum:589686/page-1362#post-21600911]]</ref>||✓||
|-
|-
![[Trade post|Trade]] modifiers
![[ 贸易站| 贸易]] 修正
!Description !! Type !! Character<sup>[1]</sup> !! Traits !! Province<sup>[2]</sup> !! Councillor !! Technology !! Holding<sup>[3]</sup> !! Building<sup>[4]</sup> !! Laws
! 描述 !! 类型 !! 角色<sup>[1]</sup> !! 特质 !! 省份<sup>[2]</sup> !! 内阁成员 !! 科技 !! 地产<sup>[3]</sup> !! 建筑物<sup>[4]</sup> !! 法律
|-
|-
|max_tradeposts
|max_tradeposts
|Maximum number of trade posts
| 贸易站数量上限
|Flat
|Flat
|X||X|| || || || ||✓||
|X||X|| || || || ||✓||
|-
|-
|tradevalue
|tradevalue
|Trade zone value
| 贸易价值
|Flat
|Flat
|✓||✓||✓|| || ||✓||✓||
|✓||✓||✓|| || ||✓||✓||
第831行: 第831行:
|-
|-
|global_trade_route_wealth
|global_trade_route_wealth
|Applicable on the capital of holders of a trade post.
| 可用于一个贸易站的持有者的首都
|
|
| || || || || || ||✓||
| || || || || || ||✓||
|-
|-
|global_trade_route_value
|global_trade_route_value
|Applicable on the capital of holders of a trade post.
| 可用于一个贸易站的持有者的首都
|
|
| || || || || || ||✓||
| || || || || || ||✓||
|-
|-
|global_tradevalue
|global_tradevalue
|Applicable on the capital of holders of a trade post.
| 可用于一个贸易站的持有者的首都
|
|
| || || || || || ||✓||
| || || || || || ||✓||
|-
|-
|global_tradevalue_mult
|global_tradevalue_mult
|Applicable on the capital of holders of a trade post.
| 可用于一个贸易站的持有者的首都
|
|
| || || || || || || ||
| || || || || || || ||
|-
|-
|multiplicative_trade_post_income_modifier
|multiplicative_trade_post_income_modifier
|Increases trade post income by the specified percent (1.0 = +100% = double income).
| 增加指定百分比的贸易站收入(1.0 = +100% = 两倍收入)
|Percent
|Percent
| || || || || ||✓|| ||
| || || || || ||✓|| ||
|-
|-
!Population modifiers
! 人口修正
!Description !! Type !! Character<sup>[1]</sup> !! Traits !! Province<sup>[2]</sup> !! Councillor !! Technology !! Holding<sup>[3]</sup> !! Building<sup>[4]</sup> !! Laws
! 描述 !! 类型 !! 角色<sup>[1]</sup> !! 特质 !! 省份<sup>[2]</sup> !! 内阁成员 !! 科技 !! 地产<sup>[3]</sup> !! 建筑物<sup>[4]</sup> !! 法律
|-
|-
|population_growth
|population_growth
第1,489行: 第1,489行:
</pre>
</pre>


==References==
== 参考资料==


<references/>
<references/>


[[Category:Modding]]
[[Category: 模组制作]]
[[Category:Lists]]
[[Category: 列表]]
{{ModdingNavbox}}
{{ModdingNavbox}}
[[en:Modifiers]]

2020年12月25日 (五) 20:28的最新版本

修正是加成或减益,由变量引用,并根据类型附加到角色,省份,宗教或好感上。

修正无处不在,可以通过多种方式附加:特质,科技,事件,文化,触发器等。

所有修正的数值均为两倍,但取决于公式中使用它们的方式,它们可能会像:

  • Flat (additive): 1 意味着 +1
  • Percentage (multiplicative): 1 意味着 +100% (即 x 2),0.1 意味着 +10% (即 x 1.1),及其他。

修正列表

修正只能在正确的作用域内使用。 当在错误的作用域内使用修正时,它将在工具提示中显示为NONE,并将完全不执行任何操作(但是某些显示为NONE的修正实际上会有效果):

  • [1]角色:角色修正依附于角色,修正他们的个人或国家能力,他们的行为(对于AI角色),或者一群人对那个角色的好感。它们主要在事件中通过指令add_character_modifier作战战术(对于指挥官),野心&重心,宝物,血脉和宗教character_modifier来使用。
  • 特质:特质修正用于特质内。所有角色修正在特质内有效,但反过来不成立。
  • [2]省份:省份修正依附于省份,影响角色在那个省份的行动。它们在事件中通过add_province_modifier指令或疾病添加。
  • 内阁:内阁任务修正应用于内阁成员执行任务所在的省份。
  • 科技:科技修正给予已经到达该科技等级的省份一个加成。任何可作为省份修正的也可以作为科技修正,但反过来不成立。
  • [3]地产:地产修正依附于省份内的个人地产,使用add_holding_modifier指令。在2.4版本前,此种修正仅通过原版代码附加。
  • [4]建筑物:建筑物修正仅影响它们所在的地产。对于家族宅邸建筑物,任何角色修正也可用,将应用于其拥有者。一些修正仅在家族宅邸内有效。
  • 法律:法律修正应用于这些法律生效的主头衔。

注释:

  • <holding_type>可以是city,castle,temple或tribal
  • <unit>可以是pikemen,light_cavalry,knights,heavy_infantry,archers或light_infantry,来自/common/special_troops的也有效:horse_archers,war_elephants,camel_cavalry
  • <tech_type>可以是economy,culture或military
  • ✓ 意味着已知这个修正在该作用域生效(用于原版或测试)
  • X 意味着已知这个修正在该作用域不生效
角色属性修正 描述 类型 角色[1] 特质 省份[2] 内阁成员 科技 地产[3] 建筑物[4] 法律
diplomacy 角色的外交能力 Flat X
diplomacy_penalty 修正角色的外交能力。总加成不能超过0。 Flat X
stewardship 角色的管理能力 Flat X
stewardship_penalty 修正角色的管理能力。总加成不能超过0。 Flat X
martial 角色的军事能力 Flat X
martial_penalty 修正角色的军事能力。总加成不能超过0。 Flat X
intrigue 角色的密谋能力 Flat X
intrigue_penalty 修正角色的密谋能力。总加成不能超过0。 Flat X
learning 角色的学识能力 Flat X
learning_penalty 修正角色的学识能力。总加成不能超过0。 Flat X
fertility 角色的生育能力 Percent X
fertility_penalty 修正角色的生育能力。总加成不能超过0。 Percent X
health 角色的健康 Flat X
health_penalty 修正角色的健康。总加成不能超过0,即拥有health_penalty = -1的疾病和拥有health_penalty = 2的治疗一起作用,不会导致+1 health,而是0。 Flat X
combat_rating 角色的个人实战(决斗)技能。 Flat X
threat_decay_speed 威胁度每月衰减百分比 Percent
领地修正 描述 类型 角色[1] 特质 省份[2] 内阁成员 科技 地产[3] 建筑物[4] 法律
demesne_size 直辖领规模上限 Flat X
vassal_limit 封臣上限 Flat X X X X
global_revolt_risk 一位统治者的领地(整个省份,不仅仅是直辖)的叛乱风险 Percent X
local_revolt_risk 一个省份的叛乱风险 Percent X X X
disease_defence 省份得某种疾病的几率 Percent X
culture_flex 对其他文化的包容度 Percent
religion_flex 对其他宗教的包容度 Percent
short_reign_length 数年的短暂统治惩罚 Flat
moved_capital_months_mult 修正迁都的冷却期,如果他们的政体允许一生中可迁都不止一次。脚本位于首都地产内。
密谋修正 描述 类型 角色[1] 特质 省份[2] 内阁成员 科技 地产[3] 建筑物[4] 法律
assassinate_chance_modifier 刺杀一个省份内角色的几率 Percent
arrest_chance_modifier Percent
plot_power_modifier 角色阴谋的阴谋力量 Percent X [✓]
murder_plot_power_modifier 默认是1,当涉及到谋杀阴谋时与一个角色的阴谋力量相乘。 Percent [✓] X [✓] [✓]
defensive_plot_power_modifier Percent [✓] X [✓] [✓]
plot_discovery_chance 发现一个省份内阴谋的概率 Percent X
财富,威望和虔诚 描述 类型 角色[1] 特质 省份[2] 内阁成员 科技 地产[3] 建筑物[4] 法律
tax_income 来自直辖地产的税收 Flat [✓]
global_tax_modifier 来自统治者领地内所有省份的税收。如果在特质作用域使用,适当增加所有直辖收入,但被列作是'管理'加成。 Percent X
local_tax_modifier 来自一个省份内所有地产的税收 Percent
<holding_type>_tax_modifier 来自直辖城堡/城市/神殿的税收 Percent X
<holding_type>_vassal_tax_modifier 来自地产相应政体的封臣的税收 Percent
nomad_tax_modifier
monthly_character_prestige 一位角色每月获得的威望 Flat
liege_prestige 给予地产拥有者和他/她的领主威望 X X
add_prestige_modifier 角色威望增加的修正 Percent X X
monthly_character_piety 一位角色每月获得的虔诚 Flat
liege_piety 给予地产拥有者和他/她的领主虔诚 X X
add_piety_modifier 角色虔诚增加的修正 Percent X X
monthly_character_wealth 一位角色每月获得的财富 Flat [✓]
AI行为修正 描述 类型 角色[1] 特质 省份[2] 内阁成员 科技 地产[3] 建筑物[4] 法律
ai_rationality 影响AI做出选择的方式,例如,如果AI想要开战,它是否会将自己的征召兵规模与敌人的征召兵规模进行比较。 Flat X
ai_zeal 影响AI处理宗教冲突的方式,主要是AI是否会加入十字军和邻近的圣战。 Flat X
ai_greed 影响与金钱有关的互动,例如礼物对好感的效果,以及要求赎金或发动禁运战争的可能性。 Flat X
ai_honor 影响AI尊重关系和同盟的可能性,和尽管有这样的关系仍然进攻的几率。也影响它加入阴谋的可能性。 Flat X
ai_ambition 影响AI的扩张欲望,主要影响想要发动战争的可能性。 Flat X
AI建造修正 描述 类型 角色[1] 特质 省份[2] 内阁成员 科技 地产[3] 建筑物[4] 法律
ai_feudal_modifier 如果AI是封建制,或者是部落制但努力成为封建制,则影响AI的建造的权重 Flat
ai_republic_modifier 如果AI是共和制,或者是部落制但努力成为共和制,则影响AI的建造的权重 Flat X X
建造修正 描述 类型 角色[1] 特质 省份[2] 内阁成员 科技 地产[3] 建筑物[4] 法律
build_cost_modifier 建造一个地产(仅直辖)的花费 Flat
build_cost_castle_modifier 建造一个城堡地产的花费 Flat
build_cost_city_modifier 建造一个城市地产的花费 Flat
build_cost_temple_modifier 建造一个神殿地产的花费 Flat [✓]
build_cost_tribal_modifier 建造一个部落地产的花费 Flat
build_time_modifier 建造一个地产(仅直辖)的时间 Flat
build_time_castle_modifier 建造一个城堡地产的时间 Flat
build_time_city_modifier 建造一个城市地产的时间 Flat
build_time_temple_modifier 建造一个神殿地产的时间 Flat
build_time_tribal_modifier 建造一个部落地产的时间 Flat
local_build_cost_modifier 在一个省份建造一个地产的花费 Percent X X[1]
local_build_cost_castle_modifier 在一个省份建造一个城堡地产的花费 Percent X
local_build_cost_city_modifier 在一个省份建造一个城市地产的花费 Percent X
local_build_cost_temple_modifier 在一个省份建造一个神殿地产的花费 Percent [✓] [✓] [✓] [✓] [✓] X X
local_build_cost_tribal_modifier 在一个省份建造一个部落地产的花费 Percent X
local_build_time_modifier 在一个省份建造一个地产的时间 Percent X X[2]
local_build_time_castle_modifier 在一个省份建造一个城堡地产的时间 Percent X
local_build_time_city_modifier 在一个省份建造一个城市地产的时间 Percent X
local_build_time_temple_modifier 在一个省份建造一个神殿地产的时间 Percent X
local_build_time_tribal_modifier 在一个省份建造一个部落地产的时间 Percent X
好感修正 描述 类型 角色[1] 特质 省份[2] 内阁成员 科技 地产[3] 建筑物[4] 法律
ambition_opinion 改变野心勃勃特质持有者对角色的好感,他们想从这些角色处获得某些事物(例如一个省份)。 Flat
vassal_opinion 用于特质,改变直属封臣和廷臣的好感。用于宝物,改变封臣及其以下的好感。 Flat
sex_appeal_opinion 改变对你的性别有兴趣的成年人的好感。也改变同性恋对异性的好感,但仅用于特质时,不能是用于角色修正或宝物时。仅对45岁以下成年女性和65岁以下成年男性生效。 Flat
same_opinion 改变和你有同一特质的角色的好感 Flat
same_opinion_if_same_religion 改变和你有同一特质的同宗教角色的好感 Flat
opposite_opinion 改变拥有一个与你的特质定义了opposites = { }的特质(相反特质)的角色好感 Flat
liege_opinion 改变你对你的领主的好感改变你的领主对你的好感(取决于所用为何处) Flat
general_opinion 改变所有角色对你的好感 Flat [✓]
twin_opinion 改变你的孪生兄弟姐妹对你的好感 Flat
dynasty_opinion 改变你的家族内所有成员对你的好感 Flat X
male_dynasty_opinion 改变你的家族内所有男性成员对你的好感 Flat X X
female_dynasty_opinion 改变你的家族内所有女性成员对你的好感 Flat X X
child_opinion 改变你的子女对你的好感 Flat X X
oldest_child_opinion 改变你的长子/女对你的好感 Flat X
youngest_child_opinion Flat X
spouse_opinion 改变你的配偶对你的好感 Flat X X
male_opinion Flat
female_opinion Flat
<religion>_opinion 改变该宗教所有角色对此角色的好感。可以添加自定义宗教,但必须首先在00_modifier_definitions.txt内定义。 Flat X[3]
<religion_group>_opinion 改变该宗教组所有角色对此角色的好感。可以添加自定义宗教,但必须首先在00_modifier_definitions.txt内定义。 Flat X ]]
same_religion_opinion 同宗教角色对你的好感 Flat
infidel_opinion 对其他宗教组的好感 Flat
<religion_group>_church_opinion Flat ?
church_opinion 改变神职人员对你的好感 Flat
temple_opinion Flat X
temple_all_opinion Flat X
town_opinion Flat
city_opinion 改变市民封臣对你的好感 Flat X X
castle_opinion 改变封建封臣对你的好感。如果作为省份修正使用,仅在是你的首都时有效果。 Flat
feudal_opinion 对直属封建封臣的好感 Flat X X
tribal_opinion 对部落封臣的好感(所有部落包括未改革部落) Flat
unreformed_tribal_opinion Flat
rel_head_opinion 对角色的宗教领袖的好感 Flat X
free_invest_vassal_opinion Opinion of vassals with bishops Flat X
clan_sentiment [✓]
战争修正 描述 类型 角色[1] 特质 省份[2] 内阁成员 科技 地产[3] 建筑物[4] 法律
levy_size 征召兵上限。不影响舰队规模。 Percent X
<holding_type>_levy_size 一个城堡/城市/神殿/部落的征召兵上限 Percent
global_levy_size 角色征召兵规模修正 Percent
levy_reinforce_rate 征召兵再生时间 Percent
army_reinforce_rate 指挥军队,近卫军或游牧军的再生时间(例如,如果角色指挥侧翼) Percent
phase_<phase>_attack 增加或减少特定阶段的效果,作为进攻的军队。如,phase_melee_attack。阶段:melee, skirmish, pursue Percent
phase_<phase>_defense 增加或减少特定阶段的效果,作为防御的军队。 Percent
<unit> 增加(或移除,如果是负值)指定数目的地产征召兵的给定单位,也直接增加同样数量的地产守备部队规模。 Flat
<unit>_max_levy archers_max_levy, etc.
<unit>_min_levy archers_min_levy etc.
<unit>_offensive Percent
<unit>_defensive Percent
<unit>_morale Percent
<holding_type>_vassal_min_levy 封臣必须向领主提供的最小征召兵。法律之间不累积(采用最低的)。 Percent
<holding_type>_vassal_max_levy 封臣必须向领主提供的最大征召兵。法律之间不累积(采用最高的)。 Percent
land_morale 领地军队的士气 Percent X
land_organisation 士气恢复速率 Percent
regiment_reinforcement_speed
garrison_size 地产守备部队规模 Percent X X
global_garrison_size 角色的守备部队规模修正 Percent [✓]
garrison_growth 地产守备部队的回复速度。在2.2.1无效,显示为NONE
fort_level 地产要塞等级 Flat X X
global_defensive X
land
global_supply_limit Percent X
global_winter_supply 适用于首都。
supply_limit 在一个省份停留直到导致损耗发生的士兵数量 Percent X X
max_attrition 省份最大损耗 Percent X
attrition 被指挥的部队受到的损耗数量。不是指挥修正 Percent
days_of_supply 部队在在受到损害前可以无补给坚持的额外天数。不是指挥修正 Flat
siege_defence 围攻防御速度 Percent
siege_speed 围攻进攻速度 Percent
global_movement_speed Percent X
local_movement_speed 增加移动速度 Percent X X
galleys_perc 舰队数量 Percent X X
retinuesize 近卫军数量 Flat X[4]
retinuesize_perc 近卫军数量Number of retinues Percent
retinue_maintenence_cost 适用于角色,家族宅邸和首都。部落政体的等价物是horde_maintenence_cost. [✓] X [✓]
horde_maintenence_cost 适用于角色,家族宅邸和首都。 [✓]
科技修正 描述 类型 角色[1] 特质 省份[2] 内阁成员 科技 地产[3] 建筑物[4] 法律
tech_growth_modifier 所有科技类型发展速度 Percent X X X
commander_limit 增加一位统治者可以拥有的指挥官数量。脚本用于首都地产的建筑物中。 Flat X
tech_growth_modifier_<tech_type> 文化/军事/经济科技发展速率。与tech_growth_modifier累积。 Percent X X X
<tech_type>_techpoints 在省份产生科技点 Percent X[5]
贸易修正 描述 类型 角色[1] 特质 省份[2] 内阁成员 科技 地产[3] 建筑物[4] 法律
max_tradeposts 贸易站数量上限 Flat X X
tradevalue 贸易价值 Flat
trade_route_wealth
trade_route_value
global_trade_route_wealth 可用于一个贸易站的持有者的首都
global_trade_route_value 可用于一个贸易站的持有者的首都
global_tradevalue 可用于一个贸易站的持有者的首都
global_tradevalue_mult 可用于一个贸易站的持有者的首都
multiplicative_trade_post_income_modifier 增加指定百分比的贸易站收入(1.0 = +100% = 两倍收入) Percent
人口修正 描述 类型 角色[1] 特质 省份[2] 内阁成员 科技 地产[3] 建筑物[4] 法律
population_growth
manpower_growth [✓] X
max_population_mult Percent [✓]
max_manpower_mult [✓]
max_population Flat [✓]

Custom modifiers

Custom modifiers can be defined in common/modifier_definitions.

Flag Value Description Code
show_as_percent bool Show it as a percentage boost, rather than a regular number. Automatically multiplies it by 100 for display as well show_as_percent = yes
is_good bool Show positive numbers in green is_good = yes
is_monthly bool Add a "(monthly)" to the display is_monthly = no
is_hidden bool Don't show it at all is_hidden = no
max_decimals int How many numbers after the decimal point to show max_decimals = 2
show_value bool Whether to show its value at all. Setting to "no" can be useful for showing a modifier unlocks some sort of feature. Note it will only show up when the modifier is not equal to zero show_value = no

They are based on an hardcoded convention on their name, similarly to the sympathy_<religion> modifier, which works for any custom religion, not only vanilla religions.

They are restricted to the following entities:

  • Special units:
    • <special_unit>: defines the modifier providing the troop itself. E.G., "horse_archers". It's what you'd use in the building giving the special unit.
    • <special_unit>_offensive: Defines the unit's offensive modifier. E.G., horse_archers_offensive
    • <special_unit>_defensive: Defines the unit's defensive modifier
    • <special_unit>_morale: Defines the unit's morale modifier
  • Cultures:
    • <culture>_opinion: Gives opinion bonus with specified culture, E.G., norse_opinion
    • <culture_group>_opinion: Gives opinion bonus with specified group, E.G., north_germanic_opinion
  • Religions:
    • <religion>_opinion: Gives opinion bonus with specified religion, E.G., catholic_opinion
    • <religion_group>_opinion: Gives opinion bonus with specified group, E.G., muslim_opinion
  • Traits:
    • <trait>_opinion: Gives opinion bonus with persons who have specified trait, E.G., genius_opinion
    • opinion_of_<trait>: Makes the character like characters who have the specified trait, E.G., opinion_of_lustful
  • Offmap currency: The name of this token is defined in the offmap itself. Gives monthly offmap currency

If not matching any convention, custom modifiers with show_value = no can still be used to display a localized text in the tooltip of an element that accepts a modifier ( bloodlines, traits, ...). This allows to describe features that are managed externally via scripting (events, ...).

Custom modifiers are localized via the following keys:

  • <modifier>: the description of the modifier
  • <modifier>_EXPLANATION: shows an explanation in places that sum up different modifiers (opinion breakdowns, ...)

Static modifiers

Static modifiers are global modifiers (character, province, or unit), and defined in /common/static_modifiers.txt

Some of these modifiers are referenced from the code.

Culture modifiers

Culture modifiers can be used to differentiate between different cultures.

Vanilla CK2 uses a single modifier, default_culture_modifier, which does nothing and appears to simply be a placeholder. Modders can use these culture modifiers to, for example, enhance a specific culture's heavy infantry statistics, reduce or increase specific troop type numbers per holding, increase tax income, or any number of other effects.

For example, the following is a culture modifier used in the Elder Scrolls Modification to differentiate unit statistics of the Nibenean from other cultures in the modification.

 nibenean_culture_modifier = {
 	pikemen_offensive = 0.1
 	pikemen_defensive = 0.1
 	light_cavalry_offensive = 0.25
 	light_cavalry_defensive = 0.25
 	knights_offensive = 0.15
 	knights_defensive = 0.15
 	heavy_infantry_offensive = -0.2
 	heavy_infantry_defensive = -0.2
 	light_infantry_offensive = -0.2
 	light_infantry_defensive = -0.2
 	archers_offensive = -0.1
 	archers_defensive = -0.1
 	
 	land_organisation = 0.1
 }


Event modifiers

Event modifiers are either:

  • character modifiers
  • province modifiers
  • holding modifiers (since patch 2.4)

They are stored under common/event_modifiers/ and grouped and referenced by a name.

In addition to their modifier properties, they also have:

  • an optional is_visible condition block, to decides if the viewer can see this trait on holder (default is yes). ROOT is the viewer, FROM is the holder.
  • the optional major = yes property
  • a mandatory icon, see vanilla icons below:


List of vanilla icons (positive index / negative index):

  • Martial: Martial positive modifier.png 1 / 19
  • Learning: Learning positive modifier.png 2 / 20
  • Diplomacy: Diplomacy positive modifier.png 3 / 21
  • Stewardship: Stewardship positive modifier.png 4 / 22
  • Intrigue: Intrigue positive modifier.png 5 / 23
  • Money: Money positive modifier.png 6 / 24
  • Prestige: Prestige positive modifier.png 7 / 25
  • Piety: Piety positive modifier.png 8 / 26
  • Titles: Titles positive modifier.png 9 / 27
  • Council: Council positive modifier.png 10 / 28
  • Laws: Laws positive modifier.png 11 / 29
  • Technology: Technology positive modifier.png 12 / 30
  • Military: Military positive modifier.png 13 / 31
  • Plots: Plots positive modifier.png 14 / 32
  • Messages: Messages positive modifier.png 15 / 33
  • Diplomatic actions: Diplomatic actions positive modifier.png 16 / 34
  • Church: Church positive modifier.png 17 / 35
  • Characters: Characters positive modifier.png 18 / 36
  • Prison: Prison positive modifier.png 37 / 38
  • Love: Love positive modifier.png 39 / 40
  • Death: Death positive modifier.png 41 / 42
  • Indian religion: Indian religion positive modifier.png 43 / 44
  • Dog: Dog positive modifier.png 45 / 65
  • Cat: Cat positive modifier.png 46 / 66
  • Owl: Owl positive modifier.png 47 / 67
  • Pagan religion: Pagan religion positive modifier.png 48 / 49
  • Staff of Asclepius: Staff of Asclepius positive modifier.png 50 / 51
  • Mystic: Mystic positive modifier.png 52 / 53
  • Bonesaw: Bonesaw positive modifier.png 54 / 55
  • Horseshoe: Horseshoe positive modifier.png 56 / 57
  • Parrot: Parrot positive modifier.png 58 / 68
  • Ham: Ham positive modifier.png 59 / 60
  • Anchor: Anchor positive modifier.png 61 / 62
  • Jewish religion: Jewish religion positive modifier.png 63 / 64
  • Bed: Bed positive modifier.png 69 / 70
  • Wolf: Wolf positive modifier.png 71 / 72
  • Raven: Raven positive modifier.png 73 / 74
  • Demon horns: Demon horns positive modifier.png 75 / 76
  • Trident: Trident positive modifier.png 77 / 78
  • Stars: Stars positive modifier.png 79 / 80
  • Eye: Eye positive modifier.png 81 / 82
  • Test/tubes: Test tubes positive modifier.png 83 / 84
  • Science flask: Science flask positive modifier.png 85 / 86
  • Flower: Flower positive modifier.png 87 / 88
  • Rats: Rats positive modifier.png 89 / 90
  • Otter: Otter positive modifier.png 91 / 92
  • Hedgehog: Hedgehog positive modifier.png 93 / 94
  • Taoist: Taoist positive modifier.png 95 / 96
  • Paper: Paper positive modifier.png 97 / 98
  • Bamboo Book: Bamboo book positive modifier.png 99 / 100
  • Pagoda: Pagoda positive modifier.png 101 / 102
  • Firework: Firework positive modifier.png 103 / 104
  • Torch: Torch positive modifier.png 105 / 106
  • Panda: Panda positive modifier.png 107 / 108
  • Dragon: Dragon positive modifier.png 109 / 110
  • Eagle: Eagle positive modifier.png 111 /112
  • Pregnancy: Pregnancy positive modifier.png 113 / 114
  • Evil Sword: Evil sword positive modifier.png 115 / 116
  • Combat Skill: Combat skill old positive modifier.png 117 /118
  • Broken Bone: Broken bone positive modifier.png 119 / 120
  • Chicken: Chicken positive modifier.png 121 / 122
  • Combat Skill (New): Combat skill new positive modifier.png 123 / 124
  • Bear: Bear positive modifier.png 125 /126
  • Lion: Lion positive modifier.png 127 / 128
  • Rain Good: Rain good positive modifier.png 129 / 130
  • Rain Storm: Rain storm positive modifier.png 131 / 132
  • Sun: Sun positive modifier.png 133 / 134


Example:

sweet_temptation = {
  fertility = 0.2
  church_opinion = -20
  icon = 26
}

Event modifiers are attached by event to a character/province via add_character_modifier/add_province_modifier effects:

add_character_modifier = {
  modifier = sweet_temptation
  duration = -1
}

Triggered modifiers

Triggered modifiers are similar to character event modifiers, except that they do not need to be attached or detached by script: depending on conditions they will automatically be applied or removed.

For performance reasons, they only apply to playable characters (counts or above). As they are evaluated every day for every landed character in existence, these are very resource intensive.

They are stored in /common/triggered_modifiers/00_triggered_modifiers.txt

Structure:

triggered_modifier_name = {
  potential = {
    #Conditions on characters to check
  }
  trigger = {
    #Conditions for modifier to activate
  }
  icon = 24 #Same icons as event modifier icons
  active = no #Completely de-activates the modifier

  # Character modifiers go here
  land_morale = -0.25
}

Religion modifiers

Religion modifiers impact the moral authority of a religion. They are stored under common/religion_modifiers/.

Flag Value Description Code
authority int Percentage of religion moral authority. authority = -10
years int Duration of the modifier in years. years = 20

Example:

won_holy_war = {
  authority = 3
  years = 20
}

Religion modifiers can be attached via event with the religion_authority command:

religion_authority = {
  modifier = ruler_bowed_to_pope
  years = 10
}

Society modifiers

The equivalent of religious moral authority for societies is influence.

They are stored under common/event_modifiers/.

Flag Value Description Code
society_influence int Percentage of society influence. society_influence = 1

They can also be capped via static modifier's static_modifier_cap = 10.

Society modifiers are attached via event with add_society_modifier command.

add_society_modifier = 	{
  modifier = successful_mission
  years = 10
}

Opinion modifiers

Opinion modifiers modify the relations between two characters. They are somehow similar to the opinion_xxx character modifiers, but apply to a single character, rather than a group of character (clergy, mayors, ...). In addition they can contain extra information, such as cause for imprisonment. They are stored under common/opinion_modifiers/.

In patch 2.1.5 some hardcoded opinion modifiers for relatives have been added for brother, half-brother, sister, half-sister, grandfather, grandmother, grandchild, uncle, aunt, nephew and niece.

Flag Value Description Code
opinion double opinion = -30
days int Duration in days days = 120
months int Duration in months months = 120
years int Duration in years years = 3
inherit bool Heirs inherit this opinion
opinion_supported_cardinal = {
  opinion = 15
  months = 1000
  inherit = yes
}
decay bool Linear decay over time
common_interests_opinion = {
  opinion = 20
  decay = yes
}
revoke_reason bool Gives righteous cause to revoke one title
declared_war = {
  opinion = -25
  months = 160
  revoke_reason = yes
}
prison_reason bool Gives righteous cause to imprison a character
opinion_dishonorable = {
  opinion = -10
  months = 60
  prison_reason = yes
}
execute_reason bool Gives righteous cause to execute a character
opinion_rebel_traitor = {
  opinion = -100
  months = 1200
  prison_reason = yes
  revoke_reason = yes
  execute_reason = yes
  inherit = yes
}
banish_reason bool Gives righteous cause to banish a character
attempted_murder_of_spouse = {
  opinion = -70
  crime = yes

  prison_reason = yes
  banish_reason = yes
  execute_reason = yes
}
preparing_adventure_against_me bool preparing_adventure_against_me = yes
preparing_to_invade_me bool Used by Prepared Invasion mechanic preparing_to_invade_me = yes
preparing_invasion bool Used by Prepared Invasion mechanic
preparing_to_invade = {
  opinion = -10
  months = 24
  preparing_invasion = yes
}
enemy bool Makes the characters enemies of each other (effectively at war)
opinion_looted = {
  opinion = -40
  months = 6
  enemy = yes
}
crime bool Character counts as a rival for the is_foe condition (committed a criminal act against me)
grievously_offended = {
  opinion = -30
  months = 60
  crime = yes
  disable_non_aggression_pacts = yes
}
disable_non_aggression_pacts bool Temporarily disables all non-aggression pacts between the two characters
broken_non_aggression_pact = {
  opinion = -10
  years = 3
  disable_non_aggression_pacts = yes
}
non_aggression_pact bool Gives a temporary non-aggression pact between the two characters
in_non_aggression_pact = {
  opinion = 10
  years = 3
  non_aggression_pact = yes
}
obedient bool The AI will accept all diplomatic interactions from the other character. Also makes the trigger obedient return true.
opinion_loyal_servant = {
  opinion = 50
  months = 1200	# For life
  obedient = yes
}
non_interference bool The AI will accept all diplomatic interactions from the other character. Non-interference is considered a subset of obedient, so any obedient character is automatically non-interfering as well. Also makes the trigger non_interference return true.

Example:

declared_war = {
  opinion = -25
  months = 160
  revoke_reason = yes
}

Opinion modifiers can be attached via event, via the opinion effect:

opinion = {
  modifier = opinion_shocked
  who = ROOT
  years = 2
}

Command modifiers

These modifiers apply only to the command_modifier clause of traits. They are multiplied by the number of martial points times COMMAND_MODIFIER_MARTIAL_MULTIPLIER = 0.05

Modifier Description Type
morale_offence Percentage
morale_defence Percentage
defence Percentage
speed Army movement speed Percentage
retreat Percentage
damage Percentage
siege Reduces siege time Percentage
random Percentage
flank Active when character leads a flank Percentage
center Active when character leads centre Percentage
cavalry Both knights and light_cavalry unit types. Percentage
religious_enemy Percentage
%phase% Percentage
%unit_type% light_infantry, heavy_infantry, etc. Percentage
terrain Gives TERRAIN_SPEC_BONUS = 0.2 bonus when fighting in that terrain. Percentage
narrow_flank Percentage
winter_supply
winter_combat Percentage

For instance:

command_modifier = {
	morale_defence = 0.1
	center = 0.1
}

参考资料