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

#############
#	Tacticalaccelerator	#
#############

@penet_S1 = 0.1
@penet_S2 = 0.15
@penet_S3 = 0.2
@penet_S4 = 0.25
@penet_S5 = 0.3

@rotation1 = 0.01
@rotation2 = 0.015
@rotation3 = 0.02
@rotation4 = 0.025
@rotation5 = 0.03

@power_S = -12
@power_M = -12


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

@cost_S = 5
@cost_M = 50


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

# Plasteel Tacticalaccelerator
utility_component_template = {
	key = "SMALL_Tacticalaccelerator_1"
	size = small
	icon = "GFX_ship_part_warp_drive_1"
	icon_frame = 1
	power = @power_S
	cost = @cost_S
	modifier = {
		ship_combat_speed_mult = @penet_S1			
		ship_combat_rotation_speed_mult = @rotation1
		}
		
	prerequisites = { "tech_Tacticalaccelerator_1" }
	component_set = "Tacticalaccelerator_1"
}

utility_component_template = {
	key = "MEDIUM_Tacticalaccelerator_1"
	size = medium
	icon = "GFX_ship_part_warp_drive_1"
	icon_frame = 1
	power = @power_M
	cost = @cost_M
	modifier = {
			ship_combat_speed_mult = @penet_S1			
			ship_combat_rotation_speed_mult = @rotation1
		}
	prerequisites = { "tech_Tacticalaccelerator_1" }
	component_set = "Tacticalaccelerator_1"
}

utility_component_template = {
	key = "large_Tacticalaccelerator_1"
	size = large
	icon = "GFX_ship_part_warp_drive_1"
	icon_frame = 1
	power = @power_M
	cost = 100
	modifier = {
			ship_combat_speed_mult = @penet_S1			
			ship_combat_rotation_speed_mult = @rotation1
		}
	prerequisites = { "tech_Tacticalaccelerator_1" }
	component_set = "Tacticalaccelerator_1"
}

# Durasteel Tacticalaccelerator
utility_component_template = {
	key = "SMALL_Tacticalaccelerator_2"
	size = small
	icon = "GFX_ship_part_warp_drive_2"
	icon_frame = 1
	power = @power_S
	cost = @cost_S
	modifier = {
			ship_combat_speed_mult = @penet_S2			
			ship_combat_rotation_speed_mult = @rotation2
		}
	prerequisites = { "tech_Tacticalaccelerator_2" }
	component_set = "Tacticalaccelerator_2"
}

utility_component_template = {
	key = "MEDIUM_Tacticalaccelerator_2"
	size = medium
	icon = "GFX_ship_part_warp_drive_2"
	icon_frame = 1
	power = @power_M
	cost = @cost_M
	modifier = {
			ship_combat_speed_mult = @penet_S2			
			ship_combat_rotation_speed_mult = @rotation2
		}
	prerequisites = { "tech_Tacticalaccelerator_2" }
	component_set = "Tacticalaccelerator_2"
}

utility_component_template = {
	key = "large_Tacticalaccelerator_2"
	size = large
	icon = "GFX_ship_part_warp_drive_2"
	icon_frame = 1
	power = @power_M
	cost = 100
	modifier = {
			ship_combat_speed_mult = @penet_S2			
			ship_combat_rotation_speed_mult = @rotation2
		}
	prerequisites = { "tech_Tacticalaccelerator_2" }
	component_set = "Tacticalaccelerator_2"
}

# Ceramo-Metal Tacticalaccelerator
utility_component_template = {
	key = "SMALL_Tacticalaccelerator_3"
	size = small
	icon = "GFX_ship_part_warp_drive_3"
	icon_frame = 1
	power = @power_S
	cost = @cost_S
	modifier = {
			ship_combat_speed_mult = @penet_S3			
			ship_combat_rotation_speed_mult = @rotation3
		}
	prerequisites = { "tech_Tacticalaccelerator_3" }
	component_set = "Tacticalaccelerator_3"
}

