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

#############
#	POWER	#
#############

@power_S1 = -5
@power_M1 = -10
@power_L1 = -20
             
@power_S2 = -7.5
@power_M2 = -15
@power_L2 = -30
             
@power_S3 = -10
@power_M3 = -20
@power_L3 = -40
             
@power_S4 = -12.5
@power_M4 = -25
@power_L4 = -50
             
@power_S5 = -15
@power_M5 = -30
@power_L5 = -60

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

@cost_S1 = 5
@cost_M1 = 10
@cost_L1 = 20
           
@cost_S2 = 7.5
@cost_M2 = 15
@cost_L2 = 30
           
@cost_S3 = 10
@cost_M3 = 20
@cost_L3 = 40
           
@cost_S4 = 12.5
@cost_M4 = 25
@cost_L4 = 50
           
@cost_S5 = 15
@cost_M5 = 30
@cost_L5 = 60

#############
#	SHIELD	#
#############

@shield_S1 = 25
@shield_M1 = 50
@shield_L1 = 100

@shield_S2 = 50
@shield_M2 = 100
@shield_L2 = 200

@shield_S3 = 75
@shield_M3 = 150
@shield_L3 = 300

@shield_S4 = 100
@shield_M4 = 200
@shield_L4 = 400

@shield_S5 = 125
@shield_M5 = 250
@shield_L5 = 500

@shield_S6 = 625
@shield_M6 = 1250
@shield_L6 = 2500
#############
# UTILITIES #
#############



# Deflectors
utility_component_template = {
	key = "SMALL_SHIELD"
	size = small
	icon = "GFX_ship_part_shield_5"
	icon_frame = 1
	power = @power_S1
	cost = @cost_S1
	modifier = {
		ship_shield_hp_add = @shield_S6
		ship_shield_regen_add = 50.0 #Regeneration per day
	}
	component_set = "SHIELD"
	prerequisites = { "tech_black_tech"  }
	ai_weight = {
    weight = 0
    }
	allow = {
    is_ai = no
    }
}

utility_component_template = {
	key = "MEDIUM_SHIELD"
	size = medium
	icon = "GFX_ship_part_shield_5"
	icon_frame = 1
	power = @power_M1
	cost = @cost_M1
	modifier = {
		ship_shield_hp_add = @shield_M6
		ship_shield_regen_add = 100.0 #Regeneration per day
	}
	component_set = "SHIELD"
	prerequisites = { "tech_black_tech"  }
	ai_weight = {
    weight = 0
    }
	allow = {
    is_ai = no
    }
}

utility_component_template = {
	key = "LARGE_SHIELD"
	size = large
	icon = "GFX_ship_part_shield_5"
	icon_frame = 1
	power = @power_L1
	cost = @cost_L1
	modifier = {
		ship_shield_hp_add = @shield_L6
		ship_shield_regen_add = 150.0 #Regeneration per day
	}
	component_set = "SHIELD"
	prerequisites = { "tech_black_tech"  }
	ai_weight = {
    weight = 0
    }
	allow = {
    is_ai = no
    }
}