utility_component_template = {
	key = "SMALL_ARMOR_IC"
	size = small
	icon = "GFX_ship_part_armor_ic"
	icon_frame = 1
	power = 0
	modifier = { 
		ship_armor_add = 350
		ship_armor_regen_add_static = 2
	}

	resources = {
		category = ship_components
		cost = {
			alloys = 25
			sr_living_metal = 5
		}		
		upkeep = {
			alloys = 0.06
		}
	}
	
	prerequisites = { tech_mega_armor }
	component_set = "SMALL_ARMOR_IC"
	upgrades_to = "SMALL_ARMOR2_IC"

	ai_weight = {
		weight = 1
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = sr_living_metal }
		}
	}
}

utility_component_template = {
	key = "MEDIUM_ARMOR_IC"
	size = medium
	icon = "GFX_ship_part_armor_ic"
	icon_frame = 1
	power = 0
	modifier = { 
		ship_armor_add = 900
		ship_armor_regen_add_static = 4
	}
	
	resources = {
		category = ship_components
		cost = {
			alloys = 50
			sr_living_metal = 10
		}		
		upkeep = {
			alloys = 0.12
		}
	}

	prerequisites = { tech_mega_armor }
	component_set = "SMALL_ARMOR_IC"
	upgrades_to = "MEDIUM_ARMOR2_IC"

	ai_weight = {
		weight = 1
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = sr_living_metal }
		}
	}
}

utility_component_template = {
	key = "LARGE_ARMOR_IC"
	size = large
	icon = "GFX_ship_part_armor_ic"
	icon_frame = 1
	power = 0
	modifier = { 
		ship_armor_add = 2100
		ship_armor_regen_add_static = 8
	}

	resources = {
		category = ship_components
		cost = {
			alloys = 100
			sr_living_metal = 20
		}		
		upkeep = {
			alloys = 0.2
		}
	}
	
	prerequisites = { tech_mega_armor }
	component_set = "SMALL_ARMOR_IC"
	upgrades_to = "LARGE_ARMOR2_IC"

	ai_weight = {
		weight = 1
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = sr_living_metal }
		}
	}
}

# HUll   #
####################

utility_component_template = {
	key = "SMALL_LIVING_METAL_HULL_IC"
	size = small
	icon = "GFX_ship_part_living_metal_hull_ic"
	icon_frame = 1
	resources = {
		category = ship_components
		cost = {
			alloys = 20
			sr_living_metal = 5
		}		
		upkeep = {
			alloys = 0.05
		}
	}
	
	prerequisites = { "tech_living_metal_hull" }
	component_set = "SMALL_LIVING_METAL_HULL_IC"
	upgrades_to = "SMALL_LIVING_METAL_HULL2_IC"
	
	modifier = {
		ship_hull_add = 200
	}

	ai_weight = {
		weight = 1
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = sr_living_metal }
		}
	}
}

utility_component_template = {
	key = "MEDIUM_LIVING_METAL_HULL_IC"
	size = medium
	icon = "GFX_ship_part_living_metal_hull_ic"
	icon_frame = 1
	resources = {
		category = ship_components
		cost = {
			alloys = 40
			sr_living_metal = 15
		}		
		upkeep = {
			alloys = 0.1
		}
	}
	
	prerequisites = { "tech_living_metal_hull" }
	component_set = "SMALL_LIVING_METAL_HULL_IC"
	upgrades_to = "MEDIUM_LIVING_METAL_HULL2_IC"
	
	modifier = {
		ship_hull_add = 550
	}

	ai_weight = {
		weight = 1
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = sr_living_metal }
		}
	}
}

utility_component_template = {
	key = "LARGE_LIVING_METAL_HULL_IC"
	size = large
	icon = "GFX_ship_part_living_metal_hull_ic"
	icon_frame = 1
	resources = {
		category = ship_components
		cost = {
			alloys = 80
			sr_living_metal = 30
		}		
		upkeep = {
			alloys = 0.2
		}
	}
	
	prerequisites = { "tech_living_metal_hull" }
	component_set = "SMALL_LIVING_METAL_HULL_IC"
	upgrades_to = "LARGE_LIVING_METAL_HULL2_IC"
	
	modifier = {
		ship_hull_add = 1350
	}

	ai_weight = {
		weight = 1
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = sr_living_metal }
		}
	}
}



