﻿# RC3F: inert compatibility aliases for currently self-spawning MEM-bundled ASP sites.

# MEM alias -> modern ASP owner: site_ASP_a_bedroom_planet
mem_asp_bedroom_planet_site = {
	desc = "site_ASP_a_bedroom_planet_intro"
	picture = GFX_evt_ASP_samchigui_fifth
	stages = 2
	weight = {
		base = 0
	}
	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 }
		}
	}
}


# MEM 2.20.0 still gives this bundled ASP site a +35 random-spawn weight.
# Disable new MEM copies while letting an old MEM save finish the site through
# the modern standalone ASP event chain.
mem_asp_axis_of_planet_site = {
	desc = "ASP_site_axis_of_planet_desc"
	picture = GFX_evt_ASP_site_axis_of_planet
	max_instances = 1
	stages = 5
	weight = { base = 0 }

	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 }
		}
	}
}
