###!!!NEEDS AN UPDATE!!!###

###################
### SAS Support ###
###################


### Drives ###

### Stalker
utility_component_template = {
	key = "STZ_CAERULENITE_MICROGATE_DRIVE"
	size = small
	icon = "GFX_stz_ship_part_caerulenite_drive"
	icon_frame = 1
	power = -50
	resources = {
		category = ship_components
		cost = {
			alloys = 35
			stz_sr_caerulenite = 3
		}
	}
	ftl = yes
	jumpdrive = yes
	ship_modifier = {
		ship_windup_mult = -0.90
		ship_ftl_jumpdrive_range_mult = -0.30
		ship_disengage_opportunities_add = 2
		ship_jumpdrive_cooldown_mult = -0.95
	}

	valid_for_country = {
		has_sas_mod = yes
	}

	ai_weight = {
		weight = 6
	}

	size_restriction = { sas_stalker_warship }
	prerequisites = { "stz_tech_caerulenite_drive" }
	component_set = "SAS_STALKER_FTL"
	upgrades_to = "STZ_VIRIDISIUM_MICROGATE_DRIVE"
}

utility_component_template = {
	key = "STZ_VIRIDISIUM_MICROGATE_DRIVE"
	size = small
	icon = "GFX_stz_ship_part_viridisium_drive"
	icon_frame = 1
	power = -75
	resources = {
		category = ship_components
		cost = {
			alloys = 50
			stz_sr_viridisium = 5
		}
	}
	ftl = yes
	jumpdrive = yes
	ship_modifier = {
		ship_windup_mult = -1.00
		ship_ftl_jumpdrive_range_mult = -0.20
		ship_disengage_opportunities_add = 2
		ship_jumpdrive_cooldown_mult = -0.95
	}

	valid_for_country = {
		has_sas_mod = yes
	}

	ai_weight = {
		weight = 7
	}

	size_restriction = { sas_stalker_warship }
	prerequisites = { "stz_tech_viridisium_drive" }
	component_set = "SAS_STALKER_FTL"
}

### Thrusters ###

### Defender
utility_component_template = {
	key = "STZ_CAERULENITE_THRUSTER_DF"
	size = small
	icon = "GFX_stz_ship_part_caerulenite_thruster"
	icon_frame = 1
	power = -70
	resources = {
		category = ship_components
		cost = {
			alloys = 56
			stz_sr_caerulenite = 1
		}
	}
	modifier = {
		ship_base_speed_mult = 1.5
		ship_evasion_add = 16
	}

	valid_for_country = {
		has_sas_mod = yes
	}

	prerequisites = { "stz_tech_caerulenite_thruster" }
	component_set = "thruster_components"
	size_restriction = { sas_tiny_warship }
	upgrades_to = "STZ_VIRIDISIUM_THRUSTER_DF"

	ai_weight = {
		weight = 6
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = stz_sr_caerulenite }
		}

	}
}

utility_component_template = {
	key = "STZ_VIRIDISIUM_THRUSTER_DF"
	size = small
	icon = "GFX_stz_ship_part_viridisium_thruster"
	icon_frame = 1
	power = -80
	resources = {
		category = ship_components
		cost = {
			alloys = 74
			stz_sr_viridisium = 1
		}
	}
	modifier = {
		ship_base_speed_mult = 1.75
		ship_evasion_add = 16
	}

	valid_for_country = {
		has_sas_mod = yes
	}

	prerequisites = { "stz_tech_viridisium_thruster" }
	component_set = "thruster_components"
	size_restriction = { sas_tiny_warship }

	ai_weight = {
		weight = 7
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = stz_sr_viridisium }
		}

	}
}

### Elite Defender
utility_component_template = {
	key = "STZ_CAERULENITE_THRUSTER_EDF"
	size = small
	icon = "GFX_stz_ship_part_caerulenite_thruster"
	icon_frame = 1
	power = -140
	resources = {
		category = ship_components
		cost = {
			alloys = 60
			stz_sr_caerulenite = 1
		}
	}
	modifier = {
		ship_base_speed_mult = 1.5
		ship_evasion_add = 12
	}

	valid_for_country = {
		has_sas_mod = yes
	}

	prerequisites = { "stz_tech_caerulenite_thruster" }
	component_set = "thruster_components"
	size_restriction = { sas_small_warship }
	upgrades_to = "STZ_VIRIDISIUM_THRUSTER_EDF"

	ai_weight = {
		weight = 6
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = stz_sr_caerulenite }
		}

	}
}

