#############################
### Fallen Machine Empire ###
#############################

# Planet Destroyer
ship_design = {
	name = "NAME_Gray_Omega"
	ship_size = colossus
	section = {
		template = "SHIP_COLOSSUS_SECTION"
		slot = "ship"

		component = {
			slot = "PLANET_KILLER_GUN_01"
			template = "RG_PLANET_KILLER"
		}
		component = {
			slot = "LARGE_UTILITY_1"
			template = "LARGE_GRAY_MIX_ARMOR"
		}
		component = {
			slot = "LARGE_UTILITY_2"
			template = "LARGE_GRAY_MIX_ARMOR"
		}
		component = {
			slot = "LARGE_UTILITY_3"
			template = "LARGE_GRAY_MIX_ARMOR"
		}
		component = {
			slot = "LARGE_UTILITY_4"
			template = "LARGE_GRAY_MIX_ARMOR"
		}
		component = {
			slot = "LARGE_UTILITY_5"
			template = "LARGE_GRAY_MIX_ARMOR"
		}
		component = {
			slot = "LARGE_UTILITY_6"
			template = "LARGE_GRAY_MIX_ARMOR"
		}
	}
	required_component="SENSOR_4"
	required_component="JUMP_DRIVE_1"
	required_component="COLOSSUS_DARK_MATTER_REACTOR"
	required_component="COLOSSUS_SHIP_THRUSTER_5"

	# For special buildable
	is_special_buildable = yes
	allow_buildable_trigger = is_fallen_empire_machine
}

# Massive Ship
ship_design = {
	name = "NAME_Gray_Alpha"
	ship_size = massive_ship_fallen_empire
	section = {
		template = "fallen_empire_massive_warship_key"
		slot = "mid"

		component = {
			slot = "TITANIC_01"
			template = "GRAY_BEAM_STATIC_EX"
		}
		component = {
			slot = "STRIKE_CRAFT_01"
			template = "RG_FIGHTER_HANGAR_BEAM"
		}
		component = {
			slot = "STRIKE_CRAFT_02"
			template = "RG_FIGHTER_HANGAR_BEAM"
		}
		component = {
			slot = "STRIKE_CRAFT_03"
			template = "RG_FIGHTER_HANGAR_BEAM"
		}
		component = {
			slot = "STRIKE_CRAFT_04"
			template = "RG_FIGHTER_HANGAR_BEAM"
		}
		component = {
			slot = "LARGE_GUN_01"
			template = "LARGE_GRAY_WEAPON_LANCE"
		}
		component = {
			slot = "LARGE_GUN_02"
			template = "LARGE_GRAY_WEAPON_LANCE"
		}
		component = {
			slot = "LARGE_GUN_03"
			template = "LARGE_GRAY_WEAPON_LANCE"
		}
		component = {
			slot = "LARGE_GUN_04"
			template = "LARGE_GRAY_WEAPON_LANCE"
		}
		component = {
			slot = "LARGE_GUN_05"
			template = "LARGE_GRAY_WEAPON_LANCE"
		}
		component = {
			slot = "LARGE_GUN_06"
			template = "LARGE_GRAY_WEAPON_LANCE"
		}
		component = {
			slot = "LARGE_GUN_07"
			template = "LARGE_GRAY_WEAPON_LANCE"
		}
		component = {
			slot = "LARGE_GUN_08"
			template = "LARGE_GRAY_WEAPON_LANCE"
		}
		component = {
			slot = "MEDIUM_GUN_01"
			template = "MEDIUM_GRAY_WEAPON_LANCE"
		}
		component = {
			slot = "MEDIUM_GUN_02"
			template = "MEDIUM_GRAY_WEAPON_LANCE"
		}
		component = {
			slot = "MEDIUM_GUN_03"
			template = "MEDIUM_GRAY_WEAPON_LANCE"
		}
		component = {
			slot = "MEDIUM_GUN_04"
			template = "MEDIUM_GRAY_WEAPON_LANCE"
		}
		component = {
			slot = "LARGE_UTILITY_1"
			template = "LARGE_GRAY_MIX_ARMOR"
		}
		component = {
			slot = "LARGE_UTILITY_2"
			template = "LARGE_GRAY_MIX_ARMOR"
		}
		component = {
			slot = "LARGE_UTILITY_3"
			template = "LARGE_GRAY_MIX_ARMOR"
		}
		component = {
			slot = "LARGE_UTILITY_4"
			template = "LARGE_GRAY_MIX_ARMOR"
		}
		component = {
			slot = "LARGE_UTILITY_5"
			template = "LARGE_GRAY_MIX_ARMOR"
		}
		component = {
			slot = "LARGE_UTILITY_6"
			template = "LARGE_GRAY_MIX_ARMOR"
		}
		component = {
			slot = "LARGE_UTILITY_7"
			template = "LARGE_GRAY_MIX_ARMOR"
		}
		component = {
			slot = "LARGE_UTILITY_8"
			template = "LARGE_GRAY_MIX_ARMOR"
		}
		component = {
			slot = "LARGE_UTILITY_9"
			template = "LARGE_GRAY_MIX_ARMOR"
		}
		component = {
			slot = "LARGE_UTILITY_10"
			template = "LARGE_GRAY_MIX_ARMOR"
		}
		component = {
			slot = "LARGE_UTILITY_11"
			template = "LARGE_GRAY_MIX_ARMOR"
		}
		component = {
			slot = "LARGE_UTILITY_12"
			template = "LARGE_GRAY_MIX_ARMOR"
		}
		component = {
			slot = "LARGE_UTILITY_13"
			template = "LARGE_GRAY_MIX_ARMOR"
		}
		component = {
			slot = "LARGE_UTILITY_14"
			template = "LARGE_GRAY_MIX_ARMOR"
		}
		component = {
			slot = "LARGE_UTILITY_15"
			template = "LARGE_GRAY_MIX_ARMOR"
		}
		component = {
			slot = "LARGE_UTILITY_16"
			template = "LARGE_GRAY_MIX_ARMOR"
		}
		component = {
			slot = "LARGE_UTILITY_17"
			template = "LARGE_GRAY_MIX_ARMOR"
		}
		component = {
			slot = "LARGE_UTILITY_18"
			template = "LARGE_GRAY_MIX_ARMOR"
		}
		component = {
			slot = "LARGE_UTILITY_19"
			template = "LARGE_GRAY_MIX_ARMOR"
		}
		component = {
			slot = "LARGE_UTILITY_20"
			template = "LARGE_GRAY_MIX_ARMOR"
		}
		component = {
			slot = "AUX_UTILITY_1"
			template = "SHIELD_BOOSTER"
		}
		component = {
			slot = "AUX_UTILITY_2"
			template = "SHIELD_BOOSTER"
		}
		component = {
			slot = "AUX_UTILITY_3"
			template = "SHIELD_BOOSTER"
		}
	}
	required_component="SENSOR_4"
	required_component="JUMP_DRIVE_1"
	required_component="COMBAT_COMPUTER_ARTILLERY_SAPIENT"
	required_component="TITAN_DARK_MATTER_REACTOR"
	required_component="TITAN_SHIP_THRUSTER_5"

	# For special buildable
	is_special_buildable = yes
	allow_buildable_trigger = is_fallen_empire_machine
}

