小 (文本替换 - 替换“Category:Modding”为“Category:模组制作”) |
|||
第170行: | 第170行: | ||
<references /> | <references /> | ||
[[Category: | [[Category: 模组制作]] | ||
{{ModdingNavbox}} | {{ModdingNavbox}} |
2020年5月24日 (日) 02:47的版本
Councillor titles
Councillor titles are defined in common\job_titles
.
Flag | Type | Description | Example |
---|---|---|---|
is_chancellor is_marshal |
bool | ||
is_voter | bool | Whether the councillor appears in the council. | |
attribute | attribute | This attribute is added to the ruler's for governance purposes. | |
dignity | float | ||
opinion_effect | int | ||
%character modifiers% | modifiers |
monthly_salary = 0.1 monthly_prestige = 0.75 | |
lift_fow | bool | ||
lift_neighbor_fow | bool | ||
allow | block | Conditions for the character to hold the title | |
dismiss_trigger | block | ||
gain_effect | block | Fires when the title is granted | |
lose_effect | block | Fires when a title is lost through most causes | |
retire_effect | block | Fires when a title is lost due to the character stepping down | |
death_effect | block | Fires when a title is lost due to the character dying | |
action | job_action |
Adding extra councillor
Adding a 6th job_title is possible, but requires some interface modding in order to make some vertical space.
Warning: the new councillor job title entry (ex: job_custom) cannot be used dynamically as a scope inside scripting or localization like for vanilla jobs.
Councillor actions
Councillor actions are defined in common\job_actions
.
Flag | Type | Description | Example |
---|---|---|---|
attribute | attribute | All modifiers (like local_build_time_modifier ) are multiplied by the attribute of the character.
|
attribute = diplomacy
|
attribute_cap | int | attribute_cap = 25
| |
offmap | bool | Whether the action requires the selection of a province or not. | offmap = yes
|
potential | |||
trigger | Province scope trigger to determine if the action is meaningful in a province (the player character is FROM, the councillor is in 'new_character') | ||
events | Events that can trigger off this action. This info is only used by the GUI. |
| |
%province modifiers% | modifiers | Province modifiers applied by the action | local_tax_modifier = 0.025
|
liege_modifier | modifier | Static modifier applied to the councillor liege | liege_modifier = organize_army_liege_mod
|
Adding extra job_actions
Council positions
See About the council voting on targeted_decision and [Guide] Council Votes on Diplo-Actions.
References
模组制作
历史 | 角色 • 家族 • 省份 • 头衔 • 剧本 |
脚本 | 指令 • 条件 • 作用域 • 修正 • 事件 • 决议 |
常规 | 定义 • 游戏规则 • 另类开局 • 宗教 • 文化 • 政体 • 特质 • 血脉 • 科技 • 法律 • 建筑 • 宣战理由 • 朝贡国 • 单位 • 目标 • 疾病 • 死亡 • 荣誉头衔 • 社团 • 宝物 • 地图外政权 • 内阁成员 • 贸易路线 • 继承 • 奇观 • 称号 |
图像/音效/本地化 | 地图 • 图形 • 盾徽 • 肖像 • 界面 • 小地图 • 音乐 • 本地化 |
其他 | 故障排除 • 验证器 • 控制台指令 • 编辑游戏存档 • Steam创意工坊 • EU4转档器模组制作 |