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

#############
#	DCshield	#
#############

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


@power_S = -24
@power_M = -24
@power_L = -24


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

@cost_S = 12
@cost_M = 100
@cost_L = 220

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

utility_component_template = {
	can_recharge_shield = yes
	key = "SMALL_DCshield_1"
	size = small
	icon = "GFX_ship_part_blue_crystal_weapon_1"
	icon_frame = 1
	power = @power_S
	cost = @cost_S	
	ship_modifier = {
		ship_shield_regen_add = 10	
		ship_shield_hp_mult = -0.15
	}
	prerequisites = { "tech_DCshield_1" }
	component_set = "DCshield_1"
}

utility_component_template = {
	can_recharge_shield = yes
	key = "MEDIUM_DCshield_1"
	size = medium
	icon = "GFX_ship_part_blue_crystal_weapon_1"
	icon_frame = 1
	power = @power_M
	cost = @cost_M
	ship_modifier = {
		ship_shield_regen_add = 40
		ship_shield_hp_mult = -0.15
	}
	prerequisites = { "tech_DCshield_1" }
	component_set = "DCshield_1"
}

utility_component_template = {
	can_recharge_shield = yes
	key = "LARGE_DCshield_1"
	size = large
	icon = "GFX_ship_part_blue_crystal_weapon_1"
	icon_frame = 1
	power = @power_L
	cost = @cost_L
	ship_modifier = {
		ship_shield_regen_add = 80
		ship_shield_hp_mult = -0.15
	}
	prerequisites = { "tech_DCshield_1" }
	component_set = "DCshield_1"
}

utility_component_template = {
	can_recharge_shield = yes
	key = "SMALL_DCshield_2"
	size = small
	icon = "GFX_ship_part_green_crystal_weapon_1"
	icon_frame = 1
	power = @power_S
	cost = @cost_S
	ship_modifier = {
			ship_shield_regen_add = 15
			ship_shield_hp_mult = -0.20
		}
	prerequisites = { "tech_DCshield_2" }
	component_set = "DCshield_2"
}

utility_component_template = {
	can_recharge_shield = yes
	key = "MEDIUM_DCshield_2"
	size = medium
	icon = "GFX_ship_part_green_crystal_weapon_1"
	icon_frame = 1
	power = @power_M
	cost = @cost_M
	ship_modifier = {
		ship_shield_regen_add = 60
		ship_shield_hp_mult = -0.20
	}
	prerequisites = { "tech_DCshield_2" }
	component_set = "DCshield_2"
}

utility_component_template = {
	can_recharge_shield = yes
	key = "LARGE_DCshield_2"
	size = large
	icon = "GFX_ship_part_green_crystal_weapon_1"
	icon_frame = 1
	power = @power_L
	cost = @cost_L
	ship_modifier = {
		ship_shield_regen_add = 120
		ship_shield_hp_mult = -0.20
	}
	prerequisites = { "tech_DCshield_2" }
	component_set = "DCshield_2"
}

utility_component_template = {
	can_recharge_shield = yes
	key = "SMALL_DCshield_3"
	size = small
	icon = "GFX_ship_part_yellow_crystal_weapon_1"
	icon_frame = 1
	power = @power_S
	cost = @cost_S
	ship_modifier = {
			ship_shield_regen_add = 20
			ship_shield_hp_mult = -0.25
		}
	prerequisites = { "tech_DCshield_3" }
	component_set = "DCshield_3"
}

utility_component_template = {
	can_recharge_shield = yes
	key = "MEDIUM_DCshield_3"
	size = medium
	icon = "GFX_ship_part_yellow_crystal_weapon_1"
	icon_frame = 1
	power = @power_M
	cost = @cost_M
	ship_modifier = {
		ship_shield_regen_add = 80
		ship_shield_hp_mult = -0.25
	}
	prerequisites = { "tech_DCshield_3" }
	component_set = "DCshield_3"
}

utility_component_template = {
	can_recharge_shield = yes
	key = "LARGE_DCshield_3"
	size = large
	icon = "GFX_ship_part_yellow_crystal_weapon_1"
	icon_frame = 1
	power = @power_L
	cost = @cost_L
	ship_modifier = {
		ship_shield_regen_add = 160
		ship_shield_hp_mult = -0.25
	}
	prerequisites = { "tech_DCshield_3" }
	component_set = "DCshield_3"
}
