############
### COST ###
############
@StrikeCruiser_cost1 = 15
@StrikeCruiser_cost2 = 30
@StrikeCruiser_cost3 = 45
@StrikeCruiser_cost4 = 60
@StrikeCruiser_cost5 = 75
@StrikeCruiser_sr_dm_cost = 5

@Battlecruiser_cost1 = 18
@Battlecruiser_cost2 = 36
@Battlecruiser_cost3 = 54
@Battlecruiser_cost4 = 72
@Battlecruiser_cost5 = 90
@Battlecruiser_sr_dm_cost = 6

@battleship_cost1 = 24
@battleship_cost2 = 48
@battleship_cost3 = 72
@battleship_cost4 = 96
@battleship_cost5 = 120
@battleship_sr_dm_cost = 8

@Dreadnought_cost1 = 36
@Dreadnought_cost2 = 72
@Dreadnought_cost3 = 108
@Dreadnought_cost4 = 144
@Dreadnought_cost5 = 180
@Dreadnought_sr_dm_cost = 12

@Flagship_cost1 = 80
@Flagship_cost2 = 140
@Flagship_cost3 = 200
@Flagship_cost4 = 260
@Flagship_cost5 = 320
@Flagship_sr_dm_cost = 32

#############
### POWER ###
#############
@StrikeCruiser_power_1 = -60
@StrikeCruiser_power_2 = -80
@StrikeCruiser_power_3 = -100
@StrikeCruiser_power_4 = -120
@StrikeCruiser_power_5 = -140

@Battlecruiser_power_1 = -70
@Battlecruiser_power_2 = -100
@Battlecruiser_power_3 = -130
@Battlecruiser_power_4 = -160
@Battlecruiser_power_5 = -190

@Carrier_power_1 = -85
@Carrier_power_2 = -125
@Carrier_power_3 = -165
@Carrier_power_4 = -205
@Carrier_power_5 = -245

@Dreadnought_power_1 = -120
@Dreadnought_power_2 = -140
@Dreadnought_power_3 = -180
@Dreadnought_power_4 = -220
@Dreadnought_power_5 = -260

@Flagship_power_1 = -180
@Flagship_power_2 = -260
@Flagship_power_3 = -340
@Flagship_power_4 = -420
@Flagship_power_5 = -500

#############
### SPEED ###
#############
@thruster_2 = 0.25
@thruster_3 = 0.5
@thruster_4 = 0.75
@thruster_5 = 1.25

###############
### EVASION ###
###############
@StrikeCruiser_evade_2 = 3
@StrikeCruiser_evade_3 = 7
@StrikeCruiser_evade_4 = 10
@StrikeCruiser_evade_5 = 14

@Battlecruiser_evade_2 = 2
@Battlecruiser_evade_3 = 5
@Battlecruiser_evade_4 = 7
@Battlecruiser_evade_5 = 10

###########################
### THRUSTER COMPONENTS ###
###########################

### LEVEL 1 ###

utility_component_template = {
	key = "BATTLECRUISER_SHIP_THRUSTER_1"
	size = small
	icon = "GFX_ship_part_thruster_1"
	icon_frame = 1
	
	power = @Battlecruiser_power_1
	resources = {
		category = ship_components
		cost = { alloys = @Battlecruiser_cost1 }
	}

	prerequisites = { "tech_thrusters_1" }
	potential = {
		from = {
			country_uses_bio_ships = no
		}
		ship_uses_battlecruiser_thrusters = yes
	}
	component_set = "thruster_components"
	upgrades_to = "BATTLECRUISER_SHIP_THRUSTER_2"
	
	ai_weight = { weight = 1 }
}

utility_component_template = {
	key = "DREADNOUGHT_SHIP_THRUSTER_1"
	size = small
	icon = "GFX_ship_part_thruster_1"
	icon_frame = 1
	
	power = @Dreadnought_power_1
	resources = {
		category = ship_components
		cost = { alloys = @Dreadnought_cost1 }
	}
	
	prerequisites = { "tech_thrusters_1" }
		potential = {
		from = {
			country_uses_bio_ships = no
		}
		ship_uses_dreadnought_thrusters = yes
	}
	component_set = "thruster_components"
	upgrades_to = "DREADNOUGHT_SHIP_THRUSTER_2"
	
	ai_weight = { weight = 1 }
}

utility_component_template = {
	key = "FLAGSHIP_SHIP_THRUSTER_1"
	size = small
	icon = "GFX_ship_part_thruster_1"
	icon_frame = 1
	
	power = @Flagship_power_1
	resources = {
		category = ship_components
		cost = { alloys = @Flagship_cost1 }
	}

	prerequisites = { "tech_thrusters_1" }
		potential = {
		from = {
			country_uses_bio_ships = no
		}
		ship_uses_flagship_components = yes
	}
	component_set = "thruster_components"
	upgrades_to = "FLAGSHIP_SHIP_THRUSTER_2"
	
	ai_weight = { weight = 1 }
}

