﻿# When the World Sings — restored for Pegasus 4.4.6
site_ASP_when_the_world_sings = {
	desc = "site_ASP_when_the_world_sings_intro"
	picture = GFX_evt_ASP_samchigui_intro
	max_instances = 1
	stages = 4
	weight = 0 # Spawned from current colony-age on_actions.

	allow = {
		exists = leader
		leader = { leader_class = scientist }
	}

	visible = {
		aspmod_dig_site_visible_trigger = yes
	}

	on_visible = {
		country_event = { id = story.5 days = 30 }
	}

	stage = {
		difficulty = 3
		icon = GFX_archaeology_runes_A1
		event = ASPmod.2
	}
	stage = {
		difficulty = 4
		icon = GFX_archaeology_runes_A2
		event = ASPmod.3
	}
	stage = {
		difficulty = 5
		icon = GFX_archaeology_runes_A3
		event = ASPmod.4
	}
	stage = {
		difficulty = 6
		icon = GFX_archaeology_runes_A4
		event = ASPmod.5
	}

	on_roll_failed = {
		from = {
			standard_archaeological_site_on_roll_failed = { RANDOM_EVENTS = all_random_events }
		}
	}
}

# A bedroom planet #https://gall.dcinside.com/mgallery/board/view/?id=stellaris&no=8283
site_ASP_a_bedroom_planet = {
	desc = "site_ASP_a_bedroom_planet_intro"
	picture = GFX_evt_ASP_samchigui_fifth
	stages = 2
	weight = {
		base = 0
		modifier = {
			add = 50
			habitable_planet = yes
			has_anomaly = no
			NOT = { exists = archaeological_site }
			solar_system = {
				NOT = { any_system_planet = { exists = archaeological_site } }
			}
		}
	}
	allow = {
		exists = leader
		leader = { leader_class = scientist }
		owner = { is_ai = no }
	}
	visible = {
		aspmod_dig_site_visible_trigger = yes
	}

	on_visible = {
		country_event = { id = story.5 days = 30 }
	}

	stage = {
		difficulty = 2
		icon = GFX_archaeology_runes_B1
		event = ASPmod.10
	}

	stage = {
		difficulty = 3
		icon = GFX_archaeology_runes_B2
		event = ASPmod.11
	}

	on_roll_failed = {
		from = {
			standard_archaeological_site_on_roll_failed = { RANDOM_EVENTS = all_random_events }
		}
	}
}