@attack_range = 2 #10
@engagement_range = 20 #100
@launch_time = 3.5 #2
@rotationspeed = 0.12
@accelerationspeed = 0.2
@regen = 0.5
@ship_aura_range = 80

################################
# CLOAKING MUTATION COMPONENTS #
################################

utility_component_template = {
	inline_script = {
		script = grand_archive/mutations/camouflage/camouflage_mutation
		COMPONENT_SET = CAMOUFLAGE_1
		SIZE_CAPITAL = SMALL
		SIZE = small
		ICON = GFX_mutation_camouflage_1
		STRENGTH = @cloaking_very_low_strength
		DYNAMIC_COST = 80
		EXOTIC_GASES = 5
		RARE_CRYSTALS = 0
		DARK_MATTER = 0
		ZRO = 0
		PREREQUISITE = tech_cloaking_1
		POTENTIAL_TRIGGER = cloaking_should_nullify_shield_mutation
		SHIELD_NULLIFICATION = @shield_nullification_high
		WEIGHT = @basic_cloaking_weight
	}
}

utility_component_template = {
	inline_script = {
		script = grand_archive/mutations/camouflage/camouflage_mutation
		COMPONENT_SET = CAMOUFLAGE_1
		SIZE_CAPITAL = MEDIUM
		SIZE = medium
		ICON = GFX_mutation_camouflage_1
		STRENGTH = @cloaking_very_low_strength
		DYNAMIC_COST = 80
		EXOTIC_GASES = 5
		RARE_CRYSTALS = 0
		DARK_MATTER = 0
		ZRO = 0
		PREREQUISITE = tech_cloaking_1
		POTENTIAL_TRIGGER = cloaking_should_nullify_shield_mutation
		SHIELD_NULLIFICATION = @shield_nullification_high
		WEIGHT = @basic_cloaking_weight
	}
}

utility_component_template = {
	inline_script = {
		script = grand_archive/mutations/camouflage/camouflage_mutation
		COMPONENT_SET = CAMOUFLAGE_1
		SIZE_CAPITAL = LARGE
		SIZE = large
		ICON = GFX_mutation_camouflage_1
		STRENGTH = @cloaking_very_low_strength
		DYNAMIC_COST = 80
		EXOTIC_GASES = 5
		RARE_CRYSTALS = 0
		DARK_MATTER = 0
		ZRO = 0
		PREREQUISITE = tech_cloaking_1
		POTENTIAL_TRIGGER = cloaking_should_nullify_shield_mutation
		SHIELD_NULLIFICATION = @shield_nullification_high
		WEIGHT = @basic_cloaking_weight
	}
}

utility_component_template = {
	inline_script = {
		script = grand_archive/mutations/camouflage/camouflage_mutation
		COMPONENT_SET = CAMOUFLAGE_1
		SIZE_CAPITAL = EXTRA_LARGE
		SIZE = extra_large
		ICON = GFX_mutation_camouflage_1
		STRENGTH = @cloaking_very_low_strength
		DYNAMIC_COST = 80
		EXOTIC_GASES = 5
		RARE_CRYSTALS = 0
		DARK_MATTER = 0
		ZRO = 0
		PREREQUISITE = tech_cloaking_1
		POTENTIAL_TRIGGER = cloaking_should_nullify_shield_mutation
		SHIELD_NULLIFICATION = @shield_nullification_high
		WEIGHT = @basic_cloaking_weight
	}
}

utility_component_template = {
	inline_script = {
		script = grand_archive/mutations/camouflage/camouflage_mutation
		COMPONENT_SET = CAMOUFLAGE_2
		SIZE_CAPITAL = SMALL
		SIZE = small
		ICON = GFX_mutation_camouflage_2
		STRENGTH = @cloaking_low_strength
		DYNAMIC_COST = 100
		EXOTIC_GASES = 7
		RARE_CRYSTALS = 7
		DARK_MATTER = 0
		ZRO = 0
		PREREQUISITE = tech_cloaking_2
		POTENTIAL_TRIGGER = cloaking_should_nullify_shield_mutation
		SHIELD_NULLIFICATION = @shield_nullification_high
		WEIGHT = @advanced_cloaking_weight
	}
}