### LEVEL 2 ###
utility_component_template = {
	KEY = "BATTLECRUISER_SHIP_THRUSTER_2"
	size = small
	icon = "GFX_ship_part_thruster_2"
	icon_frame = 1
	
	power = @Battlecruiser_power_2
	resources = {
		category = ship_components
		cost = { alloys = @Battlecruiser_cost2 }
	}
	modifier = {
		ship_base_speed_mult = @thruster_2
		ship_evasion_add = @Battlecruiser_evade_2
	}
		
	prerequisites = { "tech_thrusters_2" }
	potential = {
		from = {
			country_uses_bio_ships = no
		}
		ship_uses_battlecruiser_thrusters = yes
	}
	component_set = "thruster_components"
	upgrades_to = "BATTLECRUISER_SHIP_THRUSTER_3"
	
	ai_weight = { weight = 2 }
}

utility_component_template = {
	KEY = "DREADNOUGHT_SHIP_THRUSTER_2"
	size = small
	icon = "GFX_ship_part_thruster_2"
	icon_frame = 1
	
	power = @Dreadnought_power_2
	resources = {
		category = ship_components
		cost = { alloys = @Dreadnought_cost2 }
	}
	modifier = { ship_base_speed_mult = @thruster_2 }
		
	prerequisites = { "tech_thrusters_2" }
		potential = {
		from = {
			country_uses_bio_ships = no
		}
		ship_uses_dreadnought_thrusters = yes
	}
	component_set = "thruster_components"
	upgrades_to = "DREADNOUGHT_SHIP_THRUSTER_3"
	
	ai_weight = { weight = 2 }
}

utility_component_template = {
	KEY = "FLAGSHIP_SHIP_THRUSTER_2"
	size = small
	icon = "GFX_ship_part_thruster_2"
	icon_frame = 1
	
	power = @Flagship_power_2
	resources = {
		category = ship_components
		cost = { alloys = @Flagship_cost2 }
	}
	modifier = { ship_base_speed_mult = @thruster_2 }
		
	prerequisites = { "tech_thrusters_2" }
		potential = {
		from = {
			country_uses_bio_ships = no
		}
		ship_uses_flagship_components = yes
	}
	component_set = "thruster_components"
	upgrades_to = "FLAGSHIP_SHIP_THRUSTER_3"
	
	ai_weight = { weight = 2 }
}

### LEVEL 3 ###
utility_component_template = {
	key = "BATTLECRUISER_SHIP_THRUSTER_3"
	size = small
	icon = "GFX_ship_part_thruster_3"
	icon_frame = 1
	
	power = @Battlecruiser_power_3
	resources = {
		category = ship_components
		cost = { alloys = @Battlecruiser_cost3 }
	}
	modifier = {
		ship_base_speed_mult = @thruster_3
		ship_evasion_add = @Battlecruiser_evade_3
	}

	prerequisites = { "tech_thrusters_3" }
	potential = {
		from = {
			country_uses_bio_ships = no
		}
		ship_uses_battlecruiser_thrusters = yes
	}
	component_set = "thruster_components"
	upgrades_to = "BATTLECRUISER_SHIP_THRUSTER_4"
	
	ai_weight = { weight = 3 }
}

utility_component_template = {
	key = "DREADNOUGHT_SHIP_THRUSTER_3"
	size = small
	icon = "GFX_ship_part_thruster_3"
	icon_frame = 1
	
	power = @Dreadnought_power_3
	resources = {
		category = ship_components
		cost = { alloys = @Dreadnought_cost3 }
	}
	modifier = { ship_base_speed_mult = @thruster_3 }

	prerequisites = { "tech_thrusters_3" }
		potential = {
		from = {
			country_uses_bio_ships = no
		}
		ship_uses_dreadnought_thrusters = yes
	}
	component_set = "thruster_components"
	upgrades_to = "DREADNOUGHT_SHIP_THRUSTER_4"
	
	ai_weight = { weight = 3 }
}

utility_component_template = {
	key = "FLAGSHIP_SHIP_THRUSTER_3"
	size = small
	icon = "GFX_ship_part_thruster_3"
	icon_frame = 1
	
	power = @Flagship_power_3
	resources = {
		category = ship_components
		cost = { alloys = @Flagship_cost3 }
	}
	modifier = { ship_base_speed_mult = @thruster_3 }

	prerequisites = { "tech_thrusters_3" }
		potential = {
		from = {
			country_uses_bio_ships = no
		}
		ship_uses_flagship_components = yes
	}
	component_set = "thruster_components"
	upgrades_to = "FLAGSHIP_SHIP_THRUSTER_4"
	
	ai_weight = { weight = 3 }
}

