# 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 = 3000
@power_M1 = 4000
@power_L1 = 5000

@titan_power_1 = 20000

@colossus_power = 20000

@platform_power_1 = 20000

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

@cost_S1 = 5
@cost_M1 = 10
@cost_L1 = 20

@titan_cost_1 = 40

@colossus_cost_1 = 0

@platform_cost_1 = 40




# SHISHEN_power_core
utility_component_template = {
	key = "SHISHEN_SMALL_DC"
	size = small
	icon = "GFX_ship_part_shishen_power_1"
	icon_frame = 1
	power = @power_S1
	resources = {
		category = ship_components
		cost = {
			alloys = @cost_S1
		}		
		upkeep = {
			energy = 0.01
			alloys = 0.01
		}
	}
	
	prerequisites = { "tech_black_tech"  }
	component_set = "power_core"
	size_restriction = { corvette colonizer constructor science transport frigate }
    ai_weight = {
		weight = 0
	}
	should_ai_use = no


}

utility_component_template = {
	key = "SHISHEN_MEDIUM_DC"
	size = small
	icon = "GFX_ship_part_shishen_power_1"
	icon_frame = 1
	power = @power_M1
		resources = {
		category = ship_components
		cost = {
			alloys = @cost_M1
		}		
		upkeep = {
			energy = 0.01
			alloys = 0.01
		}
	}
	component_set = "power_core"
	prerequisites = { "tech_black_tech"  }
	size_restriction = { destroyer cruiser }
	should_ai_use = no
	ai_weight = {
		weight = 0
	}

}

utility_component_template = {
	key = "SHISHEN_LARGE_DC"
	size = large
	icon = "GFX_ship_part_shishen_power_1"
	icon_frame = 1
	power = @power_L1
		resources = {
		category = ship_components
		cost = {
			alloys = @cost_L1
		}		
		upkeep = {
			energy = 0.01
			alloys = 0.01
		}
	}
	component_set = "power_core"
	prerequisites = { "tech_black_tech"  }
	size_restriction = { battleship }
	should_ai_use = no
	ai_weight = {
		weight = 0
	}

}

utility_component_template = {
	key = "SHISHEN_TITAN_POWER"
	size = small
	icon = "GFX_ship_part_shishen_power_1"
	icon_frame = 1
	power = @titan_power_1
		resources = {
		category = ship_components
		cost = {
			alloys = @titan_cost_1
		}		
		upkeep = {
			energy = 0.01
			alloys = 0.01
		}
	}
	prerequisites = { "tech_black_tech" }
	component_set = "power_core"
	size_restriction = { titan }
	
	ai_weight = {
		weight = 0
	}
	should_ai_use = no
}

utility_component_template = {
	key = "SHISHEN_PLATFORM_POWER"
	size = large
	icon = "GFX_ship_part_shishen_power_1"
	icon_frame = 1
	power = @platform_power_1
		resources = {
		category = ship_components
		cost = {
			alloys = @platform_cost_1
		}		
		upkeep = {
			energy = 0.01
			alloys = 0.01
		}
	}

	prerequisites = { "tech_black_tech" }
	class_restriction = { shipclass_military_station }
	size_restriction = {
		military_station_small
		military_station_medium
		military_station_large
	}
	component_set = "power_core"
	ai_weight = {
		weight = 0
	}
	should_ai_use = no

}

utility_component_template = {
	key = "SHISHEN_COLOSSUS_POWER"
	size = small
	icon = "GFX_ship_part_shishen_power_1"
	icon_frame = 1
	power = @colossus_power
		resources = {
		category = ship_components
		cost = {
			alloys = 0
		}		
		upkeep = {
			energy = 0
			alloys = 0
		}
	}

	component_set = "power_core"
	size_restriction = { colossus juggernaut }
	ai_weight = {
		weight = 0
	}
	should_ai_use = no
}

utility_component_template = {
	key = "SHISHEN_ION_CANNON"
	size = small
	icon = "GFX_ship_part_shishen_power_1"
	icon_frame = 1
	power = @colossus_power
		resources = {
		category = ship_components
		cost = {
			alloys = 0
		}		
		upkeep = {
			energy = 0
			alloys = 0
		}
	}

	component_set = "power_core"
	size_restriction = { ion_cannon }
	ai_weight = {
		weight = 0
	}
	should_ai_use = no
}

