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

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

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


USA_marmon_herrington_organization = {
	include = generic_mobile_tank_organization
	icon = GFX_idea_marmon_herrington
	allowed = {	
		OR = {
			tag = USA
			tag = CSA
			tag = USB
			AND = {
				tag = BRA
				has_dlc = "Trial of Allegiance"
			}
		}
	}
	available = {
		IF = {
			limit = {
				FROM = { NOT = { original_tag = USA } }
				FROM = { NOT = { original_tag = CSA } }
				FROM = { NOT = { original_tag = USB } }
			}
			FROM = { NOT = { has_war_with = USA } }
		}
		IF = {
			limit = { FROM = { original_tag = BRA } }
			custom_trigger_tooltip = {
				tooltip = has_invited_mio_tt
				FROM = {
					has_completed_focus = BRA_invite_foreign_companies
					has_country_flag = has_marmon_herrington_mio_flag
				}
			}
		}
	}
}

USA_chrysler_organization = {
	include = generic_medium_tank_organization
	icon = GFX_idea_chrysler
	
	allowed = {	
		OR = {
			tag = USA
			tag = USB
			AND = {
				tag = MEX 
				has_dlc = "Man the Guns"
			}
			NOR_AAT = yes 
		}
	}

	available = {
		# When in a Foreign MIO, countries need to be at peace with original country
		IF = {
			limit = {
				FROM = { NOT = { original_tag = USA } }
				FROM = { NOT = { original_tag = USB } }
			}
			FROM = { NOT = { has_war_with = USA } }
		}

		if = {
			limit = {
				FROM = { tag = MEX }
			}
			FROM = { is_in_faction_with = USA }
		} 
		else_if = {
			limit = {
				FROM = { tag = NOR }
			}
			FROM = { 
				has_completed_focus = NOR_invite_transnational_manufacturers
			}
		}
	}

	initial_trait = {

		limit_to_equipment_type = { mio_cat_eq_all_medium_tank }

		equipment_bonus = {
			reliability = 0.05
		}
	}

	add_trait = { 
		token = USA_mio_trait_strict_design_specifications
		name = USA_mio_trait_strict_design_specifications
		icon = GFX_generic_mio_trait_icon_reliability
		special_trait_background = yes

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

		all_parents = { generic_mio_trait_simplified_turret_design generic_mio_trait_armor_steel_working }
		limit_to_equipment_type = { mio_cat_eq_all_medium_tank }

		equipment_bonus = {
			reliability = 0.05
		}
	}

	add_trait = { 
		token = USA_mio_trait_expanded_production_facilities
		name = USA_mio_trait_expanded_production_facilities
		icon = GFX_generic_mio_trait_icon_build_cost_ic
		special_trait_background = yes
		
	available = {
		FROM = {
			NOT = { OR = { has_idea = undisturbed_isolation has_idea = isolation } }
		}
	}

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

		all_parents = { USA_mio_trait_strict_design_specifications }
		production_bonus = {
			production_capacity_factor = 0.1
		}
	}
}

USA_army_ordnance_department_organization = {
	include = generic_heavy_tank_organization
	icon = GFX_idea_army_ordnance_department
	
	allowed = {	
		tag = USA
	}
	
	initial_trait = {

		organization_modifier = {
			military_industrial_organization_funds_gain = -0.1
		}
	}
		
	add_trait = { 
		token = USA_mio_trait_periscope_sights
		name = USA_mio_trait_periscope_sights
		icon = GFX_generic_mio_department_icon_tank_medium_tank_armor
		special_trait_background = yes

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

		all_parents = { generic_mio_trait_wide_tracks }
		equipment_bonus = {
			defense = 0.05
		}
	}
	

	add_trait = { 
		token = USA_mio_trait_mass_production_of_armor
		name = USA_mio_trait_mass_production_of_armor
		icon = GFX_generic_mio_department_icon_tank_medium_tank_line_efficiency
		special_trait_background = yes

		position = { x=0 y=1 }
		relative_position_id = USA_mio_trait_periscope_sights
		
	available = {
		FROM = {
			NOT = { OR = { has_idea = undisturbed_isolation has_idea = isolation } }
		}
	}

		all_parents = { USA_mio_trait_periscope_sights }
		production_bonus = {
			production_efficiency_cap_factor = 0.05
		}
	}
}

