﻿#axis of planet #https://gall.dcinside.com/mgallery/board/view/?id=stellaris&no=8272
ASP_site_axis_of_planet = {
	desc = "ASP_site_axis_of_planet_desc"
	picture = GFX_evt_ASP_site_axis_of_planet
	max_instances = 1
	stages = 5
	weight = {
		base = 0
		modifier = {
			add = 35
			aspmod_dig_site_default_spawn_rules = yes
			OR = {
				asp_is_barren = yes
				asp_is_barren_cold = yes
			}
		}
	}

	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_A1
		event = asp.36
	}
	stage = {
		difficulty = 3
		icon = GFX_archaeology_runes_A2
		event = asp.37
	}
	stage = {
		difficulty = 4
		icon = GFX_archaeology_runes_A3
		event = asp.38
	}
	stage = {
		difficulty = 5
		icon = GFX_archaeology_runes_A4
		event = asp.39
	}
	stage = {
		difficulty = 6
		icon = GFX_archaeology_runes_A5
		event = asp.40
	}

	on_roll_failed = {
		from = {
			standard_archaeological_site_on_roll_failed = { RANDOM_EVENTS = all_random_events }
		}
	}
}
#red tombworld #https://gall.dcinside.com/mgallery/board/view/?id=stellaris&no=7488
ASP_site_red_tombworld = {
	desc = "ASP_site_red_tombworld_desc"
	picture = GFX_evt_ASP_site_red_tombworld
	max_instances = 1
	stages = 5
	weight = {
		base = 0
		modifier = {
			add = 60
			asp_is_aquatic = yes
		}
	}
	allow = {
		exists = leader
		leader = {
			leader_class = scientist
			#신스 과학자나 인공지능 보조를 받는 과학자는 이 행성을 탐사하는 것이 불가능합니다.
			NOR = {
				has_trait = leader_trait_synthetic
				has_trait = leader_trait_custom_AI_assistant
				has_trait = leader_trait_sapient_AI_assistant
			}
		}
	}

	on_create = {
		root.planet = {
			# Preserve the story's distinct Red Ocean world as a real modern planet class,
			# not only a temporary entity override.
			change_pc = pc_asp_ocean_red
		}
	}

	visible = {
		aspmod_dig_site_visible_trigger = yes
	}

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

	stage = {
		difficulty = 3
		icon = GFX_archaeology_runes_B1
		event = asp.65
	}
	stage = {
		difficulty = 4
		icon = GFX_archaeology_runes_B2
		event = asp.66
	}
	stage = {
		difficulty = 5
		icon = GFX_archaeology_runes_B3
		event = asp.67
	}
	stage = {
		difficulty = 6
		icon = GFX_archaeology_runes_B4
		event = asp.68
	}
	stage = {
		difficulty = 7
		icon = GFX_archaeology_runes_B5
		event = asp.69
	}

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