﻿# Restored colony-age discovery route for When the World Sings.
# The event itself is a current carrier_event and gates itself against colony_event/suppress_archaeological_sites.
on_colony_2_years_old = {
	random_events = {
		6 = ASPmod.1 # When the World Sings
	}
}
on_colony_3_years_old = {
	random_events = {
		6 = ASPmod.1 # When the World Sings
	}
}
on_colony_4_years_old = {
	random_events = {
		6 = ASPmod.1 # When the World Sings
	}
}
on_colony_5_years_old = {
	random_events = {
		6 = ASPmod.1 # When the World Sings
	}
}

on_game_start = {
	events = {
		aspetc.1
		aspetc.2
		aspetc.3
	}
}
on_game_start_country = {
	events = {
		asp_game_start.2
	}
}
# Old saves do not fire on_game_start_country again; the country flag makes this yearly fallback one-shot.
on_yearly_pulse_country = {
	events = {
		asp_game_start.2
	}
}
on_destroy_planet_with_PLANET_KILLER_GEOCENTRIC_DEVICE = {
	events = {
		asprelic.1
		asprelic.2
	}
}
on_planet_occupied = {
	events = {
		asp.41
	}
}
on_planet_returned = {
	events = {
		asp.42
	}
}
on_colony_transfer = {
	events = {
		asp.43
	}
}
# From = system
# FromFrom = country (new owner)
# This = country (previous owner)
on_system_lost = {
	events = {
		asp_on_action.1
		asp_on_action.2
	}
}
on_system_gained = {
	events = {
		asp_on_action.3
	}
}
# The Observatory reward follows temporary wartime control as well as legal ownership.
on_system_controller_changed = {
	events = {
		asp_on_action.4
	}
}
# Annual repair is internally gated: inactive games pay only the cheap event trigger; active reward families self-retire after source loss.
on_yearly_pulse = {
	events = {
		asp_on_action.6
	}
}