USA_detroit_arsenal_organization = {
	name = detroit_arsenal
	include = generic_tank_organization
	icon = GFX_idea_generic_industrial_concern_1
	allowed = {	
		OR = { tag = USA tag = CSA }
	}
	available = {
		FROM = { has_completed_focus = USA_main_battle_tanks }
	}
	
	initial_trait = {
		name = USA_mio_trait_dedicated_tank_factory
		
		production_bonus = {
			production_efficiency_gain_factor = 0.1
		}
	}

	add_trait = { 
		token = USA_mio_trait_arsenal_of_democracy
		name = USA_mio_trait_arsenal_of_democracy
		icon = GFX_generic_mio_department_icon_tank_medium_tank_line_efficiency
		special_trait_background = yes
		
	available = {
		FROM = {
			NOT = { OR = { has_idea = undisturbed_isolation has_idea = isolation } }
		}
	}

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

		all_parents = { generic_mio_trait_standardized_components }
		production_bonus = {
			production_efficiency_cap_factor = 0.1
		}
	}
}

USA_tank_destroyer_board_organization = {
	name = tank_destroyer_board
	include = generic_assault_guns_organization
	icon = GFX_idea_usa_tank_destroyer_board
	allowed = {	
			OR = { tag = USA tag = CSA }
	}
	available = {
		FROM = { has_completed_focus = USA_tank_destroyer_doctrine }
	}
	initial_trait = {
		name = ROM_mio_trait_mobile_tank_destroyers
		
		limit_to_equipment_type = { 
		   mio_cat_eq_all_tank_destroyers
		}
		
		equipment_bonus = {
			hard_attack = 0.1
			ap_attack = 0.1
		}
	}

	override_trait = {
		token = generic_mio_medium_assault_gun_75_mm_43M_tank_gun
		limit_to_equipment_type = { 
			mio_cat_eq_all_tank_destroyers
		}
		equipment_bonus = {
			hard_attack = 0.1
			ap_attack = 0.1
		}
		special_trait_background = yes
	}
}




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

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


USA_norfolk_naval_yard_organization = {
	include = generic_escort_ship_organization
	icon = GFX_idea_norfolk_naval_yard
	allowed = {	
		OR = { tag = USA tag = CSA tag = USB }
	}
	add_trait = { 
		token = USA_mio_trait_shipyard_expansion
		name = USA_mio_trait_shipyard_expansion
		icon = GFX_generic_mio_trait_icon_production_capacity
		special_trait_background = yes
		
	     available = {
		      FROM = { NOT = { OR = { has_idea = undisturbed_isolation has_idea = isolation } } }
	    }

		position = { x=3 y=0 }

		equipment_bonus = {
			build_cost_ic = -0.05
		}
	}

	add_trait = { 
		token = USA_mio_trait_naval_station_norfolk
		name = USA_mio_trait_naval_station_norfolk
		icon = GFX_generic_mio_trait_icon_naval_range
		special_trait_background = yes
		
        any_parent = { generic_mio_trait_anti_air_ships generic_mio_trait_escort_in_force }


		position = { x=2 y=4 }
		relative_position_id = USA_mio_trait_shipyard_expansion
		
		production_bonus = {
			production_capacity_factor = 0.1
			production_conversion_speed_factor = 0.1
		}

	}
	
	add_trait = { 
		token = BEL_mio_trait_anti_submarine_expertise
		name = BEL_mio_trait_anti_submarine_expertise
		icon = GFX_generic_mio_trait_icon_sub_attack
		special_trait_background = yes
		
		position = { x=2 y=1 }  
        any_parent = { generic_mio_trait_submarine_hunters }	

        limit_to_equipment_type = { screen_ship }
		
		equipment_bonus = {
			sub_detection = 0.05
			sub_attack = 0.05
			build_cost_ic = 0.001
		}

	}
}

