#########################
### Utility Mutations ###
#########################

#############
### Armor ###
#############

####
# 6#
####

utility_component_template = {
	key = "AVC_CARAPACE_SMALL_6"
	size = small
	
	icon = "GFX_mutation_avc_carapace_6"
	icon_frame = 1
	
	prerequisites = { "tech_avc_ship_armor_6" }
	component_set = "AVC_CARAPACE_6"

	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 57
		}
	}
	
	modifier = {
		ship_armor_add = 208
	}
}

utility_component_template = {
	key = "AVC_CARAPACE_MEDIUM_6"
	size = medium
	
	icon = "GFX_mutation_avc_carapace_6"
	icon_frame = 1
	
	prerequisites = { "tech_avc_ship_armor_6" }
	component_set = "AVC_CARAPACE_6"

	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 114
		}
	}
	
	modifier = {
		ship_armor_add = 624
	}
}

utility_component_template = {
	key = "AVC_CARAPACE_LARGE_6"
	size = large
	
	icon = "GFX_mutation_avc_carapace_6"
	icon_frame = 1
	
	prerequisites = { "tech_avc_ship_armor_6" }
	component_set = "AVC_CARAPACE_6"

	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 229
		}
	}
	
	modifier = {
		ship_armor_add = 1872
	}
}

utility_component_template = {
	key = "AVC_CARAPACE_EXTRA_LARGE_6"
	size = extra_large
	
	icon = "GFX_mutation_avc_carapace_6"
	icon_frame = 1
	
	prerequisites = { "tech_avc_ship_armor_6" }
	component_set = "AVC_CARAPACE_6"

	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 458
		}
	}
	
	modifier = {
		ship_armor_add = 2434
	}
}


####
# 7#
####

utility_component_template = {
	key = "AVC_CARAPACE_SMALL_7"
	size = small
	
	icon = "GFX_mutation_avc_carapace_7"
	icon_frame = 1
	
	prerequisites = { "tech_avc_ship_armor_7" }
	component_set = "AVC_CARAPACE_7"

	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 74
		}
	}
	
	modifier = {
		ship_armor_add = 260
	}
}

utility_component_template = {
	key = "AVC_CARAPACE_MEDIUM_7"
	size = medium
	
	icon = "GFX_mutation_avc_carapace_7"
	icon_frame = 1
	
	prerequisites = { "tech_avc_ship_armor_7" }
	component_set = "AVC_CARAPACE_7"

	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 148
		}
	}
	
	modifier = {
		ship_armor_add = 780
	}
}

utility_component_template = {
	key = "AVC_CARAPACE_LARGE_7"
	size = large
	
	icon = "GFX_mutation_avc_carapace_7"
	icon_frame = 1
	
	prerequisites = { "tech_avc_ship_armor_7" }
	component_set = "AVC_CARAPACE_7"

	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 298
		}
	}
	
	modifier = {
		ship_armor_add = 2340
	}
}

utility_component_template = {
	key = "AVC_CARAPACE_EXTRA_LARGE_7"
	size = extra_large
	
	icon = "GFX_mutation_avc_carapace_7"
	icon_frame = 1
	
	prerequisites = { "tech_avc_ship_armor_7" }
	component_set = "AVC_CARAPACE_7"

	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 595
		}
	}
	
	modifier = {
		ship_armor_add = 3042
	}
}


####
# 8#
####

utility_component_template = {
	key = "AVC_CARAPACE_SMALL_8"
	size = small
	
	icon = "GFX_mutation_avc_carapace_8"
	icon_frame = 1
	
	prerequisites = { "tech_avc_ship_armor_8" }
	component_set = "AVC_CARAPACE_8"

	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 96
		}
	}
	
	modifier = {
		ship_armor_add = 325
	}
}

utility_component_template = {
	key = "AVC_CARAPACE_MEDIUM_8"
	size = medium
	
	icon = "GFX_mutation_avc_carapace_8"
	icon_frame = 1
	
	prerequisites = { "tech_avc_ship_armor_8" }
	component_set = "AVC_CARAPACE_8"

	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 192
		}
	}
	
	modifier = {
		ship_armor_add = 975
	}
}

