Efekt skryptowyZmienione w tej wersji
make_regent_to_ruler
DuchowniStanif
SzlachciceStanif
Zakaz nawracaniaTyp modyfikatoraifDefinicjain_game/common/scripted_effects/country_effects.txt:1424
1425if = {
1426limit = {
1426has_regent = yes
}
1427regent ?= {
1428if = {
}
1432if = {
1433limit = {
1434has_dynasty = no
}
1436custom_tooltip = regencies.1.founds_dynasty_tt Location: założona zostaje nowa Dynasty
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 = {
}
}
1462hidden_effect = {
1463if = {
1464limit = {
1465has_dynasty = no
1466exists = scope:target_dynasty
}
1468change_dynasty = scope:target_dynasty
}
}
}
}
1473if = {
1478change_religion = regent.religion
}
1480set_new_ruler = regent
}