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

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

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



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

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

YUG_jadransko_brodogradiliste_organization = {
	include = generic_black_sea_fleet_organization
	icon = GFX_idea_generic_naval_manufacturer_2
	
	initial_trait = {
		name = generic_mio_initial_trait_escort_fleet
	}
	
	allowed = { 
		tag = YUG
	}
}

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

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

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

YUG_ikarus_organization = { #TODO_Manu: Could do with an extra trait 
	include = generic_light_aircraft_organization
	icon = GFX_idea_YUG_ikarus
	allowed = { 
		tag = YUG
	}
	available = {
		if = {
			limit = {
				has_dlc = "Death or Dishonor"
			}
			owner = { has_completed_focus = YUG_ikarus }
		}
	}
}

YUG_rogozarski_organization = { #TODO_Manu: Could do with an extra trait 
	include = generic_medium_aircraft_organization
	icon = GFX_idea_YUG_rogozarski
	allowed = { 
		tag = YUG
	}
	available = {
		if = {
			limit = {
				has_dlc = "Death or Dishonor"
			}
			owner = { has_completed_focus = YUG_rogozarski }
		}
	}
}
YUG_zmaj_organization = { #TODO_Manu: Could do with an extra trait 
	include = generic_heavy_aircraft_organization
	icon = GFX_idea_YUG_zmaj
	allowed = { 
		tag = YUG
	}
	available = {
		if = {
			limit = {
				has_dlc = "Death or Dishonor"
			}
			owner = { has_completed_focus = YUG_zmaj }
		}
	}
}


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

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


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

YUG_zastava_arms_organization = {
	include = generic_infantry_equipment_organization
	icon = GFX_idea_zastava_arms
	allowed = { 
		tag = YUG
	}
}



##### 
YUG_ikarus_car_organization = { #TODO_Manu: Could do with an extra trait 
	include = generic_motorized_mechanized_organization
	icon = GFX_idea_YUG_ikarus
	name = YUG_ikarus_organization
	
	allowed = { 
		tag = YUG
	}
	available = {
		if = {
			limit = {
				has_dlc = "Death or Dishonor"
			}
			owner = { has_completed_focus = YUG_ikarus }
		}
	}
}

YUG_chrysler_tank_organization = { #TODO_Manu: Could do with an extra trait 
	include = generic_medium_tank_organization
	name = USA_chrysler_organization
	icon = GFX_idea_chrysler
	
	
	initial_trait = {
		name = USA_mio_trait_dedicated_tank_factory
		
		production_bonus = {
			production_efficiency_gain_factor = 0.05
		}
	}
	
	equipment_type = { armor }
	
	allowed = { 
		tag = YUG
	}
	available = {
		if = {
			limit = {
				has_dlc = "Death or Dishonor"
			}
			owner = { has_completed_focus = YUG_tank_licenses }
		}
	}
}

YUG_man_tank_organization = {
	include = generic_tank_organization
	icon = GFX_idea_GER_MAN
	name = GER_man_organization
	
	allowed = { 
		tag = YUG
	}
	available = {
		if = {
			limit = {
				has_dlc = "Death or Dishonor"
			}
			owner = { has_completed_focus = YUG_tank_licenses }
		}
	}
}

YUG_hotchkiss_tank_organization = {
	include = generic_infantry_tank_organization
	name = FRA_hotchkiss_organization
	
	allowed = { 
		tag = YUG
	}
}

YUG_hotchkiss_cannon_organization = {
	include = generic_artillery_organization
	name = FRA_hotchkiss_organization
	
	allowed = { 
		tag = YUG
	}
}

YUG_zmaj_tanks_organization = {
    include = generic_tank_refurbishment_plant_organization
    icon = GFX_idea_YUG_zmaj
	name = YUG_zmaj_organization
	
	allowed = { 
		tag = YUG
	}
	available = {
		if = {
			limit = {
				has_dlc = "Death or Dishonor"
			}
			owner = { has_completed_focus = YUG_zmaj }
			owner = { has_completed_focus = YUG_modern_tanks }
		}
	}

    initial_trait = {
        name = NOR_mio_initial_trait_mechanical_workshop

        equipment_bonus = {
            build_cost_ic = -0.05
        }
    }
}