#################
# U7. Prophetic Dreams (psionic)
# Every five years the Shroud offers three 5-year visions from a pool of nine.
# Each has a 1-in-10 chance to be a "true dream": twice as strong, with a price.
# Empires with a Shroud covenant also see a vision themed on their patron.
# Logic: events/apb_prophetic_dreams_events.txt
#################

ap_prophetic_dreams = {
	potential = {
		NOT = {
			has_ascension_perk = ap_prophetic_dreams
		}
		has_psionic_ascension = yes
	}
	possible = {
		custom_tooltip = {
			fail_text = "requires_ascension_perks_2"
			num_ascension_perks > 1
		}
	}
	on_enabled = {
		custom_tooltip = apb_prophetic_dreams_tt
		hidden_effect = {
			country_event = {
				id = apb_dreams.1
				days = 1
			}
		}
	}
	ai_weight = {
		factor = 2
	}
}