utility_component_template = {
	inline_script = {
		script = grand_archive/mutations/camouflage/camouflage_mutation
		COMPONENT_SET = CAMOUFLAGE_2
		SIZE_CAPITAL = MEDIUM
		SIZE = medium
		ICON = GFX_mutation_camouflage_2
		STRENGTH = @cloaking_low_strength
		DYNAMIC_COST = 100
		EXOTIC_GASES = 7
		RARE_CRYSTALS = 7
		DARK_MATTER = 0
		ZRO = 0
		PREREQUISITE = tech_cloaking_2
		POTENTIAL_TRIGGER = cloaking_should_nullify_shield_mutation
		SHIELD_NULLIFICATION = @shield_nullification_high
		WEIGHT = @advanced_cloaking_weight
	}
}

utility_component_template = {
	inline_script = {
		script = grand_archive/mutations/camouflage/camouflage_mutation
		COMPONENT_SET = CAMOUFLAGE_2
		SIZE_CAPITAL = LARGE
		SIZE = large
		ICON = GFX_mutation_camouflage_2
		STRENGTH = @cloaking_low_strength
		DYNAMIC_COST = 100
		EXOTIC_GASES = 7
		RARE_CRYSTALS = 7
		DARK_MATTER = 0
		ZRO = 0
		PREREQUISITE = tech_cloaking_2
		POTENTIAL_TRIGGER = cloaking_should_nullify_shield_mutation
		SHIELD_NULLIFICATION = @shield_nullification_high
		WEIGHT = @advanced_cloaking_weight
	}
}

utility_component_template = {
	inline_script = {
		script = grand_archive/mutations/camouflage/camouflage_mutation
		COMPONENT_SET = CAMOUFLAGE_2
		SIZE_CAPITAL = EXTRA_LARGE
		SIZE = extra_large
		ICON = GFX_mutation_camouflage_2
		STRENGTH = @cloaking_low_strength
		DYNAMIC_COST = 100
		EXOTIC_GASES = 7
		RARE_CRYSTALS = 7
		DARK_MATTER = 0
		ZRO = 0
		PREREQUISITE = tech_cloaking_2
		POTENTIAL_TRIGGER = cloaking_should_nullify_shield_mutation
		SHIELD_NULLIFICATION = @shield_nullification_high
		WEIGHT = @advanced_cloaking_weight
	}
}

utility_component_template = {
	inline_script = {
		script = grand_archive/mutations/camouflage/camouflage_mutation
		COMPONENT_SET = CAMOUFLAGE_3
		SIZE_CAPITAL = SMALL
		SIZE = small
		ICON = GFX_mutation_camouflage_3
		STRENGTH = @cloaking_medium_strength
		DYNAMIC_COST = 140
		EXOTIC_GASES = 9
		RARE_CRYSTALS = 9
		DARK_MATTER = 0
		ZRO = 0
		PREREQUISITE = tech_cloaking_3
		POTENTIAL_TRIGGER = cloaking_should_nullify_shield_mutation
		SHIELD_NULLIFICATION = @shield_nullification_high
		WEIGHT = @elite_cloaking_weight
	}
}

utility_component_template = {
	inline_script = {
		script = grand_archive/mutations/camouflage/camouflage_mutation
		COMPONENT_SET = CAMOUFLAGE_3
		SIZE_CAPITAL = MEDIUM
		SIZE = medium
		ICON = GFX_mutation_camouflage_3
		STRENGTH = @cloaking_medium_strength
		DYNAMIC_COST = 140
		EXOTIC_GASES = 9
		RARE_CRYSTALS = 9
		DARK_MATTER = 0
		ZRO = 0
		PREREQUISITE = tech_cloaking_3
		POTENTIAL_TRIGGER = cloaking_should_nullify_shield_mutation
		SHIELD_NULLIFICATION = @shield_nullification_high
		WEIGHT = @elite_cloaking_weight
	}
}

utility_component_template = {
	inline_script = {
		script = grand_archive/mutations/camouflage/camouflage_mutation
		COMPONENT_SET = CAMOUFLAGE_3
		SIZE_CAPITAL = LARGE
		SIZE = large
		ICON = GFX_mutation_camouflage_3
		STRENGTH = @cloaking_medium_strength
		DYNAMIC_COST = 280
		EXOTIC_GASES = 17
		RARE_CRYSTALS = 17
		DARK_MATTER = 0
		ZRO = 0
		PREREQUISITE = tech_cloaking_3
		POTENTIAL_TRIGGER = cloaking_should_nullify_shield_mutation
		SHIELD_NULLIFICATION = @shield_nullification_high
		WEIGHT = @elite_cloaking_weight
	}
}

