special_project = {
	key = "INF_CRISIS_ENTROPY"
	cost = 25000
	days_to_research = 0
	tech_department = physics_technology
	picture = GFX_evt_ancient_databank
	icon = "gfx/interface/icons/situation_log/situation_log_main_quest.dds"
	event_scope = country_event
	event_chain = galactic_hyperthermia_chain
	on_success = {
		set_country_flag = Hyperthermia_Lv1_unlocked
		set_country_flag = red_giant_discovered_crystallized_entropy
		give_specimen = { # "Entropy Crystal Shard" Grand Archives Specimen.
			key = infernal_burning_gem
		}
	}
}

special_project = {
	key = "INF_CRISIS_ENTROPY_EVIL"
	cost = 25000
	days_to_research = 0
	tech_department = engineering_technology
	picture = GFX_evt_inf_entropy_conduit_in_space
	icon = "gfx/interface/icons/situation_log/situation_log_main_quest.dds"
	event_scope = country_event
	event_chain = galactic_hyperthermia_chain
	on_success = {
		set_country_flag = Hyperthermia_Lv4_project
		country_event = { id = infernals.1020 }
	}
}

special_project = {
	key = "INF_CRISIS_ENTROPY_GOOD"
	cost = 25000
	days_to_research = 0
	tech_department = physics_technology
	picture = GFX_evt_physics_research
	icon = "gfx/interface/icons/situation_log/situation_log_main_quest.dds"
	event_scope = country_event
	event_chain = galactic_hyperthermia_chain
	on_success = {
		set_country_flag = Hyperthermia_Peaceful
		country_event = { id = infernals.1021 }
	}
}

# ORIGIN - COSMIC DAWN

special_project = {
	key = "INF_ORIGIN_COSMIC_DAWN_DRILLING"
	cost = 0
	days_to_research = 1080
	tech_department = physics_technology
	picture = GFX_evt_inf_planetary_crust_drilling
	icon = "gfx/interface/icons/situation_log/situation_log_main_quest.dds"

	event_scope = ship_event
	requirements = { shipclass_constructor = 1 }

	on_success = {
		owner = { country_event = { id = infernals.2505 } }
	}
}

special_project = {
	key = "INF_ORIGIN_COSMIC_DAWN_STORM"
	cost = 0
	days_to_research = 90
	tech_department = physics_technology
	picture = GFX_evt_archaeologists_escaping
	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 = infernals.2545 }
		}
	}
}

special_project = {
	key = "INF_ORIGIN_COSMIC_DAWN_BRIBE"
	cost = 1000
	days_to_research = 0
	tech_department = society_technology
	picture = GFX_evt_dark_alley
	icon = "gfx/interface/icons/situation_log/situation_log_main_quest.dds"

	event_scope = country_event

	on_success = {
		country_event = { id = infernals.2550 }
	}
}

# ORIGIN - RED GIANT

special_project = {
	key = "INF_ORIGIN_RED_GIANT_TRIANGULATION"
	event_chain = "red_giant_event_chain"
	cost = 0
	days_to_research = 120
	location = yes
	tech_department = physics_technology
	picture = GFX_evt_cosmic_storms_solar_storm
	icon = "gfx/interface/icons/situation_log/situation_log_main_quest.dds"

	event_scope = ship_event

	requirements = {
		shipclass_science_ship = 1
		leader = scientist
	}
	on_success = {
		ship_event = { id = infernals.100 }
	}
	abort_trigger = {
		owner = {
			OR = {
				has_country_flag = lusus_contact_completed
				has_country_flag = red_giant_triangulated
			}
		}
	}
}
special_project = {
	key = "INF_ORIGIN_RED_GIANT_PROTECT_HOMEWORLD"
	cost = 500
	days_to_research = 0
	tech_department = engineering_technology
	picture = GFX_evt_resource_cache
	icon = "gfx/interface/icons/situation_log/situation_log_main_quest.dds"

	event_scope = country_event
	event_chain = red_giant_event_chain

	on_success = {
		country_event = { id = infernals.2105 }
	}
}
special_project = {
	key = "INF_ORIGIN_RED_GIANT_EXPLOIT"
	cost = 500
	days_to_research = 0
	tech_department = physics_technology
	picture = GFX_evt_generator_powerup
	icon = "gfx/interface/icons/situation_log/situation_log_main_quest.dds"

	event_scope = country_event
	event_chain = red_giant_event_chain

	on_success = {
		country_event = { id = infernals.2110 }
	}
}
special_project = {
	key = "INF_ORIGIN_RED_GIANT_BOARD_STATION"
	picture = GFX_evt_derelict_interior
	icon = "gfx/interface/icons/situation_log/situation_log_main_quest.dds"
	cost = 0
	days_to_research = 30
	tech_department = engineering_technology

	event_scope = ship_event
	event_chain = red_giant_event_chain

	requirements = {
		shipclass_transport = 1
	}

	on_success = {
		ship_event = { id = infernals.2115 }
		owner = {
			set_country_flag = lusus_contact_completed
			set_country_flag = lusus_contact_board_station
		}
	}
	abort_trigger = {
		owner = {
			has_country_flag = lusus_contact_parlay
		}
	}
}
special_project = {
	key = "INF_ORIGIN_RED_GIANT_PARLAY"
	picture = GFX_evt_decryption
	icon = "gfx/interface/icons/situation_log/situation_log_main_quest.dds"
	cost = 0
	days_to_research = 120
	tech_department = engineering_technology

	event_scope = ship_event
	event_chain = red_giant_event_chain

	requirements = {
		shipclass_science_ship = 1
		leader = scientist
	}
	on_success = {
		ship_event = { id = infernals.2125 }
		owner = {
			set_country_flag = lusus_contact_completed
			set_country_flag = lusus_contact_parlay
		}
	}
	abort_trigger = {
		owner = {
			has_country_flag = lusus_contact_board_station
		}
	}
}

special_project = {
	key = "INF_THERMOPHILE_ADAPTATION"
	picture = GFX_evt_decryption
	icon = "gfx/interface/icons/situation_log/situation_log_main_quest.dds"
	cost = 2500
	days_to_research = 0
	tech_department = society_technology

	event_scope = country_event

	on_success = {
		country_event = { id = infernals.1007 }
	}
}
