第1行: | 第1行: | ||
{{Version|1.1}} | {{Version|1.1}} | ||
修正适用于不同的作用域。 | 修正适用于不同的作用域。 | ||
== | ==创建一个角色修正== | ||
角色修正定义于目录:{{Cite file|../common/modifiers}}中的 .txt 文件。 | 角色修正定义于目录:{{Cite file|../common/modifiers}}中的 .txt 文件。 | ||
第14行: | 第15行: | ||
} | } | ||
</pre> | </pre> | ||
=== | ===图标=== | ||
每个修正都有一个图标和其名称一同显示。可以在修正主代码块中使用<code>icon=icon_name</code>。基础游戏有以下修正图标可用: | 每个修正都有一个图标和其名称一同显示。可以在修正主代码块中使用<code>icon=icon_name</code>。基础游戏有以下修正图标可用: | ||
{| class="wikitable" | {| class="wikitable" | ||
! | !名称 | ||
! | !图标 | ||
! | !名称 | ||
! | !图标 | ||
|- | |- | ||
| cat_positive | |cat_positive | ||
| {{icon|cat_positive}} | |{{icon|cat_positive}} | ||
| cat_negative | |cat_negative | ||
| {{icon|cat_negative}} | |{{icon|cat_negative}} | ||
|- | |- | ||
| cockroach_positive | |cockroach_positive | ||
| {{icon|cockroach_positive}} | |{{icon|cockroach_positive}} | ||
| cockroach_negative | |cockroach_negative | ||
| {{icon|cockroach_negative}} | |{{icon|cockroach_negative}} | ||
|- | |- | ||
| county_modifier_control_positive | |county_modifier_control_positive | ||
| {{icon|control_positive}} | |{{icon|control_positive}} | ||
| county_modifier_control_negative | |county_modifier_control_negative | ||
| {{icon|control_negative}} | |{{icon|control_negative}} | ||
|- | |- | ||
| county_modifier_corruption_positive | |county_modifier_corruption_positive | ||
| {{icon|corruption_positive}} | |{{icon|corruption_positive}} | ||
| county_modifier_corruption_negative | |county_modifier_corruption_negative | ||
| {{icon|corruption_negative}} | |{{icon|corruption_negative}} | ||
|- | |- | ||
| county_modifier_development_positive | |county_modifier_development_positive | ||
| {{icon|development_positive}} | |{{icon|development_positive}} | ||
| county_modifier_development_negative | |county_modifier_development_negative | ||
| {{icon|development_negative}} | |{{icon|development_negative}} | ||
|- | |- | ||
| county_modifier_opinion_positive | |county_modifier_opinion_positive | ||
| {{icon|opinion_positive}} | |{{icon|opinion_positive}} | ||
| county_modifier_opinion_negative | |county_modifier_opinion_negative | ||
| {{icon|opinion_negative}} | |{{icon|opinion_negative}} | ||
|- | |- | ||
| diplomacy_positive | |diplomacy_positive | ||
| {{icon|diplomacy_positive}} | |{{icon|diplomacy_positive}} | ||
| diplomacy_negative | |diplomacy_negative | ||
| {{icon|diplomacy_negative}} | |{{icon|diplomacy_negative}} | ||
|- | |- | ||
| dog_positive | |dog_positive | ||
| {{icon|dog_positive}} | |{{icon|dog_positive}} | ||
| dog_negative | |dog_negative | ||
| {{icon|dog_negative}} | |{{icon|dog_negative}} | ||
|- | |- | ||
| dread_positive | |dread_positive | ||
| {{icon|dread_positive}} | |{{icon|dread_positive}} | ||
| dread_negative | |dread_negative | ||
| {{icon|dread_negative}} | |{{icon|dread_negative}} | ||
|- | |- | ||
| drink_positive | |drink_positive | ||
| {{icon|drink_positive}} | |{{icon|drink_positive}} | ||
| drink_negative | |drink_negative | ||
| {{icon|drink_negative}} | |{{icon|drink_negative}} | ||
|- | |- | ||
| economy_positive | |economy_positive | ||
| {{icon|economy_positive}} | |{{icon|economy_positive}} | ||
| economy_negative | |economy_negative | ||
| {{icon|economy_negative}} | |{{icon|economy_negative}} | ||
|- | |- | ||
| family_positive | |family_positive | ||
| {{icon|family_positive}} | |{{icon|family_positive}} | ||
| family_negative | |family_negative | ||
| {{icon|family_negative}} | |{{icon|family_negative}} | ||
|- | |- | ||
| feast_positive | |feast_positive | ||
| {{icon|feast_positive}} | |{{icon|feast_positive}} | ||
| feast_negative | |feast_negative | ||
| {{icon|feast_negative}} | |{{icon|feast_negative}} | ||
|- | |- | ||
| fertility_positive | |fertility_positive | ||
| {{icon|fertility_positive}} | |{{icon|fertility_positive}} | ||
| fertility_negative | |fertility_negative | ||
| {{icon|fertility_negative}} | |{{icon|fertility_negative}} | ||
|- | |- | ||
| food_positive | |food_positive | ||
| {{icon|food_positive}} | |{{icon|food_positive}} | ||
| food_negative | |food_negative | ||
| {{icon|food_negative}} | |{{icon|food_negative}} | ||
|- | |- | ||
| health_positive | |health_positive | ||
| {{icon|health_positive}} | |{{icon|health_positive}} | ||
| health_negative | |health_negative | ||
| {{icon|health_negative}} | |{{icon|health_negative}} | ||
|- | |- | ||
| horse_positive | |horse_positive | ||
| {{icon|horse_positive}} | |{{icon|horse_positive}} | ||
| horse_negative | |horse_negative | ||
| {{icon|horse_negative}} | |{{icon|horse_negative}} | ||
|- | |- | ||
| hunt_positive | |hunt_positive | ||
| {{icon|hunt_positive}} | |{{icon|hunt_positive}} | ||
| hunt_negative | |hunt_negative | ||
| {{icon|hunt_negative}} | |{{icon|hunt_negative}} | ||
|- | |- | ||
| intrigue_positive | |intrigue_positive | ||
| {{icon|intrigue_positive}} | |{{icon|intrigue_positive}} | ||
| intrigue_negative | |intrigue_negative | ||
| {{icon|intrigue_negative}} | |{{icon|intrigue_negative}} | ||
|- | |- | ||
| learning_positive | |learning_positive | ||
| {{icon|learning_positive}} | |{{icon|learning_positive}} | ||
| learning_negative | |learning_negative | ||
| {{icon|learning_negative}} | |{{icon|learning_negative}} | ||
|- | |- | ||
| letter_positive | |letter_positive | ||
| {{icon|letter_positive}} | |{{icon|letter_positive}} | ||
| letter_negative | |letter_negative | ||
| {{icon|letter_negative}} | |{{icon|letter_negative}} | ||
|- | |- | ||
| love_positive | |love_positive | ||
| {{icon|love_positive}} | |{{icon|love_positive}} | ||
| love_negative | |love_negative | ||
| {{icon|love_negative}} | |{{icon|love_negative}} | ||
|- | |- | ||
| magic_positive | |magic_positive | ||
| {{icon|magic_positive}} | |{{icon|magic_positive}} | ||
| magic_negative | |magic_negative | ||
| {{icon|magic_negative}} | |{{icon|magic_negative}} | ||
|- | |- | ||
| martial_positive | |martial_positive | ||
| {{icon|martial_positive}} | |{{icon|martial_positive}} | ||
| martial_negative | |martial_negative | ||
| {{icon|martial_negative}} | |{{icon|martial_negative}} | ||
|- | |- | ||
| outdoors_positive | |outdoors_positive | ||
| {{icon|outdoors_positive}} | |{{icon|outdoors_positive}} | ||
| outdoors_negative | |outdoors_negative | ||
| {{icon|outdoors_negative}} | |{{icon|outdoors_negative}} | ||
|- | |- | ||
| piety_positive | |piety_positive | ||
| {{icon|piety_positive}} | |{{icon|piety_positive}} | ||
| piety_negative | |piety_negative | ||
| {{icon|piety_negative}} | |{{icon|piety_negative}} | ||
|- | |- | ||
| prestige_positive | |prestige_positive | ||
| {{icon|prestige_positive}} | |{{icon|prestige_positive}} | ||
| prestige_negative | |prestige_negative | ||
| {{icon|prestige_negative}} | |{{icon|prestige_negative}} | ||
|- | |- | ||
| prison_positive | |prison_positive | ||
| {{icon|prison_positive}} | |{{icon|prison_positive}} | ||
| prison_negative | |prison_negative | ||
| {{icon|prison_negative}} | |{{icon|prison_negative}} | ||
|- | |- | ||
| prowess_positive | |prowess_positive | ||
| {{icon|prowess_positive}} | |{{icon|prowess_positive}} | ||
| prowess_negative | |prowess_negative | ||
| {{icon|prowess_negative}} | |{{icon|prowess_negative}} | ||
|- | |- | ||
| rat_positive | |rat_positive | ||
| {{icon|rat_positive}} | |{{icon|rat_positive}} | ||
| rat_negative | |rat_negative | ||
| {{icon|rat_negative}} | |{{icon|rat_negative}} | ||
|- | |- | ||
| rock_positive | |rock_positive | ||
| {{icon|rock_positive}} | |{{icon|rock_positive}} | ||
| rock_negative | |rock_negative | ||
| {{icon|rock_negative}} | |{{icon|rock_negative}} | ||
|- | |- | ||
| social_positive | |social_positive | ||
| {{icon|social_positive}} | |{{icon|social_positive}} | ||
| social_negative | |social_negative | ||
| {{icon|social_negative}} | |{{icon|social_negative}} | ||
|- | |- | ||
| spoon_positive | |spoon_positive | ||
| {{icon|spoon_positive}} | |{{icon|spoon_positive}} | ||
| spoon_negative | |spoon_negative | ||
| {{icon|spoon_negative}} | |{{icon|spoon_negative}} | ||
|- | |- | ||
| stewardship_positive | |stewardship_positive | ||
| {{icon|stewardship_positive}} | |{{icon|stewardship_positive}} | ||
| stewardship_negative | |stewardship_negative | ||
| {{icon|stewardship_negative}} | |{{icon|stewardship_negative}} | ||
|- | |- | ||
| stress_positive | |stress_positive | ||
| {{icon|stress_positive}} | |{{icon|stress_positive}} | ||
| stress_negative | |stress_negative | ||
| {{icon|stress_negative}} | |{{icon|stress_negative}} | ||
|- | |- | ||
| treatment_positive | |treatment_positive | ||
| {{icon|treatment_positive}} | |{{icon|treatment_positive}} | ||
| treatment_negative | |treatment_negative | ||
| {{icon|treatment_negative}} | |{{icon|treatment_negative}} | ||
|} | |} | ||
== | ==脚本化的修正== | ||
脚本化的修正如同脚本效果和触发器一样工作。使用<code>name = yes</code>可以无参数地调用它们,也可以有许多参数。举例: | 脚本化的修正如同脚本效果和触发器一样工作。使用<code>name = yes</code>可以无参数地调用它们,也可以有许多参数。举例: | ||
<pre> | <pre> | ||
第240行: | 第241行: | ||
</pre> | </pre> | ||
== | ==修正列表== | ||
这些修正可用于修正的定义中,以产生不同效果。注意,这个列表由控制台指令<code>script_docs</code>输出生成。 | 这些修正可用于修正的定义中,以产生不同效果。注意,这个列表由控制台指令<code>script_docs</code>输出生成。 | ||
{| class="wikitable sortable" width="100%" | {| class="wikitable sortable" width="100%" | ||
! width="15%" | | ! width="15%" |名称 | ||
! width="15%" | | ! width="15%" |描述 | ||
! width="25%" | | ! width="25%" |用法 | ||
! width="20%" | | ! width="20%" |支持作用域 | ||
! width="20%" | | ! width="20%" |分类 | ||
|- | |- | ||
|diplomacy | |diplomacy | ||
第2,157行: | 第2,158行: | ||
|<culture>_opinion | |<culture>_opinion | ||
| | | | ||
| | | 检查它是否对所有被修改的文化也生效? | ||
| | | | ||
|Character | |Character | ||
第2,192行: | 第2,193行: | ||
|- | |- | ||
|} | |} | ||
=== | ===政体相关修正=== | ||
这些修正影响某些政体的角色对其他角色的好感和贡献。下表给出了语法,并且<government_name>有效值有:'''''feudal_government、republic_government、theocracy_government、clan_government、tribal_government、mercenary_government、holy_order_government'''''。 | 这些修正影响某些政体的角色对其他角色的好感和贡献。下表给出了语法,并且<government_name>有效值有:'''''feudal_government、republic_government、theocracy_government、clan_government、tribal_government、mercenary_government、holy_order_government'''''。 | ||
{| class="wikitable sortable" width="100%" | {| class="wikitable sortable" width="100%" | ||
! width="15%" | | ! width="15%" |名称 | ||
! width="15%" | | ! width="15%" |描述 | ||
! width="25%" | | ! width="25%" |用法 | ||
! width="20%" | | ! width="20%" |支持作用域 | ||
! width="20%" | | ! width="20%" |分类 | ||
|- | |- | ||
|<government_name>_opinion | |<government_name>_opinion | ||
第2,244行: | 第2,245行: | ||
|} | |} | ||
=== | ===计谋相关修正=== | ||
这些修正影响角色的计谋。下表给出了语法,并且<scheme_name>的有效值有:'''''abduct、befriend、claim_throne、convert_to_witchcraft、courting、elope、fabricate_hook、murder、seduce、sway'''''。 | 这些修正影响角色的计谋。下表给出了语法,并且<scheme_name>的有效值有:'''''abduct、befriend、claim_throne、convert_to_witchcraft、courting、elope、fabricate_hook、murder、seduce、sway'''''。 | ||
{| class="wikitable sortable" width="100%" | {| class="wikitable sortable" width="100%" | ||
! width="15%" | | ! width="15%" |名称 | ||
! width="15%" | | ! width="15%" |描述 | ||
! width="25%" | | ! width="25%" |用法 | ||
! width="20%" | | ! width="20%" |支持作用域 | ||
! width="20%" | | ! width="20%" |分类 | ||
|- | |- | ||
|max_<scheme_name>_schemes_add | |max_<scheme_name>_schemes_add | ||
第2,284行: | 第2,285行: | ||
|} | |} | ||
=== | ===地形战斗修正=== | ||
这些修正改变不同地形战斗的效果。下表给出了语法,并且<terrain_name>的有效值有:'''''plains、farmlands、hills、mountains、desert、desert_mountains、oasis、jungle、forest、taiga、wetlands、steppe、floodplains、drylands'''''。 | 这些修正改变不同地形战斗的效果。下表给出了语法,并且<terrain_name>的有效值有:'''''plains、farmlands、hills、mountains、desert、desert_mountains、oasis、jungle、forest、taiga、wetlands、steppe、floodplains、drylands'''''。 | ||
{| class="wikitable sortable" width="100%" | {| class="wikitable sortable" width="100%" | ||
! width="15%" | | ! width="15%" |名称 | ||
! width="15%" | | ! width="15%" |描述 | ||
! width="25%" | | ! width="25%" |用法 | ||
! width="20%" | | ! width="20%" |支持作用域 | ||
! width="20%" | | ! width="20%" |分类 | ||
|- | |- | ||
|<terrain_name>_attrition_mult | |<terrain_name>_attrition_mult | ||
第2,324行: | 第2,325行: | ||
|} | |} | ||
=== | === 兵士相关修正=== | ||
这些修正影响角色的兵士单位的规模和战斗力。下表给出了语法,并且<men_at_arms_name> 的有效值有:'''''heavy_infantry 、pikemen、archers、light_cavalry、heavy_cavalry、skirmishers、siege_weapon。''''' | |||
{| class="wikitable sortable" width="100%" | {| class="wikitable sortable" width="100%" | ||
! width="15%" | | ! width="15%" | 名称 | ||
! width="15%" | | ! width="15%" | 描述 | ||
! width="25%" | | ! width="25%" | 用法 | ||
! width="20%" | | ! width="20%" | 支持作用域 | ||
! width="20%" | | ! width="20%" | 分类 | ||
|- | |- | ||
|<men_at_arms_name>_max_size_add | |<men_at_arms_name>_max_size_add |
2020年11月16日 (一) 17:10的版本
修正适用于不同的作用域。
创建一个角色修正
角色修正定义于目录:../common/modifiers
中的 .txt 文件。
一个角色修正的定义如下:
my_new_modifier = { icon = icon_name # 修正,例如 # tax_mult = 0.25 # county_opinion_add = -30 }
图标
每个修正都有一个图标和其名称一同显示。可以在修正主代码块中使用icon=icon_name
。基础游戏有以下修正图标可用:
名称 | 图标 | 名称 | 图标 |
---|---|---|---|
cat_positive | cat_negative | ||
cockroach_positive | cockroach_negative | ||
county_modifier_control_positive | county_modifier_control_negative | ||
county_modifier_corruption_positive | county_modifier_corruption_negative | ||
county_modifier_development_positive | county_modifier_development_negative | ||
county_modifier_opinion_positive | county_modifier_opinion_negative | ||
diplomacy_positive | diplomacy_negative | ||
dog_positive | dog_negative | ||
dread_positive | dread_negative | ||
drink_positive | drink_negative | ||
economy_positive | economy_negative | ||
family_positive | family_negative | ||
feast_positive | feast_negative | ||
fertility_positive | fertility_negative | ||
food_positive | food_negative | ||
health_positive | health_negative | ||
horse_positive | horse_negative | ||
hunt_positive | hunt_negative | ||
intrigue_positive | intrigue_negative | ||
learning_positive | learning_negative | ||
letter_positive | letter_negative | ||
love_positive | love_negative | ||
magic_positive | magic_negative | ||
martial_positive | martial_negative | ||
outdoors_positive | outdoors_negative | ||
piety_positive | piety_negative | ||
prestige_positive | prestige_negative | ||
prison_positive | prison_negative | ||
prowess_positive | prowess_negative | ||
rat_positive | rat_negative | ||
rock_positive | rock_negative | ||
social_positive | social_negative | ||
spoon_positive | spoon_negative | ||
stewardship_positive | stewardship_negative | ||
stress_positive | stress_negative | ||
treatment_positive | treatment_negative |
脚本化的修正
脚本化的修正如同脚本效果和触发器一样工作。使用name = yes
可以无参数地调用它们,也可以有许多参数。举例:
== 修正举例 == example_modifier = { modifier = { add = { value = 10 multiply = $SCALE$ } $CHARACTER_1$ = { has_trait = ambitious } } opinion_modifier = { target = $CHARACTER_2$ who = $CHARACTER_1$ multiplier = { value = 0.25 multiply = $SCALE$ } } compare_modifier = { target = $CHARACTER_1$ value = stress multiplier = $SCALE$ } } == 调用举例 == random_list = { 1 = { example_modifier = { CHARACTER_1 = root CHARACTER_2 = root SCALE = 0.1 } } }
修正列表
这些修正可用于修正的定义中,以产生不同效果。注意,这个列表由控制台指令script_docs
输出生成。
名称 | 描述 | 用法 | 支持作用域 | 分类 |
---|---|---|---|---|
diplomacy | 外交增加 | Character | ||
martial | 军事增加 | Character | ||
stewardship | 管理增加 | Character | ||
intrigue | 谋略增加 | Character | ||
learning | 学识增加 | Character | ||
prowess | 勇武增加 | Character | ||
negate_diplomacy_penalty_add | 抵消外交惩罚 | Character | ||
negate_martial_penalty_add | 抵消军事惩罚 | Character | ||
negate_stewardship_penalty_add | 抵消管理惩罚 | Character | ||
negate_intrigue_penalty_add | 抵消谋略惩罚 | Character | ||
negate_learning_penalty_add | 抵消学识惩罚 | negate_learning_penalty_add = 2
位于 |
Character | |
negate_prowess_penalty_add | 抵消勇武惩罚 | Character | ||
no_prowess_loss_from_age | 角色是否承受高龄导致的勇武损失 | Character | ||
diplomacy_per_piety_level | 每级奉献等级使外交增加 | Character | ||
martial_per_piety_level | 每级奉献等级使军事增加 | Character | ||
stewardship_per_piety_level | 每级奉献等级使管理增加 | Character | ||
intrigue_per_piety_level | 每级奉献等级使谋略增加 | Character | ||
learning_per_piety_level | 每级奉献等级使学识增加 | Character | ||
prowess_per_piety_level | 每级奉献等级使勇武增加 | Character | ||
diplomacy_per_prestige_level | 每级威望等级使外交增加 | Character | ||
martial_per_prestige_level | 每级威望等级使军事增加 | Character | ||
stewardship_per_prestige_level | 每级威望等级使管理增加 | Character | ||
intrigue_per_prestige_level | 每级威望等级使谋略增加 | Character | ||
learning_per_prestige_level | 每级威望等级使学识增加 | Character | ||
prowess_per_prestige_level | 每级威望等级使勇武增加 | Character | ||
piety_level_impact_mult | 奉献等级影响系数增加 | Character | ||
prestige_level_impact_mult | 威望等级影响系数增加 | Character | ||
diplomacy_per_stress_level | 每级压力等级使外交增加 | Character | ||
martial_per_stress_level | 每级压力等级使军事增加 | Character | ||
stewardship_per_stress_level | 每级压力等级使管理增加 | Character | ||
intrigue_per_stress_level | 每级压力等级使谋略增加 | Character | ||
learning_per_stress_level | 每级压力等级使学识增加 | Character | ||
prowess_per_stress_level | 每级压力等级使勇武增加 | Character | ||
random_skills_per_child | Character | |||
fertility | 生育力增加 | fertility = 0.2
(外交生活方式家庭重心,生育力+20%) |
Character | |
health | 健康增加 | health = 0.25
(温室建筑,健康:轻微增益) |
Character | |
negate_fertility_penalty_add | 抵消生育力惩罚 | Character | ||
negate_health_penalty_add | 抵消健康惩罚 | Character | ||
monthly_income | 每月收入 | Character | ||
monthly_income_mult | 每月收入系数 | Character | ||
monthly_war_income_add | 战争期间的每月收入 | Character | ||
monthly_war_income_mult | 战争期间的每月收入系数 | Character | ||
monthly_income_per_stress_level_add | 每级压力使每月收入增加 | Character | ||
monthly_income_per_stress_level_mult | 每级压力使每月收入增加系数 | Character | ||
monthly_piety | 每月虔诚 | Character | ||
monthly_piety_gain_mult | 每月虔诚增加系数 | Character | ||
monthly_piety_gain_per_happy_powerful_vassal_add | 每位在内阁任职的强力封臣使每月虔诚增加 | monthly_piety_gain_per_happy_powerful_vassal_add = 0.2
(坎特伯雷大教堂) |
Character | |
monthly_piety_gain_per_happy_powerful_vassal_mult | 每位在内阁任职的强力封臣使每月虔诚增加系数 | Character | ||
monthly_piety_gain_per_dread_add | 每点恐怖值使每月虔诚增加 | Character | ||
monthly_piety_gain_per_dread_mult | 每点恐怖值使每月虔诚增加系数 | Character | ||
monthly_piety_gain_per_knight_add | 每位骑士使每月虔诚增加 | Character | ||
monthly_piety_gain_per_knight_mult | 每位骑士使每月虔诚增加系数 | Character | ||
monthly_prestige | 每月威望 | Character | ||
monthly_prestige_gain_mult | 每月威望增加系数 | Character | ||
monthly_prestige_gain_per_happy_powerful_vassal_add | 每位在内阁任职的强力封臣使每月威望增加 | Character | ||
monthly_prestige_gain_per_happy_powerful_vassal_mult | 每位在内阁任职的强力封臣使每月威望增加系数 | Character | ||
monthly_prestige_gain_per_dread_add | 每点恐怖值使每月威望增加 | Character | ||
monthly_prestige_gain_per_dread_mult | 每点恐怖值使每月威望增加系数 | Character | ||
monthly_prestige_gain_per_knight_add | 每位骑士使每月威望增加 | Character | ||
monthly_prestige_gain_per_knight_mult | 每位骑士使每月威望增加系数 | Character | ||
monthly_piety_from_buildings_mult | 建筑产生的每月虔诚增加系数 | Character | ||
monthly_prestige_from_buildings_mult | 建筑产生的每月威望增加系数 | Character | ||
monthly_dynasty_prestige | 每月宗族威望增加 | Character | ||
monthly_dynasty_prestige_mult | 每月宗族威望增加系数 | Character | ||
stress_gain_mult | 压力增加系数 | Character | ||
stress_loss_mult | 压力减少系数 | Character | ||
monthly_dread | 每月恐怖值 | Character | ||
dread_gain_mult | 恐怖值增加系数 | Character | ||
dread_loss_mult | 恐怖值减少系数 | Character | ||
tyranny_gain_mult | 暴政增加系数 | Character | ||
tyranny_loss_mult | 暴政减少系数 | Character | ||
monthly_tyranny | 每月暴政增加 | Character | ||
dread_baseline_add | 基础恐怖值增加 | Character | ||
dread_decay_add | 恐怖值消逝 | Character | ||
dread_decay_mult | 恐怖值消逝系数 | dread_decay_mult = -10
(密谋生活重心拷打者分支的终生恶名:恐怖值消逝:-1000%) |
Character | |
dread_per_tyranny_add | 每次暴政的恐怖值获得 | Character | ||
dread_per_tyranny_mult | 每次暴政的恐怖值获得系数 | Character | ||
domain_limit | Character | |||
vassal_limit | Character | |||
domain_tax_mult | Character | |||
domain_tax_same_faith_mult | Character | |||
domain_tax_different_faith_mult | Character | |||
domain_tax_mult_even_if_baron | Character | |||
domain_tax_same_faith_mult_even_if_baron | Character | |||
domain_tax_different_faith_mult_even_if_baron | Character | |||
vassal_tax_mult | Character | |||
men_at_arms_maintenance | Character | |||
men_at_arms_maintenance_per_dread_mult | Character | |||
army_maintenance_mult | Character | |||
short_reign_duration_mult | Character | |||
long_reign_bonus_mult | Character | |||
diplomatic_range_mult | Character | |||
inbreeding_chance | Character | |||
positive_inactive_inheritance_chance | Character | |||
negative_inactive_inheritance_chance | Character | |||
positive_random_genetic_chance | Character | |||
negative_random_genetic_chance | Character | |||
genetic_trait_strengthen_chance | Character | |||
life_expectancy | Character | |||
years_of_fertility | Character | |||
knight_limit | Character | |||
knight_effectiveness_mult | Character | |||
title_creation_cost | Character | |||
title_creation_cost_mult | Character | |||
monthly_lifestyle_xp_gain_mult | Character | |||
mercenary_hire_cost_add | Character | |||
mercenary_hire_cost_mult | Character | |||
same_culture_mercenary_hire_cost_add | Character | |||
same_culture_mercenary_hire_cost_mult | Character | |||
holy_order_hire_cost_mult | Character | |||
holy_order_hire_cost_add | Character | |||
same_culture_holy_order_hire_cost_mult | Character | |||
same_culture_holy_order_hire_cost_add | Character | |||
opinion_of_female_rulers | Character | |||
opinion_of_male_rulers | Character | |||
opinion_of_same_culture | Character | |||
opinion_of_different_culture | Character | |||
opinion_of_same_faith | Character | |||
opinion_of_different_faith | Character | |||
opinion_of_liege | Character | |||
opinion_of_vassal | Character | |||
opinion_of_different_faith_liege | Character | |||
same_culture_opinion | Character | |||
different_culture_opinion | Character | |||
same_faith_opinion | Character | |||
different_faith_opinion | Character | |||
direct_vassal_opinion | Character | |||
fellow_vassal_opinion | Character | |||
independent_ruler_opinion | Character | |||
general_opinion | Character | |||
attraction_opinion | Character | |||
religious_vassal_opinion | Character | |||
religious_head_opinion | Character | |||
spouse_opinion | Character | |||
twin_opinion | Character | |||
close_relative_opinion | Character | |||
dynasty_house_opinion | Character | |||
dynasty_opinion | Character | |||
liege_opinion | Character | |||
different_faith_liege_opinion | Character | |||
vassal_opinion | Character | |||
clergy_opinion | Character | |||
councillor_opinion | Character | |||
realm_priest_opinion | Character | |||
powerful_vassal_opinion | Character | |||
courtier_opinion | Character | |||
guest_opinion | Character | |||
courtier_and_guest_opinion | Character | |||
prisoner_opinion | Character | |||
player_heir_opinion | Character | |||
child_opinion | Character | |||
child_except_player_heir_opinion | Character | |||
eligible_child_opinion | Character | |||
eligible_child_except_player_heir_opinion | Character | |||
ignore_negative_culture_opinion | Character | |||
ignore_different_faith_opinion | Character | |||
pursue_efficiency | Combat | |||
counter_efficiency | Combat | |||
min_combat_roll | Combat | |||
max_combat_roll | Combat | |||
men_at_arms_limit | Combat | |||
men_at_arms_cap | Combat | |||
embarkation_cost_mult | Combat | |||
naval_movement_speed_mult | Combat | |||
siege_phase_time | Siege | |||
siege_morale_loss | Siege | |||
revolting_siege_morale_loss_add | Siege | |||
revolting_siege_morale_loss_mult | Siege | |||
vassal_tax_contribution_add | Government | |||
vassal_tax_contribution_mult | Government | |||
intimidated_vassal_tax_contribution_add | Character | |||
intimidated_vassal_tax_contribution_mult | Character | |||
cowed_vassal_tax_contribution_add | Character | |||
cowed_vassal_tax_contribution_mult | Character | |||
vassal_levy_contribution_add | Government | |||
vassal_levy_contribution_mult | Government | |||
intimidated_vassal_levy_contribution_add | Character | |||
intimidated_vassal_levy_contribution_mult | Character | |||
cowed_vassal_levy_contribution_add | Character | |||
cowed_vassal_levy_contribution_mult | Character | |||
happy_powerful_vassal_tax_contribution_add | Character | |||
happy_powerful_vassal_tax_contribution_mult | Character | |||
happy_powerful_vassal_levy_contribution_add | Character | |||
happy_powerful_vassal_levy_contribution_mult | Character | |||
scheme_power | Scheme | |||
scheme_resistance | Scheme | |||
scheme_secrecy | Scheme | |||
scheme_success_chance | Scheme | |||
hostile_scheme_power_add | Character | |||
hostile_scheme_power_mult | Character | |||
personal_scheme_power_add | Character | |||
personal_scheme_power_mult | Character | |||
hostile_scheme_resistance_add | Character | |||
hostile_scheme_resistance_mult | Character | |||
personal_scheme_resistance_add | Character | |||
personal_scheme_resistance_mult | Character | |||
diplomacy_scheme_power | Character | |||
intrigue_scheme_power | Character | |||
stewardship_scheme_power | Character | |||
martial_scheme_power | Character | |||
prowess_scheme_power | Character | |||
learning_scheme_power | Character | |||
diplomacy_scheme_resistance | Character | |||
intrigue_scheme_resistance | Character | |||
stewardship_scheme_resistance | Character | |||
martial_scheme_resistance | Character | |||
prowess_scheme_resistance | Character | |||
learning_scheme_resistance | Character | |||
scheme_discovery_chance_mult | Character | |||
max_personal_schemes_add | Character | |||
max_hostile_schemes_add | Character | |||
owned_hostile_scheme_success_chance_add | Character | |||
owned_personal_scheme_success_chance_add | Character | |||
enemy_hostile_scheme_success_chance_add | Character | |||
enemy_personal_scheme_success_chance_add | Character | |||
movement_speed | Combat | |||
retreat_losses | Combat | |||
hard_casualty_modifier | Combat | |||
enemy_hard_casualty_modifier | Combat | |||
advantage | Combat | |||
attacker_advantage | Combat | |||
defender_advantage | Combat | |||
enemy_terrain_advantage | Combat | |||
tolerance_advantage_mod | Combat | |||
advantage_against_coreligionists | Combat | |||
random_advantage | Combat | |||
controlled_province_advantage | Combat | |||
no_water_crossing_penalty | Combat | |||
raid_speed | Combat | |||
hostile_county_attrition | Combat | |||
supply_duration | Combat | |||
supply_limit_mult | Province | |||
supply_limit | Province | |||
fort_level | Province | |||
supply_capacity_add | Province | |||
supply_capacity_mult | Province | |||
hostile_raid_time | Province | |||
levy_size | Holding | |||
garrison_size | Holding | |||
levy_reinforcement_rate | Holding | |||
levy_reinforcement_rate_same_faith | Character | |||
levy_reinforcement_rate_different_faith | Character | |||
levy_reinforcement_rate_even_if_baron | Character | |||
levy_reinforcement_rate_same_faith_even_if_baron | Character | |||
levy_reinforcement_rate_different_faith_even_if_baron | Character | |||
levy_reinforcement_rate_friendly_territory | Holding | |||
build_speed | Holding | |||
build_gold_cost | Holding | |||
build_piety_cost | Holding | |||
build_prestige_cost | Holding | |||
holding_build_speed | Holding | |||
holding_build_gold_cost | Holding | |||
holding_build_piety_cost | Holding | |||
holding_build_prestige_cost | Holding | |||
tax_mult | Holding | |||
development_growth_factor | County | |||
development_growth | County | |||
character_capital_county_monthly_development_growth_add | Character | |||
monthly_county_control_change_add | County | |||
monthly_county_control_change_factor | County | |||
monthly_county_control_change_add_even_if_baron | County | |||
monthly_county_control_change_factor_even_if_baron | County | |||
county_opinion_add | County | |||
different_faith_county_opinion_mult | County | |||
county_opinion_add_even_if_baron | County | |||
different_faith_county_opinion_mult_even_if_baron | County | |||
mercenary_count_mult | Culture | |||
cultural_head_fascination_add | Character | |||
cultural_head_fascination_mult | Character | |||
faith_conversion_piety_cost_add | Character | |||
faith_conversion_piety_cost_mult | Character | |||
faith_creation_piety_cost_add | Character | |||
faith_creation_piety_cost_mult | Character | |||
ai_boldness | AI | |||
ai_compassion | AI | |||
ai_sociability | AI | |||
ai_greed | AI | |||
ai_energy | AI | |||
ai_honor | AI | |||
ai_rationality | AI | |||
ai_vengefulness | AI | |||
ai_zeal | AI | |||
ai_war_chance | AI | |||
ai_war_cooldown | AI | |||
castle_holding_build_speed | County | |||
castle_holding_build_gold_cost | County | |||
castle_holding_build_piety_cost | County | |||
castle_holding_build_prestige_cost | County | |||
castle_holding_holding_build_speed | County | |||
castle_holding_holding_build_gold_cost | County | |||
castle_holding_holding_build_piety_cost | County | |||
castle_holding_holding_build_prestige_cost | County | |||
tribal_holding_build_speed | County | |||
tribal_holding_build_gold_cost | County | |||
tribal_holding_build_piety_cost | County | |||
tribal_holding_build_prestige_cost | County | |||
tribal_holding_holding_build_speed | County | |||
tribal_holding_holding_build_gold_cost | County | |||
tribal_holding_holding_build_piety_cost | County | |||
tribal_holding_holding_build_prestige_cost | County | |||
city_holding_build_speed | County | |||
city_holding_build_gold_cost | County | |||
city_holding_build_piety_cost | County | |||
city_holding_build_prestige_cost | County | |||
city_holding_holding_build_speed | County | |||
city_holding_holding_build_gold_cost | County | |||
city_holding_holding_build_piety_cost | County | |||
city_holding_holding_build_prestige_cost | County | |||
church_holding_build_speed | County | |||
church_holding_build_gold_cost | County | |||
church_holding_build_piety_cost | County | |||
church_holding_build_prestige_cost | County | |||
church_holding_holding_build_speed | County | |||
church_holding_holding_build_gold_cost | County | |||
church_holding_holding_build_piety_cost | County | |||
church_holding_holding_build_prestige_cost | County | |||
<culture>_opinion | 检查它是否对所有被修改的文化也生效? | Character | ||
monthly_diplomacy_lifestyle_xp_gain_mult | Character | |||
monthly_martial_lifestyle_xp_gain_mult | Character | |||
monthly_stewardship_lifestyle_xp_gain_mult | Character | |||
monthly_intrigue_lifestyle_xp_gain_mult | Character | |||
monthly_learning_lifestyle_xp_gain_mult | Character |
政体相关修正
这些修正影响某些政体的角色对其他角色的好感和贡献。下表给出了语法,并且<government_name>有效值有:feudal_government、republic_government、theocracy_government、clan_government、tribal_government、mercenary_government、holy_order_government。
名称 | 描述 | 用法 | 支持作用域 | 分类 |
---|---|---|---|---|
<government_name>_opinion | Character | |||
<government_name>_vassal_opinion | Character | |||
<government_name>_opinion_same_faith | Character | |||
<government_name>_tax_contribution_add | Character | |||
<government_name>_tax_contribution_mult | Character | |||
<government_name>_levy_contribution_add | Character | |||
<government_name>_levy_contribution_mult | Character |
计谋相关修正
这些修正影响角色的计谋。下表给出了语法,并且<scheme_name>的有效值有:abduct、befriend、claim_throne、convert_to_witchcraft、courting、elope、fabricate_hook、murder、seduce、sway。
名称 | 描述 | 用法 | 支持作用域 | 分类 |
---|---|---|---|---|
max_<scheme_name>_schemes_add | Character | |||
<scheme_name>_scheme_power_add | Character | |||
<scheme_name>_scheme_power_mult | Character | |||
<scheme_name>_scheme_resistance_add | Character | |||
<scheme_name>_scheme_resistance_mult | Character |
地形战斗修正
这些修正改变不同地形战斗的效果。下表给出了语法,并且<terrain_name>的有效值有:plains、farmlands、hills、mountains、desert、desert_mountains、oasis、jungle、forest、taiga、wetlands、steppe、floodplains、drylands。
名称 | 描述 | 用法 | 支持作用域 | 分类 |
---|---|---|---|---|
<terrain_name>_attrition_mult | Combat | |||
<terrain_name>_cancel_negative_supply | Combat | |||
<terrain_name>_advantage | Combat | |||
<terrain_name>_min_combat_roll | Combat | |||
<terrain_name>_max_combat_roll | Combat |
兵士相关修正
这些修正影响角色的兵士单位的规模和战斗力。下表给出了语法,并且<men_at_arms_name>的有效值有:heavy_infantry、pikemen、archers、light_cavalry、heavy_cavalry、skirmishers、siege_weapon。
名称 | 描述 | 用法 | 支持作用域 | 分类 |
---|---|---|---|---|
<men_at_arms_name>_max_size_add | Character | |||
<men_at_arms_name>_max_size_mult | Character | |||
<men_at_arms_name>_siege_value_add | Character | |||
<men_at_arms_name>_siege_value_mult | Character | |||
<men_at_arms_name>_damage_add | Character | |||
<men_at_arms_name>_damage_mult | Character | |||
<men_at_arms_name>_toughness_add | Character | |||
<men_at_arms_name>_toughness_mult | Character | |||
<men_at_arms_name>_pursuit_add | Character | |||
<men_at_arms_name>_pursuit_mult | Character | |||
<men_at_arms_name>_screen_add | Character | |||
<men_at_arms_name>_screen_mult | Character |
文档 | Effects • 触发器 • 修正 • 作用域 • 变量 • 数据类型 • 本地化 • 可定制的本地化 |
脚本 | AI • 剧本 • 角色 • 效果指令 • 内阁 • 文化 • 决议 • 宗族 • 事件 • 政体 • 历史 • 地产 • 生活方式 • 军队 • 宗教 • Story cycles • 头衔 • 特质 |
地图 | 地图 • 地形 |
图形 | 3D模型 • Exporters • 界面 • Coat of arms • Graphical assets • Fonts • Particles • Shaders • Unit models |
音频 | Music • Sound |
其他 | 控制台指令 • 校验码 • 模组结构 • Troubleshooting |