psionic_choir = {
	category = society
	potential = {
		has_shroud_dlc = yes
		is_corporeal_authority = yes
		has_covenant_with_end_of_the_cycle = no
	}

	option = {
		name = song_of_calming

		potential = {
			has_patron_relation = { patron = the_cradle_of_souls contact = any }
		}

		modifier = {
			pop_amenities_usage_mult = -0.25
			cradle_of_souls_monthly_attunement_add = 1
		}

		ai_weight = {
			weight = 1
			modifier = {
				factor = 100
				is_preferred_patron = the_cradle_of_souls
			}
		}
	}
	option = {
		name = song_of_plenty

		potential = {
			has_patron_relation = { patron = the_composer_of_strands contact = any }
		}

		modifier = {
			planet_farmers_produces_mult = 0.50
			composer_of_strands_monthly_attunement_add = 1
		}

		ai_weight = {
			weight = 1
			modifier = {
				factor = 100
				is_preferred_patron = the_composer_of_strands
			}
		}
	}
	option = {
		name = song_of_steel

		potential = {
			has_patron_relation = { patron = the_eater_of_worlds contact = any }
		}

		modifier = {
			planet_jobs_alloys_produces_mult = 0.25
			eater_of_worlds_monthly_attunement_add = 1
		}

		ai_weight = {
			weight = 1
			modifier = {
				factor = 100
				is_preferred_patron = the_eater_of_worlds
			}
		}
	}
	option = {
		name = song_of_luxury

		potential = {
			has_patron_relation = { patron = the_instrument_of_desire contact = any }
			is_gestalt = no
		}

		modifier = {
			planet_jobs_consumer_goods_produces_mult = 0.25
			instrument_of_desire_monthly_attunement_add = 1
		}

		ai_weight = {
			weight = 1
			modifier = {
				factor = 100
				is_preferred_patron = the_instrument_of_desire
			}
		}
	}
	option = {
		name = song_of_luxury_gestalt

		potential = {
			has_patron_relation = { patron = the_instrument_of_desire contact = any }
			is_gestalt = yes
		}

		modifier = {
			country_trade_produces_mult = 0.25
			instrument_of_desire_monthly_attunement_add = 1
		}

		ai_weight = {
			weight = 1
			modifier = {
				factor = 100
				is_preferred_patron = the_instrument_of_desire
			}
		}
	}
	option = {
		name = song_of_knowing

		potential = {
			has_patron_relation = { patron = whisperers_in_the_void contact = any }
		}

		modifier = {
			planet_jobs_physics_research_produces_mult = 0.15
			planet_jobs_society_research_produces_mult = 0.15
			planet_jobs_engineering_research_produces_mult = 0.15
			planet_researchers_upkeep_mult = 0.15
			whisperers_in_the_void_monthly_attunement_add = 1
		}

		ai_weight = {
			weight = 0
			modifier = {
				add = 100
				is_preferred_patron = whisperers_in_the_void
			}
		}
	}
}

psionic_suppression_policy = {
	category = society
	potential = {
		is_country_type = default
		has_country_flag = psionic_suppression_policy_enabled
	}

	option = {
		name = psionic_suppression_dismantle

		policy_flags = {
			psionic_suppression_dismantle
		}

		AI_weight = {
			weight = 50
			modifier = {
				factor = 10
				has_origin = origin_endbringers
			}
			modifier = {
				factor = 0
				any_playable_country = {
					has_origin = origin_endbringers
					NOT = { is_same_value = prev }
				}
			}
		}
	}
	option = {
		name = psionic_suppression_allow

		policy_flags = {
			psionic_suppression_allow
		}

		AI_weight = {
			weight = 10
		}
	}
}