utility_component_template = {
	inline_script = {
		script = grand_archive/mutations/camouflage/camouflage_mutation
		COMPONENT_SET = CAMOUFLAGE_3
		SIZE_CAPITAL = EXTRA_LARGE
		SIZE = extra_large
		ICON = GFX_mutation_camouflage_3
		STRENGTH = @cloaking_medium_strength
		DYNAMIC_COST = 280
		EXOTIC_GASES = 17
		RARE_CRYSTALS = 17
		DARK_MATTER = 0
		ZRO = 0
		PREREQUISITE = tech_cloaking_3
		POTENTIAL_TRIGGER = cloaking_should_nullify_shield_mutation
		SHIELD_NULLIFICATION = @shield_nullification_high
		WEIGHT = @elite_cloaking_weight
	}
}

utility_component_template = {
	inline_script = {
		script = grand_archive/mutations/camouflage/camouflage_mutation
		COMPONENT_SET = CAMOUFLAGE_4
		SIZE_CAPITAL = SMALL
		SIZE = small
		ICON = GFX_mutation_camouflage_4
		STRENGTH = @cloaking_high_strength
		DYNAMIC_COST = 180
		EXOTIC_GASES = 11
		RARE_CRYSTALS = 0
		DARK_MATTER = 0.125
		ZRO = 0
		PREREQUISITE = tech_cloaking_dark_matter
		POTENTIAL_TRIGGER = cloaking_should_nullify_shield_mutation
		SHIELD_NULLIFICATION = @shield_nullification_low
		WEIGHT = @dark_matter_cloaking_weight
	}
}

utility_component_template = {
	inline_script = {
		script = grand_archive/mutations/camouflage/camouflage_mutation
		COMPONENT_SET = CAMOUFLAGE_4
		SIZE_CAPITAL = MEDIUM
		SIZE = medium
		ICON = GFX_mutation_camouflage_4
		STRENGTH = @cloaking_high_strength
		DYNAMIC_COST = 180
		EXOTIC_GASES = 11
		RARE_CRYSTALS = 0
		DARK_MATTER = 0.125
		ZRO = 0
		PREREQUISITE = tech_cloaking_dark_matter
		POTENTIAL_TRIGGER = cloaking_should_nullify_shield_mutation
		SHIELD_NULLIFICATION = @shield_nullification_low
		WEIGHT = @dark_matter_cloaking_weight
	}
}

utility_component_template = {
	inline_script = {
		script = grand_archive/mutations/camouflage/camouflage_mutation
		COMPONENT_SET = CAMOUFLAGE_4
		SIZE_CAPITAL = LARGE
		SIZE = large
		ICON = GFX_mutation_camouflage_4
		STRENGTH = @cloaking_high_strength
		DYNAMIC_COST = 360
		EXOTIC_GASES = 22
		RARE_CRYSTALS = 0
		DARK_MATTER = 0.25
		ZRO = 0
		PREREQUISITE = tech_cloaking_dark_matter
		POTENTIAL_TRIGGER = cloaking_should_nullify_shield_mutation
		SHIELD_NULLIFICATION = @shield_nullification_low
		WEIGHT = @dark_matter_cloaking_weight
	}
}

utility_component_template = {
	inline_script = {
		script = grand_archive/mutations/camouflage/camouflage_mutation
		COMPONENT_SET = CAMOUFLAGE_4
		SIZE_CAPITAL = EXTRA_LARGE
		SIZE = extra_large
		ICON = GFX_mutation_camouflage_4
		STRENGTH = @cloaking_high_strength
		DYNAMIC_COST = 720
		EXOTIC_GASES = 44
		RARE_CRYSTALS = 0
		DARK_MATTER = 0.5
		ZRO = 0
		PREREQUISITE = tech_cloaking_dark_matter
		POTENTIAL_TRIGGER = cloaking_should_nullify_shield_mutation
		SHIELD_NULLIFICATION = @shield_nullification_low
		WEIGHT = @dark_matter_cloaking_weight
	}
}

