special_project = {
	key = SHROUD_PHANON_RESEARCH
	cost = 10000000
	tech_department = physics_technology
	picture = GFX_evt_physics_research
	event_scope = country_event
	on_success = {
		country_event = {
			id = shroud_master.2
		}
	 }
}

special_project = {
	key = "SM_ARCHWAY_REPLACEMENTS"
	days_to_research = 1800
	tech_department = society_technology
	picture = GFX_evt_sm_theta_uprising 
	event_chain = shroud_master_soulsphere_retrofit
	event_scope = ship_event

	requirements = {
		shipclass_constructor = 1
		shipclass_science_ship = 1
	}
	
	on_success = {
		ship_event = { id = shroud_master_soulsphere.2 }
	}
	
	on_fail = {
	}
}

special_project = {
	key = "SM_HIST_ANALYSIS_A"
	days_to_research = 15
	tech_department = society_technology
	picture = GFX_evt_zro_3
	event_chain = shroud_master_summoning
	event_scope = country_event
	
	on_success = {
		every_playable_country = {
			every_planet_within_border = {
				if = {
					limit = { has_planet_flag = ralu_dig_site }
					owner = {
						save_global_event_target_as = sm_ralu_owner
					}
				}
			}
		}
		event_target:sm_ralu_owner = {
			country_event = { id = shroud_master.20001 }
		}
		set_country_flag = sm_response_pending
		country_event = {
			id = shroud_master.20011 days = 5
		}
	}
	
	on_fail = {
	}
}

special_project = {
	key = "SM_HIST_ANALYSIS_B"
	days_to_research = 15
	tech_department = society_technology
	picture = GFX_evt_zro_3
	event_chain = shroud_master_summoning
	event_scope = country_event
	
	on_success = {
		every_playable_country = {
			every_planet_within_border = {
				if = {
					limit = { has_planet_flag = sobrak_dig_site }
					owner = {
						save_global_event_target_as = sm_sobrak_owner
					}
				}
			}
		}
		event_target:sm_sobrak_owner = {
			country_event = { id = shroud_master.20002 }
		}
		set_country_flag = sm_response_pending
		country_event = {
			id = shroud_master.20021 days = 5
		}
	}
	
	on_fail = {
	}
}