#LEGENDARY COMMANDER PROJECTS

special_project = {
	key = "PARAGON_GATEWAY_DUDE_PROJECT"
	days_to_research = 30
	timelimit = -1
	picture = GFX_evt_space_walk
	icon = "gfx/interface/icons/situation_log/situation_log_main_quest.dds"

	event_scope = ship_event

	requirements = {
		shipclass_transport = 1
	}

	on_success = {
		owner = {
			country_event = { id = paragon.3003 }
		}
	}
}

special_project = {
	key = "PARAGON_GATEWAY_DUDE_REPAIR_PROJECT"
	days_to_research = 1800
	timelimit = -1
	picture = GFX_evt_space_walk
	icon = "gfx/interface/icons/situation_log/situation_log_main_quest.dds"

	event_scope = ship_event

	triggered_requirement = {
		text = CONSTRUCTOR_PROJECT_REQUIREMENTS
		count = 1
		trigger = {
			OR = {
				is_ship_class = shipclass_constructor
				is_arkship_fleet = yes
			}
		}
	}

	on_success = {
		owner = {
			country_event = { id = paragon.3004 }
		}
	}
}

#ORIGIN PROJECTS

special_project = { # Origin Spiritualist Project
	key = "PARAGON_ORIGIN_SPIRITUALIST_PROJECT"
	cost = 4000
	tech_department = engineering_technology
	timelimit = -1
	picture = GFX_evt_communication_event
	icon = "gfx/interface/icons/situation_log/situation_log_main_quest.dds"

	event_scope = country_event

	requirements = {
	}

	on_success = {
		owner = {
			country_event = { id = paragon.5121 }
		}
	}
}

special_project = { # Origin Authoritarian Project
	key = "PARAGON_ORIGIN_AUTHORITARIAN_PROJECT"
	cost = 1200
	tech_department = engineering_technology
	timelimit = -1
	picture = GFX_evt_coronation
	icon = "gfx/interface/icons/situation_log/situation_log_main_quest.dds"

	event_scope = country_event

	requirements = {
	}

	on_success = {
		owner = {
			country_event = { id = paragon.5131 }
		}
	}
}

special_project = { # Origin Pacifist Project
	key = "PARAGON_ORIGIN_PACIFIST_PROJECT"
	cost = 1200
	tech_department = society_technology
	timelimit = -1
	picture = GFX_evt_enclave_overlord
	icon = "gfx/interface/icons/situation_log/situation_log_main_quest.dds"

	event_scope = country_event

	requirements = {
	}

	on_success = {
		owner = {
			country_event = { id = paragon.5141 }
		}
	}
}

special_project = { # Origin Materialist Project
	key = "PARAGON_ORIGIN_MATERIALIST_PROJECT"
	cost = 4000
	tech_department = society_technology
	timelimit = -1
	picture = GFX_evt_deficit
	icon = "gfx/interface/icons/situation_log/situation_log_main_quest.dds"

	event_scope = country_event

	requirements = {
	}

	on_success = {
		owner = {
			country_event = { id = paragon.5151 }
		}
	}
}

### EXAKEIDES, SCION OF VAGROS
special_project = {
	key = "LEGENDARY_LEADER_FIRST_PROJECT"
	days_to_research = 360
	timelimit = -1
	picture = GFX_evt_frozen
	icon = "gfx/interface/icons/situation_log/situation_log_main_quest.dds"

	event_scope = ship_event

	requirements = {
		shipclass_science_ship = 1
		leader = scientist
	}

	on_success = {
		owner = {
			country_event = {
				id = paragon.3104
				scopes = { from = from }
			}
		}
	}
}

special_project = {
	key = "LEGENDARY_LEADER_RESUSCITATION"
	days_to_research = 180
	timelimit = -1
	picture = GFX_evt_frozen
	icon = "gfx/interface/icons/situation_log/situation_log_main_quest.dds"

	event_scope = country_event

	requirements = {
		shipclass_science_ship = 1
		leader = scientist
	}

	on_success = {
		owner = {
			country_event = { id = paragon.3105 }
		}
	}
}

