内阁成员模组制作

本页面所适用的版本可能已经过时,最后更新于2.8
咯咯炀讨论 | 贡献2020年12月25日 (五) 20:54的版本 (21:28, 1 October 2019‎ Romulien)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)


Councillor titles

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

觉得这里少了些什么吗?
+来写些东西帮助其他玩家吧!
请参考编辑规范

Council positions

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

觉得这里少了些什么吗?
+来写些东西帮助其他玩家吧!
请参考编辑规范

References