special_project = {
	key = "OPEN_SEED_PODS_PROJECT"
	event_chain = "fruitful_partnership_chain"
	energy = 3000
	days_to_research = 30
	tech_department = society_technology
	picture = GFX_evt_alien_nature
	icon = "gfx/interface/icons/situation_log/situation_log_planet.dds"
	location = yes
	event_scope = planet_event
	AI_wait_days = {
		weight = 80
		modifier = {
			factor = 0
			from = {
				NOR = {
					has_modifier = holy_planet
					has_modifier = pm_wenkwort_gardens
				}
			}
		}
	}

	on_success = {
		prev = {
			save_event_target_as = new_planet_owner
		}
		root = {
			# setting a flag so the "outpost rebuilt!" event (action.91)
			# will get a different description
			set_planet_flag = seed_pods_colonization
			carrier_event = { id = origin.7320 }
		}
	}

	on_cancel = {
		fromfrom = {
			save_event_target_as = seeded_planet
		}
		country_event = { id = origin.7325 }
	}

	abort_trigger = {
		OR = {
			NOT = { exists = from }
			from = {
				OR = {
					colonizable_planet = no
					NOT = { has_modifier = seeded_planet_0_modifier }
				}
			}
		}
	}
}

special_project = {
	key = "WEEDS_ARMY_PROJECT"
	event_chain = "fruitful_partnership_war_chain"
	energy = 500
	days_to_research = 90
	tech_department = society_technology
	picture = GFX_evt_aggressive_flora
	icon = "gfx/interface/icons/situation_log/situation_log_planet.dds"
	location = yes
	event_scope = planet_event

	on_success = {
		# Spawn the army
		event_target:fruitful_project_owner = {
			country_event = { id = origin.7700 }
		}
		# Notify the planet owner if it's not you
		owner = {
			if = {
				limit = {
					NOT = { is_same_value = event_target:fruitful_project_owner }
				}
				country_event = { id = origin.7710 }
			}
		}
	}

	abort_trigger = {
		OR = {
			NOT = { exists = from }
			from = {
				OR = {
					colonizable_planet = no
					has_seeded_modifier = no
				}
			}
		}
	}
}

special_project = {
	key = "TIYANKIS_PROJECT"
	cost = 2000
	tech_department = physics_technology
	picture = GFX_evt_tiyanki_family
	icon = "gfx/interface/icons/situation_log/situation_log_tick.dds"

	event_scope = country_event

	on_success = {
		country_event = { id = origin.7005 }
	}

	abort_trigger = {
		has_global_flag = tiyanki_extinct
	}
}
