首页所有页面

继承模组制作


继承类型的自定义非常有限。理论上,你可以用一种没有选民的“投票”式继承来选出非常具体的继承人。无法以特定方式发放标题。[Needs verification]

Succession law format

Succession laws go in /common/laws.

succession_laws = {  # Must wrap in a succession laws block.

    <succession_name> = {
        # Modifiers applied to the ruler.
        child_opinion = 42

        potential = {
            # Conditions for the succession to be visible in the UI.
        }

        allow = {
            # Conditions that allow the succession to be implemented.
        }

        effect = {
            # What happens when the succession is implemented.
            succession = primogeniture         # Plain succession without voting.

            succession = {                     # The heir is selected by vote.
                base_type = <base_type_name>   # See "Base succession type" below
                voting_rules = <voting_rules>  # Defined in /common/succession_voting
            }

            # Dunno. Fix me!!
            elective_voting_rules = ???
        }

        revoke_allowed = {
            # ???
            always = no
        }
    }
}

Base succession type

所有继承类型都必须使用硬编码的“基础类型”,该类型决定继承人身份、是否有选民以及现任统治者去世后继承人获得的头衔。

Name Description
gavelkind 统治者的头衔在子女间分配,年长者获得主要头衔。如果统治者没有可继承的子女,法律默认采用长子继承制。你没有无地儿子不会受到声望惩罚,而且领地可以比你大30%。法槌类法律在除长子外,所有人都非常喜欢。在法槌王朝继承期间,不允许销毁爵位;
elective_gavelkind 选修课。头衔在统治者的子女之间分配,选举产生的继承人获得主要头衔。
tanistry 选修课。统治者及其一级以下所有附庸可从统治者王朝成员中提名继承人——塔尼斯特。封臣往往更倾向于青睐家族其他分支的年长成员,尤其是那些有继承权的人。
feudal_elective Elective. All titles go to the elected heir.
seniority 所有头衔均授予统治王朝中最年长的在世成员。
primogeniture 所有头衔均授予统治者的长子。
ultimogeniture 所有头衔均授予统治者最小的孩子。
turkish_succession 统治者最强大的孩子成功了,尽管其他有影响力的孩子可能会介入......法律在你的子女中非常受欢迎,除了最年长的那个例外。你们王朝的其他成员也赞同。这种继承方式很可能是伊克塔政府采用的。[Needs verification]
papal_succession 选修课。教皇由枢机团根据年龄、虔诚程度、受欢迎程度及其他因素选举产生。
appointment 去世后,所有头衔都会回归主君。公国和王国副王辖区的继承。
open_elective 选修课。所有附庸和朝臣都有投票权,并从中决定继承人。
catholic_bishopric 如果领主指定了继承人,他就继承了。否则,教皇候选人将被选出。
patrician_elective 选修课。这是伟大的海军商船共和国的继承类型。下一任总督从五大贵族家族的族长中选出,依年龄、声望和投入的竞选资金。
nomad_succession 在游牧继承制下,声望最高的儿子或兄弟通常继承,但如果家族首领的人口多于可汗,也有机会继承。文化不合适的角色被取消资格,成年人优先于儿童。如果可汗的主要继承人还是个孩子,可汗国就会被某位氏族首领夺走。声望比继承人更高的氏族首领会获得可汗国的宣称。
offmap_succession 这种继承方式塑造了中国文化和宗教的特征。他们的数据还不错(4-10),管理能力(7-11),并且始终有管理教育。最高领主政府中定义的地图外权力用于决定文化和宗教。如果没有定义,将无法正常工作

Succession voting

Succession voting scripts go in /common/succession_voting.

<succession_voting_name> = {

    # ROOT is the potential elector, FROMFROM is the title.
    elector_selection = {      # Determine who is allowed to vote.

        days = -5              # This has nothing to do with days. This is the current character's score.
                               # A positive score means they are allowed to vote, and a negative score means
                               # they are not. This line by itself means no-one is allowed to vote.

        additive_modifier = {
            value = 10         # Add 10 score if ...
            FROMFROM = {       # this character is the current ruler.
                holder_scope = {
                    character = ROOT
                }
            }
        }
    }

    # ROOT is the elector, FROMFROM is the title.
    elector_vote_strength = {  # Determine how many votes electors get.

        days = 1               # This has nothing to do with days. This is the number of votes the elector gets.
    }

    # ROOT is the title holder, FROM is the potential candidate, FROMROM is the title.
    candidate_trigger = {      # Determines who can be voted for.

        dynasty = FROM         # This character is a valid candidate if they are of the same dynasty as the ruler (includes the ruler).
    }

    # ROOT is the elector, FROM is the candidate.
    candidate_vote_score = {   # Determines the score an elector will assign to a candidate.
                               # The candidate with the highest score will recieve the elector's votes.

        days = 0               # Yes, days means score again.

        additive_modifier = {  # Add or subtract score in additive_modifiers.
            value = 999
            localisation_key = tooltip_feudal_elector_vote_myself  # Text that will appear in the UI related to elections.
            character = FROM   # If we are the candidate, vote for ourself!
        }
    }
}

Localisation

Standard localisation rules apply.

<succession_name> for the name, <succession_name>_desc for the description.



相关页面 (65)

EU4转档器模组制作Patch 2.4 mod compatibility guidePatch 2.5 mod compatibility guidePatch 2.6 mod compatibility guidePatch 2.7 mod compatibility guidePatch 2.8 mod compatibility guidePatch 3.0 mod compatibility guidePatch 3.1 mod compatibility guideSteam创意工坊事件模组制作作用域修正内阁成员模组制作决议模组制作创建模组剧本模组制作单位模组制作历史模组制作另类开局模组制作合并指南图形模组制作地图外政权模组制作地图模组制作头衔模组制作奇观模组制作宗教模组制作定义宝物模组制作宣战理由模组制作家族模组制作小地图模组制作建筑模组制作彻底转换指南指令控制台指令政体模组制作故障排除文化模组制作朝贡国类型模组制作本地化条件模组制作模组安装程序创建指南死亡模组制作法律模组制作游戏存档兼容性游戏规则模组制作特质模组制作界面模组制作疾病模组制作目标模组制作盾徽模组制作省份模组制作社团模组制作科技模组制作称号模组制作编辑游戏存档肖像模组制作脚本荣誉头衔模组制作