########################################
# Extreme Frontiers - Special Projects #
########################################

special_project = {
	key = "DETOXIFICATION_GLAND_PROJECT"
	days_to_research = 180
	timelimit = -1
	picture = GFX_evt_analyzing_artifacts
	icon = "gfx/interface/icons/situation_log/situation_log_tick.dds"
	remove_when_completed = yes

	event_scope = ship_event

	requirements = {
		shipclass_science_ship = 1
		leader = scientist
	}

	on_success = {
		ship_event = { id = extreme_frontiers.145 }
	}
}

special_project = {
	key = "PURIFY_CORE_PROJECT"
	days_to_research = 240
	timelimit = -1
	picture = GFX_evt_glimpse_core
	icon = "gfx/interface/icons/situation_log/situation_log_tick.dds"
	remove_when_completed = yes

	event_scope = ship_event

	requirements = {
		shipclass_science_ship = 1
		leader = scientist
	}

	on_success = {
		ship_event = { id = extreme_frontiers.155 }
	}
}

special_project = {
	key = "ATMOSPHERIC_ELECTROPLATING"
	days_to_research = 90
	timelimit = -1
	picture = GFX_evt_toxic
	icon = "gfx/interface/icons/situation_log/situation_log_tick.dds"
	remove_when_completed = yes

	event_scope = ship_event

	requirements = {
		shipclass_science_ship = 1
		leader = scientist
	}

	on_success = {
		ship_event = { id = extreme_frontiers.265 }
	}
}

special_project = {
	key = "ATMOSPHERIC_DIAMONDS_PROJECT"
	days_to_research = 180
	timelimit = -1
	picture = GFX_evt_physics_research
	icon = "gfx/interface/icons/situation_log/situation_log_tick.dds"
	remove_when_completed = yes

	event_scope = ship_event

	requirements = {
		shipclass_science_ship = 1
		leader = scientist
	}

	on_success = {
		ship_event = { id = extreme_frontiers.285 }
	}
}

special_project = {
	key = "CONTROLLED_ERUPTION_PROJECT"
	days_to_research = 90
	timelimit = 720
	picture = GFX_evt_molten
	icon = "gfx/interface/icons/situation_log/situation_log_tick.dds"
	remove_when_completed = yes

	event_scope = ship_event

	requirements = {
		shipclass_science_ship = 1
		leader = scientist
	}

	on_success = {
		ship_event = { id = extreme_frontiers.295 }
	}
}

special_project = {
	key = "INFERNAL_CATALYSTS_PROJECT"
	days_to_research = 180
	timelimit = -1
	picture = GFX_evt_physics_research
	icon = "gfx/interface/icons/situation_log/situation_log_tick.dds"
	remove_when_completed = yes

	event_scope = ship_event

	requirements = {
		shipclass_science_ship = 1
		leader = scientist
	}

	on_success = {
		ship_event = { id = extreme_frontiers.365 }
	}
}

special_project = {
	key = "LAVA_DIVERS_PROJECT"
	days_to_research = 180
	timelimit = -1
	picture = GFX_evt_magma_megafauna
	icon = "gfx/interface/icons/situation_log/situation_log_tick.dds"
	remove_when_completed = yes

	event_scope = ship_event

	requirements = {
		shipclass_science_ship = 1
		leader = scientist
	}

	on_success = {
		ship_event = { id = extreme_frontiers.375 }
	}
}

special_project = {
	key = "REPURPOSE_THRUSTERS_PROJECT"
	days_to_research = 360
	timelimit = -1
	picture = GFX_evt_gas_giant_station
	icon = "gfx/interface/icons/situation_log/situation_log_tick.dds"
	remove_when_completed = yes

	event_scope = ship_event

	requirements = {
		shipclass_science_ship = 1
		leader = scientist
	}

	on_success = {
		ship_event = { id = extreme_frontiers.385 }
	}
}

special_project = {
	key = "CHTHONIAN_PETRIFICATION_PROJECT"
	days_to_research = 360
	timelimit = -1
	picture = GFX_evt_chthonian_preservation
	icon = "gfx/interface/icons/situation_log/situation_log_tick.dds"
	remove_when_completed = yes

	event_scope = ship_event

	requirements = {
		shipclass_science_ship = 1
		leader = scientist
	}

	on_success = {
		ship_event = { id = extreme_frontiers.435 }
	}
}

special_project = {
	key = "GRAVITY_ASSIST_PROJECT"
	days_to_research = 180
	timelimit = -1
	picture = GFX_evt_star_chart
	icon = "gfx/interface/icons/situation_log/situation_log_tick.dds"
	remove_when_completed = yes

	event_scope = ship_event

	requirements = {
		shipclass_science_ship = 1
		leader = scientist
	}

	on_success = {
		ship_event = { id = extreme_frontiers.445 }
	}
}

