From f6a83372c59af34219e14cf7beb328a3693f1577 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Tue, 2 Jan 2024 17:15:08 -0500 Subject: [PATCH] fix(mss): hopefully fixed the power consumption issue --- .../common/component_templates/mss_power.txt | 13 + .../common/ship_sizes/00_starbases.txt | 837 ------------------ ...rbital_rings.txt => mss_orbital_rings.txt} | 0 .../common/ship_sizes/mss_starbases.txt | 387 ++++++++ 4 files changed, 400 insertions(+), 837 deletions(-) create mode 100644 More Starbase Slots/common/component_templates/mss_power.txt delete mode 100644 More Starbase Slots/common/ship_sizes/00_starbases.txt rename More Starbase Slots/common/ship_sizes/{00_orbital_rings.txt => mss_orbital_rings.txt} (100%) create mode 100644 More Starbase Slots/common/ship_sizes/mss_starbases.txt diff --git a/More Starbase Slots/common/component_templates/mss_power.txt b/More Starbase Slots/common/component_templates/mss_power.txt new file mode 100644 index 0000000..48868fe --- /dev/null +++ b/More Starbase Slots/common/component_templates/mss_power.txt @@ -0,0 +1,13 @@ +# universal power core +# Thanks FrozenParagon from the Stellaris Modding Den for help getting all of this working, you were a huge help! +@upc = 1000000 +utility_component_template = { + key = "tech_solar_panel_network" + size = aux + icon = "GFX_solar_panel_network" + icon_frame = 1 + power = @upc + component_set = "power_core" + class_restriction = { shipclass_starbase shipclass_military_station } + ai_weight = { weight = @upc } +} diff --git a/More Starbase Slots/common/ship_sizes/00_starbases.txt b/More Starbase Slots/common/ship_sizes/00_starbases.txt deleted file mode 100644 index b29d42d..0000000 --- a/More Starbase Slots/common/ship_sizes/00_starbases.txt +++ /dev/null @@ -1,837 +0,0 @@ -################ -# STARBASES # -################ - -@build_block_radius_starbase = 20 -@starbase_formation_priority = 1 - -starbase_outpost = { - max_speed = 0.0 - acceleration = 0.0 - rotation_speed = 0.0 - modifier = { - ship_evasion_mult = -1 - ship_armor_add = @outpost_armor - starbase_defense_platform_capacity_add = 3 - ship_sensor_range_add = 1 - } - ship_modifier = { - ship_fire_rate_mult = 0.50 - ship_weapon_range_mult = 0.20 - } - max_hitpoints = 5000 - base_buildtime = 360 - resources = { - category = starbase_stations - cost = { - trigger = { - from = { - is_machine_empire = no - } - } - alloys = 100 - } - cost = { - trigger = { - from = { - is_machine_empire = yes - } - } - alloys = 150 - } - upkeep = { - energy = 1 - } - } - - potential_construction = { - is_scope_type = planet - is_primary_star = yes - NOT = { - exists = orbital_defence - } - } - - possible_construction = { - always = yes - } - - combat_size_multiplier = 5 - size_multiplier = 4 - fleet_slot_size = 2 - section_slots = { - "core" = { locator = "part1" } - } - - is_designable = no - num_target_locators = 0 - is_space_station = no - can_have_federation_design = no - is_civilian = no - components_add_to_cost = no - can_disable = yes - flip_control_on_disable = yes - - enable_default_design = yes #if yes, countries will have an auto-generated design at start - prerequisites = { "tech_starbase_1" } - class = shipclass_starbase - - required_component_set = "power_core" - required_component_set = "sensor_components" - required_component_set = "combat_computers" - - build_block_radius = @build_block_radius_starbase - formation_priority = @starbase_formation_priority - icon_frame = 1 - icon = ship_size_military_station -} - -starbase_starport = { - max_speed = 0.0 - acceleration = 0.0 - rotation_speed = 0.0 - modifier = { - ship_evasion_mult = -1 - ship_armor_add = @starport_armor - starbase_module_capacity_add = 5 - starbase_building_capacity_add = 2 - starbase_defense_platform_capacity_add = 6 - #trade system - starbase_trade_collection_range_add = 1 - starbase_trade_protection_range_add = 1 - starbase_trade_protection_add = 8 - ship_sensor_range_add = 1 - } - ship_modifier = { - ship_fire_rate_mult = 0.50 - ship_weapon_range_mult = 0.20 - } - max_hitpoints = 10000 - base_buildtime = 360 - resources = { - category = starbase_stations - cost = { - alloys = 200 - } - - upkeep = { - energy = 2 - } - } - - combat_size_multiplier = 20 - size_multiplier = 6 - fleet_slot_size = 2 - section_slots = { - "core" = { locator = "part1" } - "1" = { locator = "part2" } - "2" = { locator = "part3" } - } - is_designable = no - num_target_locators = 0 - is_space_station = no - can_have_federation_design = no - is_civilian = no - components_add_to_cost = no - can_disable = yes - flip_control_on_disable = yes - - enable_default_design = yes #if yes, countries will have an auto-generated design at start - prerequisites = { "tech_starbase_2" } - class = shipclass_starbase - - required_component_set = "power_core" - required_component_set = "sensor_components" - required_component_set = "combat_computers" - required_component_set = "ftl_inhibitor" - - build_block_radius = @build_block_radius_starbase - formation_priority = @starbase_formation_priority - icon_frame = 2 - icon = ship_size_military_station - - potential_construction = { - always = no - } - - possible_construction = { - always = no - } -} - -starbase_starhold = { - max_speed = 0.0 - acceleration = 0.0 - rotation_speed = 0.0 - modifier = { - ship_evasion_mult = -1 - ship_armor_add = @starhold_armor - starbase_module_capacity_add = 10 - starbase_building_capacity_add = 4 - starbase_defense_platform_capacity_add = 9 - #trade system - starbase_trade_collection_range_add = 1 - starbase_trade_protection_range_add = 1 - starbase_trade_protection_add = 16 - ship_sensor_range_add = 1 - } - ship_modifier = { - ship_fire_rate_mult = 0.50 - ship_weapon_range_mult = 0.20 - } - max_hitpoints = 20000 - base_buildtime = 720 - resources = { - category = starbase_stations - cost = { - alloys = 500 - } - - upkeep = { - energy = 3 - } - } - - combat_size_multiplier = 30 - size_multiplier = 8 - fleet_slot_size = 2 - section_slots = { - "core" = { locator = "part1" } - "1" = { locator = "part2" } - "2" = { locator = "part3" } - "3" = { locator = "part4" } - "4" = { locator = "part5" } - } - is_designable = no - num_target_locators = 0 - is_space_station = no - can_have_federation_design = no - is_civilian = no - components_add_to_cost = no - can_disable = yes - flip_control_on_disable = yes - - enable_default_design = yes #if yes, countries will have an auto-generated design at start - prerequisites = { "tech_starbase_3" } - class = shipclass_starbase - - required_component_set = "power_core" - required_component_set = "sensor_components" - required_component_set = "combat_computers" - required_component_set = "ftl_inhibitor" - - build_block_radius = @build_block_radius_starbase - formation_priority = @starbase_formation_priority - icon_frame = 3 - icon = ship_size_military_station - potential_construction = { - always = no - } - - possible_construction = { - always = no - } -} - -starbase_starfortress = { - max_speed = 0.0 - acceleration = 0.0 - rotation_speed = 0.0 - modifier = { - ship_evasion_mult = -1 - ship_armor_add = @starfort_armor - starbase_module_capacity_add = 15 - starbase_building_capacity_add = 6 - starbase_defense_platform_capacity_add = 12 - #trade system - starbase_trade_collection_range_add = 1 - starbase_trade_protection_range_add = 1 - starbase_trade_protection_add = 24 - ship_sensor_range_add = 1 - } - ship_modifier = { - ship_fire_rate_mult = 0.50 - ship_weapon_range_mult = 0.20 - } - max_hitpoints = 40000 - base_buildtime = 1080 - resources = { - category = starbase_stations - cost = { - alloys = 1250 - } - - upkeep = { - energy = 4 - } - } - - combat_size_multiplier = 40 - size_multiplier = 12 - fleet_slot_size = 2 - section_slots = { - "core" = { locator = "part1" } - "1" = { locator = "part2" } - "2" = { locator = "part3" } - "3" = { locator = "part4" } - "4" = { locator = "part5" } - "5" = { locator = "part6" } - "6" = { locator = "part7" } - } - is_designable = no - num_target_locators = 0 - is_space_station = no - can_have_federation_design = no - is_civilian = no - components_add_to_cost = no - can_disable = yes - flip_control_on_disable = yes - - enable_default_design = yes #if yes, countries will have an auto-generated design at start - prerequisites = { "tech_starbase_4" } - class = shipclass_starbase - - required_component_set = "power_core" - required_component_set = "sensor_components" - required_component_set = "combat_computers" - required_component_set = "ftl_inhibitor" - - build_block_radius = @build_block_radius_starbase - formation_priority = @starbase_formation_priority - icon_frame = 4 - icon = ship_size_military_station - potential_construction = { - always = no - } - - possible_construction = { - always = no - } -} - -starbase_citadel = { - max_speed = 0.0 - acceleration = 0.0 - rotation_speed = 0.0 - modifier = { - ship_evasion_mult = -1 - ship_armor_add = @citadel_armor - starbase_module_capacity_add = 25 - starbase_building_capacity_add = 10 - starbase_defense_platform_capacity_add = 15 - #trade system - starbase_trade_collection_range_add = 1 - starbase_trade_protection_range_add = 1 - starbase_trade_protection_add = 32 - ship_sensor_range_add = 1 - } - ship_modifier = { - ship_fire_rate_mult = 0.50 - ship_weapon_range_mult = 0.20 - } - max_hitpoints = 80000 - base_buildtime = 1440 - resources = { - category = starbase_stations - cost = { - alloys = 3500 - } - - upkeep = { - energy = 5 - } - } - - combat_size_multiplier = 50 - size_multiplier = 16 - fleet_slot_size = 2 - section_slots = { - "core" = { locator = "part1" } - "1" = { locator = "part2" } - "2" = { locator = "part3" } - "3" = { locator = "part4" } - "4" = { locator = "part5" } - "5" = { locator = "part6" } - "6" = { locator = "part7" } - } - is_designable = no - num_target_locators = 0 - is_space_station = no - can_have_federation_design = no - is_civilian = no - components_add_to_cost = no - can_disable = yes - flip_control_on_disable = yes - - enable_default_design = yes #if yes, countries will have an auto-generated design at start - enable_3dview_in_ship_browser = yes #if yes, ship design will have a 3d view in the ship browser - prerequisites = { "tech_starbase_5" } - class = shipclass_starbase - - required_component_set = "power_core" - required_component_set = "sensor_components" - required_component_set = "combat_computers" - required_component_set = "ftl_inhibitor" - - build_block_radius = @build_block_radius_starbase - formation_priority = @starbase_formation_priority - icon_frame = 5 - icon = ship_size_military_station - potential_construction = { - always = no - } - - possible_construction = { - always = no - } -} - -#################### -# CRISES STARBASES # -#################### - -starbase_swarm = { - graphical_culture = { "swarm_01" } - max_speed = 0.0 - acceleration = 0.0 - rotation_speed = 0.0 - modifier = { - ship_evasion_mult = -1 - ship_armor_add = 60000 - ship_sensor_range_add = 1 - } - ship_modifier = { - ship_weapon_range_mult = 0.20 - } - - potential_construction = { - is_scope_type = planet - is_primary_star = yes - NOT = { - exists = orbital_defence - } - } - - max_hitpoints = 30000 - base_buildtime = 720 - combat_size_multiplier = 50 - size_multiplier = 16 - fleet_slot_size = 2 - section_slots = { "core" = { locator = "root" } } - is_designable = no - num_target_locators = 0 - is_space_station = no - can_have_federation_design = no - is_civilian = no - components_add_to_cost = no - is_listed = no - can_disable = no - - enable_default_design = no #if yes, countries will have an auto-generated design at start - class = shipclass_starbase - - required_component_set = "sensor_components" - - build_block_radius = @build_block_radius_starbase - formation_priority = @starbase_formation_priority - icon_frame = -1 - icon = ship_size_military_station -} - -starbase_ai = { - graphical_culture = { "ai_01" } - max_speed = 0.0 - acceleration = 0.0 - rotation_speed = 0.0 - modifier = { - ship_evasion_mult = -1 - ship_armor_add = 40000 - ship_shield_add = 20000 - ship_sensor_range_add = 1 - } - ship_modifier = { - ship_weapon_range_mult = 0.20 - } - - potential_construction = { - is_scope_type = planet - is_primary_star = yes - NOT = { - exists = orbital_defence - } - } - - max_hitpoints = 20000 - base_buildtime = 720 - combat_size_multiplier = 50 - size_multiplier = 16 - fleet_slot_size = 2 - section_slots = { "core" = { locator = "root" } } - is_designable = no - num_target_locators = 0 - is_space_station = no - can_have_federation_design = no - is_civilian = no - components_add_to_cost = no - is_listed = no - can_disable = no - - enable_default_design = no #if yes, countries will have an auto-generated design at start - class = shipclass_starbase - - required_component_set = "sensor_components" - required_component_set = "combat_computers" - - build_block_radius = @build_block_radius_starbase - formation_priority = @starbase_formation_priority - icon_frame = -1 - icon = ship_size_military_station -} - -# Normal System Starbase -starbase_exd_0 = { - graphical_culture = { "extra_dimensional_01" "extra_dimensional_02" "extra_dimensional_03" } - max_speed = 0.0 - acceleration = 0.0 - rotation_speed = 0.0 - modifier = { - ship_evasion_mult = -1 - ship_shield_add = 40000 - ship_sensor_range_add = 1 - } - ship_modifier = { - ship_weapon_range_mult = 0.20 - } - - potential_construction = { - is_scope_type = planet - is_primary_star = yes - NOT = { - exists = orbital_defence - } - } - - max_hitpoints = 20000 - base_buildtime = 720 - combat_size_multiplier = 50 - size_multiplier = 16 - fleet_slot_size = 2 - section_slots = { "core" = { locator = "root" } } - is_designable = no - num_target_locators = 0 - is_space_station = no - can_have_federation_design = no - is_civilian = no - components_add_to_cost = no - is_listed = no - can_disable = no - - enable_default_design = no #if yes, countries will have an auto-generated design at start - class = shipclass_starbase - - required_component_set = "sensor_components" - required_component_set = "combat_computers" - - build_block_radius = @build_block_radius_starbase - formation_priority = @starbase_formation_priority - icon_frame = -1 - icon = ship_size_military_station -} - -# Anchor -starbase_exd = { - graphical_culture = { "extra_dimensional_01" "extra_dimensional_02" "extra_dimensional_03" } - max_speed = 0.0 - acceleration = 0.0 - rotation_speed = 0.0 - modifier = { - ship_evasion_mult = -1 - ship_shield_add = 80000 - ship_armor_add = 20000 - ship_sensor_range_add = 1 - } - ship_modifier = { - ship_weapon_range_mult = 0.20 - ship_fire_rate_mult = 0.50 - } - - potential_construction = { - is_scope_type = planet - is_primary_star = yes - NOT = { - exists = orbital_defence - } - } - - max_hitpoints = 120000 - base_buildtime = 720 - combat_size_multiplier = 50 - size_multiplier = 32 - fleet_slot_size = 2 - section_slots = { "core" = { locator = "root" } } - is_designable = no - num_target_locators = 0 - is_space_station = no - can_have_federation_design = no - is_civilian = no - components_add_to_cost = no - is_listed = no - can_disable = no - - enable_default_design = no #if yes, countries will have an auto-generated design at start - class = shipclass_starbase - - required_component_set = "sensor_components" - required_component_set = "combat_computers" - - build_block_radius = @build_block_radius_starbase - formation_priority = @starbase_formation_priority - icon_frame = -1 - icon = ship_size_military_station -} - -starbase_marauder = { - graphical_culture = { "pirate_01" } - max_speed = 0.0 - acceleration = 0.0 - rotation_speed = 0.0 - modifier = { - ship_evasion_mult = -1 - ship_shield_add = 10000 - ship_armor_add = 20000 - ship_sensor_range_add = 1 - } - ship_modifier = { - ship_weapon_range_mult = 0.20 - } - - potential_construction = { - is_scope_type = planet - is_primary_star = yes - NOT = { - exists = orbital_defence - } - } - - max_hitpoints = 20000 - base_buildtime = 720 - combat_size_multiplier = 50 - size_multiplier = 12 - fleet_slot_size = 2 - section_slots = { "mid" = { locator = "part1" } } - is_designable = no - num_target_locators = 0 - is_space_station = no - can_have_federation_design = no - is_civilian = no - components_add_to_cost = no - is_listed = no - can_disable = no - - enable_default_design = no #if yes, countries will have an auto-generated design at start - class = shipclass_starbase - - required_component_set = "power_core" - required_component_set = "sensor_components" - required_component_set = "combat_computers" - - build_block_radius = @build_block_radius_starbase - formation_priority = @starbase_formation_priority - icon_frame = -1 - icon = ship_size_military_station -} - -starbase_gatebuilders = { - max_speed = 0.0 - acceleration = 0.0 - rotation_speed = 0.0 - modifier = { - ship_evasion_mult = -1 - ship_shield_add = 10000 - ship_armor_add = 20000 - ship_sensor_range_add = 1 - } - ship_modifier = { - ship_weapon_range_mult = 0.20 - } - - potential_construction = { - is_scope_type = planet - is_primary_star = yes - NOT = { - exists = orbital_defence - } - } - - max_hitpoints = 20000 - base_buildtime = 720 - combat_size_multiplier = 50 - size_multiplier = 12 - fleet_slot_size = 2 - section_slots = { "mid" = { locator = "part1" } } - is_designable = no - num_target_locators = 0 - is_space_station = no - can_have_federation_design = no - is_civilian = no - components_add_to_cost = no - is_listed = no - can_disable = no - - enable_default_design = no #if yes, countries will have an auto-generated design at start - class = shipclass_starbase - - required_component_set = "power_core" - required_component_set = "sensor_components" - required_component_set = "combat_computers" - - build_block_radius = @build_block_radius_starbase - formation_priority = @starbase_formation_priority - icon_frame = -1 - icon = ship_size_military_station -} - -################## -# Fallen Empires -################## - -starbase_fe_outpost = { - graphical_culture = { "fallen_empire_01" "fallen_empire_02" "fallen_empire_03" "fallen_empire_04" } - - enable_default_design = no #if yes, countries will have an auto-generated design at start - class = shipclass_starbase - - max_speed = 0.0 - acceleration = 0.0 - rotation_speed = 0.0 - modifier = { - ship_evasion_mult = -1 - ship_armor_add = 2000 - starbase_defense_platform_capacity_add = 3 - ship_sensor_range_add = 1 - } - ship_modifier = { - ship_fire_rate_mult = 0.50 - ship_weapon_range_mult = 0.20 - } - max_hitpoints = 5000 - base_buildtime = 360 - resources = { - category = starbase_stations - cost = { - trigger = { - from = { - is_machine_empire = no - } - } - alloys = 100 - } - cost = { - trigger = { - from = { - is_machine_empire = yes - } - } - alloys = 150 - } - upkeep = { - energy = 1 - } - } - - potential_construction = { - is_scope_type = planet - is_primary_star = yes - NOT = { - exists = orbital_defence - } - } - - combat_size_multiplier = 5 - size_multiplier = 4 - fleet_slot_size = 2 - section_slots = { - "core" = { locator = "part1" } - } - - is_designable = no - num_target_locators = 0 - is_space_station = no - can_have_federation_design = no - is_civilian = no - components_add_to_cost = no - can_disable = yes - flip_control_on_disable = yes - - prerequisites = { "tech_starbase_1" } - - required_component_set = "power_core" - required_component_set = "sensor_components" - required_component_set = "combat_computers" - - build_block_radius = @build_block_radius_starbase - formation_priority = @starbase_formation_priority - icon_frame = 1 - icon = ship_size_military_station -} - - -################## -# Defensive Platform -################## - -ion_cannon = { - max_speed = 6 - rotation_speed = 10 - acceleration = 10 - max_hitpoints = 10000 - modifier = { - ship_evasion_mult = -1 - } - ship_modifier = { - ship_weapon_range_mult = 0.20 - } - size_multiplier = 8 - fleet_slot_size = 8 - combat_size_multiplier = 8 - section_slots = { "ship" = { locator = "part1" } } - is_designable = yes - components_add_to_cost = yes - uses_name_prefix = no - takes_name_from_ship_design = yes - num_target_locators = 0 - is_space_station = yes - base_buildtime = @battleship_build_time - auto_upgrade = no - - enable_default_design = yes #if yes, countries will have an auto-generated design at start - prerequisites = { "tech_titans" } - class = shipclass_military_station - ship_class_icon_frame = 26 - icon = ship_size_military_station - construction_type = starbase_defenses - required_component_set = "power_core" - required_component_set = "sensor_components" - required_component_set = "combat_computers" - - potential_construction = { - is_scope_type = starbase - } - - possible_construction = { - OR = { - has_starbase_size >= starbase_citadel - has_starbase_size >= orbital_ring_tier_3 - } - } - - resources = { - category = starbase_stations - cost = { - alloys = 1000 - } - upkeep = { - energy = 4 - } - } -} diff --git a/More Starbase Slots/common/ship_sizes/00_orbital_rings.txt b/More Starbase Slots/common/ship_sizes/mss_orbital_rings.txt similarity index 100% rename from More Starbase Slots/common/ship_sizes/00_orbital_rings.txt rename to More Starbase Slots/common/ship_sizes/mss_orbital_rings.txt diff --git a/More Starbase Slots/common/ship_sizes/mss_starbases.txt b/More Starbase Slots/common/ship_sizes/mss_starbases.txt new file mode 100644 index 0000000..04ffea6 --- /dev/null +++ b/More Starbase Slots/common/ship_sizes/mss_starbases.txt @@ -0,0 +1,387 @@ +################ +# STARBASES # +################ + +@build_block_radius_starbase = 20 +@starbase_formation_priority = 1 + +starbase_outpost = { + max_speed = 0.0 + acceleration = 0.0 + rotation_speed = 0.0 + modifier = { + ship_evasion_mult = -1 + ship_armor_add = @outpost_armor + starbase_defense_platform_capacity_add = 3 + ship_sensor_range_add = 1 + } + ship_modifier = { + ship_fire_rate_mult = 0.50 + ship_weapon_range_mult = 0.20 + } + max_hitpoints = 5000 + base_buildtime = 360 + resources = { + category = starbase_stations + cost = { + trigger = { + from = { + is_machine_empire = no + } + } + alloys = 100 + } + cost = { + trigger = { + from = { + is_machine_empire = yes + } + } + alloys = 150 + } + upkeep = { + energy = 1 + } + } + + potential_construction = { + is_scope_type = planet + is_primary_star = yes + NOT = { + exists = orbital_defence + } + } + + possible_construction = { + always = yes + } + + combat_size_multiplier = 5 + size_multiplier = 4 + fleet_slot_size = 2 + section_slots = { + "core" = { locator = "part1" } + } + + is_designable = no + num_target_locators = 0 + is_space_station = no + can_have_federation_design = no + is_civilian = no + components_add_to_cost = no + can_disable = yes + flip_control_on_disable = yes + + enable_default_design = yes #if yes, countries will have an auto-generated design at start + prerequisites = { "tech_starbase_1" } + class = shipclass_starbase + + required_component_set = "power_core" + required_component_set = "sensor_components" + required_component_set = "combat_computers" + + build_block_radius = @build_block_radius_starbase + formation_priority = @starbase_formation_priority + icon_frame = 1 + icon = ship_size_military_station +} + +starbase_starport = { + max_speed = 0.0 + acceleration = 0.0 + rotation_speed = 0.0 + modifier = { + ship_evasion_mult = -1 + ship_armor_add = @starport_armor + starbase_module_capacity_add = 5 + starbase_building_capacity_add = 2 + starbase_defense_platform_capacity_add = 6 + #trade system + starbase_trade_collection_range_add = 1 + starbase_trade_protection_range_add = 1 + starbase_trade_protection_add = 8 + ship_sensor_range_add = 1 + } + ship_modifier = { + ship_fire_rate_mult = 0.50 + ship_weapon_range_mult = 0.20 + } + max_hitpoints = 10000 + base_buildtime = 360 + resources = { + category = starbase_stations + cost = { + alloys = 200 + } + + upkeep = { + energy = 2 + } + } + + combat_size_multiplier = 20 + size_multiplier = 6 + fleet_slot_size = 2 + section_slots = { + "core" = { locator = "part1" } + "1" = { locator = "part2" } + "2" = { locator = "part3" } + } + is_designable = no + num_target_locators = 0 + is_space_station = no + can_have_federation_design = no + is_civilian = no + components_add_to_cost = no + can_disable = yes + flip_control_on_disable = yes + + enable_default_design = yes #if yes, countries will have an auto-generated design at start + prerequisites = { "tech_starbase_2" } + class = shipclass_starbase + + required_component_set = "power_core" + required_component_set = "sensor_components" + required_component_set = "combat_computers" + required_component_set = "ftl_inhibitor" + + build_block_radius = @build_block_radius_starbase + formation_priority = @starbase_formation_priority + icon_frame = 2 + icon = ship_size_military_station + + potential_construction = { + always = no + } + + possible_construction = { + always = no + } +} + +starbase_starhold = { + max_speed = 0.0 + acceleration = 0.0 + rotation_speed = 0.0 + modifier = { + ship_evasion_mult = -1 + ship_armor_add = @starhold_armor + starbase_module_capacity_add = 10 + starbase_building_capacity_add = 4 + starbase_defense_platform_capacity_add = 9 + #trade system + starbase_trade_collection_range_add = 1 + starbase_trade_protection_range_add = 1 + starbase_trade_protection_add = 16 + ship_sensor_range_add = 1 + } + ship_modifier = { + ship_fire_rate_mult = 0.50 + ship_weapon_range_mult = 0.20 + } + max_hitpoints = 20000 + base_buildtime = 720 + resources = { + category = starbase_stations + cost = { + alloys = 500 + } + + upkeep = { + energy = 3 + } + } + + combat_size_multiplier = 30 + size_multiplier = 8 + fleet_slot_size = 2 + section_slots = { + "core" = { locator = "part1" } + "1" = { locator = "part2" } + "2" = { locator = "part3" } + "3" = { locator = "part4" } + "4" = { locator = "part5" } + } + is_designable = no + num_target_locators = 0 + is_space_station = no + can_have_federation_design = no + is_civilian = no + components_add_to_cost = no + can_disable = yes + flip_control_on_disable = yes + + enable_default_design = yes #if yes, countries will have an auto-generated design at start + prerequisites = { "tech_starbase_3" } + class = shipclass_starbase + + required_component_set = "power_core" + required_component_set = "sensor_components" + required_component_set = "combat_computers" + required_component_set = "ftl_inhibitor" + + build_block_radius = @build_block_radius_starbase + formation_priority = @starbase_formation_priority + icon_frame = 3 + icon = ship_size_military_station + potential_construction = { + always = no + } + + possible_construction = { + always = no + } +} + +starbase_starfortress = { + max_speed = 0.0 + acceleration = 0.0 + rotation_speed = 0.0 + modifier = { + ship_evasion_mult = -1 + ship_armor_add = @starfort_armor + starbase_module_capacity_add = 15 + starbase_building_capacity_add = 6 + starbase_defense_platform_capacity_add = 12 + #trade system + starbase_trade_collection_range_add = 1 + starbase_trade_protection_range_add = 1 + starbase_trade_protection_add = 24 + ship_sensor_range_add = 1 + } + ship_modifier = { + ship_fire_rate_mult = 0.50 + ship_weapon_range_mult = 0.20 + } + max_hitpoints = 40000 + base_buildtime = 1080 + resources = { + category = starbase_stations + cost = { + alloys = 1250 + } + + upkeep = { + energy = 4 + } + } + + combat_size_multiplier = 40 + size_multiplier = 12 + fleet_slot_size = 2 + section_slots = { + "core" = { locator = "part1" } + "1" = { locator = "part2" } + "2" = { locator = "part3" } + "3" = { locator = "part4" } + "4" = { locator = "part5" } + "5" = { locator = "part6" } + "6" = { locator = "part7" } + } + is_designable = no + num_target_locators = 0 + is_space_station = no + can_have_federation_design = no + is_civilian = no + components_add_to_cost = no + can_disable = yes + flip_control_on_disable = yes + + enable_default_design = yes #if yes, countries will have an auto-generated design at start + prerequisites = { "tech_starbase_4" } + class = shipclass_starbase + + required_component_set = "power_core" + required_component_set = "sensor_components" + required_component_set = "combat_computers" + required_component_set = "ftl_inhibitor" + + build_block_radius = @build_block_radius_starbase + formation_priority = @starbase_formation_priority + icon_frame = 4 + icon = ship_size_military_station + potential_construction = { + always = no + } + + possible_construction = { + always = no + } +} + +starbase_citadel = { + max_speed = 0.0 + acceleration = 0.0 + rotation_speed = 0.0 + modifier = { + ship_evasion_mult = -1 + ship_armor_add = @citadel_armor + starbase_module_capacity_add = 25 + starbase_building_capacity_add = 10 + starbase_defense_platform_capacity_add = 15 + #trade system + starbase_trade_collection_range_add = 1 + starbase_trade_protection_range_add = 1 + starbase_trade_protection_add = 32 + ship_sensor_range_add = 1 + } + ship_modifier = { + ship_fire_rate_mult = 0.50 + ship_weapon_range_mult = 0.20 + } + max_hitpoints = 80000 + base_buildtime = 1440 + resources = { + category = starbase_stations + cost = { + alloys = 3500 + } + + upkeep = { + energy = 5 + } + } + + combat_size_multiplier = 50 + size_multiplier = 16 + fleet_slot_size = 2 + section_slots = { + "core" = { locator = "part1" } + "1" = { locator = "part2" } + "2" = { locator = "part3" } + "3" = { locator = "part4" } + "4" = { locator = "part5" } + "5" = { locator = "part6" } + "6" = { locator = "part7" } + } + is_designable = no + num_target_locators = 0 + is_space_station = no + can_have_federation_design = no + is_civilian = no + components_add_to_cost = no + can_disable = yes + flip_control_on_disable = yes + + enable_default_design = yes #if yes, countries will have an auto-generated design at start + enable_3dview_in_ship_browser = yes #if yes, ship design will have a 3d view in the ship browser + prerequisites = { "tech_starbase_5" } + class = shipclass_starbase + + required_component_set = "power_core" + required_component_set = "sensor_components" + required_component_set = "combat_computers" + required_component_set = "ftl_inhibitor" + + build_block_radius = @build_block_radius_starbase + formation_priority = @starbase_formation_priority + icon_frame = 5 + icon = ship_size_military_station + potential_construction = { + always = no + } + + possible_construction = { + always = no + } +}