﻿# King of the Underground City — restored for Pegasus 4.4.6
ASP_site_king_of_underground_city = {
	desc = "ASP_site_king_of_underground_city_desc"
	picture = GFX_evt_ASP_site_king_of_underground_city
	max_instances = 1
	stages = 4
	weight = {
		base = 0
		modifier = {
			add = 70
			aspmod_dig_site_default_spawn_rules = yes
			is_planet_class = pc_desert
		}
	}

	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_E1 event = asp.54 }
	stage = { difficulty = 4 icon = GFX_archaeology_runes_E2 event = asp.55 }
	stage = { difficulty = 5 icon = GFX_archaeology_runes_E3 event = asp.56 }
	stage = { difficulty = 6 icon = GFX_archaeology_runes_E4 event = asp.57 }

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