Efekt skryptowy
set_new_ruler_with_union_fratricide
BratobójstwoPorządek sukcesjiifDefinicjain_game/common/scripted_effects/country_effects.txt:936
937if = {
938limit = {
938exists = union
}
939custom_description = {
940text = set_new_ruler_with_union
941object = $character$
942save_temporary_scope_as = union_country_event_scope
943every_subject = {
944limit = {
944subject_type = {
944has_overlords_ruler = yes
}
}
945set_new_foreign_ruler_no_update = $character$
}
947union ?= {
948every_international_organization_member = {
949limit = {
950this != scope:union_country_event_scope
}
954set_new_foreign_ruler_no_update = $character$
955every_subject = {
956limit = {
956subject_type = {
956has_overlords_ruler = yes
}
}
957set_new_foreign_ruler_no_update = $character$
}
}
}
962set_new_ruler = $character$
963union ?= {
964update_leadership = this
}
}
}
968else = {
969set_new_ruler = $character$
}