utility_component_template = {
	inline_script = {
		script = grand_archive/mutations/camouflage/camouflage_mutation
		COMPONENT_SET = CAMOUFLAGE_5
		SIZE_CAPITAL = SMALL
		SIZE = small
		ICON = GFX_mutation_camouflage_5
		STRENGTH = @cloaking_very_high_strength
		DYNAMIC_COST = 220
		EXOTIC_GASES = 14
		RARE_CRYSTALS = 0
		DARK_MATTER = 0
		ZRO = 0.125
		PREREQUISITE = tech_cloaking_psi
		POTENTIAL_TRIGGER = cloaking_should_nullify_shield_psi_mutation
		SHIELD_NULLIFICATION = @shield_nullification_high
		WEIGHT = @psi_cloaking_weight
	}
}

utility_component_template = {
	inline_script = {
		script = grand_archive/mutations/camouflage/camouflage_mutation
		COMPONENT_SET = CAMOUFLAGE_5
		SIZE_CAPITAL = MEDIUM
		SIZE = medium
		ICON = GFX_mutation_camouflage_5
		STRENGTH = @cloaking_very_high_strength
		DYNAMIC_COST = 220
		EXOTIC_GASES = 14
		RARE_CRYSTALS = 0
		DARK_MATTER = 0
		ZRO = 0.125
		PREREQUISITE = tech_cloaking_psi
		POTENTIAL_TRIGGER = cloaking_should_nullify_shield_psi_mutation
		SHIELD_NULLIFICATION = @shield_nullification_high
		WEIGHT = @psi_cloaking_weight
	}
}

utility_component_template = {
	inline_script = {
		script = grand_archive/mutations/camouflage/camouflage_mutation
		COMPONENT_SET = CAMOUFLAGE_5
		SIZE_CAPITAL = LARGE
		SIZE = large
		ICON = GFX_mutation_camouflage_5
		STRENGTH = @cloaking_very_high_strength
		DYNAMIC_COST = 440
		EXOTIC_GASES = 29
		RARE_CRYSTALS = 0
		DARK_MATTER = 0
		ZRO = 0.25
		PREREQUISITE = tech_cloaking_psi
		POTENTIAL_TRIGGER = cloaking_should_nullify_shield_psi_mutation
		SHIELD_NULLIFICATION = @shield_nullification_high
		WEIGHT = @psi_cloaking_weight
	}
}

utility_component_template = {
	inline_script = {
		script = grand_archive/mutations/camouflage/camouflage_mutation
		COMPONENT_SET = CAMOUFLAGE_5
		SIZE_CAPITAL = EXTRA_LARGE
		SIZE = extra_large
		ICON = GFX_mutation_camouflage_5
		STRENGTH = @cloaking_very_high_strength
		DYNAMIC_COST = 880
		EXOTIC_GASES = 57
		RARE_CRYSTALS = 0
		DARK_MATTER = 0
		ZRO = 0.5
		PREREQUISITE = tech_cloaking_psi
		POTENTIAL_TRIGGER = cloaking_should_nullify_shield_psi_mutation
		SHIELD_NULLIFICATION = @shield_nullification_high
		WEIGHT = @psi_cloaking_weight
	}
}

###############################
# UNIQUE MUTATIONS COMPONENTS #
###############################

utility_component_template = {
	inline_script = {
		script = grand_archive/mutations/virulent_cysts_mutation
		SIZE_CAP = SMALL
		SIZE = small
	}
}

utility_component_template = {
	inline_script = {
		script = grand_archive/mutations/virulent_cysts_mutation
		SIZE_CAP = MEDIUM
		SIZE = medium
	}
}

utility_component_template = {
	inline_script = {
		script = grand_archive/mutations/virulent_cysts_mutation
		SIZE_CAP = LARGE
		SIZE = large
	}
}

utility_component_template = {
	inline_script = {
		script = grand_archive/mutations/virulent_cysts_mutation
		SIZE_CAP = EXTRA_LARGE
		SIZE = extra_large
	}
}

### Leechcraft

