elec_focus = {
	graphical_culture = yes
	formation_priority = 4
	max_speed = 80
	acceleration = 0.2
	rotation_speed = 0.15
	collision_radius = 4
	max_hitpoints = 30000
	modifier = {
		ship_evasion_add = 2
	}
	size_multiplier = 32
	fleet_slot_size = 32
	section_slots = { "ship" = { locator = "frame_ship" } }
	num_target_locators = 4
	is_space_station = no
	icon = ship_size_military_32
	base_buildtime = 3600
	can_have_federation_design = no
	enable_default_design = yes
	enable_3dview_in_ship_browser = no
	components_add_to_cost = no
	prerequisites = { "tech_elec_centrifugal" }
	class = shipclass_military_special
	construction_type = starbase_shipyard
	required_component_set = "power_core"
	required_component_set = "ftl_components"
	required_component_set = "thruster_components"
	required_component_set = "combat_computers"
	potential_construction = {
		OR = {
			is_scope_type = starbase
			AND = {
				is_scope_type = megastructure
				OR = {
					is_megastructure_type = mega_shipyard_3
					is_megastructure_type = mega_shipyard_restored
				}
			}
		}
	}
	possible_construction = {
		custom_tooltip = {
			fail_text = starbase_citadel_trigger
			OR = {
				AND = {
					is_scope_type = megastructure
					OR = {
						is_megastructure_type = mega_shipyard_3
						is_megastructure_type = mega_shipyard_restored
					}
				}
				AND = {
					is_scope_type = starbase
					has_starbase_size >= starbase_citadel
				}
			}
		}
	}
	resources = {
		category = ships
		cost = { alloys = 5000 energy = 5000 }
		upkeep = { energy = 100 }
	}
}

# FallenEmpire

# Fallen Empire Massive Ship
elec_massive_ship_fallen_empire = {
	formation_priority = 1
	#entity = titan_entity
	graphical_culture = { "fallen_empire_01" "elec_exd_01" }
	max_speed = 100
	acceleration = 0.15
	rotation_speed = 0.1
	collision_radius = 12
	modifier = {
		ship_evasion_add = 2
		ship_hull_regen_add_perc = 0.1
		ship_armor_regen_add_perc = 0.1
	}
	max_hitpoints = @titan_hp
	size_multiplier = 32
	fleet_slot_size = 16
	section_slots = { "mid" = { locator = "part1" } }
	num_target_locators = 0
	is_space_station = no
	icon = ship_size_military_32
	combat_disengage_chance = 0.5
	resources = {
		category = ships
		cost = { alloys = 10000 }
	}
	base_buildtime = 1800
	use_shipnames_from = titan
	class = shipclass_military
	construction_type = starbase_shipyard
	is_designable = no
	potential_country = {
		is_fallen_empire = yes
		has_country_flag = electroid_fe_country
	}
	ai_ship_data = {
		min = 1
		max = 2
		planet_mult = 0.1
	}
}

# The Vanilla ships didnt work with the graphical_culture elec_exd_01.
elec_large_ship_fallen_empire = {
	formation_priority = 5
	graphical_culture = { "fallen_empire_01" "elec_exd_01" }
	max_speed = 100
	acceleration = 0.2
	rotation_speed = 0.15
	collision_radius = 6
	modifier = {
		ship_evasion_add = 10
		ship_hull_regen_add_perc = 0.1
		ship_armor_regen_add_perc = 0.1
	}
	max_hitpoints = @battleship_hp
	size_multiplier = 8
	fleet_slot_size = 4
	section_slots = { "mid" = { locator = "part1" } }
	num_target_locators = 0
	is_space_station = no
	icon = ship_size_military_8
	combat_disengage_chance = 1.0
	resources = {
		category = ships
		cost = { alloys = 2000 }
	}
	base_buildtime = 600
	use_shipnames_from = battleship
	class = shipclass_military
	construction_type = starbase_shipyard
	is_designable = no
	potential_country = {
		is_fallen_empire = yes
		has_country_flag = electroid_fe_country
	}
	ai_ship_data = { fraction = 1 }
}

elec_small_ship_fallen_empire = {
	formation_priority = 2
	graphical_culture = { "fallen_empire_01" "elec_exd_01" }
	max_speed = 140
	acceleration = 0.3
	rotation_speed = 0.2
	collision_radius = 2.5
	modifier = {
		ship_evasion_add = 35
		ship_hull_regen_add_perc = 0.1
		ship_armor_regen_add_perc = 0.1
	}
	max_hitpoints = @destroyer_hp
	size_multiplier = 2
	fleet_slot_size = 2
	section_slots = { "mid" = { locator = "part1" } }
	num_target_locators = 0
	icon = ship_size_military_2
	is_space_station = no
	combat_disengage_chance = 1.5
	resources = {
		category = ships
		cost = { alloys = 500 }
	}
	base_buildtime = 200
	use_shipnames_from = destroyer
	class = shipclass_military
	construction_type = starbase_shipyard
	is_designable = no
	potential_country = {
		is_fallen_empire = yes
		has_country_flag = electroid_fe_country
	}
	ai_ship_data = { fraction = 1 }
}
