generic_marine_role = {
	role = marine
	front_role_override = offence
	
	upgrade_prio = {
		factor = 100
	}			
	
	GENERIC_MARINE_TEMPLATE_35_INFANTRY = {            ###Infantry basic unit	
		enable = { 
			num_of_military_factories > 19 
			has_tech = marines
		}
		upgrade_prio = { factor = 100 }
		
		
		
		# TEMPLATE
		
		reinforce_prio = 1
		
		can_upgrade_in_field = { always = yes }
		
		target_template = {
		
			regiments = {
				marine = 13
				artillery_brigade = 3
			}

			support = {
				engineer = 1
				artillery = 1
				bm_pack_howitzer = 1
				logistics_company = 1
				field_hospital = 1
				recon = 1
				anti_air = 1
				maintenance_company = 1
				bm_command_regiment = 1
			}
		}

	}
	
	GENERIC_AMPHIBIOUS_TEMPLATE_30_MECH = {
		enable = { 
			num_of_military_factories > 49 
			has_tech = amphibious_mechanized_infantry
		}
		upgrade_prio = { factor = 100 }

		
		
		# TEMPLATE
		
		reinforce_prio = 2
		
		can_upgrade_in_field = { always = yes }
		
		target_template = {
			
			regiments = {
				amphibious_mechanized = 8
				light_sp_artillery_brigade = 4
				light_sp_anti_air_brigade = 1
			}

			support = {
				light_tank_recon = 1
				logistics_company = 1
				anti_air = 1
				assault_engineer = 1
				signal_company = 1
				bm_pack_howitzer = 1
				bm_mechanized_flamethrower = 1
				bm_mot_command_regiment = 1
				maintenance_company = 1
			}
		}

	}
	
	GENERIC_AMPHIBIOUS_TEMPLATE_30_ARMOR = {
		enable = {
			AND = {
				num_of_military_factories > 69 
				has_tech = amphibious_mechanized_infantry
			}
		}
		upgrade_prio = { factor = 100 }

		# TEMPLATE
		
		reinforce_prio = 2
		
		can_upgrade_in_field = { always = yes }
		
		target_template = {
			
			regiments = {
				amphibious_medium_armor = 8
				amphibious_mechanized = 7
			}

			support = {
				light_tank_recon = 1
				logistics_company = 1
				anti_air = 1
				assault_engineer = 1
				signal_company = 1
				bm_pack_howitzer = 1
				bm_mechanized_flamethrower = 1
				bm_mot_command_regiment = 1
				maintenance_company = 1
			}
		}
	}
}