

########    ###    ##    ## ##    ##  ######  
   ##      ## ##   ###   ## ##   ##  ##    ## 
   ##     ##   ##  ####  ## ##  ##   ##       
   ##    ##     ## ## ## ## #####     ######  
   ##    ######### ##  #### ##  ##         ## 
   ##    ##     ## ##   ### ##   ##  ##    ## 
   ##    ##     ## ##    ## ##    ##  ######  



# GENERIC TANK MANUFACTURER - Based on Daimler Benz
generic_tank_organization = {
	icon = GFX_idea_generic_tank_manufacturer_1

	allowed = {
		NOT = {
			OR = {
				tag = ENG
				tag = GER
				tag = JAP
				tag = KOR
				tag = SOV
				tag = USA
				tag = UKR
				tag = ITA
				tag = PAK
				tag = PRK
				tag = FRA
				tag = PRC
				tag = CHI
				tag = ISR
				tag = BRA
				tag = GUA
				tag = URG
				tag = HUN
				tag = RCO
			}
		}
	}

	equipment_type = { mio_cat_eq_all_light_tank mio_cat_eq_all_medium_tank }
	research_categories = { mio_cat_tech_light_armor_and_modules mio_cat_tech_medium_armor_and_modules }

	tree_header_text = {
		text = mio_header_tank_construction
		x = 3
	}

	tree_header_text = {
		text = mio_header_equipment_and_specialization
		x = 7
	}

	
	initial_trait = {
		name = generic_mio_initial_trait_standardized_production
		
		equipment_bonus = {
			armor_value = -0.05
			defense =-0.05
			build_cost_ic = -0.03
		}
	}

	trait = {
		token = generic_mio_trait_simplified_suspension
		name = generic_mio_trait_simplified_suspension
		icon = GFX_generic_mio_trait_icon_reliability

		position = { x=1 y=0 }
		
		equipment_bonus = {
			reliability = 0.05
		}
	}
	
	trait = {
		token = generic_mio_trait_crew_ergonomics
		name = generic_mio_trait_crew_ergonomics
		icon = GFX_generic_mio_trait_icon_maximum_speed

		position = { x=4 y=0 }
		relative_position_id = generic_mio_trait_simplified_suspension
		
		equipment_bonus = {
			maximum_speed = 0.02
			defense = 0.02
		}
	}
	
	trait = {
		token = generic_mio_trait_improved_tracks
		name = generic_mio_trait_improved_tracks
		icon = GFX_generic_mio_trait_icon_maximum_speed

		
		position = { x=0 y=2 }
		relative_position_id = generic_mio_trait_simplified_suspension
		
		any_parent = { generic_mio_trait_simplified_suspension }

		equipment_bonus = {
			reliability = 0.05
			maximum_speed = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_command_upgrades
		name = generic_mio_trait_command_upgrades
		icon = GFX_generic_mio_trait_icon_breakthrough
		
		position = { x=0 y=2 }
		relative_position_id = generic_mio_trait_crew_ergonomics
		
		any_parent = { generic_mio_trait_crew_ergonomics }

		equipment_bonus = {
			breakthrough = 0.05
		}
	}
	
	trait = {
		token = generic_mio_trait_standardized_components
		name = generic_mio_trait_standardized_components
		icon = GFX_generic_mio_department_icon_tank_general_line_efficiency
		
		position = { x=2 y=1 }
		relative_position_id = generic_mio_trait_simplified_suspension
		
		all_parents = { generic_mio_trait_simplified_suspension generic_mio_trait_crew_ergonomics }

		production_bonus = {
			production_efficiency_gain_factor = 0.15
			production_resource_need_factor = -0.15
		}
	}

	trait = {
		token = generic_mio_trait_improved_tooling
		name = generic_mio_trait_improved_tooling
		icon = GFX_generic_mio_department_icon_tank_general_technology

		position = { x=0 y=2 }
		relative_position_id = generic_mio_trait_standardized_components
		
		all_parents = { generic_mio_trait_improved_tracks generic_mio_trait_standardized_components generic_mio_trait_command_upgrades }

		production_bonus = {
			production_efficiency_cap_factor = 0.1
		}
	}

	trait = {
		token = generic_mio_trait_mass_production
		name = generic_mio_trait_mass_production
		icon = GFX_generic_mio_department_icon_tank_general_production
		
		position = { x=-1 y=1 }
		relative_position_id = generic_mio_trait_improved_tooling
		
		any_parent = { generic_mio_trait_improved_tooling }
		
		mutually_exclusive = { generic_mio_trait_quality_improvements }
		
		production_bonus = {
			production_cost_factor = -0.05
			production_efficiency_gain_factor = 0.1
		}
	}

	trait = {
		token = generic_mio_trait_quality_improvements
		name = generic_mio_trait_quality_improvements
		icon = GFX_generic_mio_department_icon_tank_general_armor
		
		position = { x=1 y=1 }
		relative_position_id = generic_mio_trait_improved_tooling
		
		any_parent = { generic_mio_trait_improved_tooling }
		
		mutually_exclusive = { generic_mio_trait_mass_production}
		
		equipment_bonus = {
			armor_value = 0.1
			defense = 0.1
		}
	}

	trait = {
		token = generic_mio_trait_defensive_equipment
		name = generic_mio_trait_defensive_equipment
		icon = GFX_generic_mio_trait_icon_soft_attack

		position = { x=2 y=0 }
		relative_position_id = generic_mio_trait_crew_ergonomics
		
		equipment_bonus = {
			soft_attack = 0.02
			defense = 0.02
		}
	}

	trait = {
		token = generic_mio_trait_long_barreled_guns
		name = generic_mio_trait_long_barreled_guns
		icon = GFX_generic_mio_trait_icon_ap_attack

		position = { x=0 y=2 }
		relative_position_id = generic_mio_trait_defensive_equipment
		
		all_parents = { generic_mio_trait_crew_ergonomics generic_mio_trait_defensive_equipment }

		equipment_bonus = {
			ap_attack = 0.05
			hard_attack = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_anti_tank_specialization
		name = generic_mio_trait_anti_tank_specialization
		icon = GFX_generic_mio_trait_icon_hard_attack
		
		position = { x=-1 y=2 }
		relative_position_id = generic_mio_trait_long_barreled_guns
		
		any_parent = { generic_mio_trait_long_barreled_guns }
		
		mutually_exclusive = { generic_mio_trait_infantry_support_tanks }
		
		equipment_bonus = {
			armor_value = 0.05
			hard_attack = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_infantry_support_tanks
		name = generic_mio_trait_infantry_support_tanks
		icon = GFX_generic_mio_trait_icon_soft_attack
		
		position = { x=1 y=2 }
		relative_position_id = generic_mio_trait_long_barreled_guns
		
		any_parent = { generic_mio_trait_long_barreled_guns }
		
		mutually_exclusive = { generic_mio_trait_anti_tank_specialization }
		
		equipment_bonus = {
			soft_attack = 0.05
		}

		production_bonus = {
			production_cost_factor = -0.02
		}
	}
}
	

# INFANTRY TANK DESIGNER  - Based on Renault (FRA)
generic_infantry_tank_organization = {
	icon = GFX_idea_generic_tank_manufacturer_3

	allowed = {
		always = no # Archetype only - countries using it have their own verisons
	}

	equipment_type = { armor }
	research_categories = { armor }

	tree_header_text = {
		text = mio_header_light_tank_department
		x = 0.1
	}

	tree_header_text = {
		text = mio_header_medium_tank_department
		x = 4
	}

	tree_header_text = {
		text = mio_header_heavy_tank_department
		x = 8
	}

	initial_trait = {
		name = generic_mio_initial_trait_infantry_tanks_designer
		
		limit_to_equipment_type = { 
			armor
		}
		
		equipment_bonus = {
			armor_value = 0.05
			maximum_speed =-0.05
		}
	}

	trait = {
		token = generic_mio_trait_light_tank_improvements
		name = generic_mio_trait_light_tank_improvements
		icon = GFX_generic_mio_department_icon_tank_light_tank_weapons

		position = { x=0 y=0 }
		
		limit_to_equipment_type = { mio_cat_eq_all_light_tank }

		equipment_bonus = {
			soft_attack = 0.05
			hard_attack = 0.05
			armor_value = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_medium_tank_improvements
		name = generic_mio_trait_medium_tank_improvements
		icon = GFX_generic_mio_department_icon_tank_medium_tank_weapons

		limit_to_equipment_type = { mio_cat_eq_all_medium_tank }

		position = { x=4 y=0 }
		relative_position_id = generic_mio_trait_light_tank_improvements
		
		equipment_bonus = {
			soft_attack = 0.05
			hard_attack = 0.05
			armor_value = 0.05
		}


	}
	trait = {
		token = generic_mio_trait_heavy_tank_improvements
		name = generic_mio_trait_heavy_tank_improvements
		icon = GFX_generic_mio_department_icon_tank_heavy_tank_weapons

		position = { x=4 y=0 }
		relative_position_id = generic_mio_trait_medium_tank_improvements
		
		limit_to_equipment_type = { mio_cat_eq_all_heavy_tank }

		equipment_bonus = {
			soft_attack = 0.02
			hard_attack = 0.05
			armor_value = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_production_division
		name = generic_mio_trait_production_division
		icon = GFX_generic_mio_department_icon_tank_general_line_efficiency
		
		position = { x=2 y=1 }
		relative_position_id = generic_mio_trait_light_tank_improvements
		
		all_parents = { generic_mio_trait_light_tank_improvements generic_mio_trait_medium_tank_improvements }

		production_bonus = {
			production_efficiency_gain_factor = 0.15
		}
	}

	trait = {
		token = generic_mio_trait_standardized_turrets
		name = generic_mio_trait_standardized_turrets
		icon = GFX_generic_mio_department_icon_tank_general_quality
		
		position = { x=0 y=1 }
		relative_position_id = generic_mio_trait_production_division

		any_parent = { generic_mio_trait_production_division }

		equipment_bonus = {
			soft_attack = 0.05
			defense = 0.05
		}

		production_bonus = {
			production_cost_factor = -0.03
		}
	}

	trait = {
		token = generic_mio_trait_improved_wheel_protection
		name = generic_mio_trait_improved_wheel_protection
		icon = GFX_generic_mio_department_icon_tank_light_tank_armor
		
		position = { x=0 y=2 }
		relative_position_id = generic_mio_trait_light_tank_improvements
		
		any_parent = { generic_mio_trait_light_tank_improvements }

		limit_to_equipment_type = { mio_cat_eq_all_light_tank }

		equipment_bonus = {
			reliability = 0.05
			defense = 0.1
		}
	}

	trait = {
		token = generic_mio_trait_gun_improvements
		name = generic_mio_trait_gun_improvements
		icon = GFX_generic_mio_trait_icon_ap_attack
		
		position = { x=0 y=2 }
		relative_position_id = generic_mio_trait_medium_tank_improvements

		any_parent = { generic_mio_trait_medium_tank_improvements }

		limit_to_equipment_type = { mio_cat_eq_all_medium_tank mio_cat_eq_all_heavy_tank }

		equipment_bonus = {
			hard_attack = 0.05
			ap_attack = 0.1
		}
	}

	trait = {
		token = generic_mio_trait_speed_improvements
		name = generic_mio_trait_speed_improvements
		icon = GFX_generic_mio_trait_icon_maximum_speed
		
		position = { x=1 y=2 }
		relative_position_id = generic_mio_trait_improved_wheel_protection
	
		any_parent = { generic_mio_trait_improved_wheel_protection generic_mio_trait_gun_improvements }
		
		mutually_exclusive = { generic_mio_trait_improved_protection }
		
		equipment_bonus = {
			maximum_speed = 0.1
			breakthrough = 0.1
		}
	}

	trait = {
		token = generic_mio_trait_improved_protection
		name = generic_mio_trait_improved_protection
		icon = GFX_generic_mio_department_icon_tank_general_armor
		
		position = { x=2 y=0 }
		relative_position_id = generic_mio_trait_speed_improvements
		
		any_parent = { generic_mio_trait_improved_wheel_protection generic_mio_trait_gun_improvements }
		
		mutually_exclusive= { generic_mio_trait_speed_improvements }

		equipment_bonus = {
			armor_value = 0.1
			defense = 0.1
		}
	}
	trait = {
		token = generic_mio_trait_modular_construction
		name = generic_mio_trait_modular_construction
		icon = GFX_generic_mio_department_icon_tank_general_technology
		
		position = { x=2 y=2 }
		relative_position_id = generic_mio_trait_medium_tank_improvements
		
		any_parent = { generic_mio_trait_medium_tank_improvements }

		production_bonus = {
			production_efficiency_cap_factor = 0.1
			production_efficiency_gain_factor = 0.1
		}
	}

	trait = {
		token = generic_mio_trait_light_tank_specialization
		name = generic_mio_trait_light_tank_specialization
		icon = GFX_generic_mio_department_icon_tank_light_tank_production
		
		position = { x=-1 y=2 }
		relative_position_id = generic_mio_trait_modular_construction
		
		any_parent = { generic_mio_trait_modular_construction }
		
		mutually_exclusive= { generic_mio_trait_medium_tank_specialization generic_mio_trait_heavy_tank_specialization }

		limit_to_equipment_type = { mio_cat_eq_all_light_tank }

		production_bonus = {
			production_cost_factor = -0.05
		}
	}
	trait = {
		token = generic_mio_trait_medium_tank_specialization
		name = generic_mio_trait_medium_tank_specialization
		icon = GFX_generic_mio_department_icon_tank_medium_tank_production
		
		position = { x=0 y=2 }
		relative_position_id = generic_mio_trait_modular_construction

		any_parent = { generic_mio_trait_modular_construction }
		
		mutually_exclusive= { generic_mio_trait_light_tank_specialization generic_mio_trait_heavy_tank_specialization }
		
		limit_to_equipment_type = { mio_cat_eq_all_medium_tank }

		production_bonus = {
			production_cost_factor = -0.05
		}
	}

	trait = {
		token = generic_mio_trait_heavy_tank_specialization
		name = generic_mio_trait_heavy_tank_specialization
		icon = GFX_generic_mio_department_icon_tank_heavy_tank_production
		
		position = { x=1 y=2 }
		relative_position_id = generic_mio_trait_modular_construction

		any_parent = { generic_mio_trait_modular_construction }
		
		mutually_exclusive= { generic_mio_trait_light_tank_specialization generic_mio_trait_medium_tank_specialization }
		
		limit_to_equipment_type = { mio_cat_eq_all_heavy_tank }

		production_bonus = {
			production_cost_factor = -0.05
		}
	}
}


# MOBILE TANK DESIGNER / FAST TANK DESIGNER - Based on Hotchkiss (FRA)
generic_mobile_tank_organization = {
	icon = GFX_idea_generic_tank_manufacturer_3

	allowed = {
		always = no # Archetype only - countries using it have their own verisons
	}

	equipment_type = { armor }
	research_categories = { armor }

	tree_header_text = {
		text = mio_header_engine_and_suspension
		x = 1
	}

	tree_header_text = {
		text = mio_header_armor_and_armaments
		x = 7
	}

	initial_trait = {
		name = generic_mio_initial_trait_fast_tanks_designer
		
		equipment_bonus = {
			armor_value = -0.05
			reliability = -0.05
			maximum_speed = 0.1
		}
	}

	trait = {
		token = generic_mio_trait_improved_boogies
		name = generic_mio_trait_improved_boogies
		icon = GFX_generic_mio_department_icon_tank_general_engine

		position = { x=1 y=0 }
		
		equipment_bonus = {
			maximum_speed = 0.02
			reliability = 0.05
		}
	}

	trait = {
		token = generic_mio_engine_optimization
		name = generic_mio_engine_optimization
		icon = GFX_generic_mio_trait_icon_maximum_speed

		position = { x=-1 y=1 }
		relative_position_id = generic_mio_trait_improved_boogies

		all_parents = { generic_mio_trait_improved_boogies }

		mutually_exclusive = { generic_mio_reduced_fuel_usage }
		
		equipment_bonus = {
			maximum_speed = 0.05
		}
	}

	trait = {
		token = generic_mio_reduced_fuel_usage
		name = generic_mio_reduced_fuel_usage
		icon = GFX_generic_mio_trait_icon_fuel_consumption

		position = { x=1 y=1 }
		relative_position_id = generic_mio_trait_improved_boogies

		all_parents = { generic_mio_trait_improved_boogies }

		mutually_exclusive = { generic_mio_engine_optimization }
		
		equipment_bonus = {
			fuel_consumption = -0.05
		}
	}

	trait = {
		token = generic_mio_improved_ventilation
		name = generic_mio_improved_ventilation
		icon = GFX_generic_mio_trait_icon_defense

		position = { x=1 y=1 }
		relative_position_id = generic_mio_engine_optimization

		any_parent = { generic_mio_engine_optimization generic_mio_reduced_fuel_usage }
		
		equipment_bonus = {
			defense = 0.05
		}
	}

	trait = {
		token = generic_mio_improved_tracks_and_suspension
		name = generic_mio_improved_tracks_and_suspension
		icon = GFX_generic_mio_trait_icon_breakthrough

		position = { x=0 y=2 }
		relative_position_id = generic_mio_improved_ventilation

		all_parents = { generic_mio_improved_ventilation }
		
		equipment_bonus = {
			breakthrough = 0.05
			maximum_speed = 0.05
		}
	}

	trait = {
		token = generic_mio_sloping_armor
		name = generic_mio_sloping_armor
		icon = GFX_generic_mio_trait_icon_defense

		position = { x=6 y=0 }
		relative_position_id = generic_mio_trait_improved_boogies

		equipment_bonus = {
			defense = 0.05
		}
	}

	trait = {
		token = generic_mio_lighter_materials
		name = generic_mio_lighter_materials
		icon = GFX_generic_mio_trait_icon_resources

		position = { x=-1 y=1 }
		relative_position_id = generic_mio_sloping_armor

		all_parents = { generic_mio_sloping_armor }

		mutually_exclusive = { generic_mio_armor_hardening_process }
		
		production_bonus = {
			production_resource_penalty_factor = -0.1
		}
	}

	trait = {
		token = generic_mio_armor_hardening_process
		name = generic_mio_armor_hardening_process
		icon = GFX_generic_mio_trait_icon_armor_value

		position = { x=1 y=1 }
		relative_position_id = generic_mio_sloping_armor

		all_parents = { generic_mio_sloping_armor }

		mutually_exclusive = { generic_mio_lighter_materials }
		
		equipment_bonus = {
			armor_value = 0.05
		}
	}

	trait = {
		token = generic_mio_enlarged_breech
		name = generic_mio_enlarged_breech
		icon = GFX_generic_mio_trait_icon_soft_attack

		position = { x=1 y=1 }
		relative_position_id = generic_mio_lighter_materials

		any_parent = { generic_mio_lighter_materials generic_mio_armor_hardening_process }
		
		equipment_bonus = {
			soft_attack = 0.05
		}
	}

	trait = {
		token = generic_mio_gunner_sight_improvements
		name = generic_mio_gunner_sight_improvements
		icon = GFX_generic_mio_department_icon_tank_general_quality

		position = { x=0 y=2 }
		relative_position_id = generic_mio_enlarged_breech

		all_parents = { generic_mio_enlarged_breech }
		
		equipment_bonus = {
			breakthrough = 0.05
			defense = 0.05
		}
	}

	trait = {
		token = generic_mio_quality_assurance_routines
		name = generic_mio_quality_assurance_routines
		icon = GFX_generic_mio_trait_icon_reliability

		position = { x=3 y=1 }
		relative_position_id = generic_mio_trait_improved_boogies

		all_parents = { generic_mio_trait_improved_boogies generic_mio_sloping_armor }
		
		equipment_bonus = {
			reliability = 0.05
			build_cost_ic = 0.05
		}
	}

	trait = {
		token = generic_mio_streamlined_production
		name = generic_mio_streamlined_production
		icon = GFX_generic_mio_department_icon_tank_general_technology		

		position = { x=0 y=2 }
		relative_position_id = generic_mio_quality_assurance_routines

		all_parents = { generic_mio_quality_assurance_routines generic_mio_improved_ventilation generic_mio_enlarged_breech }
		

		production_bonus = {
			production_efficiency_cap_factor = 0.05
		}
	}
}


# MEDIUM TANK DESIGNER - Based on Army Ordnance Department (USA)
generic_medium_tank_organization = {
	icon = GFX_idea_generic_tank_manufacturer_2

	allowed = {
		always = no # Archetype only - countries using it have their own verisons
	}

	equipment_type = { mio_cat_eq_all_medium_tank }
	research_categories = { mio_cat_tech_medium_armor_and_modules }

	tree_header_text = {
		text = mio_header_design
		x = 1
	}

	tree_header_text = {
		text = mio_header_armor
		x = 5
	}

	tree_header_text = {
		text = mio_header_engines
		x = 8
	}


	initial_trait = {
		name = generic_mio_initial_trait_medium_tank_designer

		organization_modifier = {
			military_industrial_organization_research_bonus = 0.05
		}
		
		production_bonus = {
			production_capacity_factor = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_power_traverse
		name = generic_mio_trait_power_traverse
		icon = GFX_generic_mio_trait_icon_breakthrough

		position = { x=1 y=0 }
		
		equipment_bonus = {
			breakthrough = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_all_round_cupola
		name = generic_mio_trait_all_round_cupola
		icon = GFX_generic_mio_trait_icon_breakthrough

		position = { x=0 y=1 }
		relative_position_id = generic_mio_trait_power_traverse

		all_parents = { generic_mio_trait_power_traverse }
		
		equipment_bonus = {
			breakthrough = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_simplified_turret_design
		name = generic_mio_trait_simplified_turret_design
		icon = GFX_generic_mio_trait_icon_production_capacity

		position = { x=0 y=1 }
		relative_position_id = generic_mio_trait_all_round_cupola

		all_parents = { generic_mio_trait_all_round_cupola }
		
		production_bonus = {
			production_capacity_factor = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_specialist_shells
		name = generic_mio_trait_specialist_shells
		icon = GFX_generic_mio_trait_icon_hard_attack

		position = { x=-1 y=1 }
		relative_position_id = generic_mio_trait_simplified_turret_design

		all_parents = { generic_mio_trait_simplified_turret_design }
		
		equipment_bonus = {
			hard_attack = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_improved_gun_metallurgy
		name = generic_mio_trait_improved_gun_metallurgy
		icon = GFX_generic_mio_trait_icon_ap_attack

		position = { x=1 y=1 }
		relative_position_id = generic_mio_trait_simplified_turret_design

		all_parents = { generic_mio_trait_simplified_turret_design }
		
		equipment_bonus = {
			ap_attack = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_advanced_shells
		name = generic_mio_trait_advanced_shells
		icon = GFX_generic_mio_trait_icon_ap_attack

		position = { x=1 y=1 }
		relative_position_id = generic_mio_trait_specialist_shells

		any_parent = { generic_mio_trait_specialist_shells generic_mio_trait_improved_gun_metallurgy }
		
		equipment_bonus = {
			ap_attack = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_armor_steel_working
		name = generic_mio_trait_armor_steel_working
		icon = GFX_generic_mio_trait_icon_production_capacity

		position = { x=4 y=0 }
		relative_position_id = generic_mio_trait_power_traverse
		
		production_bonus = {
			production_capacity_factor = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_spaced_armor
		name = generic_mio_trait_spaced_armor
		icon = GFX_generic_mio_trait_icon_armor_value

		position = { x=-1 y=2 }
		relative_position_id = generic_mio_trait_armor_steel_working

		all_parents = { generic_mio_trait_armor_steel_working }

		mutually_exclusive = { generic_mio_trait_crew_survival_layout generic_mio_trait_sloped_side_armor }
		
		equipment_bonus = {
			armor_value = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_crew_survival_layout
		name = generic_mio_trait_crew_survival_layout
		icon = GFX_generic_mio_trait_icon_defense		

		position = { x=1 y=0 }
		relative_position_id = generic_mio_trait_spaced_armor

		all_parents = { generic_mio_trait_armor_steel_working }

		mutually_exclusive = { generic_mio_trait_spaced_armor generic_mio_trait_sloped_side_armor }
		
		equipment_bonus = {
			defense = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_sloped_side_armor
		name = generic_mio_trait_sloped_side_armor
		icon = GFX_generic_mio_trait_icon_breakthrough

		position = { x=2 y=0 }
		relative_position_id = generic_mio_trait_spaced_armor

		all_parents = { generic_mio_trait_armor_steel_working }

		mutually_exclusive = { generic_mio_trait_spaced_armor generic_mio_trait_crew_survival_layout }
		
		equipment_bonus = {
			breakthrough = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_truck_engines
		name = generic_mio_trait_truck_engines
		icon = GFX_generic_mio_trait_icon_reliability

		position = { x=2 y=0 }
		relative_position_id = generic_mio_trait_armor_steel_working

		mutually_exclusive = { generic_mio_trait_aircraft_engines }
		
		equipment_bonus = {
			reliability = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_aircraft_engines
		name = generic_mio_trait_aircraft_engines
		icon = GFX_generic_mio_trait_icon_maximum_speed

		position = { x=2 y=0 }
		relative_position_id = generic_mio_trait_truck_engines

		mutually_exclusive = { generic_mio_trait_truck_engines }
		
		equipment_bonus = {
			maximum_speed = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_improved_suspension
		name = generic_mio_trait_improved_suspension
		icon = GFX_generic_mio_trait_icon_reliability

		position = { x=1 y=1 }
		relative_position_id = generic_mio_trait_truck_engines

		any_parent = { generic_mio_trait_truck_engines generic_mio_trait_aircraft_engines }

		equipment_bonus = {
			reliability = 0.05
		}
	}
}


# HEAVY TANK DESIGNER - Based on KV (SOV)
generic_heavy_tank_organization = {
	icon = GFX_idea_generic_tank_manufacturer_3

	allowed = {
		always = no # Archetype only - countries using it have their own verisons
	}

	equipment_type = { mio_cat_eq_all_heavy_tank }
	research_categories = { mio_cat_tech_heavy_armor_and_modules }

	tree_header_text = {
		text = mio_header_engine_and_drive_system
		x = 1
	}

	tree_header_text = {
		text = mio_header_chassis
		x = 5
	}

	tree_header_text = {
		text = mio_header_guns_and_turret
		x = 8
	}


	initial_trait = {
		name = generic_mio_initial_trait_heavy_tank_designer

		organization_modifier = {
			military_industrial_organization_research_bonus = 0.05
		}
		
		equipment_bonus = {
			armor_value = 0.05
			reliability = -0.1
		}
	}

	trait = {
		token = generic_mio_trait_wide_tracks
		name = generic_mio_trait_wide_tracks
		icon = GFX_generic_mio_trait_icon_reliability

		position = { x=1 y=0 }
		
		equipment_bonus = {
			reliability = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_fire_extinguishers
		name = generic_mio_trait_fire_extinguishers
		icon = GFX_generic_mio_department_icon_tank_heavy_tank_quality

		position = { x=0 y=4 }
		relative_position_id = generic_mio_trait_wide_tracks

		all_parents = { generic_mio_trait_wide_tracks }
		
		equipment_bonus = {
			reliability = 0.05
			breakthrough = 0.02
		}
	}

	trait = {
		token = generic_mio_trait_one_piece_hull_side_coverings
		name = generic_mio_trait_one_piece_hull_side_coverings
		icon = GFX_generic_mio_department_icon_tank_heavy_tank_technology

		position = { x=4 y=0 }
		relative_position_id = generic_mio_trait_wide_tracks
		
		production_bonus = {
			production_efficiency_cap_factor = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_simplified_transmission_system
		name = generic_mio_trait_simplified_transmission_system
		icon = GFX_generic_mio_department_icon_tank_heavy_tank_line_efficiency

		position = { x=2 y=2 }
		relative_position_id = generic_mio_trait_wide_tracks

		all_parents = { generic_mio_trait_wide_tracks generic_mio_trait_one_piece_hull_side_coverings }
		
		production_bonus = {
			production_efficiency_cap_factor = 0.05
			production_efficiency_gain_factor = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_improved_engine_output
		name = generic_mio_trait_improved_engine_output
		icon = GFX_generic_mio_trait_icon_maximum_speed

		position = { x=0 y=2 }
		relative_position_id = generic_mio_trait_simplified_transmission_system

		all_parents = { generic_mio_trait_simplified_transmission_system }
		
		equipment_bonus = {
			maximum_speed = 0.05
			fuel_consumption = -0.05
		}
	}

	trait = {
		token = generic_mio_trait_sloping_armor
		name = generic_mio_trait_sloping_armor
		icon = GFX_generic_mio_department_icon_tank_general_armor

		position = { x=0 y=2 }
		relative_position_id = generic_mio_trait_one_piece_hull_side_coverings

		all_parents = { generic_mio_trait_one_piece_hull_side_coverings }
		
		equipment_bonus = {
			armor_value = 0.05
			defense = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_improved_crew_ergonomics
		name = generic_mio_trait_improved_crew_ergonomics
		icon = GFX_generic_mio_trait_icon_breakthrough

		position = { x=-1 y=2 }
		relative_position_id = generic_mio_trait_sloping_armor

		all_parents = { generic_mio_trait_sloping_armor }

		mutually_exclusive = { generic_mio_trait_reinforced_construction }
		
		equipment_bonus = {
			breakthrough = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_reinforced_construction
		name = generic_mio_trait_reinforced_construction
		icon = GFX_generic_mio_trait_icon_armor_value

		position = { x=1 y=2 }
		relative_position_id = generic_mio_trait_sloping_armor

		all_parents = { generic_mio_trait_sloping_armor }

		mutually_exclusive = { generic_mio_trait_improved_crew_ergonomics }
		
		equipment_bonus = {
			armor_value = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_fully_cast_turret
		name = generic_mio_trait_fully_cast_turret
		icon = GFX_generic_mio_department_icon_tank_general_armor

		position = { x=3 y=0 }
		relative_position_id = generic_mio_trait_one_piece_hull_side_coverings
		
		equipment_bonus = {
			armor_value = 0.05
			defense = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_commander_cupola
		name = generic_mio_trait_commander_cupola
		icon = GFX_generic_mio_department_icon_tank_general_armor

		position = { x=-1 y=2 }
		relative_position_id = generic_mio_trait_fully_cast_turret

		all_parents = { generic_mio_trait_fully_cast_turret }

		mutually_exclusive = { generic_mio_trait_simplified_layout }
		
		equipment_bonus = {
			armor_value = 0.05
			defense = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_simplified_layout
		name = generic_mio_trait_simplified_layout
		icon = GFX_generic_mio_department_icon_tank_heavy_tank_line_efficiency

		position = { x=1 y=2 }
		relative_position_id = generic_mio_trait_fully_cast_turret

		all_parents = { generic_mio_trait_fully_cast_turret }

		mutually_exclusive = { generic_mio_trait_commander_cupola }
		
		production_bonus = {
			production_efficiency_gain_factor = 0.05
			production_resource_penalty_factor = -0.1
		}
	}

	trait = {
		token = generic_mio_trait_high_explosive_shells
		name = generic_mio_trait_high_explosive_shells
		icon = GFX_generic_mio_department_icon_tank_general_weapons

		position = { x=0 y=2 }
		relative_position_id = generic_mio_trait_commander_cupola

		any_parent = { generic_mio_trait_commander_cupola generic_mio_trait_simplified_layout }

		mutually_exclusive = { generic_mio_trait_apcr_hvap_shells }
		
		equipment_bonus = {
			soft_attack = 0.05
			hard_attack = 0.03
		}
	}

	trait = {
		token = generic_mio_trait_apcr_hvap_shells
		name = generic_mio_trait_apcr_hvap_shells
		icon = GFX_generic_mio_trait_icon_ap_attack

		position = { x=0 y=2 }
		relative_position_id = generic_mio_trait_simplified_layout

		any_parent = { generic_mio_trait_commander_cupola generic_mio_trait_simplified_layout }

		mutually_exclusive = { generic_mio_trait_high_explosive_shells }
		
		equipment_bonus = {
			ap_attack = 0.05
			hard_attack = 0.05
		}
	}
}


### TANK REFURBISHMENT PLANT - Based on Mytishchi
generic_tank_refurbishment_plant_organization = {
	icon = GFX_idea_generic_tank_manufacturer_3

	allowed = {
		always = no # Archetype only - countries using it have their own verisons
	}

	equipment_type = {
		armor
		support_equipment
		train_equipment
	}

	research_categories = {
		armor
		support_tech
		train_tech
	}

	tree_header_text = {
		text = mio_header_armor
		x = 1
	}

	tree_header_text = {
		text = mio_header_weapons
		x = 5
	}

	tree_header_text = {
		text = mio_header_trains
		x = 8
	}

	initial_trait = {
		token = generic_mio_initial_trait_tank_refurbishment_plant
		name = generic_mio_initial_trait_tank_refurbishment_plant

		limit_to_equipment_type = { armor }

		organization_modifier = {
			military_industrial_organization_research_bonus = 0.05
		}

		production_bonus = {
			production_conversion_speed_factor = 0.15
			production_cost_factor = -0.05
		}
	}

	trait = {
		token = generic_mio_trait_enemy_tank_refitting
		name = generic_mio_trait_enemy_tank_refitting
		icon = GFX_generic_mio_department_icon_tank_general_conversion

		position = { x=1 y=0 }

		limit_to_equipment_type = { armor }

		production_bonus = {
			production_conversion_speed_factor = 0.15
			production_cost_factor = -0.03
		}
	}

	trait = {
		token = generic_mio_trait_efficient_scrap_recycling
		name = generic_mio_trait_efficient_scrap_recycling
		icon = GFX_generic_mio_trait_icon_hardness
		
		position = { x=-1 y=1 }
		relative_position_id = generic_mio_trait_enemy_tank_refitting

		any_parent = { generic_mio_trait_enemy_tank_refitting }

		limit_to_equipment_type = { armor }

		equipment_bonus = {
			hardness = -0.06
		}

		production_bonus = {
			production_resource_need_factor = -0.2
		}
	}

	trait = {
		token = generic_mio_trait_high_volume_smelter
		name = generic_mio_trait_high_volume_smelter
		icon = GFX_generic_mio_department_icon_tank_general_production
		
		position = { x=0 y=1 }
		relative_position_id = generic_mio_trait_efficient_scrap_recycling

		any_parent = { generic_mio_trait_efficient_scrap_recycling }

		limit_to_equipment_type = { armor }

		production_bonus = {
			production_capacity_factor = 0.06
		}
	}

	trait = {
		token = generic_mio_trait_high_powered_engine_production
		name = generic_mio_trait_high_powered_engine_production
		icon = GFX_generic_mio_trait_icon_maximum_speed

		position = { x=1 y=2 }
		relative_position_id = generic_mio_trait_enemy_tank_refitting

		any_parent = { generic_mio_trait_enemy_tank_refitting }

		limit_to_equipment_type = { armor }

		equipment_bonus = {
			maximum_speed = 0.1
		}
	}

	trait = {
		token = generic_mio_trait_heavy_duty_machine_tools
		name = generic_mio_trait_heavy_duty_machine_tools
		icon = GFX_generic_mio_department_icon_tank_general_production

		position = { x=1 y=1 }
		relative_position_id = generic_mio_trait_high_volume_smelter

		all_parents = { generic_mio_trait_high_powered_engine_production generic_mio_trait_high_volume_smelter }

		limit_to_equipment_type = { armor }

		equipment_bonus = {
			maximum_speed = 0.1
		}

		production_bonus = {
			production_efficiency_gain_factor = 0.05
			production_efficiency_cap_factor = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_multi_plant_cooperation
		name = generic_mio_trait_multi_plant_cooperation
		icon = GFX_generic_mio_department_icon_tank_general_line_efficiency

		position = { x=0 y=1 }
		relative_position_id = generic_mio_trait_heavy_duty_machine_tools

		any_parent = { generic_mio_trait_heavy_duty_machine_tools }

		limit_to_equipment_type = { armor }

		production_bonus = {
			production_efficiency_gain_factor = 0.08
		}
	}

	trait = {
		token = generic_mio_trait_standardized_secondary_armament
		name = generic_mio_trait_standardized_secondary_armament
		icon = GFX_generic_mio_trait_icon_breakthrough

		position = { x=3 y=0 }
		relative_position_id = generic_mio_trait_enemy_tank_refitting

		limit_to_equipment_type = { armor }

		equipment_bonus = {
			breakthrough = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_mass_small_arms_ammunition_production
		name = generic_mio_trait_mass_small_arms_ammunition_production
		icon = GFX_generic_mio_trait_icon_build_cost_ic

		position = { x=0 y=2 }
		relative_position_id = generic_mio_trait_standardized_secondary_armament

		any_parent = { generic_mio_trait_standardized_secondary_armament }

		limit_to_equipment_type = { armor support_equipment }
		
		production_bonus = {
			production_cost_factor = -0.05
		}
	}

	trait = {
		token = generic_mio_trait_plant_tech_exchange
		name = generic_mio_trait_plant_tech_exchange
		icon = GFX_generic_mio_department_icon_facilities
		
		position = { x=2 y=0 }
		relative_position_id = generic_mio_trait_standardized_secondary_armament

		organization_modifier = {
			military_industrial_organization_research_bonus = 0.06
		}
	}


	trait = {
		token = generic_mio_trait_24h_rotation_shifts
		name = generic_mio_trait_24h_rotation_shifts
		icon = GFX_generic_mio_trait_icon_production_capacity

		position = { x=0 y=2 }
		relative_position_id = generic_mio_trait_plant_tech_exchange
	
		any_parent = { generic_mio_trait_plant_tech_exchange }

		production_bonus = {
			production_capacity_factor = 0.06
		}
	}

	trait = {
		token = generic_mio_trait_dual_plant_main_armament_production
		name = generic_mio_trait_dual_plant_main_armament_production
		icon = GFX_generic_mio_trait_icon_soft_attack

		position = { x=1 y=2 }
		relative_position_id = generic_mio_trait_mass_small_arms_ammunition_production

		all_parents = { generic_mio_trait_mass_small_arms_ammunition_production generic_mio_trait_24h_rotation_shifts }
		
		limit_to_equipment_type = { armor }

		equipment_bonus = {
			soft_attack = 0.05
			reliability = -0.05
		}
		
		production_bonus = {
			production_efficiency_gain_factor = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_long_distance_escort
		name = generic_mio_trait_long_distance_escort
		icon = GFX_generic_mio_trait_icon_anti_air_attack
		
		position = { x=2 y=0 }
		relative_position_id = generic_mio_trait_plant_tech_exchange

		limit_to_equipment_type = { train_equipment }

		equipment_bonus = {
			armor_value = 0.06
			air_attack = 0.1
		}
	}

	trait = {
		token = generic_mio_trait_high_efficiency_train
		name = generic_mio_trait_high_efficiency_train
		icon = GFX_generic_mio_trait_icon_production_capacity
		
		position = { x=0 y=4 }
		relative_position_id = generic_mio_trait_long_distance_escort

		limit_to_equipment_type = { train_equipment }

		all_parents = { generic_mio_trait_24h_rotation_shifts generic_mio_trait_long_distance_escort }
		
		equipment_bonus = {
			build_cost_ic = -0.05
		}
	}
}




 ######  ##     ## #### ########   ######  
##    ## ##     ##  ##  ##     ## ##    ## 
##       ##     ##  ##  ##     ## ##       
 ######  #########  ##  ########   ######  
      ## ##     ##  ##  ##              ## 
##    ## ##     ##  ##  ##        ##    ## 
 ######  ##     ## #### ##         ######  



# GENERIC TANK MANUFACTURERS

#TASK FORCE MANUFACTURER - Based on Harland & Wolff (ENG)
generic_task_force_ship_organization = {
	icon = GFX_idea_generic_naval_manufacturer_1

	allowed = {
		always = no # Archetype only - countries using it have their own verisons
	}

	equipment_type = {
		mio_cat_eq_all_carrier
		mio_cat_eq_all_cruiser
		mio_cat_eq_all_destroyer
	}
	research_categories = {
		mio_cat_tech_all_carrier_and_modules
		mio_cat_tech_all_cruiser_and_modules
		mio_cat_tech_all_destroyer_and_modules
	}

	

	tree_header_text = {
		text = mio_header_systems
		x = 1
	}

	tree_header_text = {
		text = mio_header_weapons
		x = 5
	}

	
	initial_trait = {
		name = generic_mio_initial_trait_task_force_ship_builders

		organization_modifier = {
			military_industrial_organization_research_bonus = 0.05
		}
		equipment_bonus = {
			max_strength = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_long_range_cruising
		name = generic_mio_trait_long_range_cruising
		icon = GFX_generic_mio_trait_icon_naval_range

		position = { x=0 y=0 }
		
		mutually_exclusive = { generic_mio_trait_high_speed_cruising }

		equipment_bonus = {
			naval_range = 0.05
			fuel_consumption = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_high_speed_cruising
		name = generic_mio_trait_high_speed_cruising
		icon = GFX_generic_mio_trait_icon_maximum_speed

		position = { x=2 y=0 }
		relative_position_id = generic_mio_trait_long_range_cruising
		
		mutually_exclusive = { generic_mio_trait_long_range_cruising }
		
		equipment_bonus = {
			naval_speed = 0.05
			fuel_consumption = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_splinter_protection
		name = generic_mio_trait_splinter_protection
		icon = GFX_generic_mio_trait_icon_armor_value

		position = { x=1 y=2 }
		relative_position_id = generic_mio_trait_long_range_cruising
		
		any_parent = { generic_mio_trait_long_range_cruising generic_mio_trait_high_speed_cruising }

		limit_to_equipment_type = { mio_cat_eq_all_carrier mio_cat_eq_all_cruiser }

		equipment_bonus = {
			armor_value = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_transom_stern
		name = generic_mio_trait_transom_stern
		icon = GFX_generic_mio_trait_icon_maximum_speed

		position = { x=-1 y=2 }
		relative_position_id = generic_mio_trait_splinter_protection
		
		any_parent = { generic_mio_trait_splinter_protection }

		mutually_exclusive = { generic_mio_trait_underway_replenishment_equipment }

		equipment_bonus = {
			naval_speed = 0.05
			fuel_consumption = -0.05
		}
	}

	trait = {
		token = generic_mio_trait_underway_replenishment_equipment
		name = generic_mio_trait_underway_replenishment_equipment
		icon = GFX_generic_mio_trait_icon_fuel_consumption

		position = { x=1 y=2 }
		relative_position_id = generic_mio_trait_splinter_protection
		
		any_parent = { generic_mio_trait_splinter_protection }

		mutually_exclusive = { generic_mio_trait_transom_stern }

		equipment_bonus = {
			naval_range = 0.05
			fuel_consumption = -0.05
		}
	}

	trait = {
		token = generic_mio_trait_secondary_fire_director_control
		name = generic_mio_trait_secondary_fire_director_control
		icon = GFX_generic_mio_trait_icon_anti_air_attack

		position = { x=5 y=0 }
		relative_position_id = generic_mio_trait_long_range_cruising
		
		limit_to_equipment_type = { screen_ship carrier }

		equipment_bonus = {
			anti_air_attack = 0.05
			naval_light_gun_hit_chance_factor = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_flight_deck_edge_aa_mounts
		name = generic_mio_trait_flight_deck_edge_aa_mounts
		icon = GFX_generic_mio_department_icon_ship_carrier_offense

		position = { x=-1 y=1 }
		relative_position_id = generic_mio_trait_secondary_fire_director_control
		
		any_parent = { generic_mio_trait_secondary_fire_director_control }

		limit_to_equipment_type = { mio_cat_eq_all_carrier }

		equipment_bonus = {
			anti_air_attack = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_gyro_stabilized_mounts
		name = generic_mio_trait_gyro_stabilized_mounts
		icon = GFX_generic_mio_trait_icon_lg_attack

		position = { x=0 y=1 }
		relative_position_id = generic_mio_trait_flight_deck_edge_aa_mounts
		
		any_parent = { generic_mio_trait_flight_deck_edge_aa_mounts }
		
		equipment_bonus = {
			anti_air_attack = 0.05
			lg_attack = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_rapid_fire_guns
		name = generic_mio_trait_rapid_fire_guns
		icon = GFX_generic_mio_department_icon_ship_general_offense

		position = { x=1 y=1 }
		relative_position_id = generic_mio_trait_secondary_fire_director_control
		
		any_parent = { generic_mio_trait_secondary_fire_director_control }

		mutually_exclusive = { generic_mio_trait_high_velocity_guns }

		equipment_bonus = {
			anti_air_attack = 0.05
			lg_attack = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_advanced_fitting_works
		name = generic_mio_trait_advanced_fitting_works
		icon = GFX_generic_mio_department_icon_ship_general_production

		position = { x=0 y=1 }
		relative_position_id = generic_mio_trait_rapid_fire_guns
		
		any_parent = { generic_mio_trait_rapid_fire_guns generic_mio_trait_high_velocity_guns }
		
		production_bonus = {
			production_capacity_factor = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_carrier_flight_operations_center
		name = generic_mio_trait_carrier_flight_operations_center
		icon = GFX_generic_mio_trait_icon_max_strength

		position = { x=1 y=2 } #MM: This one could be moved up (4th row) so that it is visually clear which traits are the parents
		relative_position_id = generic_mio_trait_gyro_stabilized_mounts
		
		all_parents = { generic_mio_trait_gyro_stabilized_mounts generic_mio_trait_advanced_fitting_works generic_mio_trait_splinter_protection }
		
		equipment_bonus = {
			max_strength = 0.1
		}
	}

	trait = {
		token = generic_mio_trait_primary_fire_director_control
		name = generic_mio_trait_primary_fire_director_control
		icon = GFX_generic_mio_trait_icon_hg_attack

		position = { x=3 y=0 }
		relative_position_id = generic_mio_trait_secondary_fire_director_control
		
		limit_to_equipment_type = { mio_cat_eq_all_cruiser }

		equipment_bonus = {
			hg_attack = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_high_velocity_guns
		name = generic_mio_trait_high_velocity_guns
		icon = GFX_generic_mio_trait_icon_ap_attack

		position = { x=0 y=1 }
		relative_position_id = generic_mio_trait_primary_fire_director_control
		
		any_parent = { generic_mio_trait_primary_fire_director_control }

		mutually_exclusive = { generic_mio_trait_rapid_fire_guns }

		limit_to_equipment_type = { mio_cat_eq_all_cruiser }

		equipment_bonus = {
			hg_armor_piercing = 0.05
		}
	}
}


#BATTLE LINE SHIP MANUFACTURER - Based on Cammell Laird (ENG)
generic_battle_line_ship_organization = {
	icon = GFX_idea_generic_naval_manufacturer_2

	allowed = {
		always = no # Archetype only - countries using it have their own verisons
	}

	equipment_type = {
		mio_cat_eq_all_battleship
		mio_cat_eq_all_cruiser
	}
	research_categories = {
		mio_cat_tech_all_capital_ship_and_modules
		mio_cat_tech_all_cruiser_and_modules
	}

	tree_header_text = {
		text = mio_header_systems
		x = 1
	}

	tree_header_text = {
		text = mio_header_weapons
		x = 5
	}

	initial_trait = {
		name = generic_mio_initial_trait_battle_line_ship_builders

		organization_modifier = {
			military_industrial_organization_research_bonus = 0.05
		}
		production_bonus = {
			production_capacity_factor = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_external_armor_belt
		name = generic_mio_trait_external_armor_belt
		icon = GFX_generic_mio_trait_icon_armor_value

		position = { x=0 y=0 }

		mutually_exclusive = { generic_mio_trait_internal_armor_belt }

		equipment_bonus = {
			armor_value = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_internal_armor_belt
		name = generic_mio_trait_internal_armor_belt
		icon = GFX_generic_mio_department_icon_ship_capital_ship_armor

		position = { x=2 y=0 }
		relative_position_id = generic_mio_trait_external_armor_belt

		mutually_exclusive = { generic_mio_trait_external_armor_belt }

		equipment_bonus = {
			armor_value = 0.15
			build_cost_ic = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_hardened_critical_components
		name = generic_mio_trait_hardened_critical_components
		icon = GFX_generic_mio_trait_icon_naval_torpedo_damage_reduction_factor

		position = { x=1 y=2 }
		relative_position_id = generic_mio_trait_external_armor_belt

		any_parent = { generic_mio_trait_internal_armor_belt generic_mio_trait_external_armor_belt }

		equipment_bonus = {
			naval_torpedo_enemy_critical_chance_factor = -0.05
		}
	}

	trait = {
		token = generic_mio_trait_advanced_hydrodynamic_design
		name = generic_mio_trait_advanced_hydrodynamic_design
		icon = GFX_generic_mio_trait_icon_maximum_speed

		position = { x=-1 y=2 }
		relative_position_id = generic_mio_trait_hardened_critical_components

		any_parent = { generic_mio_trait_hardened_critical_components }

		mutually_exclusive = { generic_mio_trait_advanced_armor_design }

		equipment_bonus = {
			naval_speed = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_advanced_armor_design
		name = generic_mio_trait_advanced_armor_design
		icon = GFX_generic_mio_trait_icon_armor_value

		position = { x=1 y=2 }
		relative_position_id = generic_mio_trait_hardened_critical_components

		any_parent = { generic_mio_trait_hardened_critical_components }

		mutually_exclusive = { generic_mio_trait_advanced_hydrodynamic_design }

		equipment_bonus = {
			armor_value = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_anti_air_layout
		name = generic_mio_trait_anti_air_layout
		icon = GFX_generic_mio_trait_icon_anti_air_attack

		position = { x=4 y=0 }
		relative_position_id = generic_mio_trait_external_armor_belt

		equipment_bonus = {
			anti_air_attack = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_secondary_battery_layout
		name = generic_mio_trait_secondary_battery_layout
		icon = GFX_generic_mio_trait_icon_lg_attack

		position = { x=2 y=0 }
		relative_position_id = generic_mio_trait_anti_air_layout

		equipment_bonus = {
			lg_attack = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_gyro_stabilized_mounts
		name = generic_mio_trait_gyro_stabilized_mounts
		icon = GFX_generic_mio_department_icon_ship_capital_ship_offense

		position = { x=1 y=1 }
		relative_position_id = generic_mio_trait_anti_air_layout

		all_parents = { generic_mio_trait_anti_air_layout generic_mio_trait_secondary_battery_layout }

		equipment_bonus = {
			anti_air_attack = 0.05
			lg_attack = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_secondary_fire_director_control
		name = generic_mio_trait_secondary_fire_director_control
		icon = GFX_generic_mio_department_icon_ship_capital_ship_offense

		position = { x=0 y=1 }
		relative_position_id = generic_mio_trait_gyro_stabilized_mounts

		any_parent = { generic_mio_trait_gyro_stabilized_mounts }

		equipment_bonus = {
			anti_air_attack = 0.05
			naval_light_gun_hit_chance_factor = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_combat_information_center
		name = generic_mio_trait_combat_information_center
		icon = GFX_generic_mio_trait_icon_max_strength

		position = { x=0 y=2 }
		relative_position_id = generic_mio_trait_secondary_fire_director_control

		all_parents = { generic_mio_trait_hardened_critical_components generic_mio_trait_secondary_fire_director_control }
		any_parent =  { generic_mio_trait_super_heavy_shells generic_mio_trait_semi_armor_piercing_shells generic_mio_trait_high_velocity_guns }

		equipment_bonus = {
			max_strength = 0.1
		}
	}

	trait = {
		token = generic_mio_trait_primary_battery_layout
		name = generic_mio_trait_primary_battery_layout
		icon = GFX_generic_mio_trait_icon_hg_attack

		position = { x=2 y=0 }
		relative_position_id = generic_mio_trait_secondary_battery_layout

		limit_to_equipment_type = { capital_ship }

		equipment_bonus = {
			hg_attack = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_super_heavy_shells
		name = generic_mio_trait_super_heavy_shells
		icon = GFX_generic_mio_trait_icon_hg_attack

		position = { x=-1 y=2 }
		relative_position_id = generic_mio_trait_primary_battery_layout

		any_parent = { generic_mio_trait_primary_battery_layout }

		mutually_exclusive = { generic_mio_trait_semi_armor_piercing_shells generic_mio_trait_high_velocity_guns }

		equipment_bonus = {
			hg_attack = 0.05
			hg_armor_piercing = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_semi_armor_piercing_shells
		name = generic_mio_trait_semi_armor_piercing_shells
		icon = GFX_generic_mio_trait_icon_lg_attack

		position = { x=1 y=0 }
		relative_position_id = generic_mio_trait_super_heavy_shells

		any_parent = { generic_mio_trait_primary_battery_layout }

		mutually_exclusive = { generic_mio_trait_super_heavy_shells generic_mio_trait_high_velocity_guns }

		equipment_bonus = {
			lg_attack = 0.05
			lg_armor_piercing = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_high_velocity_guns
		name = generic_mio_trait_high_velocity_guns
		icon = GFX_generic_mio_trait_icon_ap_attack

		position = { x=2 y=0 }
		relative_position_id = generic_mio_trait_super_heavy_shells

		any_parent = { generic_mio_trait_primary_battery_layout }

		mutually_exclusive = { generic_mio_trait_super_heavy_shells generic_mio_trait_semi_armor_piercing_shells }

		equipment_bonus = {
			lg_armor_piercing = 0.1
			hg_armor_piercing = 0.1
			build_cost_ic = 0.05
		}
	}
}


#ESCORT FLEET MANUFACTURER - Based on Yarrow Shipbuilders (ENG)
generic_escort_ship_organization = {
	icon = GFX_idea_generic_naval_manufacturer_1

	allowed = {
		NOT = {
			OR = {
				tag = JAP
				tag = KOR
				tag = CHI
				tag = USA
				tag = AST
				tag = PRC
				tag = ISR
				tag = ITA
				tag = PAK
				tag = BRA
				tag = GUA
				tag = URG
				tag = HUN
				tag = RCO
			}
		}
	}

	equipment_type = {
		screen_ship
	}
	research_categories = {
		mio_cat_tech_all_screen_ship_and_modules
	}
	
	tree_header_text = {
		text = mio_header_systems
		x = 1
	}

	tree_header_text = {
		text = mio_header_weapons
		x = 5
	}

	initial_trait = {
		name = generic_mio_initial_trait_escort_fleet

		organization_modifier = {
			military_industrial_organization_research_bonus = 0.05
		}
		production_bonus = {
			production_capacity_factor = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_submarine_hunters
		name = generic_mio_trait_submarine_hunters
		icon = GFX_generic_mio_trait_icon_sub_attack

		position = { x=1 y=0 }

		equipment_bonus = {
			sub_detection = 0.05
			sub_attack = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_high_speed_mine_hunting_equipment
		name = generic_mio_trait_high_speed_mine_hunting_equipment
		icon = GFX_generic_mio_trait_icon_sub_visibility

		position = { x=0 y=2 }
		relative_position_id = generic_mio_trait_submarine_hunters

		any_parent = { generic_mio_trait_submarine_hunters }

		equipment_bonus = {
			sub_detection = 0.05
			mines_sweeping = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_advanced_hydrodynamic_design
		name = generic_mio_trait_advanced_hydrodynamic_design
		icon = GFX_generic_mio_trait_icon_maximum_speed

		position = { x=0 y=2 }
		relative_position_id = generic_mio_trait_high_speed_mine_hunting_equipment

		any_parent = { generic_mio_trait_high_speed_mine_hunting_equipment }

		equipment_bonus = {
			naval_speed = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_fleet_escorts
		name = generic_mio_trait_fleet_escorts
		icon = GFX_generic_mio_department_icon_ship_screen_ship_offense

		position = { x=5 y=0 }
		relative_position_id = generic_mio_trait_submarine_hunters

		equipment_bonus = {
			anti_air_attack = 0.05
			lg_attack = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_anti_air_ships
		name = generic_mio_trait_anti_air_ships
		icon = GFX_generic_mio_trait_icon_anti_air_attack

		position = { x=-3 y=2 }
		relative_position_id = generic_mio_trait_fleet_escorts

		any_parent = { generic_mio_trait_fleet_escorts }

		mutually_exclusive = { generic_mio_trait_escort_in_force }

		equipment_bonus = {
			anti_air_attack = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_escort_in_force
		name = generic_mio_trait_escort_in_force
		icon = GFX_generic_mio_trait_icon_lg_attack

		position = { x=2 y=0 }
		relative_position_id = generic_mio_trait_anti_air_ships

		any_parent = { generic_mio_trait_fleet_escorts }

		mutually_exclusive = { generic_mio_trait_anti_air_ships }

		equipment_bonus = {
			lg_attack = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_anti_air_layout
		name = generic_mio_trait_anti_air_layout
		icon = GFX_generic_mio_trait_icon_anti_air_attack

		position = { x=2 y=0 }
		relative_position_id = generic_mio_trait_escort_in_force

		any_parent = { generic_mio_trait_fleet_escorts }

		equipment_bonus = {
			anti_air_attack = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_gyro_stabilized_mounts
		name = generic_mio_trait_gyro_stabilized_mounts
		icon = GFX_generic_mio_department_icon_ship_screen_ship_offense

		position = { x=0 y=1 }
		relative_position_id = generic_mio_trait_anti_air_layout

		any_parent = { generic_mio_trait_anti_air_layout }

		equipment_bonus = {
			anti_air_attack = 0.05
			lg_attack = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_improved_anti_air_gun_mounting
		name = generic_mio_trait_improved_anti_air_gun_mounting
		icon = GFX_generic_mio_trait_icon_anti_air_attack

		position = { x=0 y=2 }
		relative_position_id = generic_mio_trait_anti_air_ships

		any_parent = { generic_mio_trait_anti_air_ships generic_mio_trait_escort_in_force }

		equipment_bonus = {
			anti_air_attack = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_mass_production
		name = generic_mio_trait_mass_production
		icon = GFX_generic_mio_department_icon_ship_screen_ship_production

		position = { x=1 y=0 }
		relative_position_id = generic_mio_trait_improved_anti_air_gun_mounting

		any_parent = { generic_mio_trait_anti_air_ships generic_mio_trait_escort_in_force }

		production_bonus = {
			production_capacity_factor = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_improved_light_gun_mounting
		name = generic_mio_trait_improved_light_gun_mounting
		icon = GFX_generic_mio_department_icon_ship_screen_ship_offense

		position = { x=2 y=0 }
		relative_position_id = generic_mio_trait_mass_production

		any_parent = { generic_mio_trait_anti_air_ships generic_mio_trait_escort_in_force }
		any_parent = {  generic_mio_trait_gyro_stabilized_mounts }

		equipment_bonus = {
			anti_air_attack = 0.05
			lg_attack = 0.05
		}
	}
}


#RAIDING FLEET MANUFACTURER - Based on John Brown (ENG)
generic_raider_ship_organization = {
	icon = GFX_idea_generic_naval_manufacturer_3

	allowed = {
		NOT = {
			OR = {
				tag = JAP
				tag = KOR
				tag = CHI
				tag = USA
				tag = PRC
				tag = GUA
				tag = URG
				tag = HUN
			}
		}
	}

	equipment_type = {
		capital_ship
		screen_ship
		submarine
	}
	research_categories = {
		mio_cat_tech_all_capital_ship_and_modules
		mio_cat_tech_all_screen_ship_and_modules
		mio_cat_tech_all_submarine_and_modules
	}
	
	tree_header_text = {
		text = mio_header_long_range_focus
		x = 1
	}

	tree_header_text = {
		text = mio_header_high_speed_focus
		x = 7
	}

	initial_trait = {
		name = generic_mio_initial_trait_raiding_fleet

		organization_modifier = {
			military_industrial_organization_research_bonus = 0.05
		}
		equipment_bonus = {
			surface_visibility = -0.05
		}
	}

	trait = {
		token = generic_mio_trait_long_range_raiding
		name = generic_mio_trait_long_range_raiding
		icon = GFX_generic_mio_department_icon_ship_general_engine

		position = { x=1 y=0 }

		mutually_exclusive = { generic_mio_trait_high_speed_raiding }

		equipment_bonus = {
			naval_range = 0.05
			fuel_consumption = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_high_speed_raiding
		name = generic_mio_trait_high_speed_raiding
		icon = GFX_generic_mio_trait_icon_maximum_speed

		position = { x=6 y=0 }
		relative_position_id = generic_mio_trait_long_range_raiding

		mutually_exclusive = { generic_mio_trait_long_range_raiding }

		equipment_bonus = {
			naval_speed = 0.05
			fuel_consumption = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_diesel_powerplants
		name = generic_mio_trait_diesel_powerplants
		icon = GFX_generic_mio_trait_icon_fuel_consumption

		position = { x=-1 y=1 }
		relative_position_id = generic_mio_trait_long_range_raiding

		any_parent = { generic_mio_trait_long_range_raiding }

		equipment_bonus = {
			fuel_consumption = -0.05
		}
	}

	trait = {
		token = generic_mio_trait_high_speed_operation_stores
		name = generic_mio_trait_high_speed_operation_stores
		icon = GFX_generic_mio_trait_icon_mines

		position = { x=1 y=1 }
		relative_position_id = generic_mio_trait_high_speed_raiding

		any_parent = { generic_mio_trait_high_speed_raiding }

		visible = {
			has_dlc = "Man the Guns"
		}

		equipment_bonus = {
			naval_speed = 0.05
			mines_planting = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_high_speed_operation_stores_no_mtg
		name = generic_mio_trait_high_speed_operation_stores
		icon = GFX_generic_mio_trait_icon_mines

		position = { x=0 y=0 }
		relative_position_id = generic_mio_trait_high_speed_operation_stores

		any_parent = { generic_mio_trait_high_speed_raiding }

		visible = {
			NOT = { has_dlc = "Man the Guns" }
		}

		equipment_bonus = {
			naval_speed = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_raiding_capital_ships
		name = generic_mio_trait_raiding_capital_ships
		icon = GFX_generic_mio_department_icon_ship_capital_ship_weapons

		position = { x=1 y=2 }
		relative_position_id = generic_mio_trait_long_range_raiding

		any_parent = { generic_mio_trait_long_range_raiding generic_mio_trait_high_speed_raiding }

		limit_to_equipment_type = { capital_ship }

		equipment_bonus = {
			surface_visibility = -0.05
			hg_attack = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_long_range_engagement_ethos
		name = generic_mio_trait_long_range_engagement_ethos
		icon = GFX_generic_mio_department_icon_ship_capital_ship_weapons

		position = { x=-1 y=1 }
		relative_position_id = generic_mio_trait_raiding_capital_ships

		any_parent = { generic_mio_trait_raiding_capital_ships }

		limit_to_equipment_type = { capital_ship }

		equipment_bonus = {
			surface_visibility = -0.05
			hg_attack = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_high_quality_optics
		name = generic_mio_trait_high_quality_optics
		icon = GFX_generic_mio_trait_icon_surface_detection

		position = { x=1 y=1 }
		relative_position_id = generic_mio_trait_raiding_capital_ships

		any_parent = { generic_mio_trait_raiding_capital_ships }

		mutually_exclusive = { generic_mio_trait_spotting_tops }

		equipment_bonus = {
			surface_detection = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_raider_escort_requirements
		name = generic_mio_trait_raider_escort_requirements
		icon = GFX_generic_mio_department_icon_ship_screen_ship_engine

		position = { x=-1 y=1 }
		relative_position_id = generic_mio_trait_long_range_engagement_ethos

		any_parent = { generic_mio_trait_long_range_engagement_ethos }

		limit_to_equipment_type = { screen_ship }

		equipment_bonus = {
			naval_range = 0.05
			naval_speed = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_unescorted_raider_requirements
		name = generic_mio_trait_unescorted_raider_requirements
		icon = GFX_generic_mio_trait_icon_lg_attack

		position = { x=1 y=1 }
		relative_position_id = generic_mio_trait_long_range_engagement_ethos

		all_parents = { generic_mio_trait_long_range_engagement_ethos generic_mio_trait_high_quality_optics }

		limit_to_equipment_type = { capital_ship }

		equipment_bonus = {
			lg_attack = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_raiding_cruisers
		name = generic_mio_trait_raiding_cruisers
		icon = GFX_generic_mio_trait_icon_surface_visibility

		position = { x=-3 y=2 }
		relative_position_id = generic_mio_trait_high_speed_raiding

		any_parent = { generic_mio_trait_long_range_raiding generic_mio_trait_high_speed_raiding }

		limit_to_equipment_type = { ship_hull_cruiser }

		equipment_bonus = {
			surface_visibility = -0.05
		}
	}

	trait = {
		token = generic_mio_trait_raiding_submarines
		name = generic_mio_trait_raiding_submarines
		icon = GFX_generic_mio_department_icon_ship_submarine_survivability

		position = { x=2 y=0 }
		relative_position_id = generic_mio_trait_raiding_cruisers

		any_parent = { generic_mio_trait_high_speed_raiding generic_mio_trait_long_range_raiding }

		limit_to_equipment_type = { submarine }

		equipment_bonus = {
			surface_visibility = -0.05
			sub_visibility = -0.05
		}
	}

	trait = {
		token = generic_mio_trait_spotting_tops
		name = generic_mio_trait_spotting_tops
		icon = GFX_generic_mio_trait_icon_surface_visibility		

		position = { x=1 y=1 }
		relative_position_id = generic_mio_trait_raiding_cruisers

		all_parents = { generic_mio_trait_raiding_cruisers generic_mio_trait_raiding_submarines }

		mutually_exclusive = { generic_mio_trait_high_quality_optics }

		limit_to_equipment_type = { capital_ship screen_ship }

		equipment_bonus = {
			surface_visibility = -0.05
		}
	}

	trait = {
		token = generic_mio_trait_large_torpedo_banks
		name = generic_mio_trait_large_torpedo_banks
		icon = GFX_generic_mio_trait_icon_torpedo_attack

		position = { x=1 y=1 }
		relative_position_id = generic_mio_trait_raiding_submarines

		any_parent = { generic_mio_trait_raiding_submarines }

		equipment_bonus = {
			torpedo_attack = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_mass_produced_raiders
		name = generic_mio_trait_mass_produced_raiders
		icon = GFX_generic_mio_department_icon_ship_general_production

		position = { x=1 y=1 }
		relative_position_id = generic_mio_trait_spotting_tops

		all_parents = { generic_mio_trait_spotting_tops generic_mio_trait_large_torpedo_banks }

		production_bonus = {
			production_capacity_factor = 0.05
		}
	}
}


#SUBMARINE MANUFACTURER - Based on Canteri Navali Tosi (ITA)
generic_submarine_organization = {
	icon = GFX_idea_generic_naval_manufacturer_1

	allowed = {
		always = no # Archetype only - countries using it have their own verisons
	}

	equipment_type = {
		ship_hull_submarine
	}
	research_categories = {
		naval_equipment 
	}
	
	tree_header_text = {
		text = mio_header_stealth_focus
		x = 2
	}

	tree_header_text = {
		text = mio_header_supremacy_focus
		x = 5
	}

	initial_trait = {
		name = generic_mio_initial_trait_submarine_designer

		organization_modifier = {
			military_industrial_organization_research_bonus = 0.05
		}
		equipment_bonus = {
			sub_visibility = -0.05
		}
	}

	trait = {
		token = generic_mio_trait_long_range_raiding
		name = generic_mio_trait_long_range_raiding
		icon = GFX_generic_mio_trait_icon_sub_visibility

		position = { x=2 y=0 }

		mutually_exclusive = { generic_mio_trait_decalin_fueled_torpedo }

		equipment_bonus = {
			sub_visibility = -0.03
			naval_speed = -0.01
		}
	}

	trait = {
		token = generic_mio_trait_decalin_fueled_torpedo
		name = generic_mio_trait_decalin_fueled_torpedo
		icon = GFX_generic_mio_trait_icon_torpedo_attack

		position = { x=3 y=0 }
		relative_position_id = generic_mio_trait_long_range_raiding

		mutually_exclusive = { generic_mio_trait_long_range_raiding }

		equipment_bonus = {
			torpedo_attack = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_efficient_fuel_engines
		name = generic_mio_trait_efficient_fuel_engines
		icon = GFX_generic_mio_trait_icon_naval_range

		position = { x=1 y=1 }
		relative_position_id = generic_mio_trait_long_range_raiding

		all_parents = { generic_mio_trait_long_range_raiding }

		equipment_bonus = {
			naval_range = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_highly_efficient_diesel_electric_propulsion_systems
		name = generic_mio_trait_highly_efficient_diesel_electric_propulsion_systems
		icon = GFX_generic_mio_trait_icon_naval_range

		position = { x=0 y=1 }
		relative_position_id = generic_mio_trait_efficient_fuel_engines

		any_parent = { generic_mio_trait_high_powered_engines generic_mio_trait_efficient_fuel_engines }
		mutually_exclusive = { generic_mio_trait_open_cycle_propulsion }

		equipment_bonus = {
			naval_range = 0.06
		}
	}

	trait = {
		token = generic_mio_trait_high_powered_engines
		name = generic_mio_trait_high_powered_engines
		icon = GFX_generic_mio_trait_icon_maximum_speed

		position = { x=-1 y=1 }
		relative_position_id = generic_mio_trait_decalin_fueled_torpedo

		all_parents = { generic_mio_trait_decalin_fueled_torpedo }

		equipment_bonus = {
			sub_visibility = 0.02
			maximum_speed = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_open_cycle_propulsion
		name = generic_mio_trait_open_cycle_propulsion
		icon = GFX_generic_mio_trait_icon_maximum_speed

		position = { x=0 y=1 }
		relative_position_id = generic_mio_trait_high_powered_engines

		any_parent = { generic_mio_trait_high_powered_engines generic_mio_trait_efficient_fuel_engines }
		mutually_exclusive = { generic_mio_trait_highly_efficient_diesel_electric_propulsion_systems }

		equipment_bonus = {
			maximum_speed = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_experimental_anechoic_tiles
		name = generic_mio_trait_experimental_anechoic_tiles
		icon = GFX_generic_mio_department_icon_ship_submarine_survivability

		position = { x=0 y=1 }
		relative_position_id = generic_mio_trait_highly_efficient_diesel_electric_propulsion_systems

		any_parent = { generic_mio_trait_highly_efficient_diesel_electric_propulsion_systems generic_mio_trait_open_cycle_propulsion }

		equipment_bonus = {
			surface_visibility = -0.05
			sub_visibility = -0.05
			build_cost_ic = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_improved_torpedo_detonators
		name = generic_mio_trait_improved_torpedo_detonators
		icon = GFX_generic_mio_trait_icon_torpedo_attack

		position = { x=0 y=1 }
		relative_position_id = generic_mio_trait_open_cycle_propulsion

		any_parent = { generic_mio_trait_highly_efficient_diesel_electric_propulsion_systems generic_mio_trait_open_cycle_propulsion }

		equipment_bonus = {
			torpedo_attack = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_simplified_pressure_hull_design
		name = generic_mio_trait_simplified_pressure_hull_design
		icon = GFX_generic_mio_department_icon_ship_submarine_production

		position = { x=1 y=1 }
		relative_position_id = generic_mio_trait_experimental_anechoic_tiles

		all_parents = { generic_mio_trait_experimental_anechoic_tiles generic_mio_trait_improved_torpedo_detonators }

		production_bonus = {
			production_capacity_factor = 0.1
		}
	}

	trait = {
		token = generic_mio_trait_advanced_periscope
		name = generic_mio_trait_advanced_periscope
		icon = GFX_generic_mio_trait_icon_surface_detection

		position = { x=-1 y=2 }
		relative_position_id = generic_mio_trait_long_range_raiding

		all_parents = { generic_mio_trait_long_range_raiding  }


		equipment_bonus = {
			surface_detection = 0.03
		}
	}

	trait = {
		token = generic_mio_trait_emergency_main_ballast_tank_blow
		name = generic_mio_trait_emergency_main_ballast_tank_blow
		icon = GFX_generic_mio_trait_icon_max_strength

		position = { x=-1 y=1 }
		relative_position_id = generic_mio_trait_advanced_periscope

		all_parents = { generic_mio_trait_advanced_periscope }

		equipment_bonus = {
			max_strength = 0.06
			maximum_speed = 0.01
		}
	}

	trait = {
		token = generic_mio_trait_radar_warning_receiver
		name = generic_mio_trait_radar_warning_receiver
		icon = GFX_generic_mio_trait_icon_sub_visibility

		position = { x=1 y=1 }
		relative_position_id = generic_mio_trait_advanced_periscope

		all_parents = { generic_mio_trait_advanced_periscope }


		equipment_bonus = {
			surface_detection = -0.03
			sub_visibility = -0.05
		}
	}


	trait = {
		token = generic_mio_trait_crash_dive_flood_tanks
		name = generic_mio_trait_crash_dive_flood_tanks
		icon = GFX_generic_mio_trait_icon_max_strength

		position = { x=1 y=1 }
		relative_position_id = generic_mio_trait_emergency_main_ballast_tank_blow

		all_parents = { generic_mio_trait_emergency_main_ballast_tank_blow generic_mio_trait_radar_warning_receiver }

		equipment_bonus = {
			max_strength = 0.08
			sub_visibility = -0.01
		}
	}

	trait = {
		token = generic_mio_trait_submarine_mass_production
		name = generic_mio_trait_submarine_mass_production
		icon = GFX_generic_mio_department_icon_ship_submarine_production

		position = { x=0 y=2 }
		relative_position_id = generic_mio_trait_decalin_fueled_torpedo

		all_parents = { generic_mio_trait_decalin_fueled_torpedo }


		production_bonus = {
			production_capacity_factor = 0.07
		}
	}

	trait = {
		token = generic_mio_trait_advanced_sonar
		name = generic_mio_trait_advanced_sonar
		icon = GFX_generic_mio_trait_icon_surface_detection

		position = { x=2 y=0 }
		relative_position_id = generic_mio_trait_submarine_mass_production

		all_parents = { generic_mio_trait_decalin_fueled_torpedo }

		limit_to_equipment_type = { ship_hull_submarine }

		equipment_bonus = {
			surface_detection = 0.06
			sub_visibility = 0.02
		}
	}

	trait = {
		token = generic_mio_trait_deck_guns
		name = generic_mio_trait_deck_guns
		icon = GFX_generic_mio_trait_icon_max_strength

		position = { x=1 y=1 }
		relative_position_id = generic_mio_trait_submarine_mass_production

		all_parents = { generic_mio_trait_submarine_mass_production generic_mio_trait_advanced_sonar }

		equipment_bonus = {
			max_strength = 0.08
		}
	}

	trait = {
		token = generic_mio_trait_large_torpedo_banks
		name = generic_mio_trait_large_torpedo_banks
		icon = GFX_generic_mio_trait_icon_torpedo_attack

		position = { x=1 y=1 }
		relative_position_id = generic_mio_trait_advanced_sonar

		all_parents = { generic_mio_trait_advanced_sonar }

		equipment_bonus = {
			torpedo_attack = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_high_capacity_mine_storage
		name = generic_mio_trait_high_capacity_mine_storage
		icon = GFX_generic_mio_trait_icon_mines

		position = { x=1 y=1 }
		relative_position_id = generic_mio_trait_deck_guns

		any_parent = { generic_mio_trait_deck_guns generic_mio_trait_large_torpedo_banks }

		visible = {
			has_dlc = "Man the Guns"
		}

		equipment_bonus = {
			mines_planting = 0.2
		}
	}
}

#BLACK SEA MANUFACTURER - Based on Black Sea Shipyard (SOV)
generic_black_sea_fleet_organization = {
	icon = GFX_idea_generic_naval_manufacturer_2

	allowed = {
		always = no # Archetype only - countries using it have their own verisons
	}

	equipment_type = {
		capital_ship
		screen_ship
		ship_hull_submarine
	}

	research_categories = {
		naval_equipment
	}
	
	tree_header_text = {
		text = mio_header_systems
		x = 1
	}

	tree_header_text = {
		text = mio_header_weapons
		x = 4
	}

	tree_header_text = {
		text = mio_header_production
		x = 8
	}

	initial_trait = {
		name = generic_mio_initial_trait_black_sea_fleet_designer
		limit_to_equipment_type = { capital_ship screen_ship ship_hull_submarine }
		equipment_bonus = {
			anti_air_attack = 0.02
			armor_value = 0.02
			max_strength = 0.02
			naval_range = -0.15
		}
	}

	trait = {
		token = generic_mio_trait_submarine_hunters_black_sea
		name = generic_mio_trait_submarine_hunters_black_sea
		icon = GFX_generic_mio_trait_icon_sub_detection

		position = { x=1 y=0 }
		
		equipment_bonus = {
			sub_detection = 0.05
			patrol_coordination = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_efficient_patrolling_scheme
		name = generic_mio_trait_efficient_patrolling_scheme
		icon = GFX_generic_mio_department_icon_ship_capital_screen_utility

		position = { x=-1 y=1 }
		relative_position_id = generic_mio_trait_submarine_hunters_black_sea
		
		all_parents = { generic_mio_trait_submarine_hunters_black_sea }
		
		equipment_bonus = {
			patrol_coordination = 0.1
			naval_range = -0.05
		}
	}

	trait = {
		token = generic_mio_trait_advanced_sub_scanners
		name = generic_mio_trait_advanced_sub_scanners
		icon = GFX_generic_mio_trait_icon_sub_detection
		
		position = { x=0 y=1 }
		relative_position_id = generic_mio_trait_submarine_hunters_black_sea
		
		all_parents = { generic_mio_trait_submarine_hunters_black_sea }
		
		limit_to_equipment_type = { capital_ship screen_ship }
		
		equipment_bonus = {
			sub_detection = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_high_altitute_catapult
		name = generic_mio_trait_high_altitute_catapult
		icon = GFX_generic_mio_trait_icon_detection
		
		position = { x=-1 y=1 }
		relative_position_id = generic_mio_trait_advanced_sub_scanners
		
		all_parents = { generic_mio_trait_advanced_sub_scanners }
		
		equipment_bonus = {
			surface_detection = 0.04
			sub_detection = 0.04
		}
	}

	trait = {
		token = generic_mio_trait_light_armor_piercing_guns
		name = generic_mio_trait_light_armor_piercing_guns
		icon = GFX_generic_mio_trait_icon_lg_attack
		
		position = { x=2 y=0 }
		relative_position_id = generic_mio_trait_high_altitute_catapult
		
		all_parents = { generic_mio_trait_advanced_sub_scanners }
		
		limit_to_equipment_type = { capital_ship screen_ship }
		
		equipment_bonus = {
			lg_armor_piercing = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_brass_case_reloader
		name = generic_mio_trait_brass_case_reloader
		icon = GFX_generic_mio_department_icon_ship_capital_screen_weapons
		
		position = { x=0 y=2 }
		relative_position_id = generic_mio_trait_light_armor_piercing_guns
		
		all_parents = { generic_mio_trait_light_armor_piercing_guns generic_mio_trait_piercing_rounds }
		
		limit_to_equipment_type = { capital_ship screen_ship }
		
		equipment_bonus = {
			lg_attack = 0.06
		}
	}

	trait = {
		token = generic_mio_trait_anti_air_defense
		name = generic_mio_trait_anti_air_defense
		icon = GFX_generic_mio_trait_icon_anti_air_attack
		
		position = { x=4 y=0 }
		
		limit_to_equipment_type = { capital_ship screen_ship }

		equipment_bonus = {
			anti_air_attack = 0.06
		}
	}

	trait = {
		token = generic_mio_trait_heavy_guns
		name = generic_mio_trait_heavy_guns
		icon = GFX_generic_mio_trait_icon_hg_attack
		
		position = { x=0 y=1 }
		relative_position_id = generic_mio_trait_anti_air_defense
		
		all_parents = { generic_mio_trait_anti_air_defense }
		
		limit_to_equipment_type = { capital_ship screen_ship }
		
		equipment_bonus = {
			hg_attack = 0.05
		}
	}

	trait = {
		token = generic_mio_advanced_periscope
		name = generic_mio_advanced_periscope
		icon = GFX_generic_mio_trait_icon_sub_visibility
		
		position = { x=2 y=1 }
		relative_position_id = generic_mio_trait_anti_air_defense
		
		all_parents = { generic_mio_trait_anti_air_defense }
		
		limit_to_equipment_type = { ship_hull_submarine }
		
		equipment_bonus = {
			sub_visibility = -0.03
			surface_detection = 0.03
		}
	}

	trait = {
		token = generic_mio_trait_piercing_rounds
		name = generic_mio_trait_piercing_rounds
		icon = GFX_generic_mio_department_icon_ship_capital_ship_weapons
		
		position = { x=-1 y=1 }
		relative_position_id = generic_mio_trait_heavy_guns
		
		all_parents = { generic_mio_trait_heavy_guns }
		
		limit_to_equipment_type = { capital_ship }
		
		equipment_bonus = {
			hg_armor_piercing = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_base_defense
		name = generic_mio_trait_base_defense
		icon = GFX_generic_mio_department_icon_ship_capital_screen_armor
		
		position = { x=1 y=1 }
		relative_position_id = generic_mio_trait_heavy_guns
		
		all_parents = { generic_mio_trait_heavy_guns }
		
		limit_to_equipment_type = { capital_ship screen_ship }
		
		equipment_bonus = {
			anti_air_attack = 0.06
			naval_range = -0.1
			armor_value = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_state_sponsored_growth
		name = generic_mio_trait_state_sponsored_growth
		icon = GFX_generic_mio_department_icon_facilities
		
		position = { x=4 y=0 }
		relative_position_id = generic_mio_trait_anti_air_defense
		
		organization_modifier = {
			military_industrial_organization_funds_gain = 0.1
		}
		
	}

	trait = {
		token = generic_mio_trait_state_sponsored_research
		name = generic_mio_trait_state_sponsored_research
		icon = GFX_generic_mio_department_icon_facilities
		
		position = { x=-1 y=2 }
		relative_position_id = generic_mio_trait_state_sponsored_growth
		
		all_parents = { generic_mio_trait_state_sponsored_growth }

		mutually_exclusive = { generic_mio_trait_24h_shifts }
		
		organization_modifier = {
			military_industrial_organization_research_bonus = 0.1
		}
	}

	trait = {
		token = generic_mio_trait_24h_shifts
		name = generic_mio_trait_24h_shifts
		icon = GFX_generic_mio_department_icon_ship_general_production
		
		position = { x=2 y=0 }
		relative_position_id = generic_mio_trait_state_sponsored_research
		
		all_parents = { generic_mio_trait_state_sponsored_growth }

		mutually_exclusive = { generic_mio_trait_state_sponsored_research }
		
		production_bonus = {
			production_capacity_factor = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_state_subsidizing
		name = generic_mio_trait_state_subsidizing
		icon = GFX_generic_mio_department_icon_facilities
		
		position = { x=1 y=2 }
		relative_position_id = generic_mio_trait_state_sponsored_research
		
		any_parent = { generic_mio_trait_state_sponsored_research generic_mio_trait_24h_shifts }
		
		organization_modifier = {
			military_industrial_organization_size_up_requirement = -0.25
			military_industrial_organization_design_team_assign_cost = 0.15
		}

	}

	trait = {
		token = generic_mio_trait_deck_guns_black_sea
		name = generic_mio_trait_deck_guns_black_sea
		icon = GFX_generic_mio_trait_icon_anti_air_attack

		position = { x=-1 y=2 } 
		relative_position_id = generic_mio_trait_base_defense
		
		any_parent = { generic_mio_trait_base_defense generic_mio_trait_piercing_rounds }
		
		limit_to_equipment_type = { capital_ship }
		
		equipment_bonus = {
			anti_air_attack = 0.06
		}
	}	
}



generic_refurbishment_repair_organization = {
	icon = GFX_idea_generic_naval_manufacturer_1

	allowed = {
		always = no # Archetype only - countries using it have their own verisons
	}

	equipment_type = {
		mio_cat_eq_all_battleship
		mio_cat_eq_all_cruiser
	}
	research_categories = {
		mio_cat_tech_all_capital_ship_and_modules
		mio_cat_tech_all_cruiser_and_modules
	}

	tree_header_text = {
		text = mio_header_protection
		x = 3
	}

	tree_header_text = {
		text = mio_header_weapons
		x = 8
	}


	initial_trait = {
		name = generic_mio_refurbishment_repair_organization
		limit_to_equipment_type = { capital_ship screen_ship ship_hull_submarine }
		equipment_bonus = {
			max_strength = 0.03
		}

		organization_modifier = {
			military_industrial_organization_research_bonus = 0.01
		}
	}

	trait = {
		token = generic_mio_trait_heavy_armored_hull
		name = generic_mio_trait_heavy_armored_hull
		icon = GFX_generic_mio_trait_icon_armor_value

		position = { x=1 y=0 }
		
		equipment_bonus = {
			armor_value = 0.03
		}
	}

	trait = {
		token = generic_mio_trait_isolated_firemains
		name = generic_mio_trait_isolated_firemains
		icon = GFX_generic_mio_trait_icon_naval_torpedo_damage_reduction_factor

		position = { x=-1 y=2 }
		relative_position_id = generic_mio_trait_heavy_armored_hull
		
		all_parents = { generic_mio_trait_heavy_armored_hull }
		
		equipment_bonus = {
			naval_torpedo_damage_reduction_factor = 0.03
		}
	}

	trait = {
		token = generic_mio_trait_counter_flooding_system
		name = generic_mio_trait_counter_flooding_system
		icon = GFX_generic_mio_trait_icon_naval_torpedo_hit_chance_factor

		position = { x=3 y=0 }
		relative_position_id = generic_mio_trait_isolated_firemains
		
		all_parents = { generic_mio_trait_heavy_armored_hull }
		
		equipment_bonus = {
			naval_torpedo_enemy_critical_chance_factor = -0.05
		}
	}

	trait = {
		token = generic_mio_trait_anti_torpedo_bulge
		name = generic_mio_trait_anti_torpedo_bulge
		icon = GFX_generic_mio_trait_icon_naval_torpedo_damage_reduction_factor

		position = { x=1 y=2 }
		relative_position_id = generic_mio_trait_isolated_firemains

		all_parents = { generic_mio_trait_counter_flooding_system generic_mio_trait_isolated_firemains generic_mio_trait_high_powered_steering }
		
		equipment_bonus = {
			naval_torpedo_enemy_critical_chance_factor = -0.05
			naval_torpedo_damage_reduction_factor = 0.08
		}
	}

	trait = {
		token = generic_mio_trait_foam_fire_extinguishers
		name = generic_mio_trait_foam_fire_extinguishers
		icon = GFX_generic_mio_trait_icon_reliability

		position = { x=5 y=0 }
		relative_position_id = generic_mio_trait_heavy_armored_hull
		
		equipment_bonus = {
			reliability = 0.03
		}
	}

	trait = {
		token = generic_mio_trait_bulkhead_shoring_procedure
		name = generic_mio_trait_bulkhead_shoring_procedure
		icon = GFX_generic_mio_department_icon_ship_capital_screen_armor

		position = { x=0 y=1 }
		relative_position_id = generic_mio_trait_foam_fire_extinguishers
		
		all_parents = { generic_mio_trait_foam_fire_extinguishers }
		
		equipment_bonus = {
			reliability = 0.01
			armor_value = 0.02
		}
	}

	trait = {
		token = generic_mio_trait_high_powered_steering
		name = generic_mio_trait_high_powered_steering
		icon = GFX_generic_mio_department_icon_ship_capital_screen_armor

		position = { x=-1 y=1 }
		relative_position_id = generic_mio_trait_bulkhead_shoring_procedure
		
		all_parents = { generic_mio_trait_bulkhead_shoring_procedure }
		
		equipment_bonus = {
			reliability = 0.01
			armor_value = 0.02
		}
	}

	trait = {
		token = generic_mio_trait_flooding_boundries
		name = generic_mio_trait_flooding_boundries
		icon = GFX_generic_mio_trait_icon_max_strength

		position = { x=1 y=0 }
		relative_position_id = generic_mio_trait_high_powered_steering
		
		all_parents = { generic_mio_trait_bulkhead_shoring_procedure }
		
		equipment_bonus = {
			max_strength = 0.03
		}
	}

	trait = {
		token = generic_mio_trait_protected_pumps
		name = generic_mio_trait_protected_pumps
		icon = GFX_generic_mio_trait_icon_max_strength

		position = { x=0 y=1 }
		relative_position_id = generic_mio_trait_flooding_boundries
		
		all_parents = { generic_mio_trait_flooding_boundries }
		
		equipment_bonus = {
			max_strength = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_advanced_scanners
		name = generic_mio_trait_advanced_scanners
		icon = GFX_generic_mio_trait_icon_detection

		position = { x=1 y=1 }
		relative_position_id = generic_mio_trait_foam_fire_extinguishers
		
		all_parents = { generic_mio_trait_foam_fire_extinguishers }
		
		equipment_bonus = {
			sub_detection = 0.05
			surface_detection = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_high_velocity_guns
		name = generic_mio_trait_high_velocity_guns
		icon = GFX_generic_mio_department_icon_ship_capital_ship_weapons

		position = { x=0 y=1 }
		relative_position_id = generic_mio_trait_advanced_scanners

		all_parents = { generic_mio_trait_advanced_scanners }
		
		limit_to_equipment_type = { capital_ship }

		equipment_bonus = {
			hg_armor_piercing = 0.03
		}
	}

	trait = {
		token = generic_mio_trait_capital_destroyer_shells
		name = generic_mio_trait_capital_destroyer_shells
		icon = GFX_generic_mio_department_icon_ship_capital_ship_weapons		

		position = { x=0 y=2 }
		relative_position_id = generic_mio_trait_high_velocity_guns
		
		all_parents = { generic_mio_trait_high_velocity_guns }
		
		mutually_exclusive = { generic_mio_trait_deck_guns generic_mio_trait_naval_all_purpose_defense_systems }

		limit_to_equipment_type = { capital_ship }
		
		equipment_bonus = {
			hg_armor_piercing = 0.05
			hg_attack = 0.1
			naval_range = -0.15
			maximum_speed = -0.08
		}
	}

	trait = {
		token = generic_mio_trait_deck_guns
		name = generic_mio_trait_deck_guns
		icon = GFX_generic_mio_trait_icon_anti_air_attack

		position = { x=1 y=0 }
		relative_position_id = generic_mio_trait_capital_destroyer_shells
		
		all_parents = { generic_mio_trait_high_velocity_guns }
		
		mutually_exclusive = { generic_mio_trait_capital_destroyer_shells generic_mio_trait_naval_all_purpose_defense_systems }

		equipment_bonus = {
			anti_air_attack = 0.06
		}
	}

	trait = {
		token = generic_mio_trait_naval_all_purpose_defense_systems
		name = generic_mio_trait_naval_all_purpose_defense_systems
		icon = GFX_generic_mio_department_icon_ship_capital_ship_armor

		position = { x=1 y=0 }
		relative_position_id = generic_mio_trait_deck_guns
		
		all_parents = { generic_mio_trait_high_velocity_guns }
		
		mutually_exclusive = { generic_mio_trait_capital_destroyer_shells generic_mio_trait_deck_guns }

		limit_to_equipment_type = { capital_ship }

		equipment_bonus = {
			anti_air_attack = 0.03
			armor_value = 0.03
			lg_attack = 0.03
			naval_range = -0.05
			maximum_speed = -0.04
		}
	}
}




########  ##          ###    ##    ## ########  ######  
##     ## ##         ## ##   ###   ## ##       ##    ## 
##     ## ##        ##   ##  ####  ## ##       ##       
########  ##       ##     ## ## ## ## ######    ######  
##        ##       ######### ##  #### ##             ## 
##        ##       ##     ## ##   ### ##       ##    ## 
##        ######## ##     ## ##    ## ########  ######  



#GENERAL AIRCRAFT MANUFACTURER - Based on Focker (HOL)
generic_general_aircraft_organization = {
	icon = GFX_idea_generic_air_manufacturer_1

	allowed = {
		NOT = {
			OR = {
				tag = ENG
				tag = JAP
				tag = KOR
				tag = SOV
				tag = USA
				tag = SWE
				tag = FRA
				tag = BRA
				tag = PRC
				tag = CHI
				tag = ISR
				tag = ITA
				tag = PAK
				tag = AUS
				tag = GUA
				tag = URG
				tag = HUN
				tag = RCO
			}
		}
	}

	equipment_type = {
		mio_cat_eq_all_small_plane
		mio_cat_eq_all_medium_plane
		mio_cat_eq_all_large_plane
	}

	research_categories = { air_equipment }
	
	tree_header_text = {
		text = mio_header_fighter_aircraft
		x = 1
	}

	tree_header_text = {
		text = mio_header_bomber_aircraft
		x = 4
	}

	tree_header_text = {
		text = mio_header_naval_aircraft
		x = 7
	}

	initial_trait = {
		name = generic_mio_initial_trait_general_aircraft_designer

		organization_modifier = {
			military_industrial_organization_research_bonus = 0.05
		}
		production_bonus = {
			production_capacity_factor = 0.03
		}
	}

	trait = {
		token = generic_mio_trait_conservative_designs
		name = generic_mio_trait_conservative_designs
		icon = GFX_generic_mio_trait_icon_reliability

		position = { x=4 y=0 }

		equipment_bonus = {
			reliability = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_fighter_aircraft_specialists
		name = generic_mio_trait_fighter_aircraft_specialists
		icon = GFX_generic_mio_department_icon_plane_fighter_engine

		position = { x=-3 y=1 }
		relative_position_id = generic_mio_trait_conservative_designs

		all_parents = { generic_mio_trait_conservative_designs }

		limit_to_equipment_type = { mio_cat_eq_only_light_fighter_no_cv medium_plane_airframe medium_plane_scout_plane_airframe }

		equipment_bonus = {
			air_range = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_high_speed_design
		name = generic_mio_trait_high_speed_design
		icon = GFX_generic_mio_trait_icon_maximum_speed

		position = { x=-1 y=1 }
		relative_position_id = generic_mio_trait_fighter_aircraft_specialists

		all_parents = { generic_mio_trait_fighter_aircraft_specialists }

		mutually_exclusive = { generic_mio_trait_agility_wing_design }

		limit_to_equipment_type = { mio_cat_eq_only_light_fighter_no_cv medium_plane_airframe medium_plane_scout_plane_airframe }

		equipment_bonus = {
			maximum_speed = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_agility_wing_design
		name = generic_mio_trait_agility_wing_design
		icon = GFX_generic_mio_trait_icon_air_agility

		position = { x=1 y=1 }
		relative_position_id = generic_mio_trait_fighter_aircraft_specialists

		all_parents = { generic_mio_trait_fighter_aircraft_specialists }

		mutually_exclusive = { generic_mio_trait_high_speed_design }

		limit_to_equipment_type = { mio_cat_eq_only_light_fighter_no_cv medium_plane_airframe medium_plane_scout_plane_airframe }

		equipment_bonus = {
			air_agility = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_fighter_aircraft_production
		name = generic_mio_trait_fighter_aircraft_production
		icon = GFX_generic_mio_department_icon_plane_fighter_production

		position = { x=1 y=2 }
		relative_position_id = generic_mio_trait_high_speed_design

		any_parent = { generic_mio_trait_high_speed_design generic_mio_trait_agility_wing_design }

		limit_to_equipment_type = { mio_cat_eq_only_light_fighter_no_cv medium_plane_airframe medium_plane_scout_plane_airframe }

		production_bonus = {
			production_capacity_factor = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_bomber_aircraft_specialists
		name = generic_mio_trait_bomber_aircraft_specialists
		icon = GFX_generic_mio_department_icon_plane_strategic_bomber_engine

		position = { x=0 y=1 }
		relative_position_id = generic_mio_trait_conservative_designs

		all_parents = { generic_mio_trait_conservative_designs }

		limit_to_equipment_type = { small_plane_cas_airframe mio_cat_eq_only_tactical_bomber mio_cat_eq_only_strategic_bomber }
	equipment_bonus = {
			air_range = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_bomb_trucks
		name = generic_mio_trait_bomb_trucks
		icon = GFX_generic_mio_trait_icon_defense

		position = { x=-1 y=1 }
		relative_position_id = generic_mio_trait_bomber_aircraft_specialists

		all_parents = { generic_mio_trait_bomber_aircraft_specialists }

		mutually_exclusive = { generic_mio_trait_fast_bombers }

		limit_to_equipment_type = { small_plane_cas_airframe mio_cat_eq_only_tactical_bomber mio_cat_eq_only_strategic_bomber }

		equipment_bonus = {
			air_defence = 0.03
		}
	}

	trait = {
		token = generic_mio_trait_fast_bombers
		name = generic_mio_trait_fast_bombers
		icon = GFX_generic_mio_trait_icon_maximum_speed

		position = { x=1 y=1 }
		relative_position_id = generic_mio_trait_bomber_aircraft_specialists

		all_parents = { generic_mio_trait_bomber_aircraft_specialists }

		mutually_exclusive = { generic_mio_trait_bomb_trucks }

		limit_to_equipment_type = { small_plane_cas_airframe mio_cat_eq_only_tactical_bomber mio_cat_eq_only_strategic_bomber }

		equipment_bonus = {
			maximum_speed = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_bomber_aircraft_production
		name = generic_mio_trait_bomber_aircraft_production
		icon = GFX_generic_mio_department_icon_plane_strategic_bomber_production

		position = { x=1 y=2 }
		relative_position_id = generic_mio_trait_bomb_trucks

		any_parent = { generic_mio_trait_bomb_trucks generic_mio_trait_fast_bombers }

		limit_to_equipment_type = { small_plane_cas_airframe mio_cat_eq_only_tactical_bomber mio_cat_eq_only_strategic_bomber }

		production_bonus = {
			production_capacity_factor = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_naval_aircraft_specialists
		name = generic_mio_trait_naval_aircraft_specialists
		icon = GFX_generic_mio_department_icon_plane_cv_naval_bomber_engine

		position = { x=3 y=1 }
		relative_position_id = generic_mio_trait_conservative_designs

		all_parents = { generic_mio_trait_conservative_designs }

		limit_to_equipment_type = { mio_cat_eq_all_cv_aircraft large_plane_maritime_patrol_plane_airframe }

		equipment_bonus = {
			air_range = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_naval_strike
		name = generic_mio_trait_naval_strike
		icon = GFX_generic_mio_trait_icon_torpedo_attack

		position = { x=-1 y=1 }
		relative_position_id = generic_mio_trait_naval_aircraft_specialists

		all_parents = { generic_mio_trait_naval_aircraft_specialists }

		mutually_exclusive = { generic_mio_trait_naval_air_patrol }

		limit_to_equipment_type = { mio_cat_eq_all_cv_aircraft large_plane_maritime_patrol_plane_airframe }

		equipment_bonus = {
			naval_strike_targetting = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_naval_air_patrol
		name = generic_mio_trait_naval_air_patrol
		icon = GFX_generic_mio_trait_icon_surface_detection

		position = { x=1 y=1 }
		relative_position_id = generic_mio_trait_naval_aircraft_specialists

		all_parents = { generic_mio_trait_naval_aircraft_specialists }

		mutually_exclusive = { generic_mio_trait_naval_strike }

		limit_to_equipment_type = {  mio_cat_eq_all_cv_aircraft large_plane_maritime_patrol_plane_airframe }

		equipment_bonus = {
			surface_detection = 0.05
			air_agility = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_naval_aircraft_production
		name = generic_mio_trait_naval_aircraft_production
		icon = GFX_generic_mio_department_icon_plane_cv_naval_bomber_production

		position = { x=1 y=2 }
		relative_position_id = generic_mio_trait_naval_strike

		any_parent = { generic_mio_trait_naval_strike generic_mio_trait_naval_air_patrol }

		limit_to_equipment_type = {  mio_cat_eq_all_cv_aircraft large_plane_maritime_patrol_plane_airframe }

		production_bonus = {
			production_capacity_factor = 0.05
		}
	}
}

#LIGHT AIRCRAFT MANUFACTURER - Based on MESSERSCHMIDT (GER)
generic_light_aircraft_organization = {
	icon = GFX_idea_generic_air_manufacturer_1

	allowed = {
		always = no # Archetype only - countries using it have their own verisons
	}

	equipment_type = {
		mio_cat_eq_only_light_fighter
	}

	research_categories = {	mio_cat_all_light_fighter_and_modules }
	
	tree_header_text = {
		text = mio_header_production
		x = 1
	}

	tree_header_text = {
		text = mio_header_engines
		x = 3
	}

	tree_header_text = {
		text = mio_header_wings
		x = 5
	}

	tree_header_text = {
		text = mio_header_weapons
		x = 7
	}

	initial_trait = {
		name = generic_mio_initial_trait_light_aircraft_designer

		equipment_bonus = {
			air_agility = 0.05
			maximum_speed = 0.05
			air_attack = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_expanded_production_facilities
		name = generic_mio_trait_expanded_production_facilities
		icon = GFX_generic_mio_department_icon_plane_fighter_line_efficiency

		position = { x=2 y=0 }

		production_bonus = {
			production_efficiency_gain_factor = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_fixed_tailwheels
		name = generic_mio_trait_fixed_tailwheels
		icon = GFX_generic_mio_trait_icon_reliability

		position = { x=-1 y=1 }
		relative_position_id = generic_mio_trait_expanded_production_facilities

		all_parents = { generic_mio_trait_expanded_production_facilities }

		equipment_bonus = {
			reliability = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_removable_wings
		name = generic_mio_trait_removable_wings
		icon = GFX_generic_mio_department_icon_plane_fighter_line_efficiency

		position = { x=0 y=2 }
		relative_position_id = generic_mio_trait_fixed_tailwheels

		all_parents = { generic_mio_trait_fixed_tailwheels }

		equipment_bonus = {
			reliability = 0.05
		}

		production_bonus = {
			production_efficiency_gain_factor = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_liquid_cooled_engines
		name = generic_mio_trait_liquid_cooled_engines
		icon = GFX_generic_mio_trait_icon_air_agility

		position = { x=2 y=0 }
		relative_position_id = generic_mio_trait_expanded_production_facilities

		equipment_bonus = {
			maximum_speed = 0.05
			air_agility = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_maritime_duties
		name = generic_mio_trait_maritime_duties
		icon = GFX_generic_mio_trait_icon_torpedo_attack


		position = { x=-1 y=1 }
		relative_position_id = generic_mio_trait_liquid_cooled_engines

		all_parents = { generic_mio_trait_liquid_cooled_engines }

		equipment_bonus = {
			air_range = 0.05
			naval_strike_attack = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_advanced_aerodynamics
		name = generic_mio_trait_advanced_aerodynamics
		icon = GFX_generic_mio_trait_icon_air_agility

		position = { x=2 y=0 }
		relative_position_id = generic_mio_trait_liquid_cooled_engines

		equipment_bonus = {
			maximum_speed = 0.05
			air_agility = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_fuselage_ordinance_rack
		name = generic_mio_trait_fuselage_ordinance_rack
		icon = GFX_generic_mio_trait_icon_air_agility

		position = { x=1 y=1 }
		relative_position_id = generic_mio_trait_advanced_aerodynamics

		all_parents = { generic_mio_trait_advanced_aerodynamics }

		equipment_bonus = {
			maximum_speed = 0.05
			air_agility = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_ongoing_developmental_upgrades
		name = generic_mio_trait_ongoing_developmental_upgrades
		icon = GFX_generic_mio_department_icon_facilities

		position = { x=1 y=1 }
		relative_position_id = generic_mio_trait_liquid_cooled_engines

		all_parents = { generic_mio_trait_liquid_cooled_engines generic_mio_trait_advanced_aerodynamics }

		organization_modifier = {
			military_industrial_organization_research_bonus = 0.05
		}

		production_bonus = {
			production_efficiency_gain_factor = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_heavier_airframe
		name = generic_mio_trait_heavier_airframe
		icon = GFX_generic_mio_department_icon_plane_fighter_combat

		position = { x=-2 y=1 }
		relative_position_id = generic_mio_trait_ongoing_developmental_upgrades

		all_parents = { generic_mio_trait_ongoing_developmental_upgrades }

		mutually_exclusive = { generic_mio_trait_maximum_wing_loads generic_mio_trait_gun_pods }

		equipment_bonus = {
			air_attack = 0.05
			air_ground_attack = 0.05
			naval_strike_attack = 0.05
			air_defence = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_maximum_wing_loads
		name = generic_mio_trait_maximum_wing_loads
		icon = GFX_generic_mio_trait_icon_air_agility

		position = { x=0 y=1 }
		relative_position_id = generic_mio_trait_ongoing_developmental_upgrades

		all_parents = { generic_mio_trait_ongoing_developmental_upgrades }

		mutually_exclusive = { generic_mio_trait_heavier_airframe generic_mio_trait_gun_pods }

		equipment_bonus = {
			maximum_speed = 0.05
			air_agility = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_gun_pods
		name = generic_mio_trait_gun_pods
		icon = GFX_generic_mio_trait_icon_air_ground_attack

		position = { x=2 y=1 }
		relative_position_id = generic_mio_trait_ongoing_developmental_upgrades

		all_parents = { generic_mio_trait_ongoing_developmental_upgrades }

		mutually_exclusive = { generic_mio_trait_heavier_airframe generic_mio_trait_maximum_wing_loads }

		equipment_bonus = {
			air_ground_attack = 0.1
			air_agility = -0.03
			air_attack = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_multi_purpose_aircraft
		name = generic_mio_trait_multi_purpose_aircraft
		icon = GFX_generic_mio_department_icon_plane_fighter_combat

		position = { x=0 y=1 }
		relative_position_id = generic_mio_trait_heavier_airframe

		any_parent = { generic_mio_trait_heavier_airframe generic_mio_trait_maximum_wing_loads generic_mio_trait_gun_pods }

		mutually_exclusive = { generic_mio_trait_fighter_specialization generic_mio_trait_close_air_support_specialization }

		equipment_bonus = {
			air_attack = 0.05
			air_ground_attack = 0.05
			naval_strike_attack = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_fighter_specialization
		name = generic_mio_trait_fighter_specialization
		icon = GFX_generic_mio_department_icon_plane_fighter_engine

		position = { x=0 y=1 }
		relative_position_id = generic_mio_trait_maximum_wing_loads

		any_parent = { generic_mio_trait_heavier_airframe generic_mio_trait_maximum_wing_loads generic_mio_trait_gun_pods }

		mutually_exclusive = { generic_mio_trait_multi_purpose_aircraft generic_mio_trait_close_air_support_specialization }

		equipment_bonus = {
			air_attack = 0.05
			air_agility = 0.03
			maximum_speed = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_close_air_support_specialization
		name = generic_mio_trait_close_air_support_specialization
		icon = GFX_generic_mio_trait_icon_air_ground_attack

		position = { x=0 y=1 }
		relative_position_id = generic_mio_trait_gun_pods

		any_parent = { generic_mio_trait_heavier_airframe generic_mio_trait_maximum_wing_loads generic_mio_trait_gun_pods }

		mutually_exclusive = { generic_mio_trait_multi_purpose_aircraft generic_mio_trait_fighter_specialization }

		equipment_bonus = {
			air_ground_attack = 0.05
			air_defence = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_flexible_design
		name = generic_mio_trait_flexible_design
		icon = GFX_generic_mio_trait_icon_defense

		position = { x=0 y=1 }
		relative_position_id = generic_mio_trait_multi_purpose_aircraft

		all_parents = { generic_mio_trait_multi_purpose_aircraft }

		equipment_bonus = {
			air_range = 0.05
			air_defence = 0.05
			air_attack = 0.02
			air_ground_attack = 0.02
		}
	}

	trait = {
		token = generic_mio_trait_fighter_expertise
		name = generic_mio_trait_fighter_expertise
		icon = GFX_generic_mio_trait_icon_maximum_speed

		position = { x=0 y=1 }
		relative_position_id = generic_mio_trait_fighter_specialization

		all_parents = { generic_mio_trait_fighter_specialization }

		equipment_bonus = {
			air_range = 0.05
			maximum_speed = 0.05
			air_attack = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_close_air_support_expertise
		name = generic_mio_trait_close_air_support_expertise
		icon = GFX_generic_mio_trait_icon_naval_range

		position = { x=0 y=1 }
		relative_position_id = generic_mio_trait_close_air_support_specialization

		all_parents = { generic_mio_trait_close_air_support_specialization }

		equipment_bonus = {
			air_ground_attack = 0.05
			air_range = 0.05
			air_defence = 0.05
		}
	}
}


#MEDIUM AIRCRAFT MANUFACTURER - Based on Dornier / Caproni / de Havilland
generic_medium_aircraft_organization = {
	icon = GFX_idea_generic_air_manufacturer_3

	allowed = {
		always = no # Archetype only - countries using it have their own verisons
	}

	equipment_type = {
		mio_cat_eq_all_medium_plane
		transport_plane_equipment
	}

	research_categories = { mio_cat_all_medium_aircraft_and_modules }
	
	tree_header_text = {
		text = mio_header_production
		x = 1
	}

	tree_header_text = {
		text = mio_header_engines
		x = 3
	}

	tree_header_text = {
		text = mio_header_wings
		x = 5
	}

	tree_header_text = {
		text = mio_header_weapons
		x = 7
	}

	initial_trait = {
		name = generic_mio_initial_trait_multi_role_tactical_aircraft

		limit_to_equipment_type = { mio_cat_eq_all_medium_plane }

		equipment_bonus = {
			surface_detection = 0.05
			air_ground_attack = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_narrow_build
		name = generic_mio_trait_narrow_build
		icon = GFX_generic_mio_department_icon_plane_medium_line_efficiency

		position = { x=1 y=0 }

		limit_to_equipment_type = { mio_cat_eq_all_medium_plane }

		equipment_bonus = {
			air_defence = 0.05
		}

		production_bonus = {
			production_efficiency_gain_factor = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_mixed_material_construction
		name = generic_mio_trait_mixed_material_construction
		icon = GFX_generic_mio_department_icon_plane_medium_line_efficiency

		position = { x=1 y=0 }
		relative_position_id = generic_mio_trait_narrow_build

		limit_to_equipment_type = { mio_cat_eq_all_medium_plane }

		production_bonus = {
			production_efficiency_gain_factor = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_multi_role_transport
		name = generic_mio_trait_multi_role_transport
		icon = GFX_generic_mio_department_icon_plane_general_technology

		position = { x=0 y=1 }
		relative_position_id = generic_mio_trait_mixed_material_construction

		all_parents = { generic_mio_trait_mixed_material_construction }

		limit_to_equipment_type = { transport_plane_equipment }

		production_bonus = {
			production_efficiency_gain_factor = 0.05
			production_efficiency_cap_factor = 0.1
		}
	}

	trait = {
		token = generic_mio_trait_refined_engines
		name = generic_mio_trait_refined_engines
		icon = GFX_generic_mio_trait_icon_maximum_speed

		position = { x=1 y=2 }
		relative_position_id = generic_mio_trait_mixed_material_construction

		all_parents = { generic_mio_trait_mixed_material_construction }

		limit_to_equipment_type = { mio_cat_eq_all_medium_plane }

		equipment_bonus = {
			maximum_speed = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_twin_tail
		name = generic_mio_trait_twin_tail
		icon = GFX_generic_mio_trait_icon_air_agility

		position = { x=2 y=0 }
		relative_position_id = generic_mio_trait_mixed_material_construction

		mutually_exclusive = { generic_mio_trait_reinforced_wing_braces }

		limit_to_equipment_type = { mio_cat_eq_all_medium_plane }

		equipment_bonus = {
			air_agility = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_reinforced_wing_braces
		name = generic_mio_trait_reinforced_wing_braces
		icon = GFX_generic_mio_trait_icon_air_ground_attack

		position = { x=2 y=0 }
		relative_position_id = generic_mio_trait_twin_tail

		mutually_exclusive = { generic_mio_trait_twin_tail }

		limit_to_equipment_type = { mio_cat_eq_all_medium_plane }

		equipment_bonus = {
			air_ground_attack = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_expanded_cockpit
		name = generic_mio_trait_expanded_cockpit
		icon = GFX_generic_mio_department_icon_plane_medium_combat

		position = { x=0 y=1 }
		relative_position_id = generic_mio_trait_twin_tail

		any_parent = { generic_mio_trait_twin_tail generic_mio_trait_reinforced_wing_braces }

		mutually_exclusive = { generic_mio_trait_metal_nose_replacement }

		limit_to_equipment_type = { mio_cat_eq_all_medium_plane }

		equipment_bonus = {
			air_ground_attack = 0.05
			air_bombing = 0.05 #TODO_Manu: Not working
		}
	}

	trait = {
		token = generic_mio_trait_metal_nose_replacement
		name = generic_mio_trait_metal_nose_replacement
		icon = GFX_generic_mio_trait_icon_defense

		position = { x=0 y=1 }
		relative_position_id = generic_mio_trait_reinforced_wing_braces

		any_parent = { generic_mio_trait_twin_tail generic_mio_trait_reinforced_wing_braces }

		mutually_exclusive = { generic_mio_trait_expanded_cockpit }

		limit_to_equipment_type = { mio_cat_eq_all_medium_plane }

		equipment_bonus = {
			air_defence = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_extra_machine_guns
		name = generic_mio_trait_extra_machine_guns
		icon = GFX_generic_mio_department_icon_plane_medium_combat

		position = { x=1 y=2 }
		relative_position_id = generic_mio_trait_reinforced_wing_braces

		limit_to_equipment_type = { mio_cat_eq_all_medium_plane }

		equipment_bonus = {
			air_ground_attack = 0.1
			build_cost_ic = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_streamlined_fuselage
		name = generic_mio_trait_streamlined_fuselage
		icon = GFX_generic_mio_trait_icon_maximum_speed

		position = { x=1 y=2 }
		relative_position_id = generic_mio_trait_expanded_cockpit

		all_parents = { generic_mio_trait_refined_engines }
		all_parents = { generic_mio_trait_extra_machine_guns }
		any_parent = { generic_mio_trait_expanded_cockpit generic_mio_trait_metal_nose_replacement }

		limit_to_equipment_type = { mio_cat_eq_all_medium_plane }

		equipment_bonus = {
			air_defence = 0.05
			maximum_speed = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_adaptable_build
		name = generic_mio_trait_adaptable_build
		icon = GFX_generic_mio_department_icon_plane_medium_engine

		position = { x=-2 y=1 }
		relative_position_id = generic_mio_trait_streamlined_fuselage

		all_parents = { generic_mio_trait_streamlined_fuselage }

		mutually_exclusive = { generic_mio_trait_heavy_fighter_specialization generic_mio_trait_tactical_bomber_specialization }

		limit_to_equipment_type = { mio_cat_eq_all_medium_plane }

		equipment_bonus = {
			air_range = 0.05
		}

		production_bonus = {
			production_capacity_factor = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_heavy_fighter_specialization
		name = generic_mio_trait_heavy_fighter_specialization
		icon = GFX_generic_mio_department_icon_plane_medium_quality

		position = { x=0 y=1 }
		relative_position_id = generic_mio_trait_streamlined_fuselage

		all_parents = { generic_mio_trait_streamlined_fuselage }

		mutually_exclusive = { generic_mio_trait_adaptable_build generic_mio_trait_tactical_bomber_specialization }

		limit_to_equipment_type = { mio_cat_eq_all_medium_plane }

		equipment_bonus = {
			air_range = 0.05
			air_attack = 0.05
			air_defence = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_tactical_bomber_specialization
		name = generic_mio_trait_tactical_bomber_specialization
		icon = GFX_generic_mio_department_icon_plane_medium_combat

		position = { x=2 y=1 }
		relative_position_id = generic_mio_trait_streamlined_fuselage

		all_parents = { generic_mio_trait_streamlined_fuselage }

		mutually_exclusive = { generic_mio_trait_adaptable_build generic_mio_trait_heavy_fighter_specialization }

		limit_to_equipment_type = { mio_cat_eq_all_medium_plane }

		equipment_bonus = {
			air_range = 0.05
			air_ground_attack = 0.05
			air_defence = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_skip_bombing
		name = generic_mio_trait_skip_bombing
		icon = GFX_generic_mio_trait_icon_torpedo_attack

		position = { x=2 y=0 }
		relative_position_id = generic_mio_trait_reinforced_wing_braces

		limit_to_equipment_type = { mio_cat_eq_all_medium_plane }

		equipment_bonus = {
			naval_strike_attack = 0.03
		}
	}

	trait = {
		token = generic_mio_trait_high_frequency_direction_finding
		name = generic_mio_trait_high_frequency_direction_finding
		icon = GFX_generic_mio_trait_icon_sub_detection

		position = { x=0 y=2 }
		relative_position_id = generic_mio_trait_skip_bombing

		all_parents = { generic_mio_trait_skip_bombing }

		limit_to_equipment_type = { mio_cat_eq_all_medium_plane }

		equipment_bonus = {
			sub_detection = 0.05
			naval_strike_attack = 0.03
		}
	}
}


#HEAVY AIRCRAFT MANUFACTURER - Based on John Brown (ENG)
generic_heavy_aircraft_organization = {
	icon = GFX_idea_generic_air_manufacturer_2

	allowed = {
		always = no # Archetype only - countries using it have their own verisons
	}

	equipment_type = {
		large_plane_airframe
		large_plane_maritime_patrol_plane_airframe
		transport_plane_equipment
	}

	research_categories = { mio_cat_all_heavy_aircraft_and_modules }
	
	tree_header_text = {
		text = mio_header_design_department
		x = 2
	}

	tree_header_text = {
		text = mio_header_operational_department
		x = 8
	}

	initial_trait = {
		name = generic_mio_initial_trait_heavy_aircraft_designer

		limit_to_equipment_type = { large_plane_airframe large_plane_maritime_patrol_plane_airframe }

		organization_modifier = {
			military_industrial_organization_research_bonus = 0.05
		}
		equipment_bonus = {
			air_bombing = 0.05
			air_agility = -0.05
		}
	}

	trait = {
		token = generic_mio_trait_reinforced_frames
		name = generic_mio_trait_reinforced_frames
		icon = GFX_generic_mio_trait_icon_defense

		position = { x=2 y=0 }

		limit_to_equipment_type = { large_plane_airframe large_plane_maritime_patrol_plane_airframe }

		equipment_bonus = {
			air_defence = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_standardized_alloys
		name = generic_mio_trait_standardized_alloys
		icon = GFX_generic_mio_trait_icon_resources

		position = { x=0 y=1 }
		relative_position_id = generic_mio_trait_reinforced_frames

		any_parent = { generic_mio_trait_reinforced_frames }

		production_bonus = {
			production_efficiency_gain_factor = 0.05
			production_resource_penalty_factor = -0.1
		}
	}

	trait = {
		token = generic_mio_trait_transport_conversions
		name = generic_mio_trait_transport_conversions
		icon = GFX_generic_mio_department_icon_plane_general_production

		position = { x=-2 y=1 }
		relative_position_id = generic_mio_trait_standardized_alloys

		any_parent = { generic_mio_trait_standardized_alloys }

		limit_to_equipment_type = { transport_plane_equipment }

		production_bonus = {
			production_capacity_factor = 0.1
		}
	}

	trait = {
		token = generic_mio_trait_drop_hammer_alloy_straining
		name = generic_mio_trait_drop_hammer_alloy_straining
		icon = GFX_generic_mio_trait_icon_reliability

		position = { x=0 y=1 }
		relative_position_id = generic_mio_trait_standardized_alloys

		any_parent = { generic_mio_trait_standardized_alloys }

		limit_to_equipment_type = { large_plane_airframe large_plane_maritime_patrol_plane_airframe }

		equipment_bonus = {
			air_defence = 0.05
			reliability = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_refined_secondary_aluminium
		name = generic_mio_trait_refined_secondary_aluminium
		icon = GFX_generic_mio_trait_icon_resources

		position = { x=-1 y=2 }
		relative_position_id = generic_mio_trait_drop_hammer_alloy_straining

		any_parent = { generic_mio_trait_drop_hammer_alloy_straining }

		mutually_exclusive = { generic_mio_trait_high_quality_aluminium_alloys }

		limit_to_equipment_type = { large_plane_airframe large_plane_maritime_patrol_plane_airframe }

		production_bonus = {
			production_capacity_factor = 0.05
			production_resource_need_factor = -0.15
		}
	}

	trait = {
		token = generic_mio_trait_high_quality_aluminium_alloys
		name = generic_mio_trait_high_quality_aluminium_alloys
		icon = GFX_generic_mio_trait_icon_air_agility

		position = { x=1 y=2 }
		relative_position_id = generic_mio_trait_drop_hammer_alloy_straining

		any_parent = { generic_mio_trait_drop_hammer_alloy_straining }

		mutually_exclusive = { generic_mio_trait_refined_secondary_aluminium }

		limit_to_equipment_type = { large_plane_airframe large_plane_maritime_patrol_plane_airframe }

		equipment_bonus = {
			air_agility = 0.05
			reliability = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_pressurized_cockpit
		name = generic_mio_trait_pressurized_cockpit
		icon = GFX_generic_mio_trait_icon_naval_range

		position = { x=3 y=1 }
		relative_position_id = generic_mio_trait_reinforced_frames

		any_parent = { generic_mio_trait_reinforced_frames generic_mio_trait_extended_rear_fuselage }

		limit_to_equipment_type = { large_plane_airframe large_plane_maritime_patrol_plane_airframe }

		equipment_bonus = {
			air_range = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_advanced_turbochargers
		name = generic_mio_trait_advanced_turbochargers
		icon = GFX_generic_mio_trait_icon_air_agility

		position = { x=0 y=2 }
		relative_position_id = generic_mio_trait_pressurized_cockpit

		any_parent = { generic_mio_trait_pressurized_cockpit }

		limit_to_equipment_type = { large_plane_airframe large_plane_maritime_patrol_plane_airframe }

		equipment_bonus = {
			air_agility = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_extended_rear_fuselage
		name = generic_mio_trait_extended_rear_fuselage
		icon = GFX_generic_mio_trait_icon_strategic_attack

		position = { x=6 y=0 }
		relative_position_id = generic_mio_trait_reinforced_frames

		limit_to_equipment_type = { large_plane_airframe large_plane_maritime_patrol_plane_airframe }

		equipment_bonus = {
			air_bombing = 0.05
			naval_strike_attack = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_auto_levelled_bombsights
		name = generic_mio_trait_auto_levelled_bombsights
		icon = GFX_generic_mio_trait_icon_strategic_attack

		position = { x=-1 y=1 }
		relative_position_id = generic_mio_trait_extended_rear_fuselage

		any_parent = { generic_mio_trait_extended_rear_fuselage }

		mutually_exclusive = { generic_mio_trait_air_deployed_sonobuoys }

		limit_to_equipment_type = { large_plane_airframe large_plane_maritime_patrol_plane_airframe }

		equipment_bonus = {
			air_bombing = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_air_deployed_sonobuoys
		name = generic_mio_trait_air_deployed_sonobuoys
		icon = GFX_generic_mio_trait_icon_detection

		position = { x=1 y=1 }
		relative_position_id = generic_mio_trait_extended_rear_fuselage

		any_parent = { generic_mio_trait_extended_rear_fuselage }

		mutually_exclusive = { generic_mio_trait_auto_levelled_bombsights }

		limit_to_equipment_type = { large_plane_airframe large_plane_maritime_patrol_plane_airframe }

		equipment_bonus = {
			sub_detection = 0.05
			surface_detection = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_cockpit_controlled_remote_gun_turrets
		name = generic_mio_trait_cockpit_controlled_remote_gun_turrets
		icon = GFX_generic_mio_trait_icon_anti_air_attack

		position = { x=1 y=1 }
		relative_position_id = generic_mio_trait_auto_levelled_bombsights

		any_parent = { generic_mio_trait_auto_levelled_bombsights generic_mio_trait_air_deployed_sonobuoys }

		limit_to_equipment_type = { large_plane_airframe large_plane_maritime_patrol_plane_airframe }

		equipment_bonus = {
			air_attack = 0.05
		}
	}
	
	trait = {
		token = generic_mio_trait_flying_fortress
		name = generic_mio_trait_flying_fortress
		icon = GFX_generic_mio_department_icon_plane_general_engine

		position = { x=-1 y=2 }
		relative_position_id = generic_mio_trait_cockpit_controlled_remote_gun_turrets

		any_parent = { generic_mio_trait_cockpit_controlled_remote_gun_turrets }

		mutually_exclusive = { generic_mio_trait_advanced_instruments }

		limit_to_equipment_type = { large_plane_airframe large_plane_maritime_patrol_plane_airframe }

		equipment_bonus = {
			air_defence = 0.15
			air_range = 0.15
			air_agility = -0.05
			fuel_consumption = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_advanced_instruments
		name = generic_mio_trait_advanced_instruments
		icon = GFX_generic_mio_trait_icon_strategic_attack

		position = { x=1 y=2 }
		relative_position_id = generic_mio_trait_cockpit_controlled_remote_gun_turrets

		any_parent = { generic_mio_trait_cockpit_controlled_remote_gun_turrets }

		mutually_exclusive = { generic_mio_trait_flying_fortress }

		limit_to_equipment_type = { large_plane_airframe large_plane_maritime_patrol_plane_airframe }

		equipment_bonus = {
			air_bombing = 0.05
			naval_strike_targetting = 0.05
		}
	}
}


#CAS AIRCRAFT MANUFACTURER - Based on Junkers / Ilyushin
generic_cas_aircraft_organization = {
	icon = GFX_idea_generic_air_manufacturer_1

	allowed = {
		always = no # Archetype only - countries using it have their own verisons
	}

	equipment_type = {
		small_plane_airframe
		cv_small_plane_airframe
	}

	research_categories = {	mio_cat_all_cas_and_modules }
	
	tree_header_text = {
		text = mio_header_production
		x = 1
	}

	tree_header_text = {
		text = mio_header_engines
		x = 3
	}

	tree_header_text = {
		text = mio_header_wings
		x = 5
	}

	tree_header_text = {
		text = mio_header_weapons
		x = 7
	}

	initial_trait = {
		name = generic_mio_initial_trait_cas_aircraft_designer

		equipment_bonus = {
			air_ground_attack = 0.05
			maximum_speed = -0.03
		}
	}

	trait = {
		token = generic_mio_trait_selectional_construction
		name = generic_mio_trait_selectional_construction
		icon = GFX_generic_mio_department_icon_plane_cas_line_efficiency

		position = { x=0 y=0 }

		production_bonus = {
			production_efficiency_gain_factor = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_low_altitude_attacks
		name = generic_mio_trait_low_altitude_attacks
		icon = GFX_generic_mio_trait_icon_defense

		position = { x=2 y=0 }
		relative_position_id = generic_mio_trait_selectional_construction

		equipment_bonus = {
			air_defence = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_canopies_and_firewalls
		name = generic_mio_trait_canopies_and_firewalls
		icon = GFX_generic_mio_trait_icon_reliability

		position = { x=1 y=0 }
		relative_position_id = generic_mio_trait_selectional_construction

		equipment_bonus = {
			air_defence = 0.05
			reliability = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_automatic_pull_out
		name = generic_mio_trait_automatic_pull_out
		icon = GFX_generic_mio_trait_icon_air_ground_attack

		position = { x=1 y=1 }
		relative_position_id = generic_mio_trait_canopies_and_firewalls

		all_parents = { generic_mio_trait_canopies_and_firewalls }

		equipment_bonus = {
			air_ground_attack = 0.05
			reliability = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_integrated_armor_designs
		name = generic_mio_trait_integrated_armor_designs
		icon = GFX_generic_mio_trait_icon_defense

		position = { x=0 y=2 }
		relative_position_id = generic_mio_trait_canopies_and_firewalls

		all_parents = { generic_mio_trait_canopies_and_firewalls }

		equipment_bonus = {
			air_defence = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_gull_wings
		name = generic_mio_trait_gull_wings
		icon = GFX_generic_mio_trait_icon_air_ground_attack		

		position = { x=2 y=0 }
		relative_position_id = generic_mio_trait_low_altitude_attacks

		mutually_exclusive = { generic_mio_trait_reinforced_wings }

		equipment_bonus = {
			air_ground_attack = 0.1
		}
	}

	trait = {
		token = generic_mio_trait_reinforced_wings
		name = generic_mio_trait_reinforced_wings
		icon = GFX_generic_mio_department_icon_plane_cas_combat

		position = { x=2 y=0 }
		relative_position_id = generic_mio_trait_gull_wings

		mutually_exclusive = { generic_mio_trait_gull_wings }

		equipment_bonus = {
			air_ground_attack = 0.03
			air_attack = 0.03
			air_defence = 0.03
		}
	}

	trait = {
		token = generic_mio_trait_heavily_armed_aircraft
		name = generic_mio_trait_heavily_armed_aircraft
		icon = GFX_generic_mio_department_icon_plane_cas_combat

		position = { x=1 y=1 }
		relative_position_id = generic_mio_trait_gull_wings

		any_parent = { generic_mio_trait_gull_wings generic_mio_trait_reinforced_wings }

		equipment_bonus = {
			air_attack = 0.05
			air_ground_attack = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_air_brakes
		name = generic_mio_trait_air_brakes
		icon = GFX_generic_mio_trait_icon_air_ground_attack			

		position = { x=0 y=2 }
		relative_position_id = generic_mio_trait_gull_wings

		all_parents = { generic_mio_trait_gull_wings }

		equipment_bonus = {
			air_ground_attack = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_wingborne_fuel_tanks
		name = generic_mio_trait_wingborne_fuel_tanks
		icon = GFX_generic_mio_trait_icon_naval_range

		position = { x=0 y=2 }
		relative_position_id = generic_mio_trait_reinforced_wings

		all_parents = { generic_mio_trait_reinforced_wings }

		equipment_bonus = {
			air_range = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_bombs
		name = generic_mio_trait_bombs
		icon = GFX_generic_mio_trait_icon_air_ground_attack			

		position = { x=0 y=2 }
		relative_position_id = generic_mio_trait_air_brakes

		all_parents = { generic_mio_trait_air_brakes }

		mutually_exclusive = { generic_mio_trait_rockets }

		equipment_bonus = {
			air_ground_attack = 0.1
		}
	}

	trait = {
		token = generic_mio_trait_rockets
		name = generic_mio_trait_rockets
		icon = GFX_generic_mio_department_icon_plane_cas_combat		

		position = { x=0 y=2 }
		relative_position_id = generic_mio_trait_wingborne_fuel_tanks

		all_parents = { generic_mio_trait_wingborne_fuel_tanks }

		mutually_exclusive = { generic_mio_trait_bombs }

		equipment_bonus = {
			air_ground_attack = 0.05
			air_agility = 0.05
		}
	}

	trait = {
		token = generic_mio_heat_bombs
		name = generic_mio_heat_bombs
		icon = GFX_generic_mio_trait_icon_air_ground_attack	

		position = { x=1 y=0 }
		relative_position_id = generic_mio_trait_reinforced_wings

		equipment_bonus = {
			air_ground_attack = 0.05
		}
	}

	trait = {
		token = generic_mio_cluster_bombs
		name = generic_mio_cluster_bombs
		icon = GFX_generic_mio_trait_icon_air_ground_attack	

		position = { x=0 y=2 }
		relative_position_id = generic_mio_heat_bombs

		all_parents = { generic_mio_heat_bombs }

		equipment_bonus = {
			air_ground_attack = 0.05
		}
	}
}


#NAVAL AIRCRAFT MANUFACTURER - Based on Junkers / Ilyushin
generic_naval_aircraft_organization = {
	icon = GFX_idea_generic_air_manufacturer_1

	allowed = {
		always = no # Archetype only - countries using it have their own verisons
	}

	equipment_type = {
		
		cv_small_plane_airframe
		
	}

	research_categories = { mio_cat_all_naval_bomber_and_modules }

	tree_header_text = {
		text = mio_header_operational_department
		x = 1
	}
	
	tree_header_text = {
		text = mio_header_design_department
		x = 4
	}

	tree_header_text = {
		text = mio_header_engines_department
		x = 7
	}

	initial_trait = {
		name = generic_mio_initial_trait_naval_aircraft_designer

		organization_modifier = {
			military_industrial_organization_research_bonus = 0.05
		}

		production_bonus = {
			production_capacity_factor = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_navigation_equipment
		name = generic_mio_trait_navigation_equipment
		icon = GFX_generic_mio_trait_icon_reliability

		position = { x=4 y=0 }

		equipment_bonus = {
			reliability = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_patrol_fuel_tanks
		name = generic_mio_trait_patrol_fuel_tanks
		icon = GFX_generic_mio_trait_icon_naval_range

		position = { x=-4 y=1 }
		relative_position_id = generic_mio_trait_navigation_equipment

		all_parents = { generic_mio_trait_navigation_equipment }

		mutually_exclusive = { generic_mio_trait_internal_torpedo_mountings }

		limit_to_equipment_type = {  naval_bomber_plane_airframe cv_naval_bomber_plane_airframe }

		equipment_bonus = {
			air_range = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_internal_torpedo_mountings
		name = generic_mio_trait_internal_torpedo_mountings
		icon = GFX_generic_mio_trait_icon_maximum_speed

		position = { x=2 y=0 }
		relative_position_id = generic_mio_trait_patrol_fuel_tanks

		all_parents = { generic_mio_trait_navigation_equipment }

		mutually_exclusive = { generic_mio_trait_patrol_fuel_tanks }

		limit_to_equipment_type = { naval_bomber_plane_airframe cv_naval_bomber_plane_airframe }

		equipment_bonus = {
			maximum_speed = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_high_speed_torpedo_release
		name = generic_mio_trait_high_speed_torpedo_release
		icon = GFX_generic_mio_trait_icon_surface_detection

		position = { x=1 y=1 }
		relative_position_id = generic_mio_trait_patrol_fuel_tanks

		any_parent = { generic_mio_trait_patrol_fuel_tanks generic_mio_trait_internal_torpedo_mountings }

		limit_to_equipment_type = { naval_bomber_plane_airframe cv_naval_bomber_plane_airframe }

		equipment_bonus = {
			surface_detection = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_reinforced_fuselage
		name = generic_mio_trait_reinforced_fuselage
		icon = GFX_generic_mio_trait_icon_reliability

		position = { x=0 y=1 }
		relative_position_id = generic_mio_trait_navigation_equipment

		all_parents = { generic_mio_trait_navigation_equipment }

		equipment_bonus = {
			reliability = 0.05
			air_defence = 0.05
		}
	}

	trait = {
		token = generic_mio_agility_wing_design
		name = generic_mio_agility_wing_design
		icon = GFX_generic_mio_trait_icon_air_agility

		position = { x=-1 y=1 }
		relative_position_id = generic_mio_trait_reinforced_fuselage

		all_parents = { generic_mio_trait_reinforced_fuselage }

		mutually_exclusive = { generic_mio_strength_wing_design }

		equipment_bonus = {
			air_range = 0.05
			air_agility = 0.05
		}
	}

	trait = {
		token = generic_mio_strength_wing_design
		name = generic_mio_strength_wing_design
		icon = GFX_generic_mio_trait_icon_defense

		position = { x=1 y=1 }
		relative_position_id = generic_mio_trait_reinforced_fuselage

		all_parents = { generic_mio_trait_reinforced_fuselage }

		mutually_exclusive = { generic_mio_agility_wing_design }

		equipment_bonus = {
			air_range = 0.05
			air_defence = 0.05
		}
	}

	trait = {
		token = generic_mio_high_capacity_ammunition_stores
		name = generic_mio_high_capacity_ammunition_stores
		icon = GFX_generic_mio_trait_icon_anti_air_attack

		position = { x=0 y=2 }
		relative_position_id = generic_mio_agility_wing_design

		all_parents = { generic_mio_agility_wing_design }

		equipment_bonus = {
			air_attack = 0.05
		}
	}

	trait = {
		token = generic_mio_larger_bomb_loads
		name = generic_mio_larger_bomb_loads
		icon = GFX_generic_mio_trait_icon_air_ground_attack

		position = { x=0 y=2 }
		relative_position_id = generic_mio_strength_wing_design

		all_parents = { generic_mio_strength_wing_design }

		equipment_bonus = {
			air_ground_attack = 0.05
		}
	}

	trait = {
		token = generic_mio_air_cooled_engines
		name = generic_mio_air_cooled_engines
		icon = GFX_generic_mio_trait_icon_reliability

		position = { x=3 y=1 }
		relative_position_id = generic_mio_trait_navigation_equipment

		all_parents = { generic_mio_trait_navigation_equipment }

		limit_to_equipment_type = {
			cv_small_plane_airframe
			cv_naval_bomber_plane_airframe
		}

		equipment_bonus = {
			reliability = 0.05
			air_defence = 0.05
		}
	}

	trait = {
		token = generic_mio_multi_stage_super_charger
		name = generic_mio_multi_stage_super_charger
		icon = GFX_generic_mio_trait_icon_maximum_speed

		position = { x=0 y=1 }
		relative_position_id = generic_mio_air_cooled_engines

		all_parents = { generic_mio_air_cooled_engines }

		limit_to_equipment_type = {
			cv_small_plane_airframe
		}

		equipment_bonus = {
			air_agility = 0.05
			maximum_speed = 0.05
		}
	}

	trait = {
		token = generic_mio_water_injection
		name = generic_mio_water_injection
		icon = GFX_generic_mio_trait_icon_fuel_consumption

		position = { x=0 y=1 }
		relative_position_id = generic_mio_multi_stage_super_charger

		all_parents = { generic_mio_multi_stage_super_charger }

		limit_to_equipment_type = {
			cv_small_plane_airframe
		}

		equipment_bonus = {
			fuel_consumption = -0.05
			maximum_speed = 0.05
		}
	}

	trait = {
		token = generic_mio_advanced_materials
		name = generic_mio_advanced_materials
		icon = GFX_generic_mio_trait_icon_build_cost_ic

		position = { x=0 y=1 }
		relative_position_id = generic_mio_water_injection

		all_parents = { generic_mio_water_injection }

		production_bonus = {
			production_cost_factor = -0.1
			production_resource_need_factor = 0.1
		}
	}
}



#MULTI-ROLE AIRCRAFT MANUFACTURER - Based on Savoia Marchetti (ITA) & Republic
generic_multi_role_aircraft_organization = {
	icon = GFX_idea_generic_air_manufacturer_3

	allowed = {
		always = no # Archetype only - countries using it have their own verisons
	}

	equipment_type = {
		mio_cat_eq_all_small_plane
		mio_cat_eq_all_medium_plane
		transport_plane_equipment
	}

	research_categories = { mio_cat_all_light_aircraft_and_modules mio_cat_all_medium_aircraft_and_modules }
	
	tree_header_text = {
		text = mio_header_light_aircraft
		x = 3
	}

	tree_header_text = {
		text = mio_header_medium_aircraft
		x = 6
	}

	initial_trait = {
		name = generic_mio_initial_trait_multi_role_aircraft_designer

		limit_to_equipment_type = { mio_cat_eq_all_small_plane mio_cat_eq_all_medium_plane }

		equipment_bonus = {
			air_ground_attack = 0.02
			naval_strike_attack = 0.02
			air_attack = 0.02
			air_defence = 0.02
		}
	}

	trait = {
		token = generic_mio_trait_armored_cockpit
		name = generic_mio_trait_armored_cockpit
		icon = GFX_generic_mio_trait_icon_reliability

		position = { x=3 y=0 }

		limit_to_equipment_type = { mio_cat_eq_all_small_plane mio_cat_eq_all_medium_plane }

		equipment_bonus = {
			air_defence = 0.05
			reliability = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_escort_designs
		name = generic_mio_trait_escort_designs
		icon = GFX_generic_mio_trait_icon_naval_range

		position = { x=3 y=0 }
		relative_position_id = generic_mio_trait_armored_cockpit

		limit_to_equipment_type = { mio_cat_eq_all_small_plane mio_cat_eq_all_medium_plane }

		equipment_bonus = {
			air_range = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_light_airframe
		name = generic_mio_trait_light_airframe
		icon = GFX_generic_mio_department_icon_plane_light_line_efficiency

		position = { x=0 y=1 }
		relative_position_id = generic_mio_trait_armored_cockpit

		all_parents = { generic_mio_trait_armored_cockpit generic_mio_trait_escort_designs }

		mutually_exclusive = { generic_mio_trait_medium_airframe }

		limit_to_equipment_type = { mio_cat_eq_all_small_plane }

		organization_modifier = {
			military_industrial_organization_research_bonus = 0.05
		}

		production_bonus = {
			production_efficiency_gain_factor = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_medium_airframe
		name = generic_mio_trait_medium_airframe
		icon = GFX_generic_mio_department_icon_plane_medium_line_efficiency

		position = { x=0 y=1 }
		relative_position_id = generic_mio_trait_escort_designs

		all_parents = { generic_mio_trait_armored_cockpit generic_mio_trait_escort_designs }

		mutually_exclusive = { generic_mio_trait_light_airframe }

		limit_to_equipment_type = { mio_cat_eq_all_medium_plane }

		organization_modifier = {
			military_industrial_organization_research_bonus = 0.05
		}

		production_bonus = {
			production_efficiency_gain_factor = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_hardened_frames
		name = generic_mio_trait_hardened_frames
		icon = GFX_generic_mio_trait_icon_defense

		position = { x=-2 y=1 }
		relative_position_id = generic_mio_trait_light_airframe

		all_parents = { generic_mio_trait_light_airframe }

		limit_to_equipment_type = { mio_cat_eq_all_small_plane }

		equipment_bonus = {
			air_defence = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_belly_shackles
		name = generic_mio_trait_belly_shackles
		icon = GFX_generic_mio_department_icon_plane_light_combat

		position = { x=1 y=0 }
		relative_position_id = generic_mio_trait_hardened_frames

		all_parents = { generic_mio_trait_light_airframe }

		limit_to_equipment_type = { mio_cat_eq_all_small_plane }

		equipment_bonus = {
			air_ground_attack = 0.05
			naval_strike_attack = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_oversized_propeller
		name = generic_mio_trait_oversized_propeller
		icon = GFX_generic_mio_trait_icon_maximum_speed

		position = { x=0 y=2 }
		relative_position_id = generic_mio_trait_light_airframe

		all_parents = { generic_mio_trait_light_airframe }

		limit_to_equipment_type = { mio_cat_eq_all_small_plane }

		equipment_bonus = {
			maximum_speed = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_variable_pitch_propellers
		name = generic_mio_trait_variable_pitch_propellers
		icon = GFX_generic_mio_trait_icon_air_agility

		position = { x=0 y=2 }
		relative_position_id = generic_mio_trait_medium_airframe

		all_parents = { generic_mio_trait_medium_airframe }

		limit_to_equipment_type = { mio_cat_eq_all_medium_plane }

		equipment_bonus = {
			maximum_speed = 0.05
			air_agility = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_upgraded_air_air_weapons
		name = generic_mio_trait_upgraded_air_air_weapons
		icon = GFX_generic_mio_trait_icon_anti_air_attack

		position = { x=1 y=1 }
		relative_position_id = generic_mio_trait_medium_airframe

		all_parents = { generic_mio_trait_medium_airframe }

		limit_to_equipment_type = { mio_cat_eq_all_medium_plane }

		equipment_bonus = {
			air_attack = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_reinforced_wing_hardpoints
		name = generic_mio_trait_reinforced_wing_hardpoints
		icon = GFX_generic_mio_department_icon_plane_medium_combat

		position = { x=1 y=0 }
		relative_position_id = generic_mio_trait_upgraded_air_air_weapons

		all_parents = { generic_mio_trait_medium_airframe }

		limit_to_equipment_type = { mio_cat_eq_all_medium_plane }

		equipment_bonus = {
			air_ground_attack = 0.05
			naval_strike_attack = 0.05
			air_bombing = 0.05 #TODO_Manu: NOT WORKING
		}
	}

	trait = {
		token = generic_mio_trait_transport_duties
		name = generic_mio_trait_transport_duties
		icon = GFX_generic_mio_department_icon_plane_general_production

		position = { x=1 y=0 }
		relative_position_id = generic_mio_trait_reinforced_wing_hardpoints

		all_parents = { generic_mio_trait_medium_airframe }

		limit_to_equipment_type = { transport_plane_equipment }

		production_bonus = {
			production_capacity_factor = 0.1
		}
	}

	trait = {
		token = generic_mio_trait_upgraded_engines
		name = generic_mio_trait_upgraded_engines
		icon = GFX_generic_mio_department_icon_plane_general_engine

		position = { x=1 y=1 }
		relative_position_id = generic_mio_trait_light_airframe

		any_parent = { generic_mio_trait_light_airframe generic_mio_trait_medium_airframe }

		limit_to_equipment_type = { mio_cat_eq_all_small_plane mio_cat_eq_all_medium_plane }

		equipment_bonus = {
			maximum_speed = 0.05
			air_agility = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_not_enough_guns_never_enough_guns
		name = generic_mio_trait_not_enough_guns_never_enough_guns
		icon = GFX_generic_mio_department_icon_plane_general_combat

		position = { x=1 y=0 }
		relative_position_id = generic_mio_trait_upgraded_engines

		any_parent = { generic_mio_trait_light_airframe generic_mio_trait_medium_airframe }

		limit_to_equipment_type = { mio_cat_eq_all_small_plane mio_cat_eq_all_medium_plane }

		equipment_bonus = {
			air_attack = 0.05
			air_ground_attack = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_lengthened_wings
		name = generic_mio_trait_lengthened_wings
		icon = GFX_generic_mio_trait_icon_naval_range

		position = { x=0 y=1 }
		relative_position_id = generic_mio_trait_upgraded_engines

		all_parents = { generic_mio_trait_upgraded_engines }

		limit_to_equipment_type = { mio_cat_eq_all_small_plane mio_cat_eq_all_medium_plane }

		equipment_bonus = {
			air_range = 0.05
			air_attack = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_bubble_canopy
		name = generic_mio_trait_bubble_canopy
		icon = GFX_generic_mio_trait_icon_defense

		position = { x=0 y=1 }
		relative_position_id = generic_mio_trait_not_enough_guns_never_enough_guns

		all_parents = { generic_mio_trait_not_enough_guns_never_enough_guns }

		limit_to_equipment_type = { mio_cat_eq_all_small_plane mio_cat_eq_all_medium_plane }

		equipment_bonus = {
			air_defence = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_fighter_specialization
		name = generic_mio_trait_fighter_specialization
		icon = GFX_generic_mio_department_icon_plane_general_engine

		position = { x=-1 y=1 }
		relative_position_id = generic_mio_trait_lengthened_wings

		all_parents = { generic_mio_trait_lengthened_wings generic_mio_trait_bubble_canopy }

		mutually_exclusive = { generic_mio_trait_bomber_specialization }

		limit_to_equipment_type = { mio_cat_eq_all_small_plane mio_cat_eq_all_medium_plane }

		equipment_bonus = {
			air_attack = 0.05
			air_agility = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_bomber_specialization
		name = generic_mio_trait_bomber_specialization
		icon = GFX_generic_mio_department_icon_plane_general_combat

		position = { x=1 y=1 }
		relative_position_id = generic_mio_trait_bubble_canopy

		all_parents = { generic_mio_trait_lengthened_wings generic_mio_trait_bubble_canopy }

		mutually_exclusive = { generic_mio_trait_fighter_specialization }

		limit_to_equipment_type = { mio_cat_eq_all_small_plane mio_cat_eq_all_medium_plane }

		equipment_bonus = {
			air_ground_attack = 0.03
			naval_strike_attack = 0.03
			naval_strike_targetting = 0.03
		}
	}
}


#HIGH AGILITY FIGHTER AIRCRAFT MANUFACTURER - Based on Supermarine (ENG)
generic_high_agility_fighter_aircraft_organization = {
	icon = GFX_idea_generic_air_manufacturer_1

	allowed = {
		always = no # Archetype only - countries using it have their own verisons
	}

	equipment_type = {
		mio_cat_eq_only_light_fighter
	}

	research_categories = {	mio_cat_all_light_fighter_and_modules }
	
	tree_header_text = {
		text = mio_header_production
		x = 1
	}

	tree_header_text = {
		text = mio_header_engines
		x = 3
	}

	tree_header_text = {
		text = mio_header_wings
		x = 5
	}

	tree_header_text = {
		text = mio_header_weapons
		x = 7
	}

	initial_trait = {
		name = generic_mio_initial_trait_high_agility_fighters_designer

		equipment_bonus = {
			air_agility = 0.10
			air_range = -0.10
		}
	}

	trait = {
		token = generic_mio_trait_fabric_skin
		name = generic_mio_trait_fabric_skin
		icon = GFX_generic_mio_department_icon_plane_general_production

		position = { x=0 y=0 }

		mutually_exclusive = { generic_mio_trait_metal_skin }

		production_bonus = {
			production_resource_penalty_factor = 0.05
			production_capacity_factor = 0.05
		}

		equipment_bonus = {
			air_agility = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_metal_skin
		name = generic_mio_trait_metal_skin
		icon = GFX_generic_mio_trait_icon_defense

		position = { x=2 y=0 }
		relative_position_id = generic_mio_trait_fabric_skin

		mutually_exclusive = { generic_mio_trait_fabric_skin }

		equipment_bonus = {
			air_defence = 0.10
			maximum_speed = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_bigger_engines
		name = generic_mio_trait_bigger_engines
		icon = GFX_generic_mio_trait_icon_maximum_speed

		position = { x=3 y=0 }
		relative_position_id = generic_mio_trait_fabric_skin

		equipment_bonus = {
			maximum_speed = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_high_octane_fuels
		name = generic_mio_trait_high_octane_fuels
		icon = GFX_generic_mio_trait_icon_maximum_speed

		position = { x=1 y=2 }
		relative_position_id = generic_mio_trait_bigger_engines

		all_parents = { 
			generic_mio_trait_bigger_engines
		}

		equipment_bonus = {
			maximum_speed = 0.15
			fuel_consumption_factor = 0.10
		}

	}

	trait = {
		token = generic_mio_trait_fuel_injection_engines
		name = generic_mio_trait_fuel_injection_engines
		icon = GFX_generic_mio_trait_icon_air_agility

		position = { x=0 y=3 }
		relative_position_id = generic_mio_trait_bigger_engines

		all_parents = { 
			generic_mio_trait_bigger_engines
		}

		equipment_bonus = {
			maximum_speed = 0.05
			air_agility = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_subsidiary_suppliers
		name = generic_mio_trait_subsidiary_suppliers
		icon = GFX_generic_mio_department_icon_plane_fighter_technology

		position = { x=0 y=1 }
		relative_position_id = generic_mio_trait_fuel_injection_engines

		all_parents = { 
			generic_mio_trait_fuel_injection_engines
		}

		mutually_exclusive = { generic_mio_trait_fighter_interceptors }

		production_bonus = {
			production_efficiency_cap_factor = 0.10
			production_efficiency_gain_factor = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_cantilever_wing_structure
		name = generic_mio_trait_cantilever_wing_structure
		icon = GFX_generic_mio_trait_icon_air_agility

		position = { x=2 y=0 }
		relative_position_id = generic_mio_trait_bigger_engines

		equipment_bonus = {
			air_defence = 0.05
		}

		equipment_bonus = {
			air_agility = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_minimum_weapon_requirements
		name = generic_mio_trait_minimum_weapon_requirements
		icon = GFX_generic_mio_trait_icon_anti_air_attack

		position = { x=2 y=0 }
		relative_position_id = generic_mio_trait_cantilever_wing_structure

		equipment_bonus = {
			air_attack = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_shortened_wings
		name = generic_mio_trait_shortened_wings
		icon = GFX_generic_mio_trait_icon_reliability

		position = { x=1 y=1 }
		relative_position_id = generic_mio_trait_cantilever_wing_structure

		all_parents = { 
			generic_mio_trait_cantilever_wing_structure 
			generic_mio_trait_minimum_weapon_requirements
		}

		equipment_bonus = {
			reliability_factor = 0.05
			air_agility = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_interceptor
		name = generic_mio_trait_interceptor
		icon = GFX_generic_mio_trait_icon_anti_air_attack

		position = { x=-1 y=1 }
		relative_position_id = generic_mio_trait_shortened_wings

		all_parents = { 
			generic_mio_trait_shortened_wings
		}

		mutually_exclusive = { generic_mio_trait_gunboat }

		equipment_bonus = {
			air_attack = 0.5
		}
	}

	trait = {
		token = generic_mio_trait_gunboat
		name = generic_mio_trait_gunboat
		icon = GFX_generic_mio_trait_icon_air_ground_attack

		position = { x=1 y=1 }
		relative_position_id = generic_mio_trait_shortened_wings

		all_parents = { 
			generic_mio_trait_shortened_wings
		}

		mutually_exclusive = { generic_mio_trait_interceptor }

		equipment_bonus = {
			air_ground_attack = 0.10
		}
	}

	trait = {
		token = generic_mio_trait_stiffened_wings
		name = generic_mio_trait_stiffened_wings
		icon = GFX_generic_mio_trait_icon_air_agility

		position = { x=1 y=1 }
		relative_position_id = generic_mio_trait_interceptor

		any_parent = { 
			generic_mio_trait_interceptor
			generic_mio_trait_gunboat
		}

		equipment_bonus = {
			maximum_speed = 0.05
			air_agility = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_fighter_interceptors
		name = generic_mio_trait_fighter_interceptors
		icon = GFX_generic_mio_department_icon_plane_fighter_combat

		position = { x=0 y=1 }
		relative_position_id = generic_mio_trait_stiffened_wings

		all_parents = { 
			generic_mio_trait_stiffened_wings
		}

		mutually_exclusive = { generic_mio_trait_subsidiary_suppliers }

		equipment_bonus = {
			air_range = 0.10
			air_attack = 0.5
		}
	}
}


#RANGE FOCUSED AIRCRAFT MANUFACTURER - Based on North American, Lockheed, Fiat Aviazione
generic_range_focused_aircraft_organization = {
	icon = GFX_idea_generic_air_manufacturer_1

	allowed = {
		always = no # Archetype only - countries using it have their own verisons
	}

	equipment_type = {
		mio_cat_eq_all_small_plane
		mio_cat_eq_all_medium_plane 
		transport_plane_equipment
	}

	research_categories = { mio_cat_all_light_aircraft_and_modules mio_cat_all_medium_aircraft_and_modules }
	
	tree_header_text = {
		text = mio_header_production
		x = 1
	}

	tree_header_text = {
		text = mio_header_engines
		x = 3
	}

	tree_header_text = {
		text = mio_header_wings
		x = 5
	}

	tree_header_text = {
		text = mio_header_weapons
		x = 7
	}

	initial_trait = {
		name = generic_mio_initial_trait_range_focused_aircraft_designer

		limit_to_equipment_type = { mio_cat_eq_all_small_plane mio_cat_eq_all_medium_plane }

		equipment_bonus = {
			air_range = 0.10
		}
	}

	trait = {
		token = generic_mio_trait_large_rudders_and_flaps
		name = generic_mio_trait_large_rudders_and_flaps
		icon = GFX_generic_mio_trait_icon_air_agility

		position = { x=3 y=0 }

		limit_to_equipment_type = { mio_cat_eq_all_medium_plane }

		equipment_bonus = {
			air_agility = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_variable_dihedral
		name = generic_mio_trait_variable_dihedral
		icon = GFX_generic_mio_department_icon_plane_medium_engine

		position = { x=5 y=0 }

		limit_to_equipment_type = { mio_cat_eq_all_medium_plane }		

		equipment_bonus = {
			air_range = 0.10
			reliability_factor = 0.10
		}
	}

	trait = {
		token = generic_mio_trait_high_capacity_ammunition
		name = generic_mio_trait_high_capacity_ammunition
		icon = GFX_generic_mio_trait_icon_anti_air_attack

		position = { x=7 y=0 }

		limit_to_equipment_type = { mio_cat_eq_all_small_plane mio_cat_eq_all_medium_plane }

		equipment_bonus = {
			air_attack = 0.10
		}
	}

	trait = {
		token = generic_mio_trait_extra_cargo_doors
		name = generic_mio_trait_extra_cargo_doors
		icon = GFX_generic_mio_department_icon_plane_general_production

		position = { x=9 y=0 }

		limit_to_equipment_type = { transport_plane_equipment }

		production_bonus = {
			production_capacity_factor = 0.10
		}
	}

	trait = {
		token = generic_mio_trait_improved_air_frame_strength
		name = generic_mio_trait_improved_air_frame_strength
		icon = GFX_generic_mio_trait_icon_naval_range

		position = { x=6 y=1 }

		limit_to_equipment_type = { mio_cat_eq_all_medium_plane }

		all_parents = { 
			generic_mio_trait_variable_dihedral
		}

		equipment_bonus = {
			air_range = 0.10
		}
	}

	trait = {
		token = generic_mio_trait_glider_hook_modifications
		name = generic_mio_trait_glider_hook_modifications
		icon = GFX_generic_mio_trait_icon_naval_range

		position = { x=0 y=1 }
		relative_position_id = generic_mio_trait_extra_cargo_doors

		limit_to_equipment_type = { transport_plane_equipment }

		all_parents = { 
			generic_mio_trait_extra_cargo_doors
		}

		equipment_bonus = {
			air_range = 0.10
		}
	}

	trait = {
		token = generic_mio_trait_advanced_production_techniques
		name = generic_mio_trait_advanced_production_techniques
		icon = GFX_generic_mio_department_icon_plane_general_production

		position = { x=1 y=2 }

		limit_to_equipment_type = { mio_cat_eq_all_small_plane mio_cat_eq_all_medium_plane }

		available = {
			owner ={
				has_tech = advanced_machine_tools
			}
		}

		equipment_bonus = {
			reliability_factor = 0.10
		}

		production_bonus = {
			production_capacity_factor = 0.10
		}		
	}

	trait = {
		token = generic_mio_trait_low_drag_wings
		name = generic_mio_trait_low_drag_wings
		icon = GFX_generic_mio_trait_icon_maximum_speed

		position = { x=5 y=2 }

		limit_to_equipment_type = { mio_cat_eq_all_small_plane mio_cat_eq_all_medium_plane }

		all_parents = { 
			generic_mio_trait_variable_dihedral
		}
		
		equipment_bonus = {
			air_range = 0.10
			maximum_speed = 0.10
		}
	}

	trait = {
		token = generic_mio_trait_strafing_techniques
		name = generic_mio_trait_strafing_techniques
		icon = GFX_generic_mio_trait_icon_air_ground_attack

		position = { x=7 y=2 }

		limit_to_equipment_type = { mio_cat_eq_all_small_plane mio_cat_eq_all_medium_plane }

		all_parents = { 
			generic_mio_trait_improved_air_frame_strength
			generic_mio_trait_high_capacity_ammunition
		}
		
		equipment_bonus = {
			air_ground_attack = 0.10
		}
	}

	trait = {
		token = generic_mio_trait_long_range_modifications
		name = generic_mio_trait_long_range_modifications
		icon = GFX_generic_mio_trait_icon_naval_range

		position = { x=4 y=3 }

		limit_to_equipment_type = { mio_cat_eq_all_small_plane mio_cat_eq_all_medium_plane }

		all_parents = { 
			generic_mio_trait_large_rudders_and_flaps
		}
		
		equipment_bonus = {
			air_range = 0.10
		}
	}

	trait = {
		token = generic_mio_trait_anti_interception_tactics
		name = generic_mio_trait_anti_interception_tactics
		icon = GFX_generic_mio_trait_icon_maximum_speed

		position = { x=6 y=3 }

		limit_to_equipment_type = { mio_cat_eq_all_medium_plane }

		all_parents = { 
			generic_mio_trait_low_drag_wings
		}
		
		equipment_bonus = {
			maximum_speed = 0.10
		}
	}

	trait = {
		token = generic_mio_trait_high_explosive_payload
		name = generic_mio_trait_high_explosive_payload
		icon = GFX_generic_mio_department_icon_plane_medium_combat

		position = { x=8 y=3 }

		limit_to_equipment_type = { mio_cat_eq_all_medium_plane }

		all_parents = { 
			generic_mio_trait_strafing_techniques
		}
		
		equipment_bonus = {
			air_ground_attack = 0.10
			air_bombing = 0.15
		}
	}

	trait = {
		token = generic_mio_trait_long_range_fighters
		name = generic_mio_trait_long_range_fighters
		icon = GFX_generic_mio_department_icon_plane_light_engine

		position = { x=3 y=4 }

		limit_to_equipment_type = { mio_cat_eq_all_small_plane }

		all_parents = { 
			generic_mio_trait_advanced_production_techniques
			generic_mio_trait_long_range_modifications
		}
		
		equipment_bonus = {
			air_range = 0.15
			air_agility = 0.15
		}
	}

	trait = {
		token = generic_mio_trait_heavy_fighters
		name = generic_mio_trait_heavy_fighters
		icon = GFX_generic_mio_trait_icon_anti_air_attack

		position = { x=5 y=4 }

		limit_to_equipment_type = { mio_cat_eq_all_medium_plane }

		all_parents = { 
			generic_mio_trait_anti_interception_tactics
			generic_mio_trait_long_range_modifications
		}
		
		equipment_bonus = {
			air_attack = 0.15
			air_range = 0.10
		}
	}

	trait = {
		token = generic_mio_trait_tactical_bombers
		name = generic_mio_trait_tactical_bombers
		icon = GFX_generic_mio_trait_icon_strategic_attack

		position = { x=7 y=4 }

		limit_to_equipment_type = { mio_cat_eq_all_medium_plane }

		all_parents = { 
			generic_mio_trait_anti_interception_tactics
			generic_mio_trait_high_explosive_payload
		}
		
		equipment_bonus = {
			air_bombing = 0.15
			air_range = 0.10
		}
	}
}


#DRONE AIRCRAFT MANUFACTURER
generic_drone_aircraft_organization = {
	icon = GFX_idea_generic_air_manufacturer_1

	allowed = {
		always = no # Archetype only - countries using it have their own verisons
	}

	equipment_type = {
		mio_cat_all_drone_tech
	}

	research_categories = {	mio_cat_all_light_fighter_and_modules }
	
	tree_header_text = {
		text = mio_header_production
		x = 0
	}

	tree_header_text = {
		text = mio_header_engines
		x = 3
	}

	tree_header_text = {
		text = mio_header_wings
		x = 5
	}

	tree_header_text = {
		text = mio_header_weapons
		x = 7
	}

	initial_trait = {
		name = generic_mio_initial_trait_drone_designer

		equipment_bonus = {
			maximum_speed = 0.05
		}

		production_bonus = {
			production_cost_factor = -0.03
		}
	}
	
	#mio_header_production

	trait = {
		token = generic_mio_trait_designing_lightweight_drones
		name = generic_mio_trait_designing_lightweight_drones
		icon = GFX_generic_mio_department_icon_plane_fighter_line_efficiency

		position = { x=0 y=0 }

		production_bonus = {
			production_efficiency_gain_factor = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_improved_flight_controllers_optimization
		name = generic_mio_trait_flight_controllers_optimization
		icon = GFX_generic_mio_department_icon_plane_general_combat

		position = { x=0 y=4 }

		all_parents = {
			 generic_mio_trait_designing_lightweight_drones
		}

		production_bonus = {
			production_cost_factor = -0.03
		}
	}

	#mio_header_engines

	trait = {
		token = generic_mio_trait_use_lithium_polymer_battery
		name = generic_mio_trait_use_lithium_polymer_battery
		icon = GFX_generic_mio_department_icon_plane_general_engine

		position = { x=2 y=0 }
		mutually_exclusive = { generic_mio_trait_use_hydrogen_fuel_battery }

		equipment_bonus = {
			air_range = -0.15
		}

		production_bonus = {
			production_resource_need_factor = -0.15
		}
	}

	trait = {
		token = generic_mio_trait_use_more_cheaper_engine
		name = generic_mio_trait_use_more_cheaper_engine
		icon = GFX_generic_mio_department_icon_plane_fighter_line_efficiency

		position = { x=2 y=2 }
		all_parents = {
			 generic_mio_trait_use_lithium_polymer_battery
		}

		equipment_bonus = {
			build_cost_ic = -0.1
			fuel_consumption = -0.05
		}
	}

	trait = {
		token = generic_mio_trait_advanced_computer_control_systems
		name = generic_mio_trait_advanced_computer_control_systems
		icon = GFX_generic_mio_trait_icon_air_agility

		position = { x=3 y=1 }
		any_parent = {
			 generic_mio_trait_use_lithium_polymer_battery
			 generic_mio_trait_use_hydrogen_fuel_battery
		}

		equipment_bonus = {
			air_agility = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_improved_target_tracking_sensor
		name = generic_mio_trait_improved_target_tracking_sensor
		icon = GFX_generic_mio_trait_icon_anti_air_attack

		position = { x=3 y=3 }
		any_parent = {
			 generic_mio_trait_advanced_computer_control_systems
		}

		equipment_bonus = {
			air_attack = 0.10
		}
	}

	trait = {
		token = generic_mio_trait_use_hydrogen_fuel_battery
		name = generic_mio_trait_use_hydrogen_fuel_battery
		icon = GFX_generic_mio_department_icon_plane_medium_engine

		position = { x=4 y=0 }
		mutually_exclusive = { generic_mio_trait_use_lithium_polymer_battery }

		equipment_bonus = {
			air_defence = 0.10
			maximum_speed = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_use_more_quieter_engine
		name = generic_mio_trait_use_more_quieter_engine
		icon = GFX_generic_mio_department_icon_plane_general_production

		position = { x=4 y=2 }
		all_parents = {
			 generic_mio_trait_use_hydrogen_fuel_battery
		}

		equipment_bonus = {
			air_agility = 0.05
			air_attack = 0.02
			air_ground_attack = 0.02
		}
	}

	#Wing

	trait = {
		token = generic_mio_trait_improved_blended_wing_body
		name = generic_mio_trait_improved_blended_wing_body
		icon = GFX_generic_mio_trait_icon_reliability

		position = { x=5 y=0 }

		equipment_bonus = {
			reliability = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_improved_wing_design
		name = generic_mio_trait_improved_wing_design
		icon = GFX_generic_mio_trait_icon_maximum_speed

		position = { x=0 y=2 }

		all_parents = {
			 generic_mio_trait_improved_blended_wing_body
		}
		relative_position_id = generic_mio_trait_improved_blended_wing_body

		equipment_bonus = {
			maximum_speed = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_ornithopters_stealth_system
		name = generic_mio_trait_ornithopters_stealth_system
		icon = GFX_generic_mio_trait_icon_defense

		position = { x=0 y=4 }

		all_parents = {
			generic_mio_trait_improved_wing_design
		}

		relative_position_id = generic_mio_trait_improved_blended_wing_body

		equipment_bonus = {
			air_defence = 0.05
		}
	}

	#mio_header_weapons

	trait = {
		token = generic_mio_trait_advanced_drone_weapon_control_system
		name = generic_mio_trait_advanced_drone_weapon_control_system
		icon = GFX_generic_mio_department_icon_plane_fighter_combat

		position = { x=7 y=0 }

		equipment_bonus = {
			air_attack = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_improved_exteroceptive_sensors
		name = generic_mio_trait_improved_exteroceptive_sensors
		icon = GFX_generic_mio_trait_icon_air_ground_attack 

		position = { x=7 y=4 }

		all_parents = {
			generic_mio_trait_advanced_drone_weapon_control_system
		}

		equipment_bonus = {
			air_ground_attack = 0.10
		}
	}
}



##     ##    ###    ######## ######## ########  #### ######## ##       
###   ###   ## ##      ##    ##       ##     ##  ##  ##       ##       
#### ####  ##   ##     ##    ##       ##     ##  ##  ##       ##       
## ### ## ##     ##    ##    ######   ########   ##  ######   ##       
##     ## #########    ##    ##       ##   ##    ##  ##       ##       
##     ## ##     ##    ##    ##       ##    ##   ##  ##       ##       
##     ## ##     ##    ##    ######## ##     ## #### ######## ######## 


###########################
######## Artillery ########
###########################

generic_artillery_organization = {
	icon = GFX_idea_generic_artillery_manufacturer_2

	allowed = {
		NOT = {
			tag = JAP
			tag = KOR
			tag = PRK
			tag = SWE
			tag = PRC
			tag = CHI
			tag = GUA
			tag = URG
				tag = HUN
		}
	}

	equipment_type = {
		artillery_equipment
		anti_tank_equipment
		anti_air_equipment
		motorized_rocket_equipment
	}

	research_categories = {
		mio_cat_all_artillery_equipment
	}
	
	tree_header_text = {
		text = mio_header_mechanical_design
		x = 1
	}

	tree_header_text = {
		text = mio_header_armament_and_ammunition
		x = 6
	}

	initial_trait = {
		name = generic_mio_initial_trait_artillery_manufacturer

		organization_modifier = {
			military_industrial_organization_research_bonus = 0.05
		}
		production_bonus = {
			production_cost_factor = -0.03
		}
	}

	trait = {
		token = generic_mio_trait_mobile_limbers
		name = generic_mio_trait_mobile_limbers
		icon = GFX_generic_mio_trait_icon_breakthrough

		position = { x=0 y=0 }
		mutually_exclusive = { generic_mio_trait_stable_platforms }

		equipment_bonus = {
			breakthrough = 0.1
		}
	}

	trait = {
		token = generic_mio_trait_stable_platforms
		name = generic_mio_trait_stable_platforms
		icon = GFX_generic_mio_trait_icon_defense

		position = { x=2 y=0 }
		relative_position_id = generic_mio_trait_mobile_limbers

		mutually_exclusive = { generic_mio_trait_mobile_limbers }

		equipment_bonus = {
			defense = 0.03
		}
	}

	trait = {
		token = generic_mio_trait_improved_hydraulic_recoil_system
		name = generic_mio_trait_improved_hydraulic_recoil_system
		icon = GFX_generic_mio_trait_icon_reliability

		position = { x=1 y=1 }
		relative_position_id = generic_mio_trait_mobile_limbers

		any_parent = {
			generic_mio_trait_stable_platforms
			generic_mio_trait_mobile_limbers
		}

		equipment_bonus = {
			reliability = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_improved_direct_fire_targeting
		name = generic_mio_trait_improved_direct_fire_targeting
		icon = GFX_generic_mio_department_icon_anti_tank

		position = { x=-1 y=3 }
		relative_position_id = generic_mio_trait_improved_hydraulic_recoil_system

		all_parents = {
			 generic_mio_trait_improved_hydraulic_recoil_system
		}

		mutually_exclusive = { generic_mio_trait_advanced_anti_air_targeting generic_mio_trait_advanced_trajectory_calculations }
		
		limit_to_equipment_type = { 
			anti_tank_equipment
		}

		equipment_bonus = {
			ap_attack = 0.05
			hard_attack = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_advanced_anti_air_targeting
		name = generic_mio_trait_advanced_anti_air_targeting
		icon = GFX_generic_mio_department_icon_anti_air

		position = { x=1 y=0 }
		relative_position_id = generic_mio_trait_improved_direct_fire_targeting
		
		all_parents = {
			 generic_mio_trait_improved_hydraulic_recoil_system
		}
		
		mutually_exclusive = {
			generic_mio_trait_improved_direct_fire_targeting
			generic_mio_trait_advanced_trajectory_calculations
		}
		
		limit_to_equipment_type = { 
			anti_air_equipment
		}

		equipment_bonus = {
			air_attack = 0.07
		}
	}

	trait = {
		token = generic_mio_trait_advanced_trajectory_calculations
		name = generic_mio_trait_advanced_trajectory_calculations
		icon = GFX_generic_mio_department_icon_artillery

		position = { x=2 y=0 }
		relative_position_id = generic_mio_trait_improved_direct_fire_targeting

		all_parents = {
			 generic_mio_trait_improved_hydraulic_recoil_system
		}

		mutually_exclusive = { 
			generic_mio_trait_improved_direct_fire_targeting
			generic_mio_trait_advanced_anti_air_targeting
		}

		limit_to_equipment_type = { 
			artillery_equipment
			motorized_rocket_equipment
		}

		equipment_bonus = {
			hard_attack = 1
			breakthrough = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_sliding_breech_block
		name = generic_mio_trait_sliding_breech_block
		icon = GFX_generic_mio_trait_icon_soft_attack

		position = { x=0 y=2 }
		relative_position_id = generic_mio_trait_rapid_fire	

		all_parents = {
			generic_mio_trait_improved_hydraulic_recoil_system
			generic_mio_trait_rapid_fire
		}

		equipment_bonus = {
			soft_attack = 0.03
			breakthrough = 0.03
		}
	}

	trait = {
		token = generic_mio_trait_rapid_fire
		name = generic_mio_trait_rapid_fire
		icon = GFX_generic_mio_department_icon_tank_general_weapons

		position = { x=4 y=0 }
		relative_position_id = generic_mio_trait_mobile_limbers	

		limit_to_equipment_type = { 
			anti_tank_equipment
			anti_air_equipment
		}

		equipment_bonus = {
			soft_attack = 0.1
			hard_attack = 0.04
			air_attack = 0.04
		}
	}

	trait = {
		token = generic_mio_trait_advanced_barrel_forging
		name = generic_mio_trait_advanced_barrel_forging
		icon = GFX_generic_mio_trait_icon_efficiency_gain

		position = { x=2 y=0 }
		relative_position_id = generic_mio_trait_rapid_fire

		production_bonus = {
			production_efficiency_gain_factor = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_big_guns
		name = generic_mio_trait_big_guns
		icon = GFX_generic_mio_department_icon_artillery_production

		position = { x=2 y=0 }
		relative_position_id = generic_mio_trait_advanced_barrel_forging

		limit_to_equipment_type = { 
			artillery_equipment
			motorized_rocket_equipment
		}

		equipment_bonus = {
			soft_attack = 0.02
			build_cost_ic = 0.03
		}
	}

	trait = {
		token = generic_mio_trait_gun_mass_production
		name = generic_mio_trait_gun_mass_production
		icon = GFX_generic_mio_department_icon_facilities

		position = { x=0 y=2 }
		relative_position_id = generic_mio_trait_advanced_barrel_forging

		all_parents = {	generic_mio_trait_advanced_barrel_forging }

		production_bonus = {
			production_efficiency_gain_factor = 0.03
			production_efficiency_cap_factor = 0.03
		}

		organization_modifier = {
			military_industrial_organization_design_team_assign_cost = -0.15
		}
	}

	trait = {
		token = generic_mio_trait_super_charges
		name = generic_mio_trait_super_charges
		icon = GFX_generic_mio_department_icon_facilities

		position = { x=0 y=2 }
		relative_position_id = generic_mio_trait_big_guns

		all_parents = {	generic_mio_trait_big_guns }

		limit_to_equipment_type = { 
			artillery_equipment
			motorized_rocket_equipment
		}

		production_bonus = {
			production_efficiency_gain_factor = 0.03
			production_efficiency_cap_factor = 0.03
		}

		organization_modifier = {
			military_industrial_organization_design_team_assign_cost = -0.15
		}
	}

	trait = {
		token = generic_mio_trait_light_weight_barrels
		name = generic_mio_trait_light_weight_barrels
		icon = GFX_generic_mio_trait_icon_breakthrough

		position = { x=0 y=2 }
		relative_position_id = generic_mio_trait_gun_mass_production

		all_parents = {
			generic_mio_trait_super_charges
			generic_mio_trait_gun_mass_production
			generic_mio_trait_sliding_breech_block

		}

		production_bonus = {
			production_cost_factor = -0.03
		}

		equipment_bonus = {
			breakthrough = 0.06
			defense = 0.1
		}
	}

}

	
############################
###### Infantry Weapons ####
############################

generic_infantry_equipment_organization = {
	icon = GFX_idea_generic_infantry_equipment_manufacturer_2

	allowed = {
		NOT = {
			tag = JAP
			tag = KOR
			tag = GER
			tag = ISR
			tag = ITA
			tag = USA
			tag = AUS
			tag = BEL
			tag = SOV
			tag = RCO
			tag = ARG
			tag = PRK
			tag = FRA
			tag = PRC
			tag = CHI
			tag = PAK
			tag = AST
			tag = GUA
			tag = URG
				tag = HUN
		}
	}

	equipment_type = {
		infantry_equipment
	}
	research_categories = { infantry_weapons }

	

	tree_header_text = {
		text = mio_header_design_and_production
		x = 3
	}

	tree_header_text = {
		text = mio_header_anti_tank
		x = 8
	}

	initial_trait = {
		name = generic_mio_initial_trait_infantry_manufacturer

		organization_modifier = {
			military_industrial_organization_research_bonus = 0.05
		}

		production_bonus = {
			production_efficiency_cap_factor = 0.03
		}

		equipment_bonus = {
			soft_attack = 0.03
		}
	}

	trait = {
		token = generic_mio_trait_drum_pattern_sights
		name = generic_mio_trait_drum_pattern_sights
		icon = GFX_generic_mio_trait_icon_defense

		position = { x=1 y=0 }

		equipment_bonus = {
			defense = 0.035
		}
	}

	trait = {
		token = generic_mio_trait_reinforced_stocks
		name = generic_mio_trait_reinforced_stocks
		icon = GFX_generic_mio_trait_icon_reliability

		position = { x=4 y=0 }
		relative_position_id = generic_mio_trait_drum_pattern_sights

		equipment_bonus = {
			soft_attack = 0.025
			reliability = 0.03
		}
	}

	trait = {
		token = generic_mio_trait_bolt_action
		name = generic_mio_trait_bolt_action
		icon = GFX_generic_mio_department_icon_infantry_line_efficiency

		position = { x=-1 y=2 }
		relative_position_id = generic_mio_trait_reinforced_stocks

		all_parents = { generic_mio_trait_reinforced_stocks }

		mutually_exclusive = { generic_mio_trait_semi_auto }

		equipment_bonus = {
			soft_attack = -0.03
		}

		production_bonus = {
			production_efficiency_gain_factor = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_semi_auto
		name = generic_mio_trait_semi_auto
		icon = GFX_generic_mio_trait_icon_soft_attack

		position = { x=1 y=2 }
		relative_position_id = generic_mio_trait_reinforced_stocks

		all_parents = { generic_mio_trait_reinforced_stocks }

		mutually_exclusive = { generic_mio_trait_bolt_action }

		equipment_bonus = {
			soft_attack = 0.03
			breakthrough = 0.03
		}

		production_bonus = {
			production_efficiency_gain_factor = -0.05
		}
	}

	trait = {
		token = generic_mio_trait_medium_machineguns
		name = generic_mio_trait_medium_machineguns
		icon = GFX_generic_mio_trait_icon_breakthrough

		position = { x=1 y=2 }
		relative_position_id = generic_mio_trait_bolt_action

		any_parent = { generic_mio_trait_semi_auto generic_mio_trait_bolt_action }
		
		equipment_bonus = {
			breakthrough = 0.06
			build_cost_ic = 0.08
		}
	}

	trait = {
		token = generic_mio_trait_advanced_barrel_forging
		name = generic_mio_trait_advanced_barrel_forging
		icon = GFX_generic_mio_trait_icon_efficiency_gain

		position = { x=2 y=2 }
		relative_position_id = generic_mio_trait_drum_pattern_sights

		any_parent = { generic_mio_trait_reinforced_stocks generic_mio_trait_drum_pattern_sights }

		production_bonus = {
			production_efficiency_gain_factor = 0.03
		}
	}

	trait = {
		token = generic_mio_trait_mass_rifle_production
		name = generic_mio_trait_mass_rifle_production
		icon = GFX_generic_mio_department_icon_facilities

		position = { x=0 y=2 }
		relative_position_id = generic_mio_trait_advanced_barrel_forging

		all_parents = { generic_mio_trait_advanced_barrel_forging }

		production_bonus = {
			production_efficiency_cap_factor = 0.03
			production_cost_factor = -0.03
		}

		organization_modifier = {
			military_industrial_organization_design_team_assign_cost = -0.3
		}
	}


	trait = {
		token = generic_mio_trait_quality_materials
		name = generic_mio_trait_quality_materials
		icon = GFX_generic_mio_trait_icon_reliability

		position = { x=0 y=2 }
		relative_position_id = generic_mio_trait_drum_pattern_sights

		all_parents = { generic_mio_trait_drum_pattern_sights }

		equipment_bonus = {
			reliability = 0.05
		}

	}

	trait = {
		token = generic_mio_trait_improved_small_arms_bullet_design
		name = generic_mio_trait_improved_small_arms_bullet_design
		icon = GFX_generic_mio_trait_icon_soft_attack

		position = { x=-1 y=2 }
		relative_position_id = generic_mio_trait_quality_materials

		all_parents = { generic_mio_trait_quality_materials }

		mutually_exclusive = { generic_mio_trait_armor_piercing_rounds }

		equipment_bonus = {
			soft_attack = 0.05
			breakthrough = 0.03
		}
	}

	trait = {
		token = generic_mio_trait_armor_piercing_rounds
		name = generic_mio_trait_armor_piercing_rounds
		icon = GFX_generic_mio_trait_icon_ap_attack

		position = { x=1 y=2 }
		relative_position_id = generic_mio_trait_quality_materials

		all_parents = { generic_mio_trait_quality_materials }
		
		mutually_exclusive = { generic_mio_trait_improved_small_arms_bullet_design }

		equipment_bonus = {
			ap_attack = 0.25
			hard_attack = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_heavy_anti_armor_ammunition
		name = generic_mio_trait_heavy_anti_armor_ammunition
		icon = GFX_generic_mio_trait_icon_ap_attack

		position = { x=3 y=0 }
		relative_position_id = generic_mio_trait_reinforced_stocks

		equipment_bonus = {
			hard_attack = 0.1
			ap_attack = 0.25
		}
	}

	trait = {
		token = generic_mio_trait_vehicle_mounted_capabilities
		name = generic_mio_trait_vehicle_mounted_capabilities
		icon = GFX_generic_mio_trait_icon_breakthrough

		position = { x=-1 y=2 }
		relative_position_id = generic_mio_trait_heavy_anti_armor_ammunition

		all_parents = { generic_mio_trait_heavy_anti_armor_ammunition }
		
		mutually_exclusive = { generic_mio_trait_rubber_cushioned_buttpad }

		equipment_bonus = {
			breakthrough = 0.06
			build_cost_ic = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_rubber_cushioned_buttpad
		name = generic_mio_trait_rubber_cushioned_buttpad
		icon = GFX_generic_mio_trait_icon_breakthrough

		position = { x=1 y=2 }
		relative_position_id = generic_mio_trait_heavy_anti_armor_ammunition

		all_parents = { generic_mio_trait_heavy_anti_armor_ammunition }
		
		mutually_exclusive = { generic_mio_trait_vehicle_mounted_capabilities }

		equipment_bonus = {
			breakthrough = 0.02
		}
	}

	trait = {
		token = generic_mio_trait_anti_vechicle_land_mines
		name = generic_mio_trait_anti_vechicle_land_mines
		icon = GFX_generic_mio_department_icon_infantry_quality

		position = { x=1 y=2 }
		relative_position_id = generic_mio_trait_vehicle_mounted_capabilities

		any_parent = { generic_mio_trait_rubber_cushioned_buttpad generic_mio_trait_vehicle_mounted_capabilities }

		equipment_bonus = {
			defense = 0.04
			hard_attack = 0.03
			build_cost_ic = 0.05

		}
	}

}


###################################
######## Support Equipment ########
###################################

generic_support_equipment_organization = {
	icon = GFX_idea_generic_infantry_equipment_manufacturer_1

	allowed = {
		always = no # Archetype only - countries using it have their own verisons
	}

	equipment_type = { infantry_equipment support_equipment }
	research_categories = { infantry_weapons support_tech }

	

	tree_header_text = {
		text = mio_header_support
		x = 1
	}

	tree_header_text = {
		text = mio_header_weapons
		x = 6.5
	}

	
	initial_trait = {
		name = generic_mio_initial_trait_support_equipment_manufacturer

		organization_modifier = {
			military_industrial_organization_research_bonus = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_material_recycling
		name = generic_mio_trait_material_recycling
		icon = GFX_generic_mio_department_icon_support_materials
		
		position = { x=1 y=0 }
		
		limit_to_equipment_type = { support_equipment }
		
		production_bonus = {
			production_resource_need_factor = -0.15
		}
	}

	trait = {
		token = generic_mio_trait_scrap_melting
		name = generic_mio_trait_scrap_melting
		icon = GFX_generic_mio_trait_icon_resources
		
		position = { x=-1 y=1 }
		relative_position_id = generic_mio_trait_material_recycling
		
		all_parents = { generic_mio_trait_material_recycling }
		
		mutually_exclusive = { generic_mio_trait_high_quality_material_blend }
		
		limit_to_equipment_type = { support_equipment }
		
		equipment_bonus = {
			reliability = -0.1
		}

		production_bonus = {
			production_resource_need_factor = -0.1
		}
	}

	trait = {
		token = generic_mio_trait_high_quality_material_blend
		name = generic_mio_trait_high_quality_material_blend
		icon = GFX_generic_mio_trait_icon_efficiency_cap
		
		position = { x=1 y=1 }
		relative_position_id = generic_mio_trait_material_recycling
		
		all_parents = { generic_mio_trait_material_recycling }
		
		mutually_exclusive = { generic_mio_trait_scrap_melting }
		
		limit_to_equipment_type = { support_equipment }
		
		production_bonus = {
			production_efficiency_cap_factor = 0.05
			production_resource_need_factor = 0.1
		}
	}

	trait = {
		token = generic_mio_trait_mass_production
		name = generic_mio_trait_mass_production
		icon = GFX_generic_mio_trait_icon_efficiency_gain
		
		position = { x=-1 y=2 }
		relative_position_id = generic_mio_trait_high_quality_material_blend
		
		any_parent = { generic_mio_trait_high_quality_material_blend generic_mio_trait_scrap_melting }
		
		limit_to_equipment_type = { support_equipment }

		production_bonus = {
			production_efficiency_gain_factor = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_research_program
		name = generic_mio_trait_research_program
		icon = GFX_generic_mio_department_icon_facilities
		
		position = { x=-1 y=1 }
		relative_position_id = generic_mio_trait_mass_production
		
		all_parents = { generic_mio_trait_mass_production }
		
		mutually_exclusive = { generic_mio_trait_efficient_scale_up }
		
		organization_modifier = {
			military_industrial_organization_research_bonus = 0.06
		}
	}

	trait = {
		token = generic_mio_trait_efficient_scale_up
		name = generic_mio_trait_efficient_scale_up
		icon = GFX_generic_mio_department_icon_support_production
		
		position = { x=2 y=0 }
		relative_position_id = generic_mio_trait_research_program
		
		all_parents = { generic_mio_trait_mass_production }

		mutually_exclusive = { generic_mio_trait_research_program }
		
		limit_to_equipment_type = { support_equipment }

		production_bonus = {
			production_capacity_factor = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_private_scientists_program
		name = generic_mio_trait_private_scientists_program
		icon = GFX_generic_mio_department_icon_facilities		
		
		position = { x=4 y=0 }
		relative_position_id = generic_mio_trait_material_recycling

		organization_modifier = {
			military_industrial_organization_research_bonus = 0.05
		}
	}


	trait = {
		token = generic_mio_trait_private_tenders
		name = generic_mio_trait_private_tenders
		icon = GFX_generic_mio_department_icon_facilities
		
		position = { x=0 y=1 }
		relative_position_id = generic_mio_trait_private_scientists_program
		
		all_parents = { generic_mio_trait_private_scientists_program }

		organization_modifier = {
			military_industrial_organization_funds_gain = 0.1
		}
	}

	trait = {
		token = generic_mio_trait_anti_tank_rifle #elephant gun
		name = generic_mio_trait_anti_tank_rifle
		icon = GFX_generic_mio_trait_icon_ap_attack
		
		position = { x=3 y=0 }
		relative_position_id = generic_mio_trait_private_scientists_program
		
		limit_to_equipment_type = { infantry_equipment }

		equipment_bonus = {
			ap_attack = 0.1
		}
	}

	trait = {
		token = generic_mio_trait_single_shot_man_portable_anti_tank_system #Bazooka boom tank ded
		name = generic_mio_trait_single_shot_man_portable_anti_tank_system
		icon = GFX_generic_mio_trait_icon_soft_attack
		
		position = { x=0 y=4 }
		relative_position_id = generic_mio_trait_anti_tank_rifle
		
		all_parents = { generic_mio_trait_anti_tank_rifle }
		
		mutually_exclusive = { generic_mio_trait_light_mortar }
		
		limit_to_equipment_type = { infantry_equipment }

		equipment_bonus = {
			hard_attack = 0.1
			build_cost_ic = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_small_sidearms
		name = generic_mio_trait_small_sidearms
		icon = GFX_generic_mio_trait_icon_defense
		
		position = { x=1 y=2 }
		relative_position_id = generic_mio_trait_private_tenders
		
		all_parents = { generic_mio_trait_private_tenders }
		
		limit_to_equipment_type = { infantry_equipment }

		equipment_bonus = {
			defense = 0.02
		}
	}

	trait = {
		token = generic_mio_trait_light_mortar
		name = generic_mio_trait_light_mortar
		icon = GFX_generic_mio_trait_icon_breakthrough
		
		position = { x=0 y=1 }
		relative_position_id = generic_mio_trait_small_sidearms
		
		all_parents = { generic_mio_trait_small_sidearms }

		mutually_exclusive = { generic_mio_trait_single_shot_man_portable_anti_tank_system }

		limit_to_equipment_type = { infantry_equipment }

		equipment_bonus = {
			breakthrough = 0.05
			soft_attack = 0.02
			build_cost_ic = 0.06
		}
	}


	trait = {
		token = generic_mio_trait_pontoons
		name = generic_mio_trait_pontoons
		icon = GFX_generic_mio_trait_icon_maximum_speed
		
		position = { x=-1 y=1 }
		relative_position_id = generic_mio_trait_private_tenders
		
		all_parents = { generic_mio_trait_private_tenders }

		limit_to_equipment_type = { infantry_equipment }

		equipment_bonus = {
			maximum_speed = 0.05
			build_cost_ic = 0.035
		}
	}
}


###########################
######## Motorized ########
###########################

generic_motorized_mechanized_organization = {
	icon = GFX_idea_generic_motorized_equipment_manufacturer_3

	allowed = {
		NOT = {
			tag = JAP
			tag = KOR
			tag = CHI
			tag = SWI
			tag = SOV
			tag = RCO
			tag = ITA
			tag = RAJ
			tag = PRK
			tag = USA
			tag = SIG
			tag = AUS
			tag = GUA
			tag = URG
				tag = HUN
		}
	}

	equipment_type = {
		motorized_equipment
		light_mechanized_equipment
		mechanized_equipment
		motorized_rocket_equipment
	}
	
	research_categories = {
		motorized_equipment
		mot_rockets
	}

	

	tree_header_text = {
		text = mio_header_motorized
		x = 1
	}

	tree_header_text = {
		text = mio_header_mechanized
		x = 7
	}
	
	initial_trait = {
		name = generic_mio_initial_trait_motorized_mechanized_manufacturer

		organization_modifier = {
			military_industrial_organization_research_bonus = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_composite_cargo_bed
		name = generic_mio_trait_composite_cargo_bed
		icon = GFX_generic_mio_department_icon_motorized_production
		
		position = { x=0 y=0 }
		
		mutually_exclusive = { generic_mio_trait_steel_cargo_bed }

		limit_to_equipment_type = { motorized_equipment motorized_rocket_equipment }

		equipment_bonus = {
			reliability = -0.07
			build_cost_ic = -0.05
		}
	}

	trait = {
		token = generic_mio_trait_steel_cargo_bed
		name = generic_mio_trait_steel_cargo_bed
		icon = GFX_generic_mio_trait_icon_reliability
		
		position = { x=2 y=0 }
		relative_position_id = generic_mio_trait_composite_cargo_bed
		
		mutually_exclusive = { generic_mio_trait_composite_cargo_bed }

		limit_to_equipment_type = { motorized_equipment motorized_rocket_equipment }

		equipment_bonus = {
			reliability = 0.05
		}
		production_bonus = {
			production_resource_need_factor = 0.02
		}
	}

	trait = {
		token = generic_mio_trait_all_wheel_drive
		name = generic_mio_trait_all_wheel_drive
		icon = GFX_generic_mio_trait_icon_breakthrough
		
		position = { x=1 y=2 }
		relative_position_id = generic_mio_trait_composite_cargo_bed
		
		any_parent = { generic_mio_trait_composite_cargo_bed generic_mio_trait_steel_cargo_bed }

		limit_to_equipment_type = { motorized_equipment motorized_rocket_equipment }
		
		equipment_bonus = {
			breakthrough = 0.035
		}
	}

	trait = {
		token = generic_mio_trait_attached_wood_gas_generator
		name = generic_mio_trait_attached_wood_gas_generator
		icon = GFX_generic_mio_trait_icon_fuel_consumption
		
		position = { x=-1 y=2 }
		relative_position_id = generic_mio_trait_all_wheel_drive
		
		all_parents = { generic_mio_trait_all_wheel_drive }
		
		mutually_exclusive = { generic_mio_trait_high_powered_engine }

		limit_to_equipment_type = { motorized_equipment motorized_rocket_equipment }

		equipment_bonus = {
			fuel_consumption = -0.05
		}
	}

	trait = {
		token = generic_mio_trait_high_powered_engine
		name = generic_mio_trait_high_powered_engine
		icon = GFX_generic_mio_trait_icon_maximum_speed
		
		position = { x=2 y=0 }
		relative_position_id = generic_mio_trait_attached_wood_gas_generator
		
		all_parents = { generic_mio_trait_all_wheel_drive }
		
		mutually_exclusive = { generic_mio_trait_attached_wood_gas_generator }

		limit_to_equipment_type = { motorized_equipment motorized_rocket_equipment }

		equipment_bonus = {
			fuel_consumption = 0.05
			maximum_speed = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_medium_machinegun_mounts
		name = generic_mio_trait_medium_machinegun_mounts
		icon = GFX_generic_mio_trait_icon_breakthrough
		
		position = { x=2 y=0 }
		relative_position_id = generic_mio_trait_steel_cargo_bed

		equipment_bonus = {
			breakthrough = 0.03
		}
	}

	trait = {
		token = generic_mio_trait_armored_pulpit_mount
		name = generic_mio_trait_armored_pulpit_mount
		icon = GFX_generic_mio_trait_icon_hardness
		
		position = { x=0 y=2 }
		relative_position_id = generic_mio_trait_medium_machinegun_mounts

		all_parents = { generic_mio_trait_medium_machinegun_mounts }

		equipment_bonus = {
			hardness = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_advanced_artillery_racks
		name = generic_mio_trait_advanced_artillery_racks
		icon = GFX_generic_mio_trait_icon_soft_attack
		
		position = { x=-1 y=2 }
		relative_position_id = generic_mio_trait_armored_pulpit_mount
		
		all_parents = { generic_mio_trait_armored_pulpit_mount }
		
		mutually_exclusive = { generic_mio_trait_heavy_machinegun_mount  }
		
		limit_to_equipment_type = { motorized_rocket_equipment }

		equipment_bonus = {
			soft_attack = 0.035
			build_cost_ic = 0.06
		}
	}

	trait = {
		token = generic_mio_trait_heavy_machinegun_mount
		name = generic_mio_trait_heavy_machinegun_mount
		icon = GFX_generic_mio_trait_icon_breakthrough
		
		position = { x=2 y=0 }
		relative_position_id = generic_mio_trait_advanced_artillery_racks
		
		all_parents = { generic_mio_trait_armored_pulpit_mount }
		
		mutually_exclusive = { generic_mio_trait_advanced_artillery_racks  }
		
		limit_to_equipment_type = { mechanized_equipment motorized_equipment }
		
		equipment_bonus = {
			breakthrough = 0.04
			build_cost_ic = 0.01
		}
	}

	trait = {
		token = generic_mio_trait_mounted_light_anti_tank_gun #elephant gun
		name = generic_mio_trait_mounted_light_anti_tank_gun
		icon = GFX_generic_mio_trait_icon_ap_attack
		
		position = { x=1 y=0 }
		relative_position_id = generic_mio_trait_heavy_machinegun_mount
		
		mutually_exclusive = {   }
		
		all_parents = { generic_mio_trait_bulletproof_panels }
		
		limit_to_equipment_type = { mechanized_equipment }

		equipment_bonus = {
			ap_attack = 0.1
			hard_attack = 0.02
		}
	}

	trait = {
		token = generic_mio_trait_open_chassi
		name = generic_mio_trait_open_chassi
		icon = GFX_generic_mio_department_icon_mechanized_production
		
		position = { x=2 y=0 }
		relative_position_id = generic_mio_trait_medium_machinegun_mounts
		
		limit_to_equipment_type = { mechanized_equipment }
		
		mutually_exclusive = { generic_mio_trait_closed_chassi }

		equipment_bonus = {
			defense = -0.02
			build_cost_ic = -0.03
		}
	}

	trait = {
		token = generic_mio_trait_closed_chassi
		name = generic_mio_trait_closed_chassi
		icon = GFX_generic_mio_department_icon_mechanized_hull
		
		position = { x=2 y=0 }
		relative_position_id = generic_mio_trait_open_chassi
		
		limit_to_equipment_type = { mechanized_equipment }
		
		mutually_exclusive = { generic_mio_trait_open_chassi }

		equipment_bonus = {
			armor_value = 0.05
		}
	}


	trait = {
		token = generic_mio_trait_bulletproof_panels
		name = generic_mio_trait_bulletproof_panels
		icon = GFX_generic_mio_trait_icon_hardness
		
		position = { x=-1 y=2 }
		relative_position_id = generic_mio_trait_closed_chassi
		
		limit_to_equipment_type = { mechanized_equipment }
		
		any_parent = { generic_mio_trait_closed_chassi generic_mio_trait_open_chassi }

		equipment_bonus = {
			hardness = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_light_flame_projectors
		name = generic_mio_trait_light_flame_projectors
		icon = GFX_generic_mio_trait_icon_breakthrough
		
		position = { x=0 y=2 }
		relative_position_id = generic_mio_trait_bulletproof_panels
		
		limit_to_equipment_type = { mechanized_equipment }
		
		all_parents = { generic_mio_trait_bulletproof_panels }

		equipment_bonus = {
			breakthrough = 0.035
		}
	}

	trait = {
		token = generic_mio_trait_land_mine_racks
		name = generic_mio_trait_land_mine_racks
		icon = GFX_generic_mio_department_icon_mechanized_hull
		
		position = { x=1 y=0 }
		relative_position_id = generic_mio_trait_light_flame_projectors
		
		limit_to_equipment_type = { mechanized_equipment }
		
		all_parents = { generic_mio_trait_bulletproof_panels }

		equipment_bonus = {
			defense = 0.06
			maximum_speed = -0.02
		}
	}
}



######################
#### Armored Car  ####
######################


generic_armored_car_organization = {
	icon = GFX_idea_generic_tank_manufacturer_1

	allowed = {
		always = no # Archetype only - countries using it have their own verisons
		has_dlc = "La Resistance"
	}

	equipment_type = { armored_car_equipment }
	research_categories = { cat_armored_cars }

	tree_header_text = {
		text = mio_header_design_and_production
		x = 3
	}

	tree_header_text = {
		text = mio_header_equipment_and_specialization
		x = 7
	}

	
	initial_trait = {
		name = generic_mio_initial_trait_standardized_production
		equipment_bonus = {
			armor_value = 0.05
			defense =0.05
			build_cost_ic = -0.05
		}
	}

	trait = {
		token = generic_mio_trait_simplified_suspension
		name = generic_mio_trait_simplified_suspension
		icon = GFX_generic_mio_trait_icon_reliability

		equipment_bonus = {
			reliability = 0.05
		}
		position = { x=1 y=0 }
	}
	
	trait = {
		token = generic_mio_trait_crew_ergonomics
		name = generic_mio_trait_crew_ergonomics
		icon = GFX_generic_mio_trait_icon_defense


		equipment_bonus = {
			maximum_speed = 0.02
			defense = 0.02
		}
		position = { x=4 y=0 }
		relative_position_id = generic_mio_trait_simplified_suspension
	}
	
	trait = {
		token = generic_mio_trait_reinforced_wheels
		name = generic_mio_trait_reinforced_wheels
		icon = GFX_generic_mio_department_icon_armored_car_engine
		any_parent = { generic_mio_trait_simplified_suspension }

		equipment_bonus = {
			reliability = 0.05
			maximum_speed = 0.05
		}
		position = { x=0 y=2 }
		relative_position_id = generic_mio_trait_simplified_suspension
	}

	trait = {
		token = generic_mio_trait_command_upgrades
		name = generic_mio_trait_command_upgrades
		icon = GFX_generic_mio_trait_icon_breakthrough
		any_parent = { generic_mio_trait_crew_ergonomics }


		equipment_bonus = {
			breakthrough = 0.05
		}
		position = { x=0 y=2 }
		relative_position_id = generic_mio_trait_crew_ergonomics
	}
	
	trait = {
		token = generic_mio_trait_standardized_components
		name = generic_mio_trait_standardized_components
		icon = GFX_generic_mio_department_icon_armored_car_line_efficiency
		all_parents = { generic_mio_trait_simplified_suspension generic_mio_trait_crew_ergonomics }


		position = { x=2 y=1 }
		relative_position_id = generic_mio_trait_simplified_suspension

		production_bonus = {
			production_efficiency_gain_factor = 0.15
			production_resource_need_factor = -0.15
		}
	}

	trait = {
		token = generic_mio_trait_improved_tooling
		name = generic_mio_trait_improved_tooling
		icon = GFX_generic_mio_department_icon_armored_car_technology

		all_parents = { generic_mio_trait_reinforced_wheels generic_mio_trait_standardized_components generic_mio_trait_command_upgrades }

		position = { x=0 y=2 }
		relative_position_id = generic_mio_trait_standardized_components

		production_bonus = {
			production_efficiency_cap_factor = 0.1
		}
	}

	trait = {
		token = generic_mio_trait_mass_production
		name = generic_mio_trait_mass_production
		icon = GFX_generic_mio_department_icon_armored_car_production
		any_parent = { generic_mio_trait_improved_tooling }
		mutually_exclusive = { generic_mio_trait_quality_improvements }

		position = { x=-1 y=1 }
		relative_position_id = generic_mio_trait_improved_tooling

		production_bonus = {
			production_cost_factor = -0.05
			production_efficiency_gain_factor = 0.1
		}
	}

	trait = {
		token = generic_mio_trait_quality_improvements
		name = generic_mio_trait_quality_improvements
		icon = GFX_generic_mio_department_icon_tank_general_armor
		any_parent = { generic_mio_trait_improved_tooling }
		mutually_exclusive = { generic_mio_trait_mass_production}

		position = { x=1 y=1 }
		relative_position_id = generic_mio_trait_improved_tooling

		equipment_bonus = {
			armor_value = 0.1
			defense = 0.1
		}
	}

	trait = {
		token = generic_mio_trait_defensive_equipment
		name = generic_mio_trait_defensive_equipment
		icon = GFX_generic_mio_trait_icon_soft_attack

		equipment_bonus = {
			soft_attack = 0.02
			defense = 0.02
		}
		position = { x=2 y=0 }
		relative_position_id = generic_mio_trait_crew_ergonomics
	}

	trait = {
		token = generic_mio_trait_long_barreled_guns
		name = generic_mio_trait_long_barreled_guns
		icon = GFX_generic_mio_department_icon_armored_car_offense

		all_parents = { generic_mio_trait_crew_ergonomics generic_mio_trait_defensive_equipment }

		position = { x=0 y=2 }
		relative_position_id = generic_mio_trait_defensive_equipment

		equipment_bonus = {
			ap_attack = 0.05
			hard_attack = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_heavy_anti_tank_gun
		name = generic_mio_trait_heavy_anti_tank_gun
		icon = GFX_generic_mio_trait_icon_hard_attack
		any_parent = { generic_mio_trait_long_barreled_guns }
		mutually_exclusive = { generic_mio_trait_officer_support_car }

		position = { x=-1 y=2 }
		relative_position_id = generic_mio_trait_long_barreled_guns

		equipment_bonus = {
			armor_value = 0.05
			hard_attack = 0.05
		}
	}

	trait = {
		token = generic_mio_trait_officer_support_car
		name = generic_mio_trait_officer_support_car
		icon = GFX_generic_mio_trait_icon_soft_attack
		any_parent = { generic_mio_trait_long_barreled_guns }
		mutually_exclusive = { generic_mio_trait_heavy_anti_tank_gun }

		position = { x=1 y=2 }
		relative_position_id = generic_mio_trait_long_barreled_guns

		equipment_bonus = {
			soft_attack = 0.05
			build_cost_ic = -0.03
		}
	}
}







##       ####  ######  ########     #######  ########     ######  ########    ###    ########  ######
##        ##  ##    ##    ##       ##     ## ##          ##    ##    ##      ## ##      ##    ##    ##
##        ##  ##          ##       ##     ## ##          ##          ##     ##   ##     ##    ##
##        ##   ######     ##       ##     ## ######       ######     ##    ##     ##    ##     ######
##        ##        ##    ##       ##     ## ##                ##    ##    #########    ##          ##
##        ##  ##    ##    ##       ##     ## ##          ##    ##    ##    ##     ##    ##    ##    ##
######## ####  ######     ##        #######  ##           ######     ##    ##     ##    ##     ######


### EQUIPMENT STATS ###


###  ##  #  # # #  ## 
 #  #  # ## # # # #   
 #  #### # ## ##   #  
 #  #  # #  # # #   # 
 #  #  # #  # # # ##  

#maximum_speed
#reliability
#defense
#breakthrough
#armor_value
#soft_attack
#hard_attack
#ap_attack
#air_attack
#build_cost_ic
#fuel_consumption
#hardness
#armor_value
#build_cost_ic
#entrenchment - only if you have DLC NSB  and module dozer_blade
#fuel_capacity - only if you have DLC NSB  and module expanded_fuel_tank



 ## #  # ### ###   ## 
#   #  #  #  #  # #   
 #  ####  #  ###   #  
  # #  #  #  #      # 
##  #  # ### #    ##  

#lg_armor_piercing (requires modules)
#lg_attack (requires modules)
#hg_armor_piercing (requires modules)
#hg_attack (requires modules)
#torpedo_attack (requires modules)
#sub_attack (requires modules)
#anti_air_attack (requires modules)
#armor_value (requires modules)
#surface_detection 
#sub_detection (requires modules)
#sub_visibility (sub only)
#surface_visibility (surface only)
#naval_speed 
#reliability
#naval_range
#max_strength
#fuel_consumption
#build_cost_ic
#manpower
#naval_supremacy_factor
#naval_torpedo_enemy_critical_chance_factor (if you have modules adding it)
#naval_torpedo_damage_reduction_factor (if you have modules adding it)
#carrier_size (this will get very bad for you I promise, equipment modifiers are a mistake)
#mines_sweeping (only MTG and with modules)
#mines_planting (only with MTG and modules)
#naval_torpedo_hit_chance_factor (requires modules)
#naval_light_gun_hit_chance_factor (requires modules)
#naval_heavy_gun_hit_chance_factor (requires modules)



###  #    ##  #  # ###  ## 
#  # #   #  # ## # #   #   
###  #   #### # ## ##   #  
#    #   #  # #  # #     # 
#    ### #  # #  # ### ##  

#air_superiority
#reliability
#naval_strike_attack
#naval_strike_targetting
#manpower
#fuel_consumption
#build_cost_ic
#resources
#thrust - only if you have BBA DLC
#weight - only if you have BBA DLC
#maximum_speed
#air_range
#air_agility
#air_attack
#air_defence
#surface_detection
#sub_detection
#air_ground_attack
#air_bombing
#mines_planting - if you have MtG and BBA
#mines_sweeping - if you have MtG and BBA
#night_penalty - only if you have BBA DLC (you need to have module because base value is 0 - radio navigatio



#   #  ##  ### ### ###  ### ### #   
## ## #  #  #  #   #  #  #  #   #   
# # # ####  #  ##  ###   #  ##  #   
#   # #  #  #  #   #  #  #  #   #   
#   # #  #  #  ### #  # ### ### ### 

##############################
##### INFANTRY EQUIPMENT #####
##############################
#reliability
#maximum_speed
#defense
#breakthrough
#hardness - it is in the script, but the value is set to 0 (in the game, the UI doesn't show this value)
#armor_value - it is in the script, but the value is set to 0 (in the game, the UI doesn't show this value)
#soft_attack
#hard_attack
#ap_attack
#air_attack - it is in the script but the value is set to 0 (in the game, the UI doesn't show this value)
#build_cost_ic

##############################
##### SUPPORT EQUIPMENT ######
##############################
#reliability
#build_cost_ic


#############################
#### ARTILLERY EQUIPMENT ####
#############################
#reliability
#defense
#breakthrough
#hardness
#armor_value
#soft_attack
#hard_attack
#ap_attack
#air_attack
#build_cost_ic

############################
#### ANTI-AIR EQUIPMENT ####
############################
#reliability
#defense
#breakthrough
#hardness
#armor_value
#soft_attack
#hard_attack
#ap_attack
#air_attack
#build_cost_ic

#############################
#### ANTI-TANK EQUIPMENT ####
#############################
#reliability
#defense
#breakthrough
#hardness
#armor_value
#soft_attack
#hard_attack
#ap_attack
#air_attack
#build_cost_ic

####################################
#### ROCKET ARTILLERY EQUIPMENT ####
####################################
#reliability
#defense
#breakthrough
#hardness
#armor_value
#soft_attack
#hard_attack
#ap_attack
#air_attack
#build_cost_ic


##############################
#### MOTORIZED EQUIPMENT #####
##############################
#maximum_speed
#reliability
#hardness
#breakthrough
#build_cost_ic
#fuel_consumption

####################################
#### MOTORIZED ROCKET EQUIPMENT ####
####################################
#reliability
#defense
#breakthrough
#hardness
#armor_value
#soft_attack
#hard_attack
#ap_attack
#air_attack
#build_cost_ic (edited)

###############################
#### MECHANIZED EQUIPMENT #####
###############################
#maximum_speed
#reliability
#defense
#breakthrough
#hardness
#armor_value
#ap_attack
#air_attack
#build_cost_ic
#fuel_consumption

#########################################
#### AMPHIBIOUS MECHANIZED EQUIPMENT ####
#########################################
#maximum_speed
#reliability
#defense
#breakthrough
#hardness
#armor_value
#ap_attack
#air_attack
#build_cost_ic
#fuel_consumption


################################
#### ARMORED CAR EQUIPMENT #####
################################
#maximum_speed
#reliability
#defense
#breakthrough
#hardness
#armor_value
#soft_attack
#hard_attack
#ap_attack
#air_attack
#build_cost_ic
#fuel_consumption


##########################
#### TRAIN EQUIPMENT #####
##########################
#armor_value
#build_cost_ic
#air_attack

################################
#### RAILWAY GUN EQUIPMENT #####
################################
#reliability
#maximum_speed
#railway_gun_attack
#build_cost_ic


### PRODUCTION MODIFIERS ###
#production_cost_factor
#production_capacity_factor
#production_efficiency_cap_factor
#production_efficiency_gain_factor
#production_resource_need_factor
#production_resource_penalty_factor
#production_conversion_speed_factor

### ORGANIZATION MODIFIERS ###
#military_industrial_organization_research_bonus
#military_industrial_organization_design_team_assign_cost
#military_industrial_organization_design_team_change_cost
#military_industrial_organization_industrial_manufacturer_assign_cost
#military_industrial_organization_task_capacity
#military_industrial_organization_size_up_requirement
#military_industrial_organization_funds_gain
