脚本效果本版本变更

make_regent_to_ruler

make_regent_to_rulerin_game/common/scripted_effects/country_effects.txt:1424
需要教士阶层if贵族阶层if禁止变更主导宗教修正类型if

定义in_game/common/scripted_effects/country_effects.txt:1424

1425if = {
1426limit = {
1426has_regent = yes
}
1427regent ?= {
1428if = {
1429limit = {
1429NOT = {
1429has_estate = estate_type:nobles_estate
}
}
1430change_character_estate = estate_type:nobles_estate
}
1432if = {
1433limit = {
1434has_dynasty = no
}
1436custom_tooltip = regencies.1.founds_dynasty_tt 在Location建立新宗族
1437hidden_effect = {
1438if = {
1439limit = {
1439owner != root
}
1440move_country = root
}
1442root.capital ?= {
1443create_dynasty_from_location = random
1444last_dynasty_in_location = {
1444save_scope_as = target_dynasty
}
}
1446if = {
1447limit = {
1447exists = scope:target_dynasty
}
1448change_dynasty = scope:target_dynasty
}
}
}
1452every_descendant = {
1453if = {
1454limit = {
1455NOR = {
1456has_estate = estate_type:nobles_estate
1457has_estate = estate_type:clergy_estate
}
}
1460change_character_estate = estate_type:nobles_estate
}
1462hidden_effect = {
1463if = {
1464limit = {
1465has_dynasty = no
1466exists = scope:target_dynasty
}
1468change_dynasty = scope:target_dynasty
}
}
}
}
1473if = {
1474limit = {
1475regent.religion.group != religion.group
}
1478change_religion = regent.religion
}
1480set_new_ruler = regent
}
© 2026 Soft Santa Cruz, S.L.U.。保留所有权利。非官方粉丝项目,与Paradox Interactive无关。游戏内容 © Paradox Interactive。 关于 · 隐私 · 法律声明