抽签选举制
继承法

抽签选举制

lottery_electionin_game/common/heir_selections/republic.txt:212

这是共和国的一种继承法,统治者由单次随机抽签选择。

需要禁止担任统治者修正类型calc

修正

定义in_game/common/heir_selections/republic.txt:212

215use_election = yes
216term_duration = 0
217max_possible_candidates = 3
218show_candidates = no
220allowed_estates = {
}
221heir_is_allowed = {
}
223calc = {
224if = {
225limit = {
226exists = root
}
228add = {
229desc = "HEIR_SELECTION_RANDOM_DESC" •候选人获得随机分数(0.00~+200.00)
230value = random_integer
231modulo = 200
}
234add = {
235desc = "HEIR_SELECTION_OLDER_HEIR_DESC" •年龄
236value = character_age
}
238if = {
239limit = {
}
240add = {
241desc = "HEIR_SELECTION_IS_UNSUITED_TO_RULE_DESC" •不适合统治
242value = -1000
}
}
}
248if = {
249limit = {
250not = {
250exists = root
}
}
252add = {
253desc = "HEIR_SELECTION_RANDOM_DESC" •候选人获得随机分数(0.00~+200.00)
254format = "FORMAT_NO_VALUE"
}
256add = {
257desc = "HEIR_SELECTION_OLDER_HEIR_DESC" •年龄
258value = 1
}
}
}
263modifier = {
}
© 2026 Soft Santa Cruz, S.L.U.。保留所有权利。非官方粉丝项目,与Paradox Interactive无关。游戏内容 © Paradox Interactive。 关于 · 隐私 · 法律声明