﻿ebby_usa_naval_mio = {
	allowed = { original_tag = USA }
	icon = GFX_idea_ingalls-logo
	name = ebby_usa_naval_mio

	equipment_type = {
		carrier
		helicopter_operator
		mio_cat_destroyers
		mio_cat_frigates
	}

	research_categories = {
		CAT_carrier
		CAT_destroyer
		CAT_frigate
		CAT_lha
		CAT_lpd
	}

	tree_header_text = { text = ebby_naval_header_deck x = 1 }
	tree_header_text = { text = ebby_naval_header_fleet x = 3 }
	tree_header_text = { text = ebby_naval_header_industry x = 5 }

	initial_trait = {
		name = ebby_usa_naval_mio_initial_trait
		equipment_bonus = { naval_speed = 0.04 reliability = 0.02 }
	}

	trait = {
		token = usa_nav_root
		name = ebby_usa_naval_mio_root
		icon = GFX_generic_mio_trait_icon_carrier
		position = { x = 3 y = 0 }
		equipment_bonus = { naval_speed = 0.04 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = usa_nav_deck1
		name = ebby_usa_naval_mio_deck1
		icon = GFX_generic_mio_trait_icon_carrier_upgrade
		relative_position_id = usa_nav_root
		position = { x = -2 y = 1 }
		all_parents = { usa_nav_root }
		limit_to_equipment_type = { carrier helicopter_operator }
		equipment_bonus = { carrier_size = 2 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = usa_nav_deck2
		name = ebby_usa_naval_mio_deck2
		icon = GFX_generic_mio_trait_icon_carrier_reliablity
		relative_position_id = usa_nav_deck1
		position = { x = 0 y = 1 }
		all_parents = { usa_nav_deck1 }
		limit_to_equipment_type = { carrier helicopter_operator }
		equipment_bonus = { reliability = 0.05 naval_speed = 0.03 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = usa_nav_deck3
		name = ebby_usa_naval_mio_deck3
		icon = GFX_generic_mio_trait_icon_carrier_defence
		relative_position_id = usa_nav_deck2
		position = { x = 0 y = 1 }
		all_parents = { usa_nav_deck2 }
		limit_to_equipment_type = { carrier helicopter_operator }
		equipment_bonus = { defense = 0.07 carrier_size = 1 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = usa_nav_deck4
		name = ebby_usa_naval_mio_deck4
		icon = GFX_generic_mio_trait_icon_naval_speed
		relative_position_id = usa_nav_deck3
		position = { x = 0 y = 1 }
		all_parents = { usa_nav_deck3 }
		limit_to_equipment_type = { carrier helicopter_operator }
		equipment_bonus = { naval_speed = 0.05 carrier_size = 1 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = usa_nav_deck5
		name = ebby_usa_naval_mio_deck5
		icon = GFX_generic_mio_trait_icon_reliability
		relative_position_id = usa_nav_deck4
		position = { x = 0 y = 1 }
		all_parents = { usa_nav_deck4 }
		limit_to_equipment_type = { carrier helicopter_operator }
		equipment_bonus = { carrier_size = 2 reliability = 0.04 build_cost_ic = 0.04 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = usa_nav_fleet1
		name = ebby_usa_naval_mio_fleet1
		icon = GFX_generic_mio_trait_icon_destroyer_detection
		relative_position_id = usa_nav_root
		position = { x = 0 y = 1 }
		all_parents = { usa_nav_root }
		limit_to_equipment_type = { mio_cat_destroyers mio_cat_frigates helicopter_operator }
		equipment_bonus = { surface_detection = 0.06 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = usa_nav_fleet2
		name = ebby_usa_naval_mio_fleet2
		icon = GFX_generic_mio_trait_icon_destroyer_sub_detection
		relative_position_id = usa_nav_fleet1
		position = { x = 0 y = 1 }
		all_parents = { usa_nav_fleet1 }
		limit_to_equipment_type = { mio_cat_destroyers mio_cat_frigates helicopter_operator }
		equipment_bonus = { sub_detection = 0.06 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = usa_nav_fleet3
		name = ebby_usa_naval_mio_fleet3
		icon = GFX_generic_mio_trait_icon_naval_anti_air_attack
		relative_position_id = usa_nav_fleet2
		position = { x = 0 y = 1 }
		all_parents = { usa_nav_fleet2 }
		limit_to_equipment_type = { mio_cat_destroyers mio_cat_frigates helicopter_operator }
		equipment_bonus = { anti_air_attack = 0.05 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = usa_nav_fleet4
		name = ebby_usa_naval_mio_fleet4
		icon = GFX_generic_mio_trait_icon_naval_speed
		relative_position_id = usa_nav_fleet3
		position = { x = 0 y = 1 }
		all_parents = { usa_nav_fleet3 }
		limit_to_equipment_type = { mio_cat_destroyers mio_cat_frigates helicopter_operator }
		equipment_bonus = { naval_speed = 0.04 reliability = 0.03 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = usa_nav_fleet5
		name = ebby_usa_naval_mio_fleet5
		icon = GFX_generic_mio_trait_icon_reliability
		relative_position_id = usa_nav_fleet4
		position = { x = 0 y = 1 }
		all_parents = { usa_nav_fleet4 }
		limit_to_equipment_type = { mio_cat_destroyers mio_cat_frigates helicopter_operator }
		equipment_bonus = { reliability = 0.05 anti_air_attack = 0.04 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = usa_nav_yard1
		name = ebby_usa_naval_mio_yard1
		icon = GFX_generic_mio_trait_icon_build_cost_ic
		relative_position_id = usa_nav_root
		position = { x = 2 y = 1 }
		all_parents = { usa_nav_root }
		equipment_bonus = { build_cost_ic = -0.04 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = usa_nav_yard2
		name = ebby_usa_naval_mio_yard2
		icon = GFX_generic_mio_trait_icon_design
		relative_position_id = usa_nav_yard1
		position = { x = 0 y = 1 }
		all_parents = { usa_nav_yard1 }
		organization_modifier = { military_industrial_organization_research_bonus = 0.03 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = usa_nav_yard3
		name = ebby_usa_naval_mio_yard3
		icon = GFX_generic_mio_trait_icon_task
		relative_position_id = usa_nav_yard2
		position = { x = 0 y = 1 }
		all_parents = { usa_nav_yard2 }
		organization_modifier = { military_industrial_organization_task_capacity = 1 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = usa_nav_yard4
		name = ebby_usa_naval_mio_yard4
		icon = GFX_generic_mio_trait_icon_task
		relative_position_id = usa_nav_yard3
		position = { x = 0 y = 1 }
		all_parents = { usa_nav_yard3 }
		equipment_bonus = { build_cost_ic = -0.03 naval_speed = 0.02 }
		organization_modifier = { military_industrial_organization_task_capacity = 1 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = usa_nav_yard5
		name = ebby_usa_naval_mio_yard5
		icon = GFX_generic_mio_trait_icon_production
		relative_position_id = usa_nav_yard4
		position = { x = 0 y = 1 }
		all_parents = { usa_nav_yard4 }
		equipment_bonus = { build_cost_ic = 0.02 reliability = 0.03 }
		organization_modifier = { military_industrial_organization_task_capacity = 1 military_industrial_organization_research_bonus = 0.02 }
		ai_will_do = { base = 10 }
	}
}


ebby_eng_naval_mio = {
	allowed = { original_tag = ENG }
	icon = GFX_idea_BAE_Systems
	name = ebby_eng_naval_mio

	equipment_type = {
		carrier
		helicopter_operator
		mio_cat_destroyers
		mio_cat_frigates
	}

	research_categories = {
		CAT_carrier
		CAT_destroyer
		CAT_frigate
		CAT_lha
		CAT_lpd
	}

	tree_header_text = { text = ebby_naval_header_deck x = 1 }
	tree_header_text = { text = ebby_naval_header_fleet x = 3 }
	tree_header_text = { text = ebby_naval_header_industry x = 5 }

	initial_trait = {
		name = ebby_eng_naval_mio_initial_trait
		equipment_bonus = { naval_speed = 0.04 reliability = 0.02 }
	}

	trait = {
		token = eng_nav_root
		name = ebby_eng_naval_mio_root
		icon = GFX_generic_mio_trait_icon_carrier
		position = { x = 3 y = 0 }
		equipment_bonus = { naval_speed = 0.04 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = eng_nav_deck1
		name = ebby_eng_naval_mio_deck1
		icon = GFX_generic_mio_trait_icon_carrier_upgrade
		relative_position_id = eng_nav_root
		position = { x = -2 y = 1 }
		all_parents = { eng_nav_root }
		limit_to_equipment_type = { carrier helicopter_operator }
		equipment_bonus = { carrier_size = 2 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = eng_nav_deck2
		name = ebby_eng_naval_mio_deck2
		icon = GFX_generic_mio_trait_icon_carrier_reliablity
		relative_position_id = eng_nav_deck1
		position = { x = 0 y = 1 }
		all_parents = { eng_nav_deck1 }
		limit_to_equipment_type = { carrier helicopter_operator }
		equipment_bonus = { reliability = 0.05 naval_speed = 0.03 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = eng_nav_deck3
		name = ebby_eng_naval_mio_deck3
		icon = GFX_generic_mio_trait_icon_carrier_defence
		relative_position_id = eng_nav_deck2
		position = { x = 0 y = 1 }
		all_parents = { eng_nav_deck2 }
		limit_to_equipment_type = { carrier helicopter_operator }
		equipment_bonus = { defense = 0.07 carrier_size = 1 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = eng_nav_deck4
		name = ebby_eng_naval_mio_deck4
		icon = GFX_generic_mio_trait_icon_naval_speed
		relative_position_id = eng_nav_deck3
		position = { x = 0 y = 1 }
		all_parents = { eng_nav_deck3 }
		limit_to_equipment_type = { carrier helicopter_operator }
		equipment_bonus = { naval_speed = 0.05 carrier_size = 1 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = eng_nav_deck5
		name = ebby_eng_naval_mio_deck5
		icon = GFX_generic_mio_trait_icon_reliability
		relative_position_id = eng_nav_deck4
		position = { x = 0 y = 1 }
		all_parents = { eng_nav_deck4 }
		limit_to_equipment_type = { carrier helicopter_operator }
		equipment_bonus = { carrier_size = 2 reliability = 0.04 build_cost_ic = 0.04 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = eng_nav_fleet1
		name = ebby_eng_naval_mio_fleet1
		icon = GFX_generic_mio_trait_icon_destroyer_detection
		relative_position_id = eng_nav_root
		position = { x = 0 y = 1 }
		all_parents = { eng_nav_root }
		limit_to_equipment_type = { mio_cat_destroyers mio_cat_frigates helicopter_operator }
		equipment_bonus = { surface_detection = 0.06 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = eng_nav_fleet2
		name = ebby_eng_naval_mio_fleet2
		icon = GFX_generic_mio_trait_icon_destroyer_sub_detection
		relative_position_id = eng_nav_fleet1
		position = { x = 0 y = 1 }
		all_parents = { eng_nav_fleet1 }
		limit_to_equipment_type = { mio_cat_destroyers mio_cat_frigates helicopter_operator }
		equipment_bonus = { sub_detection = 0.06 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = eng_nav_fleet3
		name = ebby_eng_naval_mio_fleet3
		icon = GFX_generic_mio_trait_icon_naval_anti_air_attack
		relative_position_id = eng_nav_fleet2
		position = { x = 0 y = 1 }
		all_parents = { eng_nav_fleet2 }
		limit_to_equipment_type = { mio_cat_destroyers mio_cat_frigates helicopter_operator }
		equipment_bonus = { anti_air_attack = 0.05 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = eng_nav_fleet4
		name = ebby_eng_naval_mio_fleet4
		icon = GFX_generic_mio_trait_icon_naval_speed
		relative_position_id = eng_nav_fleet3
		position = { x = 0 y = 1 }
		all_parents = { eng_nav_fleet3 }
		limit_to_equipment_type = { mio_cat_destroyers mio_cat_frigates helicopter_operator }
		equipment_bonus = { naval_speed = 0.04 reliability = 0.03 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = eng_nav_fleet5
		name = ebby_eng_naval_mio_fleet5
		icon = GFX_generic_mio_trait_icon_reliability
		relative_position_id = eng_nav_fleet4
		position = { x = 0 y = 1 }
		all_parents = { eng_nav_fleet4 }
		limit_to_equipment_type = { mio_cat_destroyers mio_cat_frigates helicopter_operator }
		equipment_bonus = { reliability = 0.05 anti_air_attack = 0.04 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = eng_nav_yard1
		name = ebby_eng_naval_mio_yard1
		icon = GFX_generic_mio_trait_icon_build_cost_ic
		relative_position_id = eng_nav_root
		position = { x = 2 y = 1 }
		all_parents = { eng_nav_root }
		equipment_bonus = { build_cost_ic = -0.04 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = eng_nav_yard2
		name = ebby_eng_naval_mio_yard2
		icon = GFX_generic_mio_trait_icon_design
		relative_position_id = eng_nav_yard1
		position = { x = 0 y = 1 }
		all_parents = { eng_nav_yard1 }
		organization_modifier = { military_industrial_organization_research_bonus = 0.03 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = eng_nav_yard3
		name = ebby_eng_naval_mio_yard3
		icon = GFX_generic_mio_trait_icon_task
		relative_position_id = eng_nav_yard2
		position = { x = 0 y = 1 }
		all_parents = { eng_nav_yard2 }
		organization_modifier = { military_industrial_organization_task_capacity = 1 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = eng_nav_yard4
		name = ebby_eng_naval_mio_yard4
		icon = GFX_generic_mio_trait_icon_task
		relative_position_id = eng_nav_yard3
		position = { x = 0 y = 1 }
		all_parents = { eng_nav_yard3 }
		equipment_bonus = { build_cost_ic = -0.03 naval_speed = 0.02 }
		organization_modifier = { military_industrial_organization_task_capacity = 1 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = eng_nav_yard5
		name = ebby_eng_naval_mio_yard5
		icon = GFX_generic_mio_trait_icon_production
		relative_position_id = eng_nav_yard4
		position = { x = 0 y = 1 }
		all_parents = { eng_nav_yard4 }
		equipment_bonus = { build_cost_ic = 0.02 reliability = 0.03 }
		organization_modifier = { military_industrial_organization_task_capacity = 1 military_industrial_organization_research_bonus = 0.02 }
		ai_will_do = { base = 10 }
	}
}


ebby_fra_naval_mio = {
	allowed = { original_tag = FRA }
	icon = GFX_generic_mio_department_icon_facilities
	name = ebby_fra_naval_mio

	equipment_type = {
		carrier
		helicopter_operator
		mio_cat_destroyers
		mio_cat_frigates
	}

	research_categories = {
		CAT_carrier
		CAT_destroyer
		CAT_frigate
		CAT_lha
		CAT_lpd
	}

	tree_header_text = { text = ebby_naval_header_deck x = 1 }
	tree_header_text = { text = ebby_naval_header_fleet x = 3 }
	tree_header_text = { text = ebby_naval_header_industry x = 5 }

	initial_trait = {
		name = ebby_fra_naval_mio_initial_trait
		equipment_bonus = { naval_speed = 0.04 reliability = 0.02 }
	}

	trait = {
		token = fra_nav_root
		name = ebby_fra_naval_mio_root
		icon = GFX_generic_mio_trait_icon_carrier
		position = { x = 3 y = 0 }
		equipment_bonus = { naval_speed = 0.04 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = fra_nav_deck1
		name = ebby_fra_naval_mio_deck1
		icon = GFX_generic_mio_trait_icon_carrier_upgrade
		relative_position_id = fra_nav_root
		position = { x = -2 y = 1 }
		all_parents = { fra_nav_root }
		limit_to_equipment_type = { carrier helicopter_operator }
		equipment_bonus = { carrier_size = 2 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = fra_nav_deck2
		name = ebby_fra_naval_mio_deck2
		icon = GFX_generic_mio_trait_icon_carrier_reliablity
		relative_position_id = fra_nav_deck1
		position = { x = 0 y = 1 }
		all_parents = { fra_nav_deck1 }
		limit_to_equipment_type = { carrier helicopter_operator }
		equipment_bonus = { reliability = 0.05 naval_speed = 0.03 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = fra_nav_deck3
		name = ebby_fra_naval_mio_deck3
		icon = GFX_generic_mio_trait_icon_carrier_defence
		relative_position_id = fra_nav_deck2
		position = { x = 0 y = 1 }
		all_parents = { fra_nav_deck2 }
		limit_to_equipment_type = { carrier helicopter_operator }
		equipment_bonus = { defense = 0.07 carrier_size = 1 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = fra_nav_deck4
		name = ebby_fra_naval_mio_deck4
		icon = GFX_generic_mio_trait_icon_naval_speed
		relative_position_id = fra_nav_deck3
		position = { x = 0 y = 1 }
		all_parents = { fra_nav_deck3 }
		limit_to_equipment_type = { carrier helicopter_operator }
		equipment_bonus = { naval_speed = 0.05 carrier_size = 1 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = fra_nav_deck5
		name = ebby_fra_naval_mio_deck5
		icon = GFX_generic_mio_trait_icon_reliability
		relative_position_id = fra_nav_deck4
		position = { x = 0 y = 1 }
		all_parents = { fra_nav_deck4 }
		limit_to_equipment_type = { carrier helicopter_operator }
		equipment_bonus = { carrier_size = 2 reliability = 0.04 build_cost_ic = 0.04 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = fra_nav_fleet1
		name = ebby_fra_naval_mio_fleet1
		icon = GFX_generic_mio_trait_icon_destroyer_detection
		relative_position_id = fra_nav_root
		position = { x = 0 y = 1 }
		all_parents = { fra_nav_root }
		limit_to_equipment_type = { mio_cat_destroyers mio_cat_frigates helicopter_operator }
		equipment_bonus = { surface_detection = 0.06 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = fra_nav_fleet2
		name = ebby_fra_naval_mio_fleet2
		icon = GFX_generic_mio_trait_icon_destroyer_sub_detection
		relative_position_id = fra_nav_fleet1
		position = { x = 0 y = 1 }
		all_parents = { fra_nav_fleet1 }
		limit_to_equipment_type = { mio_cat_destroyers mio_cat_frigates helicopter_operator }
		equipment_bonus = { sub_detection = 0.06 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = fra_nav_fleet3
		name = ebby_fra_naval_mio_fleet3
		icon = GFX_generic_mio_trait_icon_naval_anti_air_attack
		relative_position_id = fra_nav_fleet2
		position = { x = 0 y = 1 }
		all_parents = { fra_nav_fleet2 }
		limit_to_equipment_type = { mio_cat_destroyers mio_cat_frigates helicopter_operator }
		equipment_bonus = { anti_air_attack = 0.05 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = fra_nav_fleet4
		name = ebby_fra_naval_mio_fleet4
		icon = GFX_generic_mio_trait_icon_naval_speed
		relative_position_id = fra_nav_fleet3
		position = { x = 0 y = 1 }
		all_parents = { fra_nav_fleet3 }
		limit_to_equipment_type = { mio_cat_destroyers mio_cat_frigates helicopter_operator }
		equipment_bonus = { naval_speed = 0.04 reliability = 0.03 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = fra_nav_fleet5
		name = ebby_fra_naval_mio_fleet5
		icon = GFX_generic_mio_trait_icon_reliability
		relative_position_id = fra_nav_fleet4
		position = { x = 0 y = 1 }
		all_parents = { fra_nav_fleet4 }
		limit_to_equipment_type = { mio_cat_destroyers mio_cat_frigates helicopter_operator }
		equipment_bonus = { reliability = 0.05 anti_air_attack = 0.04 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = fra_nav_yard1
		name = ebby_fra_naval_mio_yard1
		icon = GFX_generic_mio_trait_icon_build_cost_ic
		relative_position_id = fra_nav_root
		position = { x = 2 y = 1 }
		all_parents = { fra_nav_root }
		equipment_bonus = { build_cost_ic = -0.04 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = fra_nav_yard2
		name = ebby_fra_naval_mio_yard2
		icon = GFX_generic_mio_trait_icon_design
		relative_position_id = fra_nav_yard1
		position = { x = 0 y = 1 }
		all_parents = { fra_nav_yard1 }
		organization_modifier = { military_industrial_organization_research_bonus = 0.03 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = fra_nav_yard3
		name = ebby_fra_naval_mio_yard3
		icon = GFX_generic_mio_trait_icon_task
		relative_position_id = fra_nav_yard2
		position = { x = 0 y = 1 }
		all_parents = { fra_nav_yard2 }
		organization_modifier = { military_industrial_organization_task_capacity = 1 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = fra_nav_yard4
		name = ebby_fra_naval_mio_yard4
		icon = GFX_generic_mio_trait_icon_task
		relative_position_id = fra_nav_yard3
		position = { x = 0 y = 1 }
		all_parents = { fra_nav_yard3 }
		equipment_bonus = { build_cost_ic = -0.03 naval_speed = 0.02 }
		organization_modifier = { military_industrial_organization_task_capacity = 1 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = fra_nav_yard5
		name = ebby_fra_naval_mio_yard5
		icon = GFX_generic_mio_trait_icon_production
		relative_position_id = fra_nav_yard4
		position = { x = 0 y = 1 }
		all_parents = { fra_nav_yard4 }
		equipment_bonus = { build_cost_ic = 0.02 reliability = 0.03 }
		organization_modifier = { military_industrial_organization_task_capacity = 1 military_industrial_organization_research_bonus = 0.02 }
		ai_will_do = { base = 10 }
	}
}


ebby_chi_naval_mio = {
	allowed = { original_tag = CHI }
	icon = GFX_generic_mio_department_icon_facilities
	name = ebby_chi_naval_mio

	equipment_type = {
		carrier
		helicopter_operator
		mio_cat_destroyers
		mio_cat_frigates
	}

	research_categories = {
		CAT_carrier
		CAT_destroyer
		CAT_frigate
		CAT_lha
		CAT_lpd
	}

	tree_header_text = { text = ebby_naval_header_deck x = 1 }
	tree_header_text = { text = ebby_naval_header_fleet x = 3 }
	tree_header_text = { text = ebby_naval_header_industry x = 5 }

	initial_trait = {
		name = ebby_chi_naval_mio_initial_trait
		equipment_bonus = { naval_speed = 0.04 reliability = 0.02 }
	}

	trait = {
		token = chi_nav_root
		name = ebby_chi_naval_mio_root
		icon = GFX_generic_mio_trait_icon_carrier
		position = { x = 3 y = 0 }
		equipment_bonus = { naval_speed = 0.04 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = chi_nav_deck1
		name = ebby_chi_naval_mio_deck1
		icon = GFX_generic_mio_trait_icon_carrier_upgrade
		relative_position_id = chi_nav_root
		position = { x = -2 y = 1 }
		all_parents = { chi_nav_root }
		limit_to_equipment_type = { carrier helicopter_operator }
		equipment_bonus = { carrier_size = 2 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = chi_nav_deck2
		name = ebby_chi_naval_mio_deck2
		icon = GFX_generic_mio_trait_icon_carrier_reliablity
		relative_position_id = chi_nav_deck1
		position = { x = 0 y = 1 }
		all_parents = { chi_nav_deck1 }
		limit_to_equipment_type = { carrier helicopter_operator }
		equipment_bonus = { reliability = 0.05 naval_speed = 0.03 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = chi_nav_deck3
		name = ebby_chi_naval_mio_deck3
		icon = GFX_generic_mio_trait_icon_carrier_defence
		relative_position_id = chi_nav_deck2
		position = { x = 0 y = 1 }
		all_parents = { chi_nav_deck2 }
		limit_to_equipment_type = { carrier helicopter_operator }
		equipment_bonus = { defense = 0.07 carrier_size = 1 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = chi_nav_deck4
		name = ebby_chi_naval_mio_deck4
		icon = GFX_generic_mio_trait_icon_naval_speed
		relative_position_id = chi_nav_deck3
		position = { x = 0 y = 1 }
		all_parents = { chi_nav_deck3 }
		limit_to_equipment_type = { carrier helicopter_operator }
		equipment_bonus = { naval_speed = 0.05 carrier_size = 1 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = chi_nav_deck5
		name = ebby_chi_naval_mio_deck5
		icon = GFX_generic_mio_trait_icon_reliability
		relative_position_id = chi_nav_deck4
		position = { x = 0 y = 1 }
		all_parents = { chi_nav_deck4 }
		limit_to_equipment_type = { carrier helicopter_operator }
		equipment_bonus = { carrier_size = 2 reliability = 0.04 build_cost_ic = 0.04 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = chi_nav_fleet1
		name = ebby_chi_naval_mio_fleet1
		icon = GFX_generic_mio_trait_icon_destroyer_detection
		relative_position_id = chi_nav_root
		position = { x = 0 y = 1 }
		all_parents = { chi_nav_root }
		limit_to_equipment_type = { mio_cat_destroyers mio_cat_frigates helicopter_operator }
		equipment_bonus = { surface_detection = 0.06 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = chi_nav_fleet2
		name = ebby_chi_naval_mio_fleet2
		icon = GFX_generic_mio_trait_icon_destroyer_sub_detection
		relative_position_id = chi_nav_fleet1
		position = { x = 0 y = 1 }
		all_parents = { chi_nav_fleet1 }
		limit_to_equipment_type = { mio_cat_destroyers mio_cat_frigates helicopter_operator }
		equipment_bonus = { sub_detection = 0.06 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = chi_nav_fleet3
		name = ebby_chi_naval_mio_fleet3
		icon = GFX_generic_mio_trait_icon_naval_anti_air_attack
		relative_position_id = chi_nav_fleet2
		position = { x = 0 y = 1 }
		all_parents = { chi_nav_fleet2 }
		limit_to_equipment_type = { mio_cat_destroyers mio_cat_frigates helicopter_operator }
		equipment_bonus = { anti_air_attack = 0.05 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = chi_nav_fleet4
		name = ebby_chi_naval_mio_fleet4
		icon = GFX_generic_mio_trait_icon_naval_speed
		relative_position_id = chi_nav_fleet3
		position = { x = 0 y = 1 }
		all_parents = { chi_nav_fleet3 }
		limit_to_equipment_type = { mio_cat_destroyers mio_cat_frigates helicopter_operator }
		equipment_bonus = { naval_speed = 0.04 reliability = 0.03 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = chi_nav_fleet5
		name = ebby_chi_naval_mio_fleet5
		icon = GFX_generic_mio_trait_icon_reliability
		relative_position_id = chi_nav_fleet4
		position = { x = 0 y = 1 }
		all_parents = { chi_nav_fleet4 }
		limit_to_equipment_type = { mio_cat_destroyers mio_cat_frigates helicopter_operator }
		equipment_bonus = { reliability = 0.05 anti_air_attack = 0.04 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = chi_nav_yard1
		name = ebby_chi_naval_mio_yard1
		icon = GFX_generic_mio_trait_icon_build_cost_ic
		relative_position_id = chi_nav_root
		position = { x = 2 y = 1 }
		all_parents = { chi_nav_root }
		equipment_bonus = { build_cost_ic = -0.04 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = chi_nav_yard2
		name = ebby_chi_naval_mio_yard2
		icon = GFX_generic_mio_trait_icon_design
		relative_position_id = chi_nav_yard1
		position = { x = 0 y = 1 }
		all_parents = { chi_nav_yard1 }
		organization_modifier = { military_industrial_organization_research_bonus = 0.03 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = chi_nav_yard3
		name = ebby_chi_naval_mio_yard3
		icon = GFX_generic_mio_trait_icon_task
		relative_position_id = chi_nav_yard2
		position = { x = 0 y = 1 }
		all_parents = { chi_nav_yard2 }
		organization_modifier = { military_industrial_organization_task_capacity = 1 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = chi_nav_yard4
		name = ebby_chi_naval_mio_yard4
		icon = GFX_generic_mio_trait_icon_task
		relative_position_id = chi_nav_yard3
		position = { x = 0 y = 1 }
		all_parents = { chi_nav_yard3 }
		equipment_bonus = { build_cost_ic = -0.03 naval_speed = 0.02 }
		organization_modifier = { military_industrial_organization_task_capacity = 1 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = chi_nav_yard5
		name = ebby_chi_naval_mio_yard5
		icon = GFX_generic_mio_trait_icon_production
		relative_position_id = chi_nav_yard4
		position = { x = 0 y = 1 }
		all_parents = { chi_nav_yard4 }
		equipment_bonus = { build_cost_ic = 0.02 reliability = 0.03 }
		organization_modifier = { military_industrial_organization_task_capacity = 1 military_industrial_organization_research_bonus = 0.02 }
		ai_will_do = { base = 10 }
	}
}


ebby_gen_naval_mio = {
	allowed = {
		NOT = { OR = { original_tag = USA original_tag = ENG original_tag = FRA original_tag = CHI } }
	}
	icon = GFX_generic_mio_department_icon_facilities
	name = ebby_gen_naval_mio

	equipment_type = {
		carrier
		helicopter_operator
		mio_cat_destroyers
		mio_cat_frigates
	}

	research_categories = {
		CAT_carrier
		CAT_destroyer
		CAT_frigate
		CAT_lha
		CAT_lpd
	}

	tree_header_text = { text = ebby_naval_header_deck x = 1 }
	tree_header_text = { text = ebby_naval_header_fleet x = 3 }
	tree_header_text = { text = ebby_naval_header_industry x = 5 }

	initial_trait = {
		name = ebby_gen_naval_mio_initial_trait
		equipment_bonus = { naval_speed = 0.04 reliability = 0.02 }
	}

	trait = {
		token = gen_nav_root
		name = ebby_gen_naval_mio_root
		icon = GFX_generic_mio_trait_icon_carrier
		position = { x = 3 y = 0 }
		equipment_bonus = { naval_speed = 0.04 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = gen_nav_deck1
		name = ebby_gen_naval_mio_deck1
		icon = GFX_generic_mio_trait_icon_carrier_upgrade
		relative_position_id = gen_nav_root
		position = { x = -2 y = 1 }
		all_parents = { gen_nav_root }
		limit_to_equipment_type = { carrier helicopter_operator }
		equipment_bonus = { carrier_size = 2 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = gen_nav_deck2
		name = ebby_gen_naval_mio_deck2
		icon = GFX_generic_mio_trait_icon_carrier_reliablity
		relative_position_id = gen_nav_deck1
		position = { x = 0 y = 1 }
		all_parents = { gen_nav_deck1 }
		limit_to_equipment_type = { carrier helicopter_operator }
		equipment_bonus = { reliability = 0.05 naval_speed = 0.03 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = gen_nav_deck3
		name = ebby_gen_naval_mio_deck3
		icon = GFX_generic_mio_trait_icon_carrier_defence
		relative_position_id = gen_nav_deck2
		position = { x = 0 y = 1 }
		all_parents = { gen_nav_deck2 }
		limit_to_equipment_type = { carrier helicopter_operator }
		equipment_bonus = { defense = 0.07 carrier_size = 1 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = gen_nav_deck4
		name = ebby_gen_naval_mio_deck4
		icon = GFX_generic_mio_trait_icon_naval_speed
		relative_position_id = gen_nav_deck3
		position = { x = 0 y = 1 }
		all_parents = { gen_nav_deck3 }
		limit_to_equipment_type = { carrier helicopter_operator }
		equipment_bonus = { naval_speed = 0.05 carrier_size = 1 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = gen_nav_deck5
		name = ebby_gen_naval_mio_deck5
		icon = GFX_generic_mio_trait_icon_reliability
		relative_position_id = gen_nav_deck4
		position = { x = 0 y = 1 }
		all_parents = { gen_nav_deck4 }
		limit_to_equipment_type = { carrier helicopter_operator }
		equipment_bonus = { carrier_size = 2 reliability = 0.04 build_cost_ic = 0.04 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = gen_nav_fleet1
		name = ebby_gen_naval_mio_fleet1
		icon = GFX_generic_mio_trait_icon_destroyer_detection
		relative_position_id = gen_nav_root
		position = { x = 0 y = 1 }
		all_parents = { gen_nav_root }
		limit_to_equipment_type = { mio_cat_destroyers mio_cat_frigates helicopter_operator }
		equipment_bonus = { surface_detection = 0.06 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = gen_nav_fleet2
		name = ebby_gen_naval_mio_fleet2
		icon = GFX_generic_mio_trait_icon_destroyer_sub_detection
		relative_position_id = gen_nav_fleet1
		position = { x = 0 y = 1 }
		all_parents = { gen_nav_fleet1 }
		limit_to_equipment_type = { mio_cat_destroyers mio_cat_frigates helicopter_operator }
		equipment_bonus = { sub_detection = 0.06 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = gen_nav_fleet3
		name = ebby_gen_naval_mio_fleet3
		icon = GFX_generic_mio_trait_icon_naval_anti_air_attack
		relative_position_id = gen_nav_fleet2
		position = { x = 0 y = 1 }
		all_parents = { gen_nav_fleet2 }
		limit_to_equipment_type = { mio_cat_destroyers mio_cat_frigates helicopter_operator }
		equipment_bonus = { anti_air_attack = 0.05 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = gen_nav_fleet4
		name = ebby_gen_naval_mio_fleet4
		icon = GFX_generic_mio_trait_icon_naval_speed
		relative_position_id = gen_nav_fleet3
		position = { x = 0 y = 1 }
		all_parents = { gen_nav_fleet3 }
		limit_to_equipment_type = { mio_cat_destroyers mio_cat_frigates helicopter_operator }
		equipment_bonus = { naval_speed = 0.04 reliability = 0.03 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = gen_nav_fleet5
		name = ebby_gen_naval_mio_fleet5
		icon = GFX_generic_mio_trait_icon_reliability
		relative_position_id = gen_nav_fleet4
		position = { x = 0 y = 1 }
		all_parents = { gen_nav_fleet4 }
		limit_to_equipment_type = { mio_cat_destroyers mio_cat_frigates helicopter_operator }
		equipment_bonus = { reliability = 0.05 anti_air_attack = 0.04 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = gen_nav_yard1
		name = ebby_gen_naval_mio_yard1
		icon = GFX_generic_mio_trait_icon_build_cost_ic
		relative_position_id = gen_nav_root
		position = { x = 2 y = 1 }
		all_parents = { gen_nav_root }
		equipment_bonus = { build_cost_ic = -0.04 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = gen_nav_yard2
		name = ebby_gen_naval_mio_yard2
		icon = GFX_generic_mio_trait_icon_design
		relative_position_id = gen_nav_yard1
		position = { x = 0 y = 1 }
		all_parents = { gen_nav_yard1 }
		organization_modifier = { military_industrial_organization_research_bonus = 0.03 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = gen_nav_yard3
		name = ebby_gen_naval_mio_yard3
		icon = GFX_generic_mio_trait_icon_task
		relative_position_id = gen_nav_yard2
		position = { x = 0 y = 1 }
		all_parents = { gen_nav_yard2 }
		organization_modifier = { military_industrial_organization_task_capacity = 1 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = gen_nav_yard4
		name = ebby_gen_naval_mio_yard4
		icon = GFX_generic_mio_trait_icon_task
		relative_position_id = gen_nav_yard3
		position = { x = 0 y = 1 }
		all_parents = { gen_nav_yard3 }
		equipment_bonus = { build_cost_ic = -0.03 naval_speed = 0.02 }
		organization_modifier = { military_industrial_organization_task_capacity = 1 }
		ai_will_do = { base = 10 }
	}

	trait = {
		token = gen_nav_yard5
		name = ebby_gen_naval_mio_yard5
		icon = GFX_generic_mio_trait_icon_production
		relative_position_id = gen_nav_yard4
		position = { x = 0 y = 1 }
		all_parents = { gen_nav_yard4 }
		equipment_bonus = { build_cost_ic = 0.02 reliability = 0.03 }
		organization_modifier = { military_industrial_organization_task_capacity = 1 military_industrial_organization_research_bonus = 0.02 }
		ai_will_do = { base = 10 }
	}
}