strike_craft_component_template = {
	key = "LEECHCRAFT_SMALL"
	entity = "space_amoeba_small_entity"
	size = small
	weapon_type = instant
	icon = "GFX_mutation_leechcraft"
	icon_frame = 1
	prerequisites = { "tech_unique_mutation_space_amoeba" }
	potential = {
		OR = {
			is_ship_size = space_amoeba
			is_ship_size = space_amoeba_mother
		}
	}
	component_set = "LEECHCRAFT"
	projectile_gfx = "small_space_amoeba_weapon"
	tags = { weapon_type_strike_craft weapon_type_space_fauna }
	ai_tags = { weapon_role_anti_shield }

	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 80
		}
	}

	ship_modifier = {
		component_lifesteal_add = 1
	}

	count = 2
	regeneration_per_day = @regen
	launch_time = @launch_time

	damage = { min = 20 max = 30 }
	cooldown = 5
	range = @attack_range
	engagement_range = @engagement_range
	accuracy = 0.70
	tracking = 0.50

	health = 20
	armor = 0
	shield = 0
	evasion = 0.50

	speed = 500
	rotation_speed = @rotationspeed
	acceleration = @accelerationspeed

	shield_damage = 1.0
	shield_penetration = 1
	armor_damage = 1.5

	ship_behavior = "bombers_behavior"
}

strike_craft_component_template = {
	key = "LEECHCRAFT_LARGE"
	entity = "space_amoeba_small_entity"
	size = large
	weapon_type = instant
	icon = "GFX_mutation_leechcraft"
	icon_frame = 1
	prerequisites = { "tech_unique_mutation_space_amoeba" }
	potential = {
		OR = {
			is_ship_size = space_amoeba
			is_ship_size = space_amoeba_mother
		}
	}
	component_set = "LEECHCRAFT"
	projectile_gfx = "small_space_amoeba_weapon"
	tags = { weapon_type_strike_craft weapon_type_space_fauna }
	ai_tags = { weapon_role_anti_shield }

	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 320
		}
	}

	ship_modifier = {
		component_lifesteal_add = 1
	}

	count = 8
	regeneration_per_day = @regen
	launch_time = @launch_time

	damage = { min = 20 max = 30 }
	cooldown = 5
	range = @attack_range
	engagement_range = @engagement_range
	accuracy = 0.70
	tracking = 0.50

	health = 20
	armor = 0
	shield = 0
	evasion = 0.50

	speed = 500
	rotation_speed = @rotationspeed
	acceleration = @accelerationspeed

	shield_damage = 1.0
	shield_penetration = 1
	armor_damage = 1.5

	ship_behavior = "bombers_behavior"
}

### Herdsong Chords

utility_component_template = {
	inline_script = {
		script = grand_archive/mutations/herdsong_chords_mutation
		SIZE_CAP = SMALL
		SIZE = small
	}
}

utility_component_template = {
	inline_script = {
		script = grand_archive/mutations/herdsong_chords_mutation
		SIZE_CAP = MEDIUM
		SIZE = medium
	}
}

utility_component_template = {
	inline_script = {
		script = grand_archive/mutations/herdsong_chords_mutation
		SIZE_CAP = LARGE
		SIZE = large
	}
}

utility_component_template = {
	inline_script = {
		script = grand_archive/mutations/herdsong_chords_mutation
		SIZE_CAP = EXTRA_LARGE
		SIZE = extra_large
	}
}
### Gastric Fountain

weapon_component_template = {
	key = "GASTRIC_FOUNTAIN_MEDIUM"
	size = medium
	type = instant
	icon = "GFX_mutation_gastric_fountain"
	icon_frame = 1
	prerequisites = { "tech_unique_mutation_cutholoid" }
	potential = {
		OR = {
			is_ship_size = cutholoids_hatchling
			is_ship_size = cutholoids_juvenile
			is_ship_size = cutholoids
		}
	}
	component_set = "GASTRIC_FOUNTAIN"
	projectile_gfx = "gastric_fountain_s"
	tags = { weapon_type_energy m_slot weapon_type_space_fauna }
	ai_tags = { weapon_role_anti_armor gunship }

	firing_arc = 15.0
	min_range = 7 #45

	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 160
		}
	}
}