utility_component_template = {
	key = "STZ_VIRIDISIUM_THRUSTER_EDF"
	size = small
	icon = "GFX_stz_ship_part_viridisium_thruster"
	icon_frame = 1
	power = -160
	resources = {
		category = ship_components
		cost = {
			alloys = 72
			stz_sr_viridisium = 1
		}
	}
	modifier = {
		ship_base_speed_mult = 1.75
		ship_evasion_add = 12
	}

	valid_for_country = {
		has_sas_mod = yes
	}

	prerequisites = { "stz_tech_viridisium_thruster" }
	component_set = "thruster_components"
	size_restriction = { sas_small_warship }

	ai_weight = {
		weight = 7
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = stz_sr_viridisium }
		}

	}
}

### Guardian/Elite Guardian/Stalker
utility_component_template = {
	key = "STZ_CAERULENITE_THRUSTER_GD"
	size = small
	icon = "GFX_stz_ship_part_caerulenite_thruster"
	icon_frame = 1
	power = -280
	resources = {
		category = ship_components
		cost = {
			alloys = 120
			stz_sr_caerulenite = 8
		}
	}
	modifier = {
		ship_base_speed_mult = 1.5
		ship_evasion_add = 8
	}

	valid_for_country = {
		has_sas_mod = yes
	}

	prerequisites = { "stz_tech_caerulenite_thruster" }
	component_set = "thruster_components"
	size_restriction = { sas_large_warship sas_xlarge_warship sas_stalker_warship }
	upgrades_to = "STZ_VIRIDISIUM_THRUSTER_GD"

	ai_weight = {
		weight = 6
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = stz_sr_caerulenite }
		}

	}
}
utility_component_template = {
	key = "STZ_VIRIDISIUM_THRUSTER_GD"
	size = small
	icon = "GFX_stz_ship_part_viridisium_thruster"
	icon_frame = 1
	power = -320
	resources = {
		category = ship_components
		cost = {
			alloys = 144
			stz_sr_viridisium = 8
		}
	}
	modifier = {
		ship_base_speed_mult = 1.75
		ship_evasion_add = 8
	}

	valid_for_country = {
		has_sas_mod = yes
	}

	prerequisites = { "stz_tech_viridisium_thruster" }
	component_set = "thruster_components"
	size_restriction = { sas_large_warship sas_xlarge_warship sas_stalker_warship }

	ai_weight = {
		weight = 7
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = stz_sr_viridisium }
		}

	}
}

### Aeon/Aegis
utility_component_template = {
	key = "STZ_CAERULENITE_THRUSTER_AO"
	size = small
	icon = "GFX_stz_ship_part_caerulenite_thruster"
	icon_frame = 1
	power = -560
	resources = {
		category = ship_components
		cost = {
			alloys = 448
			stz_sr_caerulenite = 16
		}
	}
	modifier = {
		ship_base_speed_mult = 1.5
		ship_evasion_add = 4
	}

	valid_for_country = {
		has_sas_mod = yes
	}

	prerequisites = { "stz_tech_caerulenite_thruster" }
	component_set = "thruster_components"
	size_restriction = { sas_xtitan_warship sas_xxtitan_warship }
	upgrades_to = "STZ_VIRIDISIUM_THRUSTER_AO"

	ai_weight = {
		weight = 6
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = stz_sr_caerulenite }
		}

	}
}

utility_component_template = {
	key = "STZ_VIRIDISIUM_THRUSTER_AO"
	size = small
	icon = "GFX_stz_ship_part_viridisium_thruster"
	icon_frame = 1
	power = -640
	resources = {
		category = ship_components
		cost = {
			alloys = 592
			stz_sr_viridisium = 16
		}
	}
	modifier = {
		ship_base_speed_mult = 1.75
		ship_evasion_add = 4
	}

	valid_for_country = {
		has_sas_mod = yes
	}

	prerequisites = { "stz_tech_viridisium_thruster" }
	component_set = "thruster_components"
	size_restriction = { sas_xtitan_warship sas_xxtitan_warship }

	ai_weight = {
		weight = 7
		modifier = {
			factor = 0.0
			no_resource_for_component = { RESOURCE = stz_sr_viridisium }
		}

	}
}

### Reactors ###