utility_component_template = {
	key = "AVC_CARAPACE_LARGE_8"
	size = large
	
	icon = "GFX_mutation_avc_carapace_8"
	icon_frame = 1
	
	prerequisites = { "tech_avc_ship_armor_8" }
	component_set = "AVC_CARAPACE_8"

	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 387
		}
	}
	
	modifier = {
		ship_armor_add = 2925
	}
}

utility_component_template = {
	key = "AVC_CARAPACE_EXTRA_LARGE_8"
	size = extra_large
	
	icon = "GFX_mutation_avc_carapace_8"
	icon_frame = 1
	
	prerequisites = { "tech_avc_ship_armor_8" }
	component_set = "AVC_CARAPACE_8"

	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 774
		}
	}
	
	modifier = {
		ship_armor_add = 3803
	}
}


####
# 9#
####

utility_component_template = {
	key = "AVC_CARAPACE_SMALL_9"
	size = small
	
	icon = "GFX_mutation_avc_carapace_9"
	icon_frame = 1
	
	prerequisites = { "tech_avc_ship_armor_9" }
	component_set = "AVC_CARAPACE_9"

	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 125
		}
	}
	
	modifier = {
		ship_armor_add = 406
	}
}

utility_component_template = {
	key = "AVC_CARAPACE_MEDIUM_9"
	size = medium
	
	icon = "GFX_mutation_avc_carapace_9"
	icon_frame = 1
	
	prerequisites = { "tech_avc_ship_armor_9" }
	component_set = "AVC_CARAPACE_9"

	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 250
		}
	}
	
	modifier = {
		ship_armor_add = 1219
	}
}

utility_component_template = {
	key = "AVC_CARAPACE_LARGE_9"
	size = large
	
	icon = "GFX_mutation_avc_carapace_9"
	icon_frame = 1
	
	prerequisites = { "tech_avc_ship_armor_9" }
	component_set = "AVC_CARAPACE_9"

	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 503
		}
	}
	
	modifier = {
		ship_armor_add = 3656
	}
}

utility_component_template = {
	key = "AVC_CARAPACE_EXTRA_LARGE_9"
	size = extra_large
	
	icon = "GFX_mutation_avc_carapace_9"
	icon_frame = 1
	
	prerequisites = { "tech_avc_ship_armor_9" }
	component_set = "AVC_CARAPACE_9"

	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 1006
		}
	}
	
	modifier = {
		ship_armor_add = 4753
	}
}


####
#10#
####

utility_component_template = {
	key = "AVC_CARAPACE_SMALL_10"
	size = small
	
	icon = "GFX_mutation_avc_carapace_10"
	icon_frame = 1
	
	prerequisites = { "tech_avc_ship_armor_10" }
	component_set = "AVC_CARAPACE_10"

	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 163
		}
	}
	
	modifier = {
		ship_armor_add = 508
	}
}

utility_component_template = {
	key = "AVC_CARAPACE_MEDIUM_10"
	size = medium
	
	icon = "GFX_mutation_avc_carapace_10"
	icon_frame = 1
	
	prerequisites = { "tech_avc_ship_armor_10" }
	component_set = "AVC_CARAPACE_10"

	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 325
		}
	}
	
	modifier = {
		ship_armor_add = 1523
	}
}

utility_component_template = {
	key = "AVC_CARAPACE_LARGE_10"
	size = large
	
	icon = "GFX_mutation_avc_carapace_10"
	icon_frame = 1
	
	prerequisites = { "tech_avc_ship_armor_10" }
	component_set = "AVC_CARAPACE_10"

	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 654
		}
	}
	
	modifier = {
		ship_armor_add = 4568
	}
}

utility_component_template = {
	key = "AVC_CARAPACE_EXTRA_LARGE_10"
	size = extra_large
	
	icon = "GFX_mutation_avc_carapace_10"
	icon_frame = 1
	
	prerequisites = { "tech_avc_ship_armor_10" }
	component_set = "AVC_CARAPACE_10"

	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 1308
		}
	}
	
	modifier = {
		ship_armor_add = 5938
	}
}