special_project = {
	key = "LEGENDARY_LEADER_STUDY_RELIC_PROJECT"
	cost = 2000
	tech_department = engineering_technology
	picture = GFX_evt_analyzing_artifacts
	icon = "gfx/interface/icons/situation_log/situation_log_main_quest.dds"

	event_scope = country_event

	requirements = {
	}

	on_success = {
		owner = {
			country_event = { id = paragon.3110 }
		}
	}
}

special_project = {
	key = "LEGENDARY_LEADER_VOLCANO_PLANET_PROJECT"
	event_chain = "paragon_legendary_leader_chain"
	days_to_research = 720
	timelimit = -1
	picture = GFX_evt_molten
	icon = "gfx/interface/icons/situation_log/situation_log_main_quest.dds"

	event_scope = ship_event

	requirements = {
		shipclass_science_ship = 1
		leader = scientist
		has_trait = leader_trait_legendary_far_from_home
	}

	on_success = {
		owner = {
			country_event = { id = paragon.3121 }
		}
	}
}

special_project = {
	key = "LEGENDARY_LEADER_HOSTILE_PLANET_PROJECT"
	event_chain = "paragon_legendary_leader_chain"
	days_to_research = 720
	timelimit = -1
	picture = GFX_evt_tropical
	icon = "gfx/interface/icons/situation_log/situation_log_main_quest.dds"

	event_scope = ship_event

	requirements = {
		shipclass_science_ship = 1
		leader = scientist
		has_trait = leader_trait_legendary_far_from_home
	}

	on_success = {
		owner = {
			country_event = { id = paragon.3126 }
		}
	}
}

special_project = {
	key = "LEGENDARY_LEADER_SHIP_PLANET_PROJECT"
	event_chain = "paragon_legendary_leader_chain"
	days_to_research = 720
	timelimit = -1
	picture = GFX_evt_relic_shipyard
	icon = "gfx/interface/icons/situation_log/situation_log_main_quest.dds"

	event_scope = ship_event

	requirements = {
		shipclass_science_ship = 1
		leader = scientist
		has_trait = leader_trait_legendary_far_from_home
	}

	on_success = {
		owner = {
			country_event = { id = paragon.3131 }
		}
	}
}

special_project = {
	key = "LEGENDARY_LEADER_OPEN_WORMHOLE_PROJECT"
	cost = 4000
	tech_department = physics_technology
	picture = GFX_evt_physics_research
	icon = "gfx/interface/icons/situation_log/situation_log_main_quest.dds"

	event_scope = country_event

	requirements = {
	}

	on_success = {
		owner = {
			country_event = { id = paragon.3140 }
		}
	}
}

special_project = {
	key = "LEGENDARY_LEADER_SABOTAGE_FLEET_PROJECT"
	cost = 6000
	tech_department = engineering_technology
	picture = GFX_evt_engineering_research
	icon = "gfx/interface/icons/situation_log/situation_log_main_quest.dds"

	event_scope = country_event

	on_success = {
		owner = {
			country_event = { id = paragon.3148 }
		}
	}
}

### THE BEHOLDER
special_project = {
	key = "BEFRIENDING_BEHOLDER_PRESAPIENTS"
	cost = 1000
	tech_department = society_technology
	timelimit = -1
	icon = "gfx/interface/icons/situation_log/situation_log_quest.dds"
	picture = GFX_evt_alien_cavemen
	location = yes

	event_scope = ship_event

	abort_trigger = {
		NOT = { exists = event_target:beholder_planet }
		NOT = { owner = { has_country_flag = beholder_chain_owner } }
	}

	requirements = {
		shipclass_science_ship = 1
		leader = scientist
		skill = 1
	}

	on_success = {
		owner = { country_event = { id = paragon.5 } }
	}
}

special_project = {
	key = "WHISPER_TEMPLE_STUDY"
	cost = 500
	tech_department = society_technology
	icon = "gfx/interface/icons/situation_log/situation_log_quest.dds"
	picture = GFX_evt_alien_ruins
	location = yes

	event_scope = ship_event

	abort_trigger = {
		NOT = { exists = event_target:beholder_planet }
		NOT = { owner = { has_country_flag = beholder_chain_owner } }
	}

	requirements = {
		shipclass_science_ship = 1
		leader = scientist
		skill = 1
	}

	on_success = {
		owner = { country_event = { id = paragon.20 } }
	}
}

