# Icons set here are the ones show in the actual slot. The reason is so tTacticalratet we can support different icons for different sizes. 

#############
#	Tacticalrate	#
#############

@penet_S1 = 0.1
@penet_S2 = 0.15
@penet_S3 = 0.20
@penet_S4 = 0.22
@penet_S5 = 0.25

@power_S = -14
@power_M = -14


#############
#	COST	#
#############

@cost_S = 30
@cost_M = 80


#############
# UTILITIES #
#############

# Plasteel Tacticalrate
utility_component_template = {
	key = "SMALL_Tacticalrate_1"
	size = small
	icon = "GFX_ship_part_shield_1"
	icon_frame = 1
	power = @power_S
	cost = @cost_S
	modifier = {
			ship_fire_rate_mult= @penet_S1			

		}
	prerequisites = { "tech_Tacticalrate_1" }
	component_set = "Tacticalrate_1"
}

utility_component_template = {
	key = "MEDIUM_Tacticalrate_1"
	size = medium
	icon = "GFX_ship_part_shield_1"
	icon_frame = 1
	power = @power_M
	cost = @cost_M
	modifier = {
			ship_fire_rate_mult= @penet_S1			

		}
	prerequisites = { "tech_Tacticalrate_1" }
	component_set = "Tacticalrate_1"
}

utility_component_template = {
	key = "large_Tacticalrate_1"
	size = large
	icon = "GFX_ship_part_shield_1"
	icon_frame = 1
	power = @power_M
	cost = 160
	modifier = {
			ship_fire_rate_mult= @penet_S1			

		}
	prerequisites = { "tech_Tacticalrate_1" }
	component_set = "Tacticalrate_1"
}

# Durasteel Tacticalrate
utility_component_template = {
	key = "SMALL_Tacticalrate_2"
	size = small
	icon = "GFX_ship_part_shield_2"
	icon_frame = 1
	power = @power_S
	cost = @cost_S
	modifier = {
			ship_fire_rate_mult= @penet_S2			

		}
	prerequisites = { "tech_Tacticalrate_2" }
	component_set = "Tacticalrate_2"
}

utility_component_template = {
	key = "MEDIUM_Tacticalrate_2"
	size = medium
	icon = "GFX_ship_part_shield_2"
	icon_frame = 1
	power = @power_M
	cost = @cost_M
	modifier = {
			ship_fire_rate_mult= @penet_S2			

		}
	prerequisites = { "tech_Tacticalrate_2" }
	component_set = "Tacticalrate_2"
}

utility_component_template = {
	key = "large_Tacticalrate_2"
	size = large
	icon = "GFX_ship_part_shield_2"
	icon_frame = 1
	power = @power_M
	cost = 160
	modifier = {
			ship_fire_rate_mult= @penet_S2			

		}
	prerequisites = { "tech_Tacticalrate_2" }
	component_set = "Tacticalrate_2"
}

# Ceramo-Metal Tacticalrate
utility_component_template = {
	key = "SMALL_Tacticalrate_3"
	size = small
	icon = "GFX_ship_part_shield_3"
	icon_frame = 1
	power = @power_S
	cost = @cost_S
	modifier = {
			ship_fire_rate_mult= @penet_S3			

		}
	prerequisites = { "tech_Tacticalrate_3" }
	component_set = "Tacticalrate_3"
}

utility_component_template = {
	key = "MEDIUM_Tacticalrate_3"
	size = medium
	icon = "GFX_ship_part_shield_3"
	icon_frame = 1
	power = @power_M
	cost = @cost_M
	modifier = {
			ship_fire_rate_mult= @penet_S3			

		}
	prerequisites = { "tech_Tacticalrate_3" }
	component_set = "Tacticalrate_3"
}

utility_component_template = {
	key = "large_Tacticalrate_3"
	size = large
	icon = "GFX_ship_part_shield_3"
	icon_frame = 1
	power = @power_M
	cost = 160
	modifier = {
			ship_fire_rate_mult= @penet_S3			

		}
	prerequisites = { "tech_Tacticalrate_3" }
	component_set = "Tacticalrate_3"
}

# Nanocomposite Tacticalrate
utility_component_template = {
	key = "SMALL_Tacticalrate_4"
	size = small
	icon = "GFX_ship_part_shield_4"
	icon_frame = 1
	power = @power_S
	cost = @cost_S
	modifier = {
			ship_fire_rate_mult= @penet_S4			

		}
	prerequisites = { "tech_Tacticalrate_4" }
	component_set = "Tacticalrate_4"
}

utility_component_template = {
	key = "MEDIUM_Tacticalrate_4"
	size = medium
	icon = "GFX_ship_part_shield_4"
	icon_frame = 1
	power = @power_M
	cost = @cost_M
	modifier = {
			ship_fire_rate_mult= @penet_S4			

		}
	prerequisites = { "tech_Tacticalrate_4" }
	component_set = "Tacticalrate_4"
}

utility_component_template = {
	key = "large_Tacticalrate_4"
	size = large
	icon = "GFX_ship_part_shield_4"
	icon_frame = 1
	power = @power_M
	cost = 160
	modifier = {
			ship_fire_rate_mult= @penet_S4			

		}
	prerequisites = { "tech_Tacticalrate_4" }
	component_set = "Tacticalrate_4"
}

# Neutronium Tacticalrate
utility_component_template = {
	key = "SMALL_Tacticalrate_5"
	size = small
	icon = "GFX_ship_part_shield_5"
	icon_frame = 1
	power = @power_S
	cost = @cost_S
	modifier = {
			ship_fire_rate_mult= @penet_S5			

		}
	prerequisites = { "tech_Tacticalrate_5" }
	component_set = "Tacticalrate_5"
}

utility_component_template = {
	key = "MEDIUM_Tacticalrate_5"
	size = medium
	icon = "GFX_ship_part_shield_5"
	icon_frame = 1
	power = @power_M
	cost = @cost_M
	modifier = {
			ship_fire_rate_mult= @penet_S5		

		}
	prerequisites = { "tech_Tacticalrate_5" }
	component_set = "Tacticalrate_5"
}

utility_component_template = {
	key = "large_Tacticalrate_5"
	size = large
	icon = "GFX_ship_part_shield_5"
	icon_frame = 1
	power = @power_M
	cost = 160
	modifier = {
			ship_fire_rate_mult= @penet_S5		

		}
	prerequisites = { "tech_Tacticalrate_5" }
	component_set = "Tacticalrate_5"
}
