vrm_transfer_ships = {

	vrm_transfer_submarine_ship = {

		icon = generic_naval
		
		cost = 1
		days_remove = 7
		days_re_enable = 8

		available = {
			has_war = no
			has_war_support > 0.25
			threat > 0.15
			OR = { has_idea = export_focus has_idea = free_trade }
			has_navy_size = { type = submarine size > 9 }
			FROM = { has_opinion = { target = ROOT value > 34 } } 
			 FROM = { dockyard > 1
				any_owned_state = {
					is_coastal = yes
					naval_base > 0
				}
			}
		}
		
	    target_trigger = {
		     FROM = {  OR = { is_ai = no is_major = yes } }
			 FROM = { dockyard > 1
				any_owned_state = {
					is_coastal = yes
					naval_base > 0
				}
			}
		}
	
		visible = {
			has_navy_size = { type = submarine size > 9 }
			FROM = { has_opinion = { target = ROOT value > 32 } } 
			FROM = { dockyard > 1
				any_owned_state = {
					is_coastal = yes
					naval_base > 0
				}
			}
		}


		fire_only_once = no
		
		complete_effect  = {
			transfer_ship = { prefer_name = "T" type = submarine target = FROM exclude_refitting = yes }	
			transfer_ship = { prefer_name = "T" type = submarine target = FROM exclude_refitting = yes }	
			transfer_ship = { prefer_name = "T" type = submarine target = FROM exclude_refitting = yes }	
			transfer_ship = { prefer_name = "T" type = submarine target = FROM exclude_refitting = yes }	
			transfer_ship = { prefer_name = "T" type = submarine target = FROM exclude_refitting = yes }	
		}
		ai_will_do = {
			factor = 0
		}
	}

	vrm_transfer_destroyer_ship = {

		icon = generic_naval
		
		cost = 1
		days_remove = 7
		days_re_enable = 8

		available = {
			has_war = no
			has_war_support > 0.25
			threat > 0.15
			OR = { has_idea = export_focus has_idea = free_trade }
			has_navy_size = { type = screen_ship size > 9 }
			FROM = { has_opinion = { target = ROOT value > 34 } } 
		    FROM = { dockyard > 1
				any_owned_state = {
					is_coastal = yes
					naval_base > 0
				}
			}
		}
		
	    target_trigger = { 
			FROM = {  OR = { is_ai = no is_major = yes } }
			FROM = { dockyard > 1
				any_owned_state = {
					is_coastal = yes
					naval_base > 0
				}
			}
		}
	
		visible = {
			has_navy_size = { type = screen_ship size > 9 }
			FROM = { has_opinion = { target = ROOT value > 32 } } 
			FROM = { dockyard > 1
				any_owned_state = {
					is_coastal = yes
					naval_base > 0
				}
			}
		}

		fire_only_once = no
		
		complete_effect  = {
			transfer_ship = { prefer_name = "T" type = destroyer target = FROM exclude_refitting = yes }	
			transfer_ship = { prefer_name = "T" type = destroyer target = FROM exclude_refitting = yes }	
			transfer_ship = { prefer_name = "T" type = destroyer target = FROM exclude_refitting = yes }	
			transfer_ship = { prefer_name = "T" type = destroyer target = FROM exclude_refitting = yes }	
			transfer_ship = { prefer_name = "T" type = destroyer target = FROM exclude_refitting = yes }	
		}
		ai_will_do = {
			factor = 0
		}
	}
	

	vrm_transfer_lcruiser_ship = {

		icon = generic_naval
		
		cost = 1
		days_remove = 7
		days_re_enable = 8
		
		available = {
			has_war = no
			has_war_support > 0.25
			threat > 0.15
			OR = { has_idea = export_focus has_idea = free_trade }
			has_navy_size = { type = screen_ship size > 9 }
			FROM = { has_opinion = { target = ROOT value > 34 } } 
			 FROM = { dockyard > 1
				any_owned_state = {
					is_coastal = yes
					naval_base > 0
				}
			}
		}
		
	    target_trigger = {
		    FROM = {  OR = { is_ai = no is_major = yes } }
			FROM = { dockyard > 1
				any_owned_state = {
					is_coastal = yes
					naval_base > 0
				}
			}
		}
	
		visible = {
			 has_navy_size = { type = screen_ship size > 9 }
			FROM = { has_opinion = { target = ROOT value > 32 } } 
			 FROM = { dockyard > 1
				any_owned_state = {
					is_coastal = yes
					naval_base > 0
				}
			}
		}

		fire_only_once = no
		

		complete_effect  = {
			transfer_ship = { prefer_name = "T" type = light_cruiser target = FROM exclude_refitting = yes }	
			transfer_ship = { prefer_name = "T" type = light_cruiser target = FROM exclude_refitting = yes }	
		}
		ai_will_do = {
			factor = 0
		}
	}
	vrm_transfer_hcruiser_ship = {

		icon = generic_naval
		
		cost = 1
		days_remove = 14
		days_re_enable = 8
		
		available = {
			has_war = no
			has_war_support > 0.25
			threat > 0.15
			OR = { has_idea = export_focus has_idea = free_trade }
			has_navy_size = { type = capital_ship size > 1 }
			FROM = { has_opinion = { target = ROOT value > 34 } } 
			 FROM = { dockyard > 1
				any_owned_state = {
					is_coastal = yes
					naval_base > 0
				}
			}
		}
		
	    target_trigger = {
		    FROM = {  OR = { is_ai = no is_major = yes } }
			FROM = { dockyard > 1
				any_owned_state = {
					is_coastal = yes
					naval_base > 0
				}
			}
		}
	
		visible = {
			 has_navy_size = { type = capital_ship size > 1 }
			FROM = { has_opinion = { target = ROOT value > 32 } } 
			 FROM = { dockyard > 1
				any_owned_state = {
					is_coastal = yes
					naval_base > 0
				}
			}
		}

		fire_only_once = no
		

		complete_effect  = {
			transfer_ship = { prefer_name = "T" type = battleship target = FROM exclude_refitting = yes }	
		}
		ai_will_do = {
			factor = 0
		}
	}
	
	vrm_transfer_bcruiser_ship = {

		icon = generic_naval
		
		cost = 1
		days_remove = 7
		days_re_enable = 8

		available = {
			has_war = no
			has_war_support > 0.25
			threat > 0.15
			OR = { has_idea = export_focus has_idea = free_trade }
			has_navy_size = { type = capital_ship size > 1 }
			FROM = { has_opinion = { target = ROOT value > 34 } } 
			 FROM = { dockyard > 1
				any_owned_state = {
					is_coastal = yes
					naval_base > 0
				}
			}
		}
		
	    target_trigger = {
			FROM = {  OR = { is_ai = no is_major = yes } }
			FROM = { 			  
    			dockyard > 1
			    num_of_factories > 15
			    num_of_controlled_states > 0
				any_owned_state = {
					is_coastal = yes
					naval_base > 0
				}
			}
		}
	
		visible = {
			 has_navy_size = { type = capital_ship size > 1 }
			FROM = { has_opinion = { target = ROOT value > 32 } } 
			FROM = { 			  
    			dockyard > 1
			    num_of_factories > 15
			    num_of_controlled_states > 0
				any_owned_state = {
					is_coastal = yes
					naval_base > 0
				}
			}
		}


		fire_only_once = no
		

		complete_effect  = {
			transfer_ship = { prefer_name = "T" type = battle_cruiser target = FROM exclude_refitting = yes }		
		}
		ai_will_do = {
			factor = 0
		}
	}	
		
    vrm_transfer_bship_ship = {

		icon = generic_naval
		
		cost = 1
		days_remove = 7
		days_re_enable = 8
		
		
		available = {
			has_war = no
			has_war_support > 0.25
			threat > 0.15
			OR = { has_idea = export_focus has_idea = free_trade }
			has_navy_size = { type = capital_ship size > 1 }
			FROM = { has_opinion = { target = ROOT value > 34 } } 
			FROM = { 			  
    			dockyard > 1
			    num_of_factories > 15
			    num_of_controlled_states > 0
				any_owned_state = {
					is_coastal = yes
					naval_base > 0
				}
			}
		}
		
	    target_trigger = {
			FROM = {  OR = { is_ai = no is_major = yes } }
			FROM = { 			  
    			dockyard > 1
			    num_of_factories > 15
			    num_of_controlled_states > 0
				any_owned_state = {
					is_coastal = yes
					naval_base > 0
				}
			}
		}
	
		visible = {
			 has_navy_size = { type = capital_ship size > 1 }
			FROM = { has_opinion = { target = ROOT value > 32 } } 
			FROM = { 			  
    			dockyard > 1
			    num_of_factories > 15
			    num_of_controlled_states > 0
				any_owned_state = {
					is_coastal = yes
					naval_base > 0
				}
			}
		}


		fire_only_once = no
		

		complete_effect  = {
			transfer_ship = { prefer_name = "T" type = battleship target = FROM exclude_refitting = yes }		
		}
		ai_will_do = {
			factor = 0
		}
	}	
		
     vrm_transfer_carrier_ship = {

		icon = generic_naval
		
		cost = 1
		days_remove = 7
		days_re_enable = 8
		
		
		available = {
			 has_war = no
			has_war_support > 0.25
			threat > 0.15
			 has_navy_size = { type = carrier size > 1 }
			 OR = { has_idea = export_focus has_idea = free_trade }
			 FROM = { has_opinion = { target = ROOT value > 34 } } 
			 FROM = { 
			    surrender_progress < 0.05
			    dockyard > 1
				any_owned_state = {
					is_coastal = yes
					naval_base > 0
				}
			}
		}
		
	    target_trigger = {
			FROM = {  OR = { is_ai = no is_major = yes } }
			FROM = { 			  
    			dockyard > 1
			    num_of_factories > 15
			    num_of_controlled_states > 0
				any_owned_state = {
					is_coastal = yes
					naval_base > 0
				}
			}
		}
	
		visible = {
			has_navy_size = { type = carrier size > 1 }
			FROM = { has_opinion = { target = ROOT value > 32 } } 
			FROM = { 			  
    			dockyard > 1
			    num_of_factories > 15
			    num_of_controlled_states > 0
				any_owned_state = {
					is_coastal = yes
					naval_base > 0
				}
			}
		}

		fire_only_once = no
		

		complete_effect  = {
			transfer_ship = { prefer_name = "T" type = carrier target = FROM exclude_refitting = yes }	
		}
		ai_will_do = {
			factor = 0
		}
	}
	
}