weapon_component_template = {
	key = "GASTRIC_FOUNTAIN_LARGE"
	size = large
	type = instant
	icon = "GFX_mutation_gastric_fountain"
	icon_frame = 1
	prerequisites = { "tech_unique_mutation_cutholoid" }
	potential = {
		OR = {
			is_ship_size = cutholoids_hatchling
			is_ship_size = cutholoids_juvenile
			is_ship_size = cutholoids
		}
	}
	component_set = "GASTRIC_FOUNTAIN"
	projectile_gfx = "gastric_fountain_m"
	tags = { weapon_type_energy l_slot weapon_type_space_fauna }
	ai_tags = { weapon_role_anti_armor gunship }

	firing_arc = 15.0
	min_range = 7 #45

	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 320
		}
	}
}

weapon_component_template = {
	key = "GASTRIC_FOUNTAIN_EXTRA_LARGE"
	size = extra_large
	type = instant
	icon = "GFX_mutation_gastric_fountain"
	icon_frame = 1
	prerequisites = { "tech_unique_mutation_cutholoid" }
	potential = {
		OR = {
			is_ship_size = cutholoids_hatchling
			is_ship_size = cutholoids_juvenile
			is_ship_size = cutholoids
		}
	}
	component_set = "GASTRIC_FOUNTAIN"
	projectile_gfx = "gastric_fountain_l"
	tags = { weapon_type_energy x_slot weapon_type_space_fauna }
	ai_tags = { weapon_role_anti_armor gunship }

	firing_arc = 15.0
	min_range = 7 #45

	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 640
		}
	}
}

### Starborne Biology

utility_component_template = {
	inline_script = {
		script = "grand_archive/mutations/unique_mutation_starborne_biology"
		KEY = "STARBORNE_BIOLOGY_SMALL"
		SIZE = small
	}
}

utility_component_template = {
	inline_script = {
		script = "grand_archive/mutations/unique_mutation_starborne_biology"
		KEY = "STARBORNE_BIOLOGY_MEDIUM"
		SIZE = medium
	}
}

utility_component_template = {
	inline_script = {
		script = "grand_archive/mutations/unique_mutation_starborne_biology"
		KEY = "STARBORNE_BIOLOGY_LARGE"
		SIZE = large
	}
}

utility_component_template = {
	inline_script = {
		script = "grand_archive/mutations/unique_mutation_starborne_biology"
		KEY = "STARBORNE_BIOLOGY_EXTRA_LARGE"
		SIZE = extra_large
	}
}

### Fissile Cores

utility_component_template = {
	inline_script = {
		script = grand_archive/mutations/fissile_cores_mutation
		SIZE_CAP = SMALL
		SIZE = small
	}
}

utility_component_template = {
	inline_script = {
		script = grand_archive/mutations/fissile_cores_mutation
		SIZE_CAP = MEDIUM
		SIZE = medium
	}
}

utility_component_template = {
	inline_script = {
		script = grand_archive/mutations/fissile_cores_mutation
		SIZE_CAP = LARGE
		SIZE = large
	}
}

### Elastic Tissue

utility_component_template = {
	key = "ELASTIC_TISSUE_SMALL"
	size = small
	icon = "GFX_mutation_elastic_tissue"
	icon_frame = 1
	prerequisites = { "tech_controlled_mutations_2" }
	component_set = "ELASTIC_TISSUE"

	modifier = {
		ship_hull_mult = 0.35
		ship_armor_mult = 0.35
		ship_shield_mult = 0.35
	}

	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 120
		}
	}
}

utility_component_template = {
	key = "ELASTIC_TISSUE_MEDIUM"
	size = medium
	icon = "GFX_mutation_elastic_tissue"
	icon_frame = 1
	prerequisites = { "tech_controlled_mutations_2" }
	component_set = "ELASTIC_TISSUE"

	modifier = {
		ship_hull_mult = 0.35
		ship_armor_mult = 0.35
		ship_shield_mult = 0.35
	}

	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 120
		}
	}
}

utility_component_template = {
	key = "ELASTIC_TISSUE_LARGE"
	size = large
	icon = "GFX_mutation_elastic_tissue"
	icon_frame = 1
	prerequisites = { "tech_controlled_mutations_2" }
	component_set = "ELASTIC_TISSUE"

	modifier = {
		ship_hull_mult = 0.35
		ship_armor_mult = 0.35
		ship_shield_mult = 0.35
	}

	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 120
		}
	}
}