USA_electric_boat_company_organization = {
	include = generic_raider_ship_organization
	icon = GFX_idea_electric_boat_company
	allowed = {	
		OR = { tag = USA tag = CSA tag = USB }
	}
	add_trait = { 
		token = USA_mio_trait_gould_centrifugal_pump
		name = USA_mio_trait_gould_centrifugal_pump
		icon = GFX_generic_mio_trait_icon_sub_visibility
		special_trait_background = yes

        relative_position_id = generic_mio_trait_long_range_raiding
		position = { x=2 y=2 }
		
		any_parent = { generic_mio_trait_long_range_raiding generic_mio_trait_high_speed_raiding }
		
		available = {
			FROM = {
			    OR = {
				has_tech = improved_ship_hull_submarine
				has_tech = improved_submarine
				}
			}
		}
		
        limit_to_equipment_type = { submarine }
		
		equipment_bonus = {
			sub_visibility = -0.05
		}
	}

	add_trait = { 
		token = USA_mio_trait_radar_experimentation
		name = USA_mio_trait_radar_experimentation
		icon = GFX_generic_mio_trait_icon_surface_detection
		special_trait_background = yes


        any_parent = { generic_mio_trait_long_range_raiding generic_mio_trait_high_speed_raiding }
		available = {
			FROM = {
				has_tech = centimetric_radar
			}
		}

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

		equipment_bonus = {
			surface_detection = 0.05
		}
	}
}