# Large Ship
ship_design = {
	name = "NAME_Gray_Beta"
	ship_size = large_ship_fallen_empire
	section = {
		template = "fallen_empire_large_warship_key"
		slot = "mid"

		component = {
			slot = "STRIKE_CRAFT_01"
			template = "RG_FIGHTER_HANGAR_BEAM"
		}
		component = {
			slot = "STRIKE_CRAFT_02"
			template = "RG_FIGHTER_HANGAR_BEAM"
		}
		component = {
			slot = "EXTRA_LARGE_01"
			template = "GRAY_BEAM_STATIC_X"
		}
		component = {
			slot = "LARGE_GUN_01"
			template = "LARGE_GRAY_WEAPON_LANCE"
		}
		component = {
			slot = "LARGE_GUN_02"
			template = "LARGE_GRAY_WEAPON_LANCE"
		}
		component = {
			slot = "MEDIUM_GUN_01"
			template = "MEDIUM_GRAY_WEAPON_LANCE"
		}
		component = {
			slot = "MEDIUM_GUN_02"
			template = "MEDIUM_GRAY_WEAPON_LANCE"
		}
		component = {
			slot = "MEDIUM_GUN_03"
			template = "MEDIUM_GRAY_WEAPON_LANCE"
		}
		component = {
			slot = "MEDIUM_GUN_04"
			template = "MEDIUM_GRAY_WEAPON_LANCE"
		}
		component = {
			slot = "LARGE_UTILITY_1"
			template = "LARGE_GRAY_MIX_ARMOR"
		}
		component = {
			slot = "LARGE_UTILITY_2"
			template = "LARGE_GRAY_MIX_ARMOR"
		}
		component = {
			slot = "LARGE_UTILITY_3"
			template = "LARGE_GRAY_MIX_ARMOR"
		}
		component = {
			slot = "LARGE_UTILITY_4"
			template = "LARGE_GRAY_MIX_ARMOR"
		}
		component = {
			slot = "LARGE_UTILITY_5"
			template = "LARGE_GRAY_MIX_ARMOR"
		}
		component = {
			slot = "LARGE_UTILITY_6"
			template = "LARGE_GRAY_MIX_ARMOR"
		}
		component = {
			slot = "LARGE_UTILITY_7"
			template = "LARGE_GRAY_MIX_ARMOR"
		}
		component = {
			slot = "LARGE_UTILITY_8"
			template = "LARGE_GRAY_MIX_ARMOR"
		}
		component = {
			slot = "AUX_UTILITY_1"
			template = "SHIELD_BOOSTER"
		}
		component = {
			slot = "AUX_UTILITY_2"
			template = "SHIELD_BOOSTER"
		}
	}
	required_component="SENSOR_4"
	required_component="JUMP_DRIVE_1"
	required_component="COMBAT_COMPUTER_LINE_SAPIENT"
	required_component="BATTLESHIP_DARK_MATTER_REACTOR"
	required_component="BATTLESHIP_SHIP_THRUSTER_5"

	# For special buildable
	is_special_buildable = yes
	allow_buildable_trigger = is_fallen_empire_machine
}

