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

# Updated Range on these

# DEFAULT VALUES:
# is_missile = no
# is_beam = no
# is_point_defence = no

#NOTE that values from weapon_components.csv will override values from this file

### Energy Lance
weapon_component_template = {
	key = "SHISHEN_LARGE_ENERGY1"
	size = extra_large
	damage = { min = 2000.0 max = 3000.0 }
	windup = { min = 2.5 max = 17.5 }
	total_fire_time = 90
	range = 200.0
	accuracy = 1
	shield_damage = 2.00
	shield_penetration = 1.00
	armor_penetration = 1.00
	armor_damage = 2.00  
    hull_damage = 2.00        	
    type = instant
	
	firing_arc = 25.0
	min_range = 10.0
	static_rotation = yes
	use_ship_kill_target = no
	
	
	icon = "GFX_ship_part_shishen_X"
	icon_frame = 1
	color = { 0.1 1.0 0.1 1 }
	resources = {
		category = ship_components
		cost = {
			alloys = 6
		}		
		upkeep = {
			energy = 0.1
			alloys = 0.1
		}
	}
	power = -486
	prerequisites = { "tech_black_tech" }
	component_set = "SHISHEN_ENERGY_LANCE"
	projectile_gfx = "dragon_weapon"
	tags = { weapon_type_energy }
	should_ai_use = no

}

### Energy Lance 1
weapon_component_template = {
	key = "SHISHEN_LARGE_ENERGY_1"
	size = large
	entity = "medium_laser_gun_entity"
	damage = { min = 8000.0 max = 10000.0 }
	windup = { min = 2.5 max = 17.5 }
	total_fire_time = 50
	range = 200
    accuracy = 0.80
	tracking = 0.10
	shield_damage = 2.00
	shield_penetration = 1.00
	armor_penetration = 1.00
	armor_damage = 2.00  
    hull_damage = 2.00            
	type = instant
	
	firing_arc = 25.0
	min_range = 10.0
	static_rotation = yes
	use_ship_kill_target = no
	

	
	icon = "GFX_ship_part_shishen_xingjishouwei"
	icon_frame = 1
    color = { 0.1 1.0 0.1 1 }
	power = -243
	resources = {
		category = ship_components
		cost = {
			alloys = 6
		}		
		upkeep = {
			energy = 0.1
			alloys = 0.1
		}
	}
	prerequisites = { "tech_black_tech" }
	component_set = "SHISHEN_LARGE_ENERGY_1"
	projectile_gfx = "stellarite_titan_laser"
	class_restriction = { shipclass_military_station }
	size_restriction = {
		military_station_small
		military_station_medium
		military_station_large
	}
	tags = { weapon_type_energy }
	should_ai_use = no

}


### Energy Lance 2
weapon_component_template = {
	key = "SHISHEN_LARGE_ENERGY_2"
	size = large
	entity = "large_laser_gun_entity"
	damage = { min = 300.0 max = 500.0 }
	windup = { min = 2.5 max = 17.5 }
	total_fire_time = 55
	range = 150
	accuracy = 0.80
	tracking = 0.10
	shield_damage = 2.00
	shield_penetration = 1.00
	armor_damage = 2.00       
	armor_penetration = 1.00
	hull_damage = 2.00        
	type = instant
	
	firing_arc = 25.0
	min_range = 10.0
	static_rotation = yes
	use_ship_kill_target = no
	
	
	
	icon = "GFX_ship_part_shishen_nengliang_L"
	icon_frame = 1
    color = { 0.1 1.0 0.1 1 }
	power = -243
	resources = {
		category = ship_components
		cost = {
			alloys = 6
		}		
		upkeep = {
			energy = 0.1
			alloys = 0.1
		}
	}
	prerequisites = { "tech_black_tech" }
	component_set = "SHISHEN_LARGE_ENERGY_2"
	projectile_gfx = "particle_lance"
	tags = { weapon_type_energy }
	should_ai_use = no

}

# ## Energy Torpedoes 2
weapon_component_template = {
	key = "SHISHEN_LARGE_ENERGY_TORPEDO2"
	size = large
	entity = "turret_energy_torpedo_entity"
	damage = { min = 900.0 max = 1800.0 }
	windup = { min = 2.5 max = 17.5 }
	total_fire_time = 150
	range = 150.0
	accuracy = 0.95
	type = instant
	hull_damage = 2.00
	armor_damage = 2.00
	armor_penetration = 1.00 
    shield_penetration = 1.00
    shield_damage = 2.00 	
	tracking = 0.60
	
	firing_arc = 25.0
	min_range = 10.0
	static_rotation = yes
	use_ship_kill_target = no
	
	
	icon = "GFX_ship_part_shishen_yulei_1"
	icon_frame = 1
	color = { 0.1 1.0 0.1 1 }
	power = -486
		resources = {
		category = ship_components
		cost = {
			alloys = 6
		}		
		upkeep = {
			energy = 0.1
			alloys = 0.1
		}
	}
	prerequisites = { "tech_black_tech" }
	component_set = "SHISHEN_ENERGY_TORPEDO2"
	projectile_gfx = "neutron_torpedoes"
	tags = { weapon_type_energy }
	should_ai_use = no

}


### Point Defence 4
weapon_component_template = {
	key = "SHISHEN_POINT_DEFENCE_4"
	size = point_defence
	entity = "turret_point_defence_entity"
	damage = { min = 10.0 max = 10.0 }
	windup = { min = 2 max = 2 }
	total_fire_time = 3.00
	range = 80
	accuracy = 1.00
	tracking = 1.00
		
	icon = "GFX_ship_part_shishen_dianfang_1"
	icon_frame = 1
	power = -9
	resources = {
		category = ship_components
		cost = {
			alloys = 6
		}		
		upkeep = {
			energy = 0.1
			alloys = 0.1
		}
	}
	prerequisites = { "tech_black_tech" }
	component_set = "SHISHEN_POINT_DEFENCE_4"
	projectile_gfx = "stellarite_pd"
	tags = { weapon_type_point_defense weapon_type_energy }
	should_ai_use = no
	

}

