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

#############
#	Tacticalavoid	#
#############

@penet_S1 = 5
@penet_S2 = 7
@penet_S3 = 10
@penet_S4 = 12
@penet_S5 = 15


@power_S = -17
@power_M = -17


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

@cost_S = 60
@cost_M = 120


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

# Plasteel Tacticalavoid
utility_component_template = {
	key = "SMALL_Tacticalavoid_1"
	size = small
	icon = "GFX_ship_part_thruster_1"
	icon_frame = 1
	power = @power_S
	cost = @cost_S
	modifier = {
			ship_evasion_add = @penet_S1			
		}
	prerequisites = { "tech_Tacticalaccelerator_1" }
	component_set = "Tacticalavoid_1"
}

utility_component_template = {
	key = "MEDIUM_Tacticalavoid_1"
	size = medium
	icon = "GFX_ship_part_thruster_1"
	icon_frame = 1
	power = @power_M
	cost = @cost_M
	modifier = {
			ship_evasion_add = @penet_S1			
		}
	ai_weight = {
		weight = 0
	}
	prerequisites = { "tech_Tacticalaccelerator_1" }
	component_set = "Tacticalavoid_1"
}

utility_component_template = {
	key = "large_Tacticalavoid_1"
	size = large
	icon = "GFX_ship_part_thruster_1"
	icon_frame = 1
	power = @power_M
	cost = @cost_M
	modifier = {
			ship_evasion_add = @penet_S1			
		}
	ai_weight = {
		weight = 0
	}
	prerequisites = { "tech_Tacticalaccelerator_1" }
	component_set = "Tacticalavoid_1"
}

# Durasteel Tacticalavoid
utility_component_template = {
	key = "SMALL_Tacticalavoid_2"
	size = small
	icon = "GFX_ship_part_thruster_1"
	icon_frame = 1
	power = @power_S
	cost = @cost_S
	modifier = {
			ship_evasion_add = @penet_S2			
		}
	prerequisites = { "tech_Tacticalaccelerator_2" }
	component_set = "Tacticalavoid_2"
}

utility_component_template = {
	key = "MEDIUM_Tacticalavoid_2"
	size = medium
	icon = "GFX_ship_part_thruster_1"
	icon_frame = 1
	power = @power_M
	cost = @cost_M
	modifier = {
			ship_evasion_add = @penet_S2			
		}
	ai_weight = {
		weight = 0
	}
	prerequisites = { "tech_Tacticalaccelerator_2" }
	component_set = "Tacticalavoid_2"
}

utility_component_template = {
	key = "large_Tacticalavoid_2"
	size = large
	icon = "GFX_ship_part_thruster_1"
	icon_frame = 1
	power = @power_M
	cost = @cost_M
	modifier = {
			ship_evasion_add = @penet_S2			
		}
	ai_weight = {
		weight = 0
	}
	prerequisites = { "tech_Tacticalaccelerator_2" }
	component_set = "Tacticalavoid_2"
}

# Ceramo-Metal Tacticalavoid
utility_component_template = {
	key = "SMALL_Tacticalavoid_3"
	size = small
	icon = "GFX_ship_part_thruster_2"
	icon_frame = 1
	power = @power_S
	cost = @cost_S
	modifier = {
			ship_evasion_add = @penet_S3			
		}
	prerequisites = { "tech_Tacticalaccelerator_3" }
	component_set = "Tacticalavoid_3"
}

utility_component_template = {
	key = "MEDIUM_Tacticalavoid_3"
	size = medium
	icon = "GFX_ship_part_thruster_2"
	icon_frame = 1
	power = @power_M
	cost = @cost_M
	modifier = {
			ship_evasion_add = @penet_S3			
		}
	ai_weight = {
		weight = 0
	}
	prerequisites = { "tech_Tacticalaccelerator_3" }
	component_set = "Tacticalavoid_3"
}

utility_component_template = {
	key = "large_Tacticalavoid_3"
	size = large
	icon = "GFX_ship_part_thruster_2"
	icon_frame = 1
	power = @power_M
	cost = @cost_M
	modifier = {
			ship_evasion_add = @penet_S3			
		}
	ai_weight = {
		weight = 0
	}
	prerequisites = { "tech_Tacticalaccelerator_3" }
	component_set = "Tacticalavoid_3"
}

# Nanocomposite Tacticalavoid
utility_component_template = {
	key = "SMALL_Tacticalavoid_4"
	size = small
	icon = "GFX_ship_part_thruster_3"
	icon_frame = 1
	power = @power_S
	cost = @cost_S
	modifier = {
			ship_evasion_add = @penet_S4			
		}
	prerequisites = { "tech_Tacticalaccelerator_4" }
	component_set = "Tacticalavoid_4"
}

utility_component_template = {
	key = "MEDIUM_Tacticalavoid_4"
	size = medium
	icon = "GFX_ship_part_thruster_3"
	icon_frame = 1
	power = @power_M
	cost = @cost_M
	modifier = {
			ship_evasion_add = @penet_S4			
		}
	ai_weight = {
		weight = 0
	}
	prerequisites = { "tech_Tacticalaccelerator_4" }
	component_set = "Tacticalavoid_4"
}

utility_component_template = {
	key = "large_Tacticalavoid_4"
	size = large
	icon = "GFX_ship_part_thruster_3"
	icon_frame = 1
	power = @power_M
	cost = @cost_M
	modifier = {
			ship_evasion_add = @penet_S4			
		}
	ai_weight = {
		weight = 0
	}
	prerequisites = { "tech_Tacticalaccelerator_4" }
	component_set = "Tacticalavoid_4"
}

# Neutronium Tacticalavoid
utility_component_template = {
	key = "SMALL_Tacticalavoid_5"
	size = small
	icon = "GFX_ship_part_thruster_4"
	icon_frame = 1
	power = @power_S
	cost = @cost_S
	modifier = {
			ship_evasion_add = @penet_S5			
		}
	prerequisites = { "tech_Tacticalaccelerator_5" }
	component_set = "Tacticalavoid_5"
}

utility_component_template = {
	key = "MEDIUM_Tacticalavoid_5"
	size = medium
	icon = "GFX_ship_part_thruster_4"
	icon_frame = 1
	power = @power_M
	cost = @cost_M
	modifier = {
			ship_evasion_add = @penet_S5			
		}
	ai_weight = {
		weight = 0
	}
	prerequisites = { "tech_Tacticalaccelerator_5" }
	component_set = "Tacticalavoid_5"
}

utility_component_template = {
	key = "large_Tacticalavoid_5"
	size = large
	icon = "GFX_ship_part_thruster_4"
	icon_frame = 1
	power = @power_M
	cost = @cost_M
	modifier = {
			ship_evasion_add = @penet_S5			
		}
	ai_weight = {
		weight = 0
	}
	prerequisites = { "tech_Tacticalaccelerator_5" }
	component_set = "Tacticalavoid_5"
}