##########################################Tier2
#Armor

utility_component_template = {
	key = "SMALL_ARMOR2_IC"
	size = small
	icon = "GFX_ship_part_armor2_ic"
	icon_frame = 1
	power = 0
	modifier = { 
		ship_armor_add = 525
		ship_armor_regen_add_static = 4
	}

	resources = {
		category = ship_components
		cost = {
			alloys = 30
			sr_living_metal = 2
			nanites = 2
		}		
		upkeep = {
			alloys = 0.07
		}
	}
	
	prerequisites = { tech_mega_armor2 }
	component_set = "SMALL_ARMOR2_IC"


	ai_weight = {
		weight = 2
	
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = sr_living_metal }
		}
	
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = nanites }
		}
	}
	
}

utility_component_template = {
	key = "MEDIUM_ARMOR2_IC"
	size = medium
	icon = "GFX_ship_part_armor2_ic"
	icon_frame = 1
	power = 0
	modifier = { 
		ship_armor_add = 1350
		ship_armor_regen_add_static = 8
	}
	
	resources = {
		category = ship_components
		cost = {
			alloys = 55
			sr_living_metal = 5
			nanites = 5
		}		
		upkeep = {
			alloys = 0.14
		}
	}

	prerequisites = { tech_mega_armor2 }
	component_set = "SMALL_ARMOR2_IC"

	ai_weight = {
		weight = 2
	
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = sr_living_metal }
		}
	
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = nanites }
		}
	}
	
}

utility_component_template = {
	key = "LARGE_ARMOR2_IC"
	size = large
	icon = "GFX_ship_part_armor2_ic"
	icon_frame = 1
	power = 0
	modifier = { 
		ship_armor_add = 3150
		ship_armor_regen_add_static = 16
	}

	resources = {
		category = ship_components
		cost = {
			alloys = 110
			sr_living_metal = 10
			nanites = 10
		}		
		upkeep = {
			alloys = 0.23
		}
	}
	
	prerequisites = { tech_mega_armor2 }
	component_set = "SMALL_ARMOR2_IC"

	ai_weight = {
		weight = 2
	
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = sr_living_metal }
		}
	
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = nanites }
		}
	}
	
}


# HUll   #
####################

utility_component_template = {
	key = "SMALL_LIVING_METAL_HULL2_IC"
	size = small
	icon = "GFX_ship_part_living_metal_hull2_ic"
	icon_frame = 1
	resources = {
		category = ship_components
		cost = {
			alloys = 10
			sr_living_metal = 10
		}		
		upkeep = {
			alloys = 0.05
		}
	}
	
	prerequisites = { "tech_living_metal_hull2" }
	component_set = "SMALL_LIVING_METAL_HULL2_IC"
	
	modifier = {
		ship_hull_add = 400
	}

	ai_weight = {
		weight = 1
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = sr_living_metal }
		}
	}
}

utility_component_template = {
	key = "MEDIUM_LIVING_METAL_HULL2_IC"
	size = medium
	icon = "GFX_ship_part_living_metal_hull2_ic"
	icon_frame = 1
	resources = {
		category = ship_components
		cost = {
			alloys = 20
			sr_living_metal = 20
		}		
		upkeep = {
			alloys = 0.10
		}
	}
	
	prerequisites = { "tech_living_metal_hull2" }
	component_set = "SMALL_LIVING_METAL_HULL2_IC"
	
	modifier = {
		ship_hull_add = 1200
	}

	ai_weight = {
		weight = 1
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = sr_living_metal }
		}
	}
}

utility_component_template = {
	key = "LARGE_LIVING_METAL_HULL2_IC"
	size = large
	icon = "GFX_ship_part_living_metal_hull2_ic"
	icon_frame = 1
	resources = {
		category = ship_components
		cost = {
			alloys = 40
			sr_living_metal = 40
		}		
		upkeep = {
			alloys = 0.25
		}
	}
	
	prerequisites = { "tech_living_metal_hull2" }
	component_set = "SMALL_LIVING_METAL_HULL2_IC"
	
	modifier = {
		ship_hull_add = 2400
	}

	ai_weight = {
		weight = 2
	
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = sr_living_metal }
		}
	
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = nanites }
		}
	}
	
}