### Defender
utility_component_template = {
	key = "STZ_CAERULENITE_REACTOR_DF"
	size = large
	icon = "GFX_stz_ship_part_reactor_caerulenite"
	icon_frame = 1
	power = 2500
	resources = {
		category = ship_components
		cost = {
			alloys = 75
			stz_sr_caerulenite = 2
		}
		upkeep = {
			energy = 0.40
			alloys = 0.040
			stz_sr_caerulenite = 0.040
		}
	}

	valid_for_country = {
		has_sas_mod = yes
	}

	prerequisites = { "stz_tech_caerulenite_reactor" }
	component_set = "power_core"
	size_restriction = { sas_tiny_warship }

	upgrades_to = "STZ_VIRIDISIUM_REACTOR_DF"

	ai_weight = {
		weight = 7
	}
}

utility_component_template = {
	key = "STZ_VIRIDISIUM_REACTOR_DF"
	size = large
	icon = "GFX_stz_ship_part_reactor_viridisium"
	icon_frame = 1
	power = 3600
	resources = {
		category = ship_components
		cost = {
			alloys = 75
			stz_sr_viridisium = 3
		}
		upkeep = {
			energy = 0.55
			alloys = 0.055
			stz_sr_viridisium = 0.055
		}
	}

	valid_for_country = {
		has_sas_mod = yes
	}

	prerequisites = { "stz_tech_viridisium_reactor" }
	component_set = "power_core"
	size_restriction = { sas_tiny_warship }

	ai_weight = {
		weight = 8
	}
}

### Elite Defender
utility_component_template = {
	key = "STZ_CAERULENITE_REACTOR_EDF"
	size = large
	icon = "GFX_stz_ship_part_reactor_caerulenite"
	icon_frame = 1
	power = 4800
	resources = {
		category = ship_components
		cost = {
			alloys = 84
			stz_sr_caerulenite = 2
		}
		upkeep = {
			energy = 0.40
			alloys = 0.040
			stz_sr_caerulenite = 0.040
		}
	}

	valid_for_country = {
		has_sas_mod = yes
	}

	prerequisites = { "stz_tech_caerulenite_reactor" }
	component_set = "power_core"
	size_restriction = { sas_small_warship }

	upgrades_to = "STZ_VIRIDISIUM_REACTOR_EDF"

	ai_weight = {
		weight = 7
	}
}

utility_component_template = {
	key = "STZ_VIRIDISIUM_REACTOR_EDF"
	size = large
	icon = "GFX_stz_ship_part_reactor_viridisium"
	icon_frame = 1
	power = 6000
	resources = {
		category = ship_components
		cost = {
			alloys = 96
			stz_sr_viridisium = 3
		}
		upkeep = {
			energy = 0.55
			alloys = 0.055
			stz_sr_viridisium = 0.055
		}
	}

	valid_for_country = {
		has_sas_mod = yes
	}

	prerequisites = { "stz_tech_viridisium_reactor" }
	component_set = "power_core"
	size_restriction = { sas_small_warship }

	ai_weight = {
		weight = 8
	}
}

### Guardian
utility_component_template = {
	key = "STZ_CAERULENITE_REACTOR_GD"
	size = small
	icon = "GFX_stz_ship_part_reactor_caerulenite"
	icon_frame = 1
	power = 8000
	resources = {
		category = ship_components
		cost = {
			alloys = 160
			stz_sr_caerulenite = 12
		}
		upkeep = {
			energy = 2.50
			alloys = 0.250
			stz_sr_caerulenite = 0.250
		}
	}

	valid_for_country = {
		has_sas_mod = yes
	}

	prerequisites = { "stz_tech_caerulenite_reactor" }
	component_set = "power_core"
	size_restriction = { sas_large_warship }
	upgrades_to = "STZ_VIRIDISIUM_REACTOR_GD"

	ai_weight = {
		weight = 7
	}
}

utility_component_template = {
	key = "STZ_VIRIDISIUM_REACTOR_GD"
	size = small
	icon = "GFX_stz_ship_part_reactor_viridisium"
	icon_frame = 1
	power = 10000
	resources = {
		category = ship_components
		cost = {
			alloys = 184
			stz_sr_viridisium = 16
		}
		upkeep = {
			energy = 3
			alloys = 0.30
			stz_sr_viridisium = 0.30
		}
	}

	valid_for_country = {
		has_sas_mod = yes
	}

	prerequisites = { "stz_tech_viridisium_reactor" }
	component_set = "power_core"
	size_restriction = { sas_large_warship }

	ai_weight = {
		weight = 8
	}
}

