# The Long Table
# Scope: country (a possible guest). Root: the host (the event's country).
# The one definition of "would come to the summit": a normal empire we have met,
# not at war with us, whose opinion of us is +50 or better.
# `opinion` is the scoped country's opinion of `who` (vanilla: fallen_empire_events.txt,
# focus_events_1.txt).
apb_long_table_can_attend = {
	is_country_type = default
	has_communications = root
	is_homicidal = no
	NOT = { is_at_war_with = root }
	opinion = { who = root value >= 50 }
}

# Scope: country (the host). Can a summit be held right now?
apb_long_table_can_host = {
	has_ascension_perk = ap_long_table
	is_at_war = no
	count_relation = {
		limit = { apb_long_table_can_attend = yes }
		count >= 2
	}
}