### LEVEL 4 ###
utility_component_template = {
	key = "BATTLECRUISER_SHIP_THRUSTER_4"
	size = small
	icon = "GFX_ship_part_thruster_4"
	icon_frame = 1
	
	power = @Battlecruiser_power_4
	resources = {
		category = ship_components
		cost = { alloys = @Battlecruiser_cost4 }
	}
	modifier = {
		ship_base_speed_mult = @thruster_4
		ship_evasion_add = @Battlecruiser_evade_4
	}

	prerequisites = { "tech_thrusters_4" }
	potential = {
		from = {
			country_uses_bio_ships = no
		}
		ship_uses_battlecruiser_thrusters = yes
	}
	component_set = "thruster_components"
	upgrades_to = "BATTLECRUISER_SHIP_THRUSTER_5"
	
	ai_weight = { weight = 4 }
}

utility_component_template = {
	key = "DREADNOUGHT_SHIP_THRUSTER_4"
	size = small
	icon = "GFX_ship_part_thruster_4"
	icon_frame = 1
	
	power = @Dreadnought_power_4
	resources = {
		category = ship_components
		cost = { alloys = @Dreadnought_cost4 }
	}
	modifier = { ship_base_speed_mult = @thruster_4 }

	prerequisites = { "tech_thrusters_4" }
		potential = {
		from = {
			country_uses_bio_ships = no
		}
		ship_uses_dreadnought_thrusters = yes
	}
	component_set = "thruster_components"
	upgrades_to = "DREADNOUGHT_SHIP_THRUSTER_5"
	
	ai_weight = { weight = 4 }
}

utility_component_template = {
	key = "FLAGSHIP_SHIP_THRUSTER_4"
	size = small
	icon = "GFX_ship_part_thruster_4"
	icon_frame = 1
	
	power = @Flagship_power_4
	resources = {
		category = ship_components
		cost = { alloys = @Flagship_cost4 }
	}
	modifier = { ship_base_speed_mult = @thruster_4 }

	prerequisites = { "tech_thrusters_4" }
		potential = {
		from = {
			country_uses_bio_ships = no
		}
		ship_uses_flagship_components = yes
	}
	component_set = "thruster_components"
	upgrades_to = "FLAGSHIP_SHIP_THRUSTER_5"
	
	ai_weight = { weight = 4 }
}

### LEVEL 5 ###
utility_component_template = {
	key = "BATTLECRUISER_SHIP_THRUSTER_5"
	size = small
	icon = "GFX_ship_part_thruster_5"
	icon_frame = 1
	
	power = @Battlecruiser_power_5
	resources = {
		category = ship_components
		cost = {
			alloys = @Battlecruiser_cost5
			sr_dark_matter = @Battlecruiser_sr_dm_cost
		}
	}
	modifier = {
		ship_base_speed_mult = @thruster_5
		ship_evasion_add = @Battlecruiser_evade_5
	}

	prerequisites = { "tech_dark_matter_propulsion" }
	potential = {
		from = {
			country_uses_bio_ships = no
		}
		ship_uses_battlecruiser_thrusters = yes
	}
	component_set = "thruster_components"
	
	ai_weight = {
		weight = 5
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = sr_dark_matter }
		}
	}
}

utility_component_template = {
	key = "DREADNOUGHT_SHIP_THRUSTER_5"
	size = small
	icon = "GFX_ship_part_thruster_5"
	icon_frame = 1
	
	power = @Dreadnought_power_5
	resources = {
		category = ship_components
		cost = {
			alloys = @Dreadnought_cost5
			sr_dark_matter = @Dreadnought_sr_dm_cost
		}
	}
	modifier = { ship_base_speed_mult = @thruster_5 }

	prerequisites = { "tech_dark_matter_propulsion" }
		potential = {
		from = {
			country_uses_bio_ships = no
		}
		ship_uses_dreadnought_thrusters = yes
	}
	component_set = "thruster_components"
	
	ai_weight = {
		weight = 5
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = sr_dark_matter }
		}
	}
}

utility_component_template = {
	key = "FLAGSHIP_SHIP_THRUSTER_5"
	size = small
	icon = "GFX_ship_part_thruster_5"
	icon_frame = 1
	
	power = @Flagship_power_5
	resources = {
		category = ship_components
		cost = {
			alloys = @Flagship_cost5
			sr_dark_matter = @Flagship_sr_dm_cost
		}
	}
	modifier = { ship_base_speed_mult = @thruster_5 }

	prerequisites = { "tech_dark_matter_propulsion" }
	potential = {
		from = {
			country_uses_bio_ships = no
		}
		ship_uses_flagship_components = yes
	}
	component_set = "thruster_components"
	
	ai_weight = {
		weight = 5
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = sr_dark_matter }
		}
	}
}