### Stalker
utility_component_template = {
	key = "STZ_CAERULENITE_REACTOR_SK"
	size = small
	icon = "GFX_stz_ship_part_reactor_caerulenite"
	icon_frame = 1
	power = 10000
	resources = {
		category = ship_components
		cost = {
			alloys = 160
			stz_sr_caerulenite = 12
		}
		upkeep = {
			energy = 2.50
			alloys = 0.250
			stz_sr_caerulenite = 0.250
		}
	}

	valid_for_country = {
		has_sas_mod = yes
	}

	prerequisites = { "stz_tech_caerulenite_reactor" }
	component_set = "power_core"
	size_restriction = { sas_stalker_warship }
	upgrades_to = "STZ_VIRIDISIUM_REACTOR_SK"

	ai_weight = {
		weight = 7
	}
}

utility_component_template = {
	key = "STZ_VIRIDISIUM_REACTOR_SK"
	size = small
	icon = "GFX_stz_ship_part_reactor_viridisium"
	icon_frame = 1
	power = 12000
	resources = {
		category = ship_components
		cost = {
			alloys = 184
			stz_sr_viridisium = 16
		}
		upkeep = {
			energy = 3
			alloys = 0.30
			stz_sr_viridisium = 0.30
		}
	}

	valid_for_country = {
		has_sas_mod = yes
	}

	prerequisites = { "stz_tech_viridisium_reactor" }
	component_set = "power_core"
	size_restriction = { sas_stalker_warship }

	ai_weight = {
		weight = 8
	}
}

### Elite Guardian
utility_component_template = {
	key = "STZ_CAERULENITE_REACTOR_EGD"
	size = small
	icon = "GFX_stz_ship_part_reactor_caerulenite"
	icon_frame = 1
	power = 13000
	resources = {
		category = ship_components
		cost = {
			alloys = 344
			stz_sr_caerulenite = 12
		}
		upkeep = {
			energy = 2.50
			alloys = 0.250
			stz_sr_caerulenite = 0.250
		}
	}

	valid_for_country = {
		has_sas_mod = yes
	}

	prerequisites = { "stz_tech_caerulenite_reactor" }
	component_set = "power_core"
	size_restriction = { sas_xlarge_warship }
	upgrades_to = "STZ_VIRIDISIUM_REACTOR_EGD"

	ai_weight = {
		weight = 7
	}
}

utility_component_template = {
	key = "STZ_VIRIDISIUM_REACTOR_EGD"
	size = small
	icon = "GFX_stz_ship_part_reactor_viridisium"
	icon_frame = 1
	power = 17000
	resources = {
		category = ship_components
		cost = {
			alloys = 392
			stz_sr_viridisium = 16
		}
		upkeep = {
			energy = 3
			alloys = 0.30
			stz_sr_viridisium = 0.30
		}
	}

	valid_for_country = {
		has_sas_mod = yes
	}

	prerequisites = { "stz_tech_viridisium_reactor" }
	component_set = "power_core"
	size_restriction = { sas_xlarge_warship }

	ai_weight = {
		weight = 8
	}
}

### Aeon/Aegis
utility_component_template = {
	key = "STZ_CAERULENITE_REACTOR_AO"
	size = small
	icon = "GFX_stz_ship_part_reactor_caerulenite"
	icon_frame = 1
	power = 22000
	resources = {
		category = ship_components
		cost = {
			alloys = 688
			stz_sr_caerulenite = 12
		}
		upkeep = {
			energy = 2.50
			alloys = 0.250
			stz_sr_caerulenite = 0.250
		}
	}

	valid_for_country = {
		has_sas_mod = yes
	}

	prerequisites = { "stz_tech_caerulenite_reactor" }
	component_set = "power_core"
	size_restriction = { sas_xtitan_warship sas_xxtitan_warship }
	upgrades_to = "STZ_VIRIDISIUM_REACTOR_AO"

	ai_weight = {
		weight = 7
	}
}

utility_component_template = {
	key = "STZ_VIRIDISIUM_REACTOR_AO"
	size = small
	icon = "GFX_stz_ship_part_reactor_viridisium"
	icon_frame = 1
	power = 27000
	resources = {
		category = ship_components
		cost = {
			alloys = 784
			stz_sr_viridisium = 16
		}
		upkeep = {
			energy = 3
			alloys = 0.30
			stz_sr_viridisium = 0.30
		}
	}

	valid_for_country = {
		has_sas_mod = yes
	}

	prerequisites = { "stz_tech_viridisium_reactor" }
	component_set = "power_core"
	size_restriction = { sas_xtitan_warship sas_xxtitan_warship }

	ai_weight = {
		weight = 8
	}
}