#####################
# Draconic Carapace #
#####################

utility_component_template = {
	key = "AVC_DRACONIC_CARAPACE_SMALL_2"
	size = small
	
	icon = "GFX_mutation_avc_draconic_carapace_2"
	icon_frame = 1
	
	prerequisites = { "tech_avc_dragon_armor_2" }
	component_set = "AVC_DRACONIC_CARAPACE_2"

	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 212
		}
	}
	
	modifier = {
		ship_armor_add = 635
	}
}

utility_component_template = {
	key = "AVC_DRACONIC_CARAPACE_MEDIUM_2"
	size = medium
	
	icon = "GFX_mutation_avc_draconic_carapace_2"
	icon_frame = 1
	
	prerequisites = { "tech_avc_dragon_armor_2" }
	component_set = "AVC_DRACONIC_CARAPACE_2"

	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 423
		}
	}
	
	modifier = {
		ship_armor_add = 1905
	}
}

utility_component_template = {
	key = "AVC_DRACONIC_CARAPACE_LARGE_2"
	size = large
	
	icon = "GFX_mutation_avc_draconic_carapace_2"
	icon_frame = 1
	
	prerequisites = { "tech_avc_dragon_armor_2" }
	component_set = "AVC_DRACONIC_CARAPACE_2"

	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 850
		}
	}
	
	modifier = {
		ship_armor_add = 5715
	}
}

utility_component_template = {
	key = "AVC_DRACONIC_CARAPACE_EXTRA_LARGE_2"
	size = extra_large
	
	icon = "GFX_mutation_avc_draconic_carapace_2"
	icon_frame = 1
	
	prerequisites = { "tech_avc_dragon_armor_2" }
	component_set = "AVC_DRACONIC_CARAPACE_2"

	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 1700
		}
	}
	
	modifier = {
		ship_armor_add = 7430
	}
}


########################
### Crystal Innards  ###
########################

####
# 3#
####

utility_component_template = {
	key = "AVC_CRYSTAL_INNARDS_SMALL_3"
	size = small
	
	icon = "GFX_mutation_avc_crystal_innards_3"
	icon_frame = 1
	
	prerequisites = { "tech_avc_crystal_armor_3" }
	component_set = "AVC_CRYSTAL_INNARDS_3"

	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 65
		}
		cost = {
			rare_crystals = 0.22
			mult = @fauna_cost_scaling
		}
	}

	ai_weight = {
		weight = 2
		modifier = {
			factor = 0
			no_resource_for_component = { RESOURCE = rare_crystals }
		}
	}
	
	modifier = {
		ship_hull_add = 190
	}
	ship_modifier = {
		ship_damage_reduction_add = 3
	}
}

utility_component_template = {
	key = "AVC_CRYSTAL_INNARDS_MEDIUM_3"
	size = medium
	
	icon = "GFX_mutation_avc_crystal_innards_3"
	icon_frame = 1
	
	prerequisites = { "tech_avc_crystal_armor_3" }
	component_set = "AVC_CRYSTAL_INNARDS_3"

	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 143
		}
		cost = {
			rare_crystals = 0.43
			mult = @fauna_cost_scaling
		}
	}

	ai_weight = {
		weight = 2
		modifier = {
			factor = 0
			no_resource_for_component = { RESOURCE = rare_crystals }
		}
	}
	
	modifier = {
		ship_hull_add = 570
	}
	ship_modifier = {
		ship_damage_reduction_add = 4
	}
}

utility_component_template = {
	key = "AVC_CRYSTAL_INNARDS_LARGE_3"
	size = large
	
	icon = "GFX_mutation_avc_crystal_innards_3"
	icon_frame = 1
	
	prerequisites = { "tech_avc_crystal_armor_3" }
	component_set = "AVC_CRYSTAL_INNARDS_3"

	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 358
		}
		cost = {
			rare_crystals = 0.85
			mult = @fauna_cost_scaling
		}
	}

	ai_weight = {
		weight = 2
		modifier = {
			factor = 0
			no_resource_for_component = { RESOURCE = rare_crystals }
		}
	}
	
	modifier = {
		ship_hull_add = 1710
	}
	ship_modifier = {
		ship_damage_reduction_add = 5
	}
}

