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

#############
#	ARMOR	#
#############

@armor_1S = 1
@armor_1M = 2
@armor_1L = 4

@armor_2S = 2
@armor_2M = 4
@armor_2L = 8

@armor_3S = 3
@armor_3M = 6
@armor_3L = 12

@armor_4S = 4
@armor_4M = 8
@armor_4L = 16

@armor_5S = 5
@armor_5M = 10
@armor_5L = 20

@armor_6S = 25
@armor_6M = 50
@armor_6L = 100

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

@cost_1S = 2
@cost_1M = 4
@cost_1L = 8

@cost_2S = 4
@cost_2M = 8
@cost_2L = 16

@cost_3S = 6
@cost_3M = 12
@cost_3L = 24

@cost_4S = 8
@cost_4M = 16
@cost_4L = 32

@cost_5S = 10
@cost_5M = 20
@cost_5L = 40

#############
# UTILITIES #
#############
# Neutronium Armor
utility_component_template = {
	key = "SMALL_ARMOR"
	size = small
	icon = "GFX_ship_part_armor_5"
	icon_frame = 1
	power = 0
	cost = @cost_1S
	armor_value = @armor_6S
	
	prerequisites = { "tech_black_tech" }
	component_set = "ARMOR"
	ai_weight = {
    weight = 0
    }
	allow = {
    is_ai = no
    }
}

utility_component_template = {
	key = "MEDIUM_ARMOR"
	size = medium
	icon = "GFX_ship_part_armor_5"
	icon_frame = 1
	power = 0
	cost = @cost_1M
	armor_value = @armor_6M
	
	prerequisites = { "tech_black_tech" }
	component_set = "ARMOR"
	ai_weight = {
    weight = 0
    }
	allow = {
    is_ai = no
    }
}

utility_component_template = {
	key = "LARGE_ARMOR"
	size = large
	icon = "GFX_ship_part_armor_5"
	icon_frame = 1
	power = 0
	cost = @cost_1L
	armor_value = @armor_6L
	
	prerequisites = { "tech_black_tech" }
	component_set = "ARMOR"
	ai_weight = {
    weight = 0
    }
	allow = {
    is_ai = no
    }
}


utility_component_template = {
key = "Heaven_Armory_SMALL"
size = small
icon = "GFX_ship_part_crystal_armor_2"
icon_frame = 1
power = 0
cost = 10

modifier = {
ship_hitpoints_add = 20000
}

component_set = "Heaven_Armory"
prerequisites = { "tech_black_tech"  }
ai_weight = {
weight = 0
}
allow = {
    is_ai = no
    }
}


utility_component_template = {
key = "Heaven_Armory_MEDIUM"
size = medium
icon = "GFX_ship_part_crystal_armor_2"
icon_frame = 1
power = 0
cost = 20

modifier = {
ship_hitpoints_add = 40000
}

component_set = "Heaven_Armory"
prerequisites = { "tech_black_tech"  }
ai_weight = {
weight = 0
}
allow = {
    is_ai = no
    }
}


utility_component_template = {
key = "Heaven_Armory_LARGE"
size = large
icon = "GFX_ship_part_crystal_armor_2"
icon_frame = 1
power = 0
cost = 30

modifier = {
ship_hitpoints_add = 80000
}

component_set = "Heaven_Armory"
prerequisites = { "tech_black_tech"  }
ai_weight = {
weight = 0
}
allow = {
    is_ai = no
    }
}