USA_brooklyn_naval_yard_organization = {
	include = generic_battle_line_ship_organization
	icon = GFX_idea_generic_coastal_defense_ships
	allowed = {	
		OR = { tag = USA tag = CSA tag = USB }
	}
	add_trait = { 
		token = USA_mio_trait_the_can_do_shipyard
		name = USA_mio_trait_the_can_do_shipyard
		icon = GFX_generic_mio_trait_icon_production_capacity
		special_trait_background = yes

		available = {
			FROM = {
				NOT = { OR = { has_idea = undisturbed_isolation has_idea = isolation } }
			}
		}

		position = { x=3 y=0 }

		production_bonus = {
			production_capacity_factor = 0.05
		}
	}

	add_trait = { 
		token = USA_mio_trait_drydock_expansion
		name = USA_mio_trait_drydock_expansion
		icon = GFX_generic_mio_department_icon_ship_capital_ship_production
		special_trait_background = yes
		
		available = {
			FROM = {
				NOT = { OR = { has_idea = undisturbed_isolation has_idea = isolation } }
			}
		}

		limit_to_equipment_type = {
			capital_ship
		}

		all_parents = { USA_mio_trait_the_can_do_shipyard }

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

		production_bonus = {
			production_capacity_factor = 0.1
		}
	}	
	
	add_trait = { 
		token = AUS_mio_trait_range_speed
		name = AUS_mio_trait_range_speed
		icon = GFX_generic_mio_department_icon_ship_capital_ship_quality
		special_trait_background = yes

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

		all_parents = { 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 = {
			naval_speed = 0.05
			naval_range = 0.05
			build_cost_ic = 0.001
		}
	}
	
}

USA_newport_news_shipbuilding_organization = {
	include = generic_task_force_ship_organization
	icon = GFX_idea_newport_news_shipbuilding
	allowed = {	
		OR = {
			tag = USA
			AND = {
				tag = BRA
				has_dlc = "Trial of Allegiance"
			}
		}
	}
	available = {
		IF = {
			limit = {
				FROM = { NOT = { original_tag = USA } }
			}
			FROM = { NOT = { has_war_with = USA } }
		}
		IF = {
			limit = { FROM = { original_tag = BRA } }
			custom_trigger_tooltip = {
				tooltip = has_invited_mio_tt
				FROM = {
					has_completed_focus = BRA_invite_foreign_companies
					has_country_flag = has_newport_news_shipbuilding_mio_flag
				}
			}
		}
	}
	initial_trait = {
		name = USA_mio_trait_carrier_specialists
		
		limit_to_equipment_type = { 
			carrier
		}
		
		production_bonus = {
			production_capacity_factor = 0.05
		}

	}

	add_trait = { 
		token = USA_mio_trait_north_carolina_shipbuilding_company
		name = USA_mio_trait_north_carolina_shipbuilding_company
		icon = GFX_generic_mio_department_icon_ship_screen_ship_production
		special_trait_background = yes

		limit_to_equipment_type = {
			screen_ship carrier
		}
		
		available = {
			FROM = {
				NOT = { OR = { has_idea = undisturbed_isolation has_idea = isolation } }
			}
		}

		all_parents = {  }

		position = { x=3 y=0 }

		production_bonus = {
			production_capacity_factor = 0.1
		}
	}					
}

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

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

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

USA_north_american_aviation_organization = {
	include = generic_range_focused_aircraft_organization
	icon = GFX_idea_north_american_aviation
	
	allowed = {	
		OR = {
		    OR = { tag = USA tag = CSA tag = USB }
			AND = {
				tag = BRA
				has_dlc = "Trial of Allegiance"
			}
		}
	}

	available = {
		IF = {
			limit = {
				FROM = { NOT = { original_tag = USA } }
				FROM = { NOT = { original_tag = CSA } }
				FROM = { NOT = { original_tag = USB } }
			}
			FROM = { NOT = { has_war_with = USA } }
		}
		IF = {
			limit = { FROM = { original_tag = BRA } }
			custom_trigger_tooltip = {
				tooltip = has_invited_mio_tt
				FROM = {
					has_completed_focus = BRA_invite_foreign_companies
					has_country_flag = has_invited_north_american_aviation_mio_flag
				}
			}
		}
	}

	initial_trait = {
		name = USA_mio_trait_light_long_range_aircraft
	}
	
	add_trait = {
		token = USA_mio_trait_outsourced_engines
		name = USA_mio_trait_outsourced_engines
		icon = GFX_generic_mio_trait_icon_air_agility
		special_trait_background = yes
		
		position = { x=0 y=1 }  
		relative_position_id = generic_mio_trait_advanced_production_techniques
		
		any_parent = { generic_mio_trait_advanced_production_techniques }
		
		limit_to_equipment_type = { mio_cat_eq_all_small_plane mio_cat_eq_all_medium_plane }

		available = {
			OR = { FROM = {
				is_in_faction_with = ENG	
			}
			date > 1942.1.1 }
		}
		
		equipment_bonus = {
			weight = -0.1
			maximum_speed = 0.1
		}
	}

	add_trait = {
		token = USA_mio_trait_light_aircraft_development
		name = USA_mio_trait_light_aircraft_development
		icon = GFX_generic_mio_department_icon_plane_light_combat
		special_trait_background = yes
		
		position = { x=0 y=1 }  
		relative_position_id = generic_mio_trait_strafing_techniques
		
		any_parent = { generic_mio_trait_strafing_techniques }
		
		limit_to_equipment_type = { mio_cat_eq_all_small_plane }

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

USA_lockheed_organization = {
	include = generic_medium_aircraft_organization
	icon = GFX_idea_lockheed
	
	allowed = {	
		OR = { tag = USA tag = CSA tag = USB }
	}
	
	equipment_type = {
		mio_cat_eq_all_medium_plane 
		transport_plane_equipment
	}
	
	initial_trait = {
		limit_to_equipment_type = { mio_cat_eq_all_medium_plane }

		equipment_bonus = {
			air_range = 0.05
			air_attack = 0.05
		}
	}
	
	add_trait = {
		token = USA_mio_trait_mechanized_production
		name = USA_mio_trait_mechanized_production
		icon = GFX_generic_mio_department_icon_plane_medium_technology
		special_trait_background = yes
		
		position = { x=0 y=1 }  
		relative_position_id = generic_mio_trait_narrow_build
		
		any_parent = { generic_mio_trait_narrow_build }
		
		limit_to_equipment_type = { mio_cat_eq_all_medium_plane }
		
		production_bonus = {
			production_efficiency_cap_factor = 0.05
		} 
	}
	
	override_trait = {
		token = generic_mio_trait_heavy_fighter_specialization
		special_trait_background = yes
		equipment_bonus = {
			air_range = 0.05
			air_attack = 0.1
		}
	}
}

USA_douglas_aircraft_company_organization = {
	include = generic_cas_aircraft_organization
	icon = GFX_idea_douglas_aircraft_company
	
	allowed = {	
		tag = USA 
	}
	override_trait = {
		token = generic_mio_trait_low_altitude_attacks
		position = { x=3 y=0 }
	}

	add_trait = {
		token = USA_mio_trait_remote_controlled_turrets
		name = USA_mio_trait_remote_controlled_turrets
		icon = GFX_generic_mio_trait_icon_air_attack

		special_trait_background = yes
		
		position = { x=0 y=1 }  
		relative_position_id = generic_mio_trait_low_altitude_attacks
		
		available = {
			FROM = {
				has_tech = computing_machine
			}
		}

		any_parent = { generic_mio_trait_low_altitude_attacks }
			
		equipment_bonus = {
			air_attack = 0.05
		}
	}

	add_trait = {
		token = USA_mio_trait_specialist_nose_configurations
		name = USA_mio_trait_specialist_nose_configurations
		icon = GFX_generic_mio_department_icon_plane_cas_combat

		special_trait_background = yes
		
		position = { x=0 y=2 }  
		relative_position_id = generic_mio_trait_heavily_armed_aircraft

		any_parent = { generic_mio_trait_air_brakes generic_mio_trait_wingborne_fuel_tanks }
		any_parent = {generic_mio_trait_heavily_armed_aircraft }
			
		equipment_bonus = {
			air_ground_attack = 0.05
		}
	}																	  
}

USA_boeing_organization = {
	include = generic_heavy_aircraft_organization
	icon = GFX_idea_boeing
	
	allowed = {	
		OR = { tag = USA tag = CSA }
	}
	
	equipment_type = {
		large_plane_airframe
		transport_plane_equipment
	}
	
	override_trait = {
		token = generic_mio_trait_flying_fortress
		position = { x=-1 y=1 }
	}
	
	override_trait = {
		token = generic_mio_trait_advanced_instruments
		position = { x=1 y=1 }
	}
	
	add_trait = {
		token = USA_mio_trait_superfortress
		name = USA_mio_trait_superfortress
		icon = GFX_generic_mio_department_icon_plane_general_engine
		special_trait_background = yes
		
		position = { x=0 y=1 }  
		relative_position_id = generic_mio_trait_flying_fortress
		
		any_parent = { generic_mio_trait_flying_fortress }
		limit_to_equipment_type = { large_plane_airframe large_plane_maritime_patrol_plane_airframe }
			
		equipment_bonus = {
			air_defence = 0.1
			air_range = 0.1
			fuel_consumption = 0.05
		}
	}
}

USA_grumman_organization = {
	include = generic_naval_aircraft_organization
	icon = GFX_idea_grumman
	
	allowed = {	 
		OR = { tag = USA tag = USB }
	}
	
	add_trait = {
		token = USA_mio_trait_smooth_finish
		name = USA_mio_trait_smooth_finish
		icon = GFX_generic_mio_trait_icon_air_agility
		special_trait_background = yes
		
		position = { x=2 y=1 }  
		relative_position_id = generic_mio_trait_reinforced_fuselage
		
		any_parent = { generic_mio_trait_reinforced_fuselage }
		limit_to_equipment_type = { mio_cat_eq_all_cv_aircraft small_plane_naval_bomber_airframe }
			
		equipment_bonus = {
			air_agility = 0.05
			maximum_speed = 0.05
		}
	}
	
	override_trait = {
		token = generic_mio_advanced_materials
		position = { x=-1 y=1 }
	}
	
	add_trait = {
		token = USA_mio_trait_jet_fighter_design
		name = USA_mio_trait_jet_fighter_design
		icon = GFX_generic_mio_trait_icon_maximum_speed
		special_trait_background = yes

		available = {
			FROM = {
				has_tech = jet_engines
			}
		}
		position = { x=1 y=1 }  
		relative_position_id = generic_mio_water_injection
		
		any_parent = { generic_mio_water_injection }
		limit_to_equipment_type = { mio_cat_eq_all_cv_aircraft }
			
		equipment_bonus = {
			maximum_speed = 0.05
		}
	}
}


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

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


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

USA_springfield_armory_organization = {
	include = generic_infantry_equipment_organization
	icon = GFX_idea_springfield_armory
	
	allowed = {	 
		tag = USA 
	}
}

USA_ford_motor_company_organization = {
	include = generic_motorized_mechanized_organization
	icon = GFX_idea_ford_motor_company
	
	allowed = {	 
		OR = {
			tag = USA 
			AND = {
				tag = POL # If Poland sets up a local one
				OR = {
					has_dlc = "Poland: United and Ready"
					has_dlc = "No Step Back"
				}
			}
			AND = {
				tag = ROM
				has_dlc = "Death or Dishonor"
			}
			tag = MEX # Mexican Ford
			AND = {
				tag = GRE # Greek Ford
				has_dlc = "Battle for the Bosporus"
			}
			AND = {
				OR = {
					original_TAG = LAT
					original_TAG = LIT
					original_TAG = EST
				}
				has_dlc = "No Step Back"
			}
			AND = {
				original_TAG = BRA
				# TODO_JUNO: Add juno DLC name here!!
				has_dlc = "Arms Against Tyranny"
			}
		}
	}
	
	visible = {
		IF = { 
			limit = {
				FROM = { tag = POL }
			}
			FROM = {
				has_country_flag = POL_ford_motors
			}
		}
		IF = { 
			limit = {
				FROM = { tag = BRA }
			}
			FROM = {
				has_country_flag = BRA_toa_DLC
			}
		}
	}
	
	available = {
		# When in a Foreign MIO, countries need to be at peace with original country
		IF = {
			limit = {
				FROM = { NOT = { original_tag = USA } }
			}
			FROM = { NOT = { has_war_with = USA } }
		}

		IF = {
			limit = { FROM = { original_tag = ROM } }
			FROM = { has_country_flag = USA_mot_chosen }
		}
		if = {
			limit = {
				FROM = {
					OR = {
						original_TAG = LAT
						original_TAG = LIT
						original_TAG = EST
					}
				}
			}
			FROM = {
				has_completed_focus = BALTIC_ford_motors
			}
		}
		IF = {
			limit = {
				FROM = {
					original_TAG = BRA
				}
			}
			FROM = {
				has_completed_focus = BRA_expand_fordlandia
			}
		}
	}
	
	initial_trait = {
		equipment_bonus = {
			build_cost_ic = -0.05
		}
	}
}



USA_rock_island_arsenal_organization = {
	include = generic_artillery_organization
	icon = GFX_idea_rock_island_arsenal
	
	allowed = {	 
		tag = USA 

	}
}

USA_general_electric_organization = {
	include = generic_support_equipment_organization
	name = general_electric
	icon = GFX_idea_general_electric
	
	allowed = {	 
		tag = USA 

	}
}

USA_bell_organization = {
	include = generic_general_aircraft_organization
	name = bell
	icon = GFX_idea_bell
	
	allowed = {	 
		tag = USA 

	}
}

USA_consolidated_aircraft_organization = {
	include = generic_heavy_aircraft_organization
	name = consolidated_aircraft
	icon = GFX_idea_consolidated_aircraft
	
	equipment_type = {
		large_plane_maritime_patrol_plane_airframe
		naval_bomber
		transport_plane_equipment
	}
	initial_trait = {
		name = generic_mio_initial_trait_heavy_aircraft_designer
		
		equipment_bonus = {
			air_range = 0.1
		}
	}
	allowed = {	 
		OR = { original_tag = USA original_tag = CSA }
	}
}


USA_MINS_organization = {
	include = generic_refurbishment_repair_organization
	name = USA_mio_trait_the_can_do_shipyard
	icon = GFX_idea_AUS_naval_efficiency_idea
	
	equipment_type = {
		mio_cat_eq_all_battleship
		mio_cat_eq_all_cruiser
		mio_cat_eq_all_destroyer
	}
	
	available = {
		FROM = { has_completed_focus = USA_maritime_commission }
	}
	
	allowed = {	 
		OR = { original_tag = USA original_tag = CSA }
	}
}

USA_ford_armored_car_company_organization = {
	include = generic_infantry_tank_organization
	icon = GFX_idea_ford_motor_company
	name = USA_ford_motor_company_organization
	
	
	allowed = {	
		OR = { original_tag = USA original_tag = CSA }
		has_dlc = "La Resistance"
	}

}
USA_sikorsky_organization = {
	include = generic_helicopter_organization
	icon = GFX_idea_generic_helicopter_1
	
	allowed = {	
		OR = { original_tag = USA original_tag = CSA }
		has_dlc = "Gotterdammerung"		
	}
}
USA_cadillac_cars_organization = {
    include = generic_motorized_mechanized_organization
    icon = GFX_idea_NOR_cadillac
	name = NOR_cadillac_organization
	
    allowed = { 
		tag = USA 
        has_dlc = "Arms Against Tyranny"  
    }  
	
	equipment_type = {
		motorized_equipment
		mechanized_equipment
		armored_car_equipment
	}

	initial_trait = {
		name = AUS_saurerwerke_initial_mio_trait_attack_focused_organization

		equipment_bonus = {
			reliability = 0.05
			breakthrough = 0.05
		}
	}

	tree_header_text = {
		text = mio_header_motorized
		x = 1
	}

	tree_header_text = {
		text = mio_header_armored_cars
		x = 4
	}

	tree_header_text = {
		text = mio_header_mechanized
		x = 7
	}
	
	override_trait = {
		token = generic_mio_trait_composite_cargo_bed

		limit_to_equipment_type = { motorized_equipment  }
	}

	override_trait = {
		token = generic_mio_trait_steel_cargo_bed

		limit_to_equipment_type = { motorized_equipment  }
	}

	override_trait = {
		token = generic_mio_trait_all_wheel_drive

		limit_to_equipment_type = { motorized_equipment armored_car_equipment }
	}

	override_trait = {
		token = generic_mio_trait_attached_wood_gas_generator

		limit_to_equipment_type = { motorized_equipment armored_car_equipment }
	}

	override_trait = {
		token = generic_mio_trait_high_powered_engine

		limit_to_equipment_type = { motorized_equipment armored_car_equipment }
	}

	override_trait = {
		token = generic_mio_trait_armored_pulpit_mount

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

	override_trait = {
		token = generic_mio_trait_heavy_machinegun_mount

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

		mutually_exclusive = { generic_mio_trait_mounted_light_anti_tank_gun }
	}


	override_trait = {
		token = generic_mio_trait_mounted_light_anti_tank_gun

		position = { x=3 y=0 }

		mutually_exclusive = { generic_mio_trait_heavy_machinegun_mount }
	}

	add_trait = {
		token = AUS_mio_trait_improved_armaments
		name = AUS_mio_trait_improved_armaments
		icon = GFX_generic_mio_department_icon_armored_car_offense
		special_trait_background = yes

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

		all_parents = { generic_mio_trait_medium_machinegun_mounts }

		limit_to_equipment_type = { armored_car_equipment }

		equipment_bonus = {
			soft_attack = 0.05
		}
	}

	add_trait = {

		token = AUS_mio_trait_high_quality_mass_production
		name = AUS_mio_trait_high_quality_mass_production
		icon = GFX_generic_mio_trait_icon_build_cost_ic
		special_trait_background = yes
	
		position = {x=0 y=1}
		relative_position_id = AUS_mio_trait_improved_armaments
	
		all_parents = { AUS_mio_trait_improved_armaments }

		limit_to_equipment_type = { armored_car_equipment }
	
		equipment_bonus = {
			build_cost_ic = -0.05
			reliability = 0.05
		}
	}
	
	remove_trait = { generic_mio_trait_advanced_artillery_racks }
}

USA_tenneco_cars_organization = {
    include = generic_tank_refurbishment_plant_organization
    icon = GFX_idea_ETH_tenneco
	name = ETH_tenneco
	
	
	available = {
		owner = {
			NOT = { OR = { has_idea = undisturbed_isolation has_idea = isolation } }
		}
	}
	
    allowed = { 
		OR = { original_tag = USA original_tag = CSA }
        has_dlc = "Arms Against Tyranny"  
    }  

}

USA_bureau_of_ships_organization = {
	include = generic_black_sea_fleet_organization
	icon = GFX_idea_generic_coastal_navy
	name = USA_mio_trait_north_carolina_shipbuilding_company
	allowed = { 
		tag = USA
	}
	
	available = {
		FROM = { has_completed_focus = USA_bureau_of_ships }
	}
	
	initial_trait = {
		name = ROM_mio_trait_coastal_defense_production
	}
}