# Small Ship
ship_design = {
	name = "NAME_Gray_Gamma"
	ship_size = small_ship_fallen_empire
	section = {
		template = "fallen_empire_warship_small_key"
		slot = "mid"

		component = {
			slot = "LARGE_GUN_01"
			template = "LARGE_GRAY_WEAPON_LANCE"
		}
		component = {
			slot = "SMALL_GUN_01"
			template = "SMALL_GRAY_WEAPON_LANCE"
		}
		component = {
			slot = "SMALL_GUN_02"
			template = "SMALL_GRAY_WEAPON_LANCE"
		}
		component = {
			slot = "SMALL_GUN_03"
			template = "SMALL_GRAY_WEAPON_LANCE"
		}
		component = {
			slot = "SMALL_GUN_04"
			template = "SMALL_GRAY_WEAPON_LANCE"
		}
		component = {
			slot = "PD_01"
			template = "RG_FLAK_BATTERY"
		}
		component = {
			slot = "PD_02"
			template = "RG_FLAK_BATTERY"
		}
		component = {
			slot = "PD_03"
			template = "RG_FLAK_BATTERY"
		}
		component = {
			slot = "PD_04"
			template = "RG_FLAK_BATTERY"
		}
		component = {
			slot = "MEDIUM_UTILITY_1"
			template = "LARGE_GRAY_MIX_ARMOR"
		}
		component = {
			slot = "MEDIUM_UTILITY_2"
			template = "LARGE_GRAY_MIX_ARMOR"
		}
		component = {
			slot = "MEDIUM_UTILITY_3"
			template = "LARGE_GRAY_MIX_ARMOR"
		}
		component = {
			slot = "MEDIUM_UTILITY_4"
			template = "LARGE_GRAY_MIX_ARMOR"
		}
		component = {
			slot = "MEDIUM_UTILITY_5"
			template = "LARGE_GRAY_MIX_ARMOR"
		}
		component = {
			slot = "MEDIUM_UTILITY_6"
			template = "LARGE_GRAY_MIX_ARMOR"
		}
		component = {
			slot = "AUX_UTILITY_1"
			template = "SHIELD_BOOSTER"
		}
	}
	required_component="SENSOR_4"
	required_component="JUMP_DRIVE_1"
	required_component="COMBAT_COMPUTER_PICKET_SAPIENT"
	required_component="DESTROYER_DARK_MATTER_REACTOR"
	required_component="DESTROYER_SHIP_THRUSTER_5"

	# For special buildable
	is_special_buildable = yes
	allow_buildable_trigger = is_fallen_empire_machine
}

