内阁成员模组制作

(重定向自Councillor_modding)
2.8· 约 6 分钟阅读

本页面所适用的版本可能已经过时,最后更新于 v2.8。

v2.8

Councillor titles[编辑]

job_titles and job_actions
icons
job_titles and job_actions icons

Councillor titles are defined in common\job_titles.

Flag

Type

Description

Example

is_chancellor
is_marshal
is_treasurer
is_spymaster
is_spiritual

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[编辑]

觉得这里少了些什么吗?
+[//www.eu4cn.com/index.php?title=&action=edit 来写些东西]帮助其他玩家吧!
请参考编辑规范。

Council positions[编辑]

See About the council voting on targeted_decision  and [Guide] Council Votes on Diplo-Actions .

觉得这里少了些什么吗?
+[//www.eu4cn.com/index.php?title=&action=edit 来写些东西]帮助其他玩家吧!
请参考编辑规范。

References[编辑]