# Icons set here are the ones show in the actual slot.
# This is LOGH SHIPS MOD for NSC patch



@LoGHFlagship_power_1 = -160
@LoGHFlagship_power_2 = -240
@LoGHFlagship_power_3 = -320
@LoGHFlagship_power_4 = -400
@LoGHFlagship_power_5 = -480

@LoGHFlagship_cost1 = 48
@LoGHFlagship_cost2 = 96
@LoGHFlagship_cost3 = 144
@LoGHFlagship_cost4 = 192
@LoGHFlagship_cost5 = 240

#############
# THRUSTERS #
#############



### 1

utility_component_template = {
	key = "LoGHFlagship_SHIP_THRUSTER_1"
	size = small
	icon = "GFX_ship_part_thruster_1"
	icon_frame = 1
	power = @LoGHFlagship_power_1
	resources = {
		category = ship_components
		cost = {
			alloys = @LoGHFlagship_cost1
		}
	}
	
	modifier = {
	}
		
	prerequisites = { "tech_thrusters_1" }
	component_set = "thruster_components"
	size_restriction = { LoGHFlagship }
	upgrades_to = "LoGHFlagship_SHIP_THRUSTER_2"
	
	ai_weight = {
		weight = 1
	}
}


### 2

utility_component_template = {
	key = "LoGHFlagship_SHIP_THRUSTER_2"
	size = small
	icon = "GFX_ship_part_thruster_2"
	icon_frame = 1
	power = @LoGHFlagship_power_2
	resources = {
		category = ship_components
		cost = {
			alloys = @LoGHFlagship_cost2
		}
	}
	
	modifier = {
		ship_base_speed_mult = 0.25
		ship_evasion_add = 1
	}
		
	prerequisites = { "tech_thrusters_2" }
	component_set = "thruster_components"
	size_restriction = { LoGHFlagship }
	upgrades_to = "LoGHFlagship_SHIP_THRUSTER_3"
	
	ai_weight = {
		weight = 2
	}
}

### 3

utility_component_template = {
	key = "LoGHFlagship_SHIP_THRUSTER_3"
	size = small
	icon = "GFX_ship_part_thruster_3"
	icon_frame = 1
	power = @LoGHFlagship_power_3
	resources = {
		category = ship_components
		cost = {
			alloys = @LoGHFlagship_cost3
		}
	}
	modifier = {
		ship_base_speed_mult = 0.50
		ship_evasion_add = 2
	}

	prerequisites = { "tech_thrusters_3" }
	component_set = "thruster_components"
	size_restriction = { LoGHFlagship }
	upgrades_to = "LoGHFlagship_SHIP_THRUSTER_4"
	
	ai_weight = {
		weight = 3
	}
}

### 4

utility_component_template = {
	key = "LoGHFlagship_SHIP_THRUSTER_4"
	size = small
	icon = "GFX_ship_part_thruster_4"
	icon_frame = 1
	power = @LoGHFlagship_power_4
	resources = {
		category = ship_components
		cost = {
			alloys = @LoGHFlagship_cost4
		}
	}
	modifier = {
		ship_base_speed_mult = 0.75
		ship_evasion_add = 3
	}

	prerequisites = { "tech_thrusters_4" }
	component_set = "thruster_components"
	size_restriction = { LoGHFlagship }
	upgrades_to = "LoGHFlagship_SHIP_THRUSTER_5"
	
	ai_weight = {
		weight = 4
	}
}

### 5

utility_component_template = {
	key = "LoGHFlagship_SHIP_THRUSTER_5"
	size = small
	icon = "GFX_ship_part_thruster_5"
	icon_frame = 1
	power = @LoGHFlagship_power_5
	resources = {
		category = ship_components
		cost = {
			alloys = @LoGHFlagship_cost4
			sr_dark_matter = 16
		}
	}
	modifier = {
		ship_base_speed_mult = 1.25
		ship_evasion_add = 4
	}

	prerequisites = { "tech_dark_matter_propulsion" }
	component_set = "thruster_components"
	size_restriction = { LoGHFlagship }
	
	ai_weight = {
		weight = 5
		modifier = {
			factor = 0.0
			is_country_type = default
			has_monthly_income = { resource = sr_dark_matter value <= 0 }
		}
	}
}
