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

#############
#	HA	#
#############

@HA_1S = 5
@HA_1M = 11

@HA_2S = 6
@HA_2M = 12

@HA_3S = 7
@HA_3M = 13

@HA_4S = 8
@HA_4M = 14

@HA_5S = 10
@HA_5M = 15

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

@cost_1S = 12
@cost_1M = 30

@cost_2S = 12
@cost_2M = 30

@cost_3S = 12
@cost_3M = 30

@cost_4S = 12
@cost_4M = 30

@cost_5S = 12
@cost_5M = 30

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

# Plasteel HA
utility_component_template = {
	key = "SMALL_HA_1"
	size = small
	icon = "GFX_ship_part_armor_1"
	icon_frame = 1
	power = 0
	cost = @cost_1S
	armor_value = @HA_1S
	
	prerequisites = { "tech_ship_heavyarmor_1" }
	component_set = "HA_1"
}

utility_component_template = {
	key = "MEDIUM_HA_1"
	size = medium
	icon = "GFX_ship_part_armor_1"
	icon_frame = 1
	power = 0
	cost = @cost_1M
	armor_value = @HA_1M
	
	prerequisites = { "tech_ship_heavyarmor_1" }
	component_set = "HA_1"
}

utility_component_template = {
	key = "LARGE_HA_1"
	size = large
	icon = "GFX_ship_part_armor_1"
	icon_frame = 1
	power = 0
	cost = 60
	armor_value = 15
	
	prerequisites = { "tech_ship_heavyarmor_1" }
	component_set = "HA_1"
}

# Durasteel HA
utility_component_template = {
	key = "SMALL_HA_2"
	size = small
	icon = "GFX_ship_part_armor_2"
	icon_frame = 1
	power = 0
	cost = @cost_2S
	armor_value = @HA_2S
	
	prerequisites = { "tech_ship_heavyarmor_2" }
	component_set = "HA_2"
}

utility_component_template = {
	key = "MEDIUM_HA_2"
	size = medium
	icon = "GFX_ship_part_armor_2"
	icon_frame = 1
	power = 0
	cost = @cost_2M
	armor_value = @HA_2M
	
	prerequisites = { "tech_ship_heavyarmor_2" }
	component_set = "HA_2"
}

utility_component_template = {
	key = "LARGE_HA_2"
	size = large
	icon = "GFX_ship_part_armor_2"
	icon_frame = 1
	power = 0
	cost = 60
	armor_value = 18
	
	prerequisites = { "tech_ship_heavyarmor_2" }
	component_set = "HA_2"
}

# Ceramo-Metal HA
utility_component_template = {
	key = "SMALL_HA_3"
	size = small
	icon = "GFX_ship_part_armor_3"
	icon_frame = 1
	power = 0
	cost = @cost_3S
	armor_value = @HA_3S
	
	prerequisites = { "tech_ship_heavyarmor_3" }
	component_set = "HA_3"
}

utility_component_template = {
	key = "MEDIUM_HA_3"
	size = medium
	icon = "GFX_ship_part_armor_3"
	icon_frame = 1
	power = 0
	cost = @cost_3M
	armor_value = @HA_3M
	
	prerequisites = { "tech_ship_heavyarmor_3" }
	component_set = "HA_3"
}

utility_component_template = {
	key = "LARGE_HA_3"
	size = large
	icon = "GFX_ship_part_armor_3"
	icon_frame = 1
	power = 0
	cost = 60
	armor_value = 22
	
	prerequisites = { "tech_ship_heavyarmor_3" }
	component_set = "HA_3"
}

# Nanocomposite HA
utility_component_template = {
	key = "SMALL_HA_4"
	size = small
	icon = "GFX_ship_part_armor_4"
	icon_frame = 1
	power = 0
	cost = @cost_4S
	armor_value = @HA_4S
	
	prerequisites = { "tech_ship_heavyarmor_4" }
	component_set = "HA_4"
}

utility_component_template = {
	key = "MEDIUM_HA_4"
	size = medium
	icon = "GFX_ship_part_armor_4"
	icon_frame = 1
	power = 0
	cost = @cost_4M
	armor_value = @HA_4M
	
	prerequisites = { "tech_ship_heavyarmor_4" }
	component_set = "HA_4"
}

utility_component_template = {
	key = "LARGE_HA_4"
	size = large
	icon = "GFX_ship_part_armor_4"
	icon_frame = 1
	power = 0
	cost = 60
	armor_value = 26
	
	prerequisites = { "tech_ship_heavyarmor_4" }
	component_set = "HA_4"
}

# Neutronium HA
utility_component_template = {
	key = "SMALL_HA_5"
	size = small
	icon = "GFX_ship_part_armor_5"
	icon_frame = 1
	power = 0
	cost = @cost_5S
	armor_value = @HA_5S
	
	prerequisites = { "tech_ship_heavyarmor_5" }
	component_set = "HA_5"
}

utility_component_template = {
	key = "MEDIUM_HA_5"
	size = medium
	icon = "GFX_ship_part_armor_5"
	icon_frame = 1
	power = 0
	cost = @cost_5M
	armor_value = @HA_5M
	
	prerequisites = { "tech_ship_heavyarmor_5" }
	component_set = "HA_5"
}

utility_component_template = {
	key = "LARGE_HA_5"
	size = large
	icon = "GFX_ship_part_armor_5"
	icon_frame = 1
	power = 0
	cost = 60
	armor_value = 30
	
	prerequisites = { "tech_ship_heavyarmor_5" }
	component_set = "HA_5"
}