utility_component_template = {
	key = "MEDIUM_Tacticalaccelerator_3"
	size = medium
	icon = "GFX_ship_part_warp_drive_3"
	icon_frame = 1
	power = @power_M
	cost = @cost_M
	modifier = {
			ship_combat_speed_mult = @penet_S3			
			ship_combat_rotation_speed_mult = @rotation3
		}
	prerequisites = { "tech_Tacticalaccelerator_3" }
	component_set = "Tacticalaccelerator_3"
}

utility_component_template = {
	key = "large_Tacticalaccelerator_3"
	size = large
	icon = "GFX_ship_part_warp_drive_3"
	icon_frame = 1
	power = @power_M
	cost = 100
	modifier = {
			ship_combat_speed_mult = @penet_S3			
			ship_combat_rotation_speed_mult = @rotation3
		}
	prerequisites = { "tech_Tacticalaccelerator_3" }
	component_set = "Tacticalaccelerator_3"
}


# Nanocomposite Tacticalaccelerator
utility_component_template = {
	key = "SMALL_Tacticalaccelerator_4"
	size = small
	icon = "GFX_ship_part_hyper_drive_1"
	icon_frame = 1
	power = @power_S
	cost = @cost_S
	modifier = {
			ship_combat_speed_mult = @penet_S4			
			ship_combat_rotation_speed_mult = @rotation4
		}
	prerequisites = { "tech_Tacticalaccelerator_4" }
	component_set = "Tacticalaccelerator_4"
}

utility_component_template = {
	key = "MEDIUM_Tacticalaccelerator_4"
	size = medium
	icon = "GFX_ship_part_hyper_drive_1"
	icon_frame = 1
	power = @power_M
	cost = @cost_M
	modifier = {
			ship_combat_speed_mult = @penet_S4			
			ship_combat_rotation_speed_mult = @rotation4
		}
	prerequisites = { "tech_Tacticalaccelerator_4" }
	component_set = "Tacticalaccelerator_4"
}

utility_component_template = {
	key = "large_Tacticalaccelerator_4"
	size = large
	icon = "GFX_ship_part_hyper_drive_1"
	icon_frame = 1
	power = @power_M
	cost = 100
	modifier = {
			ship_combat_speed_mult = @penet_S4			
			ship_combat_rotation_speed_mult = @rotation4
		}
	prerequisites = { "tech_Tacticalaccelerator_4" }
	component_set = "Tacticalaccelerator_4"
}

# Neutronium Tacticalaccelerator
utility_component_template = {
	key = "SMALL_Tacticalaccelerator_5"
	size = small
	icon = "GFX_ship_part_hyper_drive_2"
	icon_frame = 1
	power = @power_S
	cost = @cost_S
	modifier = {
			ship_combat_speed_mult = @penet_S5			
			ship_combat_rotation_speed_mult = @rotation5
		}
	prerequisites = { "tech_Tacticalaccelerator_5" }
	component_set = "Tacticalaccelerator_5"
}

utility_component_template = {
	key = "MEDIUM_Tacticalaccelerator_5"
	size = medium
	icon = "GFX_ship_part_hyper_drive_2"
	icon_frame = 1
	power = @power_M
	cost = @cost_M
	modifier = {
			ship_combat_speed_mult = @penet_S5			
			ship_combat_rotation_speed_mult = @rotation5
		}
	prerequisites = { "tech_Tacticalaccelerator_5" }
	component_set = "Tacticalaccelerator_5"
}

utility_component_template = {
	key = "large_Tacticalaccelerator_5"
	size = large
	icon = "GFX_ship_part_hyper_drive_2"
	icon_frame = 1
	power = @power_M
	cost = 100
	modifier = {
			ship_combat_speed_mult = @penet_S5			
			ship_combat_rotation_speed_mult = @rotation5
		}
	prerequisites = { "tech_Tacticalaccelerator_5" }
	component_set = "Tacticalaccelerator_5"
}
