Скриптовое условиеИзменено в этой версии
get_senior_partner
Определениеin_game/common/scripted_triggers/international_organization_triggers.txt:707
708trigger_if = {
709limit = {
709exists = $union$
}
710save_temporary_scope_value_as = {
711name = union_highest_non_root_economical_base
712value = {
713value = 0
714$union$ = {
715ordered_country_with_special_status_of_type = {
716type = senior_partner
717limit = {
717this != root
}
718order_by = country_economical_base
719max = 1
720check_range_bounds = no
721add = country_economical_base
}
}
}
}
726$union$ = {
727any_international_organization_member = {
728country_economical_base >= scope:union_highest_non_root_economical_base
729save_temporary_scope_as = senior_partner_scope
}
}
}
733trigger_else = {
734exists = $union$
}