special_project = {
	key = "WHISPER_TEMPLE_ENERGY"
	cost = 1000
	tech_department = engineering_technology
	icon = "gfx/interface/icons/situation_log/situation_log_quest.dds"
	picture = GFX_evt_temple_of_whispers
	location = yes

	event_scope = ship_event

	abort_trigger = {
		NOT = { exists = event_target:beholder_planet }
		NOT = { owner = { has_country_flag = beholder_chain_owner } }
	}

	requirements = {
		shipclass_science_ship = 1
		leader = scientist
		skill = 2
	}

	on_success = {
		owner = { country_event = { id = paragon.30 } }
	}
}

### ASTROCREATOR AZARYN
special_project = {
	key = "UNKNOWN_COMMS_PROJECT"
	days_to_research = 180
	icon = "gfx/interface/icons/situation_log/situation_log_quest.dds"
	picture = GFX_evt_mysterious_signal
	location = no

	event_scope = country_event

	on_success = {
		country_event = { id = paragon.206 }
	}
}
special_project = {
	key = "AZARYNS_BACTERIA_PROJECT"
	cost = 1000
	tech_department = society_technology
	icon = "gfx/interface/icons/situation_log/situation_log_quest.dds"
	picture = GFX_evt_microscopic_life
	location = no

	event_scope = country_event

	on_success = {
		country_event = { id = paragon.214 }
	}
}
special_project = {
	key = "AZARYNS_RAFFLESIA_PROJECT"
	cost = 4000
	tech_department = society_technology
	icon = "gfx/interface/icons/situation_log/situation_log_quest.dds"
	picture = GFX_evt_space_crystals # fits so-so?
	location = no

	event_scope = country_event

	on_success = {
		country_event = { id = paragon.220 }
	}
}

special_project = {
	key = "NUCLEUS_SAMPLE_STOLEN"
	days_to_research = 720
	tech_department = society_technology
	icon = "gfx/interface/icons/situation_log/situation_log_quest.dds"
	picture = GFX_evt_analyzing_artifacts

	event_scope = country_event

	abort_trigger = {
		NOT = { exists = event_target:azaryn_leader }
	}

	on_success = {
		country_event = { id = paragon.265 }
	}
}

# RENOWNED LEADER EVENT PROJECTS
special_project = {
	key = "LYSATOR_PIRATE_TREASURE"
	cost = 0
	days_to_research = 180
	picture = GFX_evt_star_chart
	location = yes

	event_scope = ship_event

	triggered_requirement = {
		text = CONSTRUCTOR_PROJECT_REQUIREMENTS
		count = 1
		trigger = {
			OR = {
				is_ship_class = shipclass_constructor
				is_arkship_fleet = yes
			}
		}
	}

	on_success = {
		ship_event = { id = paragon.40111 }
	}
}

special_project = {
	key = "NONA_LOST_CONVOY"
	cost = 0
	days_to_research = 180
	picture = GFX_evt_cargoship_caravan
	location = yes

	event_scope = ship_event

	triggered_requirement = {
		text = CONSTRUCTOR_PROJECT_REQUIREMENTS
		count = 1
		trigger = {
			OR = {
				is_ship_class = shipclass_constructor
				is_arkship_fleet = yes
			}
		}
	}

	on_success = {
		ship_event = { id = paragon.40211 }
	}
}

special_project = {
	key = "XONDAR_VALUABLE_ALLOYS"
	cost = 0
	days_to_research = 180
	picture = GFX_evt_cold_barren
	location = yes

	event_scope = ship_event

	triggered_requirement = {
		text = CONSTRUCTOR_PROJECT_REQUIREMENTS
		count = 1
		trigger = {
			OR = {
				is_ship_class = shipclass_constructor
				is_arkship_fleet = yes
			}
		}
	}

	on_success = {
		ship_event = { id = paragon.40921 }
	}
}
