# Investigate Technosphere's black hole
special_project = {
	key = "TECHNOSPHERE_BLACKHOLE"
	cost = 0
	days_to_research = 1800
	tech_department = engineering_technology
	picture = GFX_evt_technosphere
	event_scope = ship_event

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

	on_success = {
		leader = {
			if = {
				limit = { has_base_skill < 6 }
				owner = {
					random_list = {
						50 = {
							country_event = { id = leviathans.1061 } #succeeds
						}
						25 = {
							country_event = { id = leviathans.1062 } #fails
						}
						25 = {
							prev = {
								save_global_event_target_as = sots_infinity_scientist
							}
							set_country_flag = technosphere_special
							country_event = { id = leviathans.1062 } #secret awesome stuff
						}
					}
				}
			}
			else_if = {
				limit = { has_base_skill = 6 }
				owner = {
					random_list = {
						50 = {
							country_event = { id = leviathans.1061 } #succeeds
						}
						15 = {
							country_event = { id = leviathans.1062 } #fails
						}
						35 = {
							prev = {
								save_global_event_target_as = sots_infinity_scientist
							}
							set_country_flag = technosphere_special
							country_event = { id = leviathans.1062 } #secret awesome stuff
						}
					}
				}
			}
			else_if = {
				limit = { has_base_skill = 7 }
				owner = {
					random_list = {
						50 = {
							country_event = { id = leviathans.1061 } #succeeds
						}
						5 = {
							country_event = { id = leviathans.1062 } #fails
						}
						45 = {
							prev = {
								save_global_event_target_as = sots_infinity_scientist
							}
							set_country_flag = technosphere_special
							country_event = { id = leviathans.1062 } #secret awesome stuff
						}
					}
				}
			}
			else_if = {
				limit = { has_base_skill = 8 }
				owner = {
					random_list = {
						40 = {
							country_event = { id = leviathans.1061 } #succeeds
						}
						60 = {
							prev = {
								save_global_event_target_as = sots_infinity_scientist
							}
							set_country_flag = technosphere_special
							country_event = { id = leviathans.1062 } #secret awesome stuff
						}
					}
				}
			}
			else_if = {
				limit = { has_base_skill = 9 }
				owner = {
					random_list = {
						20 = {
							country_event = { id = leviathans.1061 } #succeeds
						}
						80 = {
							prev = {
								save_global_event_target_as = sots_infinity_scientist
							}
							set_country_flag = technosphere_special
							country_event = { id = leviathans.1062 } #secret awesome stuff
						}
					}
				}
			}
			else_if = {
				limit = { has_base_skill >= 10 }
				owner = {
					prev = {
						save_global_event_target_as = sots_infinity_scientist
					}
					set_country_flag = technosphere_special
					country_event = { id = leviathans.1062 } #secret awesome stuff
				}
			}
		}
	}
}