
pre_ftl_remains_site = {
	picture = GFX_evt_tomb_world
	desc = pre_ftl_remains_site_desc
	situation_log_category = empire_concerns

	max_instances = 1
	weight = 0
	stages = 5
	potential = {
		controller = {
			has_origin = origin_unplugged
		}
	}
	allow = {
		is_ship_class = shipclass_science_ship
		exists = leader
	}
	visible = {
		default_site_visible_trigger = yes
		has_origin = origin_unplugged
	}
	on_roll_failed = {
		from = {
			standard_archaeological_site_on_roll_failed = { RANDOM_EVENTS = no_events }
		}
	}
	stage = {
		difficulty = 1
		icon = GFX_archaeology_runes_A1
		event = unplugged.3300
	}
	stage = {
		difficulty = 1
		icon = GFX_archaeology_runes_A2
		event = unplugged.3305
	}
	stage = {
		difficulty = 1
		icon = GFX_archaeology_runes_A3
		event = unplugged.3310
	}
	stage = {
		difficulty = 2
		icon = GFX_archaeology_runes_A4
		event = unplugged.3315
	}
	stage = {
		difficulty = 2
		icon = GFX_archaeology_runes_A5
		event = unplugged.3320
	}
}

machine_legacy_makers_site = {
	picture = GFX_evt_tomb_world
	desc = machine_legacy_makers_site_desc
	situation_log_category = empire_concerns

	max_instances = 1
	weight = 0
	stages = 3
	potential = {
		controller = {
			has_origin = origin_unplugged
		}
	}
	allow = {
		is_ship_class = shipclass_science_ship
		exists = leader
		hidden_trigger = {
			owner = {
				has_country_flag = unplugged_visible_site_@from.planet
			}
		}
	}
	visible = {
		has_country_flag = unplugged_visible_site_@from.planet
		default_site_visible_trigger = yes
	}
	on_roll_failed = {
		from = {
			standard_archaeological_site_on_roll_failed = { RANDOM_EVENTS = no_events }
		}
	}
	stage = {
		difficulty = 3
		icon = GFX_archaeology_runes_A1
		event = unplugged.2010
	}
	stage = {
		difficulty = 3
		icon = GFX_archaeology_runes_A2
		event = unplugged.2015
	}
	stage = {
		difficulty = 3
		icon = GFX_archaeology_runes_A3
		event = unplugged.2020
	}
}

machine_legacy_taken_site = {
	picture = GFX_evt_tomb_world
	desc = machine_legacy_makers_site_desc
	situation_log_category = empire_concerns
	max_instances = 1
	weight = 0
	stages = 4
	potential = {
		controller = {
			has_origin = origin_unplugged
		}
	}
	allow = {
		is_ship_class = shipclass_science_ship
		exists = leader
		hidden_trigger = {
			owner = {
				has_country_flag = unplugged_visible_site_@from.planet
			}
		}
	}
	visible = {
		has_country_flag = unplugged_visible_site_@from.planet
		default_site_visible_trigger = yes
	}
	on_roll_failed = {
		from = {
			standard_archaeological_site_on_roll_failed = { RANDOM_EVENTS = no_events }
		}
	}
	stage = {
		difficulty = 4
		icon = GFX_archaeology_runes_A1
		event = unplugged.2110
	}
	stage = {
		difficulty = 4
		icon = GFX_archaeology_runes_A2
		event = unplugged.2115
	}
	stage = {
		difficulty = 5
		icon = GFX_archaeology_runes_A3
		event = unplugged.2120
	}
	stage = {
		difficulty = 5
		icon = GFX_archaeology_runes_A3
		event = unplugged.2130
	}
}

machine_legacy_creators_site = {
	picture = GFX_evt_tomb_world
	desc = machine_legacy_creators_site_desc
	situation_log_category = empire_concerns
	max_instances = 1
	weight = 0
	stages = 2
	potential = {
		controller = {
			has_origin = origin_unplugged
		}
	}
	allow = {
		is_ship_class = shipclass_science_ship
		exists = leader
		hidden_trigger = {
			owner = {
				has_country_flag = unplugged_visible_site_@from.planet
			}
		}
	}
	visible = {
		has_country_flag = unplugged_visible_site_@from.planet
		default_site_visible_trigger = yes
	}
	on_roll_failed = {
		from = {
			standard_archaeological_site_on_roll_failed = { RANDOM_EVENTS = no_events }
		}
	}

	stage = {
		difficulty = 6
		icon = GFX_archaeology_runes_A1
		event = unplugged.2210
	}
	stage = {
		difficulty = 7
		icon = GFX_archaeology_runes_A2
		event = unplugged.2215
	}

}

machine_legacy_unplugged_site = {
	picture = GFX_evt_tomb_world
	desc = machine_legacy_creators_site_desc
	situation_log_category = empire_concerns
	max_instances = 1
	weight = 0
	stages = 4
	potential = {
		controller = {
			has_origin = origin_unplugged
		}
	}
	allow = {
		is_ship_class = shipclass_science_ship
		exists = leader
		hidden_trigger = {
			owner = {
				has_country_flag = unplugged_visible_site_@from.planet
			}
		}
	}
	visible = {
		has_country_flag = unplugged_visible_site_@from.planet
		default_site_visible_trigger = yes
	}
	on_roll_failed = {
		from = {
			standard_archaeological_site_on_roll_failed = { RANDOM_EVENTS = no_events }
		}
	}
	stage = {
		difficulty = 3
		icon = GFX_archaeology_runes_A1
		event = unplugged.2310
	}
	stage = {
		difficulty = 4
		icon = GFX_archaeology_runes_A2
		event = unplugged.2315
	}
	stage = {
		difficulty = 5
		icon = GFX_archaeology_runes_A3
		event = unplugged.2320
	}
	stage = {
		difficulty = 5
		icon = GFX_archaeology_runes_A4
		event = unplugged.2330
	}
}