# Defense Platform
ship_design = {
	name = "NAME_Gray_Sigma"
	ship_size = military_station_small_fallen_empire
	section = {
		template = "fallen_empire_station_small_key"
		slot = "mid"

		component = {
			slot = "LARGE_GUN_01"
			template = "LARGE_GRAY_WEAPON_LANCE"
		}
		component = {
			slot = "LARGE_GUN_02"
			template = "LARGE_GRAY_WEAPON_LANCE"
		}
		component = {
			slot = "MEDIUM_GUN_01"
			template = "MEDIUM_GRAY_WEAPON_LANCE"
		}
		component = {
			slot = "MEDIUM_GUN_02"
			template = "MEDIUM_GRAY_WEAPON_LANCE"
		}
		component = {
			slot = "MEDIUM_GUN_03"
			template = "MEDIUM_GRAY_WEAPON_LANCE"
		}
		component = {
			slot = "MEDIUM_GUN_04"
			template = "MEDIUM_GRAY_WEAPON_LANCE"
		}
		component = {
			slot = "MEDIUM_GUN_05"
			template = "MEDIUM_GRAY_WEAPON_LANCE"
		}
		component = {
			slot = "PD_01"
			template = "RG_FLAK_BATTERY"
		}
		component = {
			slot = "PD_02"
			template = "RG_FLAK_BATTERY"
		}
		component = {
			slot = "LARGE_UTILITY_1"
			template = "LARGE_GRAY_MIX_ARMOR"
		}
		component = {
			slot = "LARGE_UTILITY_2"
			template = "LARGE_GRAY_MIX_ARMOR"
		}
		component = {
			slot = "LARGE_UTILITY_3"
			template = "LARGE_GRAY_MIX_ARMOR"
		}
		component = {
			slot = "LARGE_UTILITY_4"
			template = "LARGE_GRAY_MIX_ARMOR"
		}
		component = {
			slot = "LARGE_UTILITY_5"
			template = "LARGE_GRAY_MIX_ARMOR"
		}
		component = {
			slot = "LARGE_UTILITY_6"
			template = "LARGE_GRAY_MIX_ARMOR"
		}
		component = {
			slot = "AUX_UTILITY_1"
			template = "SHIELD_BOOSTER"
		}
		component = {
			slot = "AUX_UTILITY_2"
			template = "SHIELD_BOOSTER"
		}
	}
	required_component="SENSOR_4"
	required_component="COMBAT_COMPUTER_PLATFORM_SAPIENT"
	required_component="PLATFORM_DARK_MATTER_REACTOR"

	# For special buildable
	is_special_buildable = yes
	allow_buildable_trigger = is_fallen_empire_machine
}

# Construction Ship
ship_design = {
	name = "NAME_Gray_Theta"
	ship_size = constructor
	section = {
		template = "DEFAULT_CONSTRUCTION_SECTION"
		slot = "mid"

		component = {
			slot = "SMALL_UTILITY_1"
			template = "LARGE_GRAY_MIX_ARMOR"
		}
		component = {
			slot = "SMALL_UTILITY_2"
			template = "LARGE_GRAY_MIX_ARMOR"
		}
	}
	required_component="JUMP_DRIVE_1"
	required_component="SHIP_THRUSTER_5"
	required_component="SENSOR_4"
	required_component="CORVETTE_DARK_MATTER_REACTOR"

	# For special buildable
	is_special_buildable = yes
	allow_buildable_trigger = is_fallen_empire_machine
}


# Colony Ship
ship_design = {
	name = "NAME_Gray_Tau"
	ship_size = colonizer
	section = {
		template = "DEFAULT_COLONIZATION_SECTION"
		slot = "mid"

		component = {
			slot = "SMALL_UTILITY_1"
			template = "LARGE_GRAY_MIX_ARMOR"
		}
		component = {
			slot = "SMALL_UTILITY_2"
			template = "LARGE_GRAY_MIX_ARMOR"
		}
		component = {
			slot = "SMALL_UTILITY_3"
			template = "LARGE_GRAY_MIX_ARMOR"
		}
	}
	required_component="JUMP_DRIVE_1"
	required_component="SHIP_THRUSTER_5"
	required_component="SENSOR_4"
	required_component="CORVETTE_DARK_MATTER_REACTOR"

	# For special buildable
	is_special_buildable = yes
	allow_buildable_trigger = is_fallen_empire_machine
}

# Awakened Fallen Empire Starbase
ship_design = {
	name = "NAME_Gray_FE_Starbase"
	ship_size = starbase_fe_outpost
	section = {
		template = "station_generic_01_key"
		slot = "mid"

		component = {
			slot = "SMALL_GUN_01"
			template = "SMALL_GRAY_WEAPON_LANCE"
		}
		component = {
			slot = "SMALL_GUN_02"
			template = "SMALL_GRAY_WEAPON_LANCE"
		}
		component = {
			slot = "SMALL_GUN_03"
			template = "SMALL_GRAY_WEAPON_LANCE"
		}
		component = {
			slot = "MEDIUM_GUN_01"
			template = "MEDIUM_GRAY_WEAPON_LANCE"
		}
		component = {
			slot = "MEDIUM_GUN_02"
			template = "MEDIUM_GRAY_WEAPON_LANCE"
		}
		component = {
			slot = "LARGE_GUN_01"
			template = "LARGE_GRAY_WEAPON_LANCE"
		}
	}
	required_component="SENSOR_2"
}