utility_component_template = {
	key = "AVC_CRYSTAL_INNARDS_EXTRA_LARGE_3"
	size = extra_large
	
	icon = "GFX_mutation_avc_crystal_innards_3"
	icon_frame = 1
	
	prerequisites = { "tech_avc_crystal_armor_3" }
	component_set = "AVC_CRYSTAL_INNARDS_3"

	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 858
		}
		cost = {
			rare_crystals = 1.69
			mult = @fauna_cost_scaling
		}
	}

	ai_weight = {
		weight = 2
		modifier = {
			factor = 0
			no_resource_for_component = { RESOURCE = rare_crystals }
		}
	}
	
	modifier = {
		ship_hull_add = 2250
	}
	ship_modifier = {
		ship_damage_reduction_add = 6
	}
}


####
# 4#
####

utility_component_template = {
	key = "AVC_CRYSTAL_INNARDS_SMALL_4"
	size = small
	
	icon = "GFX_mutation_avc_crystal_innards_4"
	icon_frame = 1
	
	prerequisites = { "tech_avc_crystal_armor_4" }
	component_set = "AVC_CRYSTAL_INNARDS_4"

	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 85
		}
		cost = {
			rare_crystals = 0.29
			mult = @fauna_cost_scaling
		}
	}

	ai_weight = {
		weight = 2
		modifier = {
			factor = 0
			no_resource_for_component = { RESOURCE = rare_crystals }
		}
	}
	
	modifier = {
		ship_hull_add = 360
	}
	ship_modifier = {
		ship_damage_reduction_add = 4
	}
}

utility_component_template = {
	key = "AVC_CRYSTAL_INNARDS_MEDIUM_4"
	size = medium
	
	icon = "GFX_mutation_avc_crystal_innards_4"
	icon_frame = 1
	
	prerequisites = { "tech_avc_crystal_armor_4" }
	component_set = "AVC_CRYSTAL_INNARDS_4"

	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 186
		}
		cost = {
			rare_crystals = 0.56
			mult = @fauna_cost_scaling
		}
	}

	ai_weight = {
		weight = 2
		modifier = {
			factor = 0
			no_resource_for_component = { RESOURCE = rare_crystals }
		}
	}
	
	modifier = {
		ship_hull_add = 1080
	}
	ship_modifier = {
		ship_damage_reduction_add = 5
	}
}

utility_component_template = {
	key = "AVC_CRYSTAL_INNARDS_LARGE_4"
	size = large
	
	icon = "GFX_mutation_avc_crystal_innards_4"
	icon_frame = 1
	
	prerequisites = { "tech_avc_crystal_armor_4" }
	component_set = "AVC_CRYSTAL_INNARDS_4"

	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 501
		}
		cost = {
			rare_crystals = 1.11
			mult = @fauna_cost_scaling
		}
	}

	ai_weight = {
		weight = 2
		modifier = {
			factor = 0
			no_resource_for_component = { RESOURCE = rare_crystals }
		}
	}
	
	modifier = {
		ship_hull_add = 3240
	}
	ship_modifier = {
		ship_damage_reduction_add = 6
	}
}

utility_component_template = {
	key = "AVC_CRYSTAL_INNARDS_EXTRA_LARGE_4"
	size = extra_large
	
	icon = "GFX_mutation_avc_crystal_innards_4"
	icon_frame = 1
	
	prerequisites = { "tech_avc_crystal_armor_4" }
	component_set = "AVC_CRYSTAL_INNARDS_4"

	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 1115
		}
		cost = {
			rare_crystals = 2.20
			mult = @fauna_cost_scaling
		}
	}

	ai_weight = {
		weight = 2
		modifier = {
			factor = 0
			no_resource_for_component = { RESOURCE = rare_crystals }
		}
	}
	
	modifier = {
		ship_hull_add = 4212
	}
	ship_modifier = {
		ship_damage_reduction_add = 7
	}
}