utility_component_template = {
	key = "ELASTIC_TISSUE_EXTRA_LARGE"
	size = extra_large
	icon = "GFX_mutation_elastic_tissue"
	icon_frame = 1
	prerequisites = { "tech_controlled_mutations_2" }
	component_set = "ELASTIC_TISSUE"

	modifier = {
		ship_hull_mult = 0.35
		ship_armor_mult = 0.35
		ship_shield_mult = 0.35
	}

	resources = {
		category = ship_components
		inline_script = {
			script = "grand_archive/mutations/component_dynamic_cost"
			COST = 120
		}
	}
}

### Restorative Enzymes

utility_component_template = {
	inline_script = {
		script = "grand_archive/mutations/unique_mutation_restorative_enzymes"
		KEY = "RESTORATIVE_ENZYMES_SMALL"
		SIZE = small
	}
}

utility_component_template = {
	inline_script = {
		script = "grand_archive/mutations/unique_mutation_restorative_enzymes"
		KEY = "RESTORATIVE_ENZYMES_MEDIUM"
		SIZE = medium
	}
}

utility_component_template = {
	inline_script = {
		script = "grand_archive/mutations/unique_mutation_restorative_enzymes"
		KEY = "RESTORATIVE_ENZYMES_LARGE"
		SIZE = large
	}
}

utility_component_template = {
	inline_script = {
		script = "grand_archive/mutations/unique_mutation_restorative_enzymes"
		KEY = "RESTORATIVE_ENZYMES_EXTRA_LARGE"
		SIZE = extra_large
	}
}

### Combat Synapses

utility_component_template = {
	inline_script = {
		script = "grand_archive/mutations/unique_mutation_combat_synapses"
		KEY = "COMBAT_SYNAPSES_SMALL"
		SIZE = small
	}
}

utility_component_template = {
	inline_script = {
		script = "grand_archive/mutations/unique_mutation_combat_synapses"
		KEY = "COMBAT_SYNAPSES_MEDIUM"
		SIZE = medium
	}
}

utility_component_template = {
	inline_script = {
		script = "grand_archive/mutations/unique_mutation_combat_synapses"
		KEY = "COMBAT_SYNAPSES_LARGE"
		SIZE = large
	}
}

utility_component_template = {
	inline_script = {
		script = "grand_archive/mutations/unique_mutation_combat_synapses"
		KEY = "COMBAT_SYNAPSES_EXTRA_LARGE"
		SIZE = extra_large
	}
}

### Berserker Glands

utility_component_template = {
	inline_script = {
		script = "grand_archive/mutations/unique_mutation_berserker_glands"
		KEY = "BERSERKER_GLANDS_SMALL"
		SIZE = small
	}
}

utility_component_template = {
	inline_script = {
		script = "grand_archive/mutations/unique_mutation_berserker_glands"
		KEY = "BERSERKER_GLANDS_MEDIUM"
		SIZE = medium
	}
}

utility_component_template = {
	inline_script = {
		script = "grand_archive/mutations/unique_mutation_berserker_glands"
		KEY = "BERSERKER_GLANDS_LARGE"
		SIZE = large
	}
}

utility_component_template = {
	inline_script = {
		script = "grand_archive/mutations/unique_mutation_berserker_glands"
		KEY = "BERSERKER_GLANDS_EXTRA_LARGE"
		SIZE = extra_large
	}
}

### Catalytic Bladder

utility_component_template = {
	inline_script = {
		script = "grand_archive/mutations/unique_mutation_catalytic_bladder"
		KEY = "CATALYTIC_BLADDER_SMALL"
		SIZE = small
	}
}

utility_component_template = {
	inline_script = {
		script = "grand_archive/mutations/unique_mutation_catalytic_bladder"
		KEY = "CATALYTIC_BLADDER_MEDIUM"
		SIZE = medium
	}
}

utility_component_template = {
	inline_script = {
		script = "grand_archive/mutations/unique_mutation_catalytic_bladder"
		KEY = "CATALYTIC_BLADDER_LARGE"
		SIZE = large
	}
}

utility_component_template = {
	inline_script = {
		script = "grand_archive/mutations/unique_mutation_catalytic_bladder"
		KEY = "CATALYTIC_BLADDER_EXTRA_LARGE"
		SIZE = extra_large
	}
}