special_project = {
	key = "TOXIC_SLIME_CATALYZATION_PROJECT"
	days_to_research = 180
	timelimit = -1
	picture = GFX_evt_toxic
	icon = "gfx/interface/icons/situation_log/situation_log_tick.dds"
	remove_when_completed = yes

	event_scope = ship_event

	requirements = {
		shipclass_science_ship = 1
		leader = scientist
	}

	on_success = {
		ship_event = { id = extreme_frontiers.1120 }
	}
}

special_project = {
	key = "DENDRITIAN_CHRONICLES_PROJECT_DEFAULT"
	picture = GFX_evt_partition
	inline_script = {
		script = extreme_frontiers/dendritian_chronicles
	}
}
special_project = {
	key = "DENDRITIAN_CHRONICLES_PROJECT_MACHINE"
	picture = GFX_evt_intelligence_report
	inline_script = {
		script = extreme_frontiers/dendritian_chronicles
	}
}

special_project = {
	key = "RESTORE_HYPERLANE_PROJECT"
	event_chain = "chronicles_of_dendrus_chain"
	energy = 500
	days_to_research = 180
	timelimit = -1
	picture = GFX_evt_black_hole
	icon = "gfx/interface/icons/situation_log/situation_log_tick.dds"
	remove_when_completed = yes

	event_scope = ship_event

	requirements = {
		shipclass_science_ship = 1
		leader = scientist
	}

	on_success = {
		ship_event = {
			id = extreme_frontiers.1426
			scopes = {
				from = from
			}
		}
	}
}

special_project = {
	key = "GEORADIATION_SIGNAL_1_PROJECT"
	event_chain = "georadiation_terraforming_chain"
	days_to_research = 160
	timelimit = -1
	picture = GFX_evt_georadiation_bell_broken
	icon = "gfx/interface/icons/situation_log/situation_log_tick.dds"
	remove_when_completed = yes

	event_scope = ship_event

	requirements = {
		shipclass_science_ship = 1
		leader = scientist
	}

	on_success = {
		ship_event = {
			id = extreme_frontiers.1515
			scopes = {
				from = from
			}
		}
	}
}

special_project = {
	key = "GEORADIATION_SIGNAL_2_PROJECT"
	event_chain = "georadiation_terraforming_chain"
	days_to_research = 160
	timelimit = -1
	picture = GFX_evt_georadiation_bell_broken
	icon = "gfx/interface/icons/situation_log/situation_log_tick.dds"
	remove_when_completed = yes

	event_scope = ship_event

	requirements = {
		shipclass_science_ship = 1
		leader = scientist
	}

	on_success = {
		ship_event = {
			id = extreme_frontiers.1520
			scopes = {
				from = from
			}
		}
	}
}

special_project = {
	key = "UNDETONATED_GEORADIATION_PROJECT"
	event_chain = "georadiation_terraforming_chain"
	days_to_research = 160
	timelimit = -1
	picture = GFX_evt_georadiation_bell_broken
	icon = "gfx/interface/icons/situation_log/situation_log_tick.dds"
	remove_when_completed = yes

	event_scope = ship_event

	requirements = {
		shipclass_science_ship = 1
		leader = scientist
	}

	on_success = {
		ship_event = {
			id = extreme_frontiers.1525
			scopes = {
				from = from
			}
		}
	}
}

special_project = {
	key = "GEORADIATION_ANALYSIS_PROJECT"
	event_chain = "georadiation_terraforming_chain"
	days_to_research = 280
	timelimit = -1
	picture = GFX_evt_georadiation_bell_rusted
	icon = "gfx/interface/icons/situation_log/situation_log_tick.dds"
	remove_when_completed = yes

	event_scope = ship_event

	requirements = {
		shipclass_science_ship = 1
		leader = scientist
	}

	on_progress_25 = {
		ship_event = {
			id = extreme_frontiers.1530
			scopes = {
				from = from
			}
		}
	}

	on_success = { # this is always aborted by extreme_frontiers.1530
	}

	abort_trigger = {
		has_country_flag = georadiation_analysis_interrupted
	}
}

special_project = {
	key = "GEORADIATION_ANALYSIS_PROJECT_CONTINUED"
	event_chain = "georadiation_terraforming_chain"
	days_to_research = 210 # 280 - 1/4
	timelimit = -1
	picture = GFX_evt_georadiation_bell_rusted
	icon = "gfx/interface/icons/situation_log/situation_log_tick.dds"
	remove_when_completed = yes

	event_scope = ship_event

	requirements = {
		shipclass_science_ship = 1
		leader = scientist
	}

	on_success = {
		ship_event = { id = extreme_frontiers.1540 }
	}
}
