# Vanilla scripted triggers from 02_scripted_triggers_enclaves.txt

fleet_can_be_scrapped = {
	owner = { is_same_value = root }
	is_cloaked = no
	OR = {
		is_ship_class = shipclass_science_ship
		is_ship_class = shipclass_military
		is_ship_class = shipclass_colonizer
		is_ship_class = shipclass_constructor
	}
	NOR = {
		merg_is_special_ship = yes
		# Gigastructural Engineering & More
		inline_script = {
			script = merger_of_rules/toggled_code
			code = "
				giga_is_vat_leviathan = yes
				giga_is_unscrappable = yes
			"
			toggle = @has_gigastructures
		}
		# Voyage to Eternity
		inline_script = {
			script = merger_of_rules/toggled_code
			code = "
				is_ship_size = KZ_VOY_battlestar
				is_ship_size = KZ_VOY_holo_training_ship
				is_ship_size = KZ_VOY_planet_killer_prototype
			"
			toggle = @vte_mod
		}
	}
}
