namespace = esap_industry_ascendancy

# Industry, checks planets with ecumenopolis and industry modifier, and removes the industry modifier.
country_event = {
	id = esap_industry_ascendancy.1
	hide_window = yes
	is_triggered_only = yes
	
	trigger = {
		has_ascension_perk = ap_arcology_project
		has_ascension_perk = ap_esap_industry
	}
	
	immediate = {
		every_owned_planet = {
			limit = {
				is_planet_class = pc_city
				has_modifier = mod_esap_industry
			}
			remove_modifier = "mod_esap_industry"